Annotation of parser3/configure, revision 1.223

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.223   ! moko        3: # Generated by GNU Autoconf 2.69 for parser 3.5.0rc.
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.223   ! moko      594: PACKAGE_VERSION='3.5.0rc'
        !           595: PACKAGE_STRING='parser 3.5.0rc'
1.128     moko      596: PACKAGE_BUGREPORT=''
1.150     moko      597: PACKAGE_URL=''
1.62      paf       598: 
                    599: ac_unique_file="README"
                    600: # Factoring default headers for most tests.
                    601: ac_includes_default="\
                    602: #include <stdio.h>
1.150     moko      603: #ifdef HAVE_SYS_TYPES_H
1.62      paf       604: # include <sys/types.h>
                    605: #endif
1.150     moko      606: #ifdef HAVE_SYS_STAT_H
1.62      paf       607: # include <sys/stat.h>
                    608: #endif
1.150     moko      609: #ifdef STDC_HEADERS
1.62      paf       610: # include <stdlib.h>
                    611: # include <stddef.h>
                    612: #else
1.150     moko      613: # ifdef HAVE_STDLIB_H
1.62      paf       614: #  include <stdlib.h>
                    615: # endif
                    616: #endif
1.150     moko      617: #ifdef HAVE_STRING_H
                    618: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.62      paf       619: #  include <memory.h>
                    620: # endif
                    621: # include <string.h>
                    622: #endif
1.150     moko      623: #ifdef HAVE_STRINGS_H
1.62      paf       624: # include <strings.h>
                    625: #endif
1.150     moko      626: #ifdef HAVE_INTTYPES_H
1.62      paf       627: # include <inttypes.h>
                    628: #endif
1.150     moko      629: #ifdef HAVE_STDINT_H
                    630: # include <stdint.h>
                    631: #endif
                    632: #ifdef HAVE_UNISTD_H
1.62      paf       633: # include <unistd.h>
                    634: #endif"
                    635: 
1.150     moko      636: enable_option_checking=no
                    637: ac_subst_vars='ltdl_LTLIBOBJS
                    638: ltdl_LIBOBJS
                    639: am__EXEEXT_FALSE
                    640: am__EXEEXT_TRUE
                    641: LTLIBOBJS
                    642: LIBOBJS
                    643: LTDLOPEN
                    644: LT_CONFIG_H
                    645: subdirs
                    646: CONVENIENCE_LTDL_FALSE
                    647: CONVENIENCE_LTDL_TRUE
                    648: INSTALL_LTDL_FALSE
                    649: INSTALL_LTDL_TRUE
                    650: ARGZ_H
                    651: sys_symbol_underscore
                    652: LIBADD_DL
                    653: LT_DLPREOPEN
                    654: LIBADD_DLD_LINK
                    655: LIBADD_SHL_LOAD
                    656: LIBADD_DLOPEN
                    657: LT_DLLOADERS
                    658: INCLTDL
                    659: LTDLINCL
                    660: LTDLDEPS
                    661: LIBLTDL
                    662: CXXCPP
                    663: CPP
                    664: OTOOL64
                    665: OTOOL
                    666: LIPO
                    667: NMEDIT
                    668: DSYMUTIL
                    669: MANIFEST_TOOL
                    670: RANLIB
                    671: ac_ct_AR
                    672: AR
                    673: LN_S
                    674: NM
                    675: ac_ct_DUMPBIN
                    676: DUMPBIN
                    677: LD
                    678: FGREP
                    679: EGREP
                    680: GREP
                    681: SED
                    682: LIBTOOL
                    683: OBJDUMP
                    684: DLLTOOL
                    685: AS
                    686: COMPILE_APACHE_MODULE_FALSE
                    687: COMPILE_APACHE_MODULE_TRUE
                    688: APACHE_CFLAGS
                    689: APACHE_INC
                    690: APACHE
                    691: MIME_LIBS
                    692: MIME_INCLUDES
                    693: XML_LIBS
                    694: XML_INCLUDES
                    695: PCRE_LIBS
                    696: PCRE_INCLUDES
                    697: GC_LIBS
                    698: dll_extension
                    699: am__fastdepCC_FALSE
                    700: am__fastdepCC_TRUE
                    701: CCDEPMODE
                    702: ac_ct_CC
                    703: CFLAGS
                    704: CC
                    705: am__fastdepCXX_FALSE
                    706: am__fastdepCXX_TRUE
                    707: CXXDEPMODE
1.187     moko      708: am__nodep
1.150     moko      709: AMDEPBACKSLASH
                    710: AMDEP_FALSE
                    711: AMDEP_TRUE
                    712: am__include
                    713: DEPDIR
                    714: OBJEXT
                    715: EXEEXT
                    716: ac_ct_CXX
                    717: CPPFLAGS
                    718: LDFLAGS
                    719: CXXFLAGS
                    720: CXX
                    721: YFLAGS
                    722: YACC
                    723: host_os
                    724: host_vendor
                    725: host_cpu
                    726: host
                    727: build_os
                    728: build_vendor
                    729: build_cpu
                    730: build
                    731: P3S
1.187     moko      732: AM_BACKSLASH
                    733: AM_DEFAULT_VERBOSITY
                    734: AM_DEFAULT_V
                    735: AM_V
1.150     moko      736: am__untar
                    737: am__tar
                    738: AMTAR
                    739: am__leading_dot
                    740: SET_MAKE
                    741: AWK
                    742: mkdir_p
                    743: MKDIR_P
                    744: INSTALL_STRIP_PROGRAM
                    745: STRIP
                    746: install_sh
                    747: MAKEINFO
                    748: AUTOHEADER
                    749: AUTOMAKE
                    750: AUTOCONF
                    751: ACLOCAL
                    752: VERSION
                    753: PACKAGE
                    754: CYGPATH_W
                    755: am__isrc
                    756: INSTALL_DATA
                    757: INSTALL_SCRIPT
                    758: INSTALL_PROGRAM
                    759: target_alias
                    760: host_alias
                    761: build_alias
                    762: LIBS
                    763: ECHO_T
                    764: ECHO_N
                    765: ECHO_C
                    766: DEFS
                    767: mandir
                    768: localedir
                    769: libdir
                    770: psdir
                    771: pdfdir
                    772: dvidir
                    773: htmldir
                    774: infodir
                    775: docdir
                    776: oldincludedir
                    777: includedir
1.191     moko      778: runstatedir
1.150     moko      779: localstatedir
                    780: sharedstatedir
                    781: sysconfdir
                    782: datadir
                    783: datarootdir
                    784: libexecdir
                    785: sbindir
                    786: bindir
                    787: program_transform_name
                    788: prefix
                    789: exec_prefix
                    790: PACKAGE_URL
                    791: PACKAGE_BUGREPORT
                    792: PACKAGE_STRING
                    793: PACKAGE_VERSION
                    794: PACKAGE_TARNAME
                    795: PACKAGE_NAME
                    796: PATH_SEPARATOR
1.199     moko      797: SHELL
                    798: am__quote'
1.62      paf       799: ac_subst_files=''
1.150     moko      800: ac_user_opts='
                    801: enable_option_checking
1.187     moko      802: enable_silent_rules
1.150     moko      803: enable_dependency_tracking
                    804: with_build_warnings
1.182     moko      805: with_coverage
                    806: with_profiler
1.150     moko      807: with_assertions
                    808: with_sjlj_exceptions
1.203     moko      809: with_system_cfg
1.150     moko      810: enable_safe_mode
                    811: enable_execs
                    812: enable_stringstream
                    813: with_gc
                    814: with_pcre
                    815: with_xml
1.154     moko      816: with_mailreceive
1.150     moko      817: with_sendmail
                    818: with_apache
                    819: with_pic
                    820: enable_shared
                    821: enable_static
                    822: enable_fast_install
                    823: with_gnu_ld
                    824: with_sysroot
                    825: enable_libtool_lock
                    826: with_included_ltdl
                    827: with_ltdl_include
                    828: with_ltdl_lib
                    829: enable_ltdl_install
1.171     moko      830: enable_largefile
1.150     moko      831: '
                    832:       ac_precious_vars='build_alias
                    833: host_alias
                    834: target_alias
                    835: YACC
                    836: YFLAGS
                    837: CXX
                    838: CXXFLAGS
                    839: LDFLAGS
                    840: LIBS
                    841: CPPFLAGS
                    842: CCC
                    843: CC
                    844: CFLAGS
                    845: CPP
                    846: CXXCPP'
                    847: ac_subdirs_all='src/lib/ltdl'
1.1       paf       848: 
                    849: # Initialize some variables set by options.
1.62      paf       850: ac_init_help=
                    851: ac_init_version=false
1.150     moko      852: ac_unrecognized_opts=
                    853: ac_unrecognized_sep=
1.1       paf       854: # The variables have the same names as the options, with
                    855: # dashes changed to underlines.
1.62      paf       856: cache_file=/dev/null
1.1       paf       857: exec_prefix=NONE
                    858: no_create=
                    859: no_recursion=
                    860: prefix=NONE
                    861: program_prefix=NONE
                    862: program_suffix=NONE
                    863: program_transform_name=s,x,x,
                    864: silent=
                    865: site=
                    866: srcdir=
                    867: verbose=
                    868: x_includes=NONE
                    869: x_libraries=NONE
1.62      paf       870: 
                    871: # Installation directory options.
                    872: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    873: # and all the variables that are supposed to be based on exec_prefix
                    874: # by default will actually change.
                    875: # Use braces instead of parens because sh, perl, etc. also accept them.
1.150     moko      876: # (The list follows the same order as the GNU Coding Standards.)
1.1       paf       877: bindir='${exec_prefix}/bin'
                    878: sbindir='${exec_prefix}/sbin'
                    879: libexecdir='${exec_prefix}/libexec'
1.150     moko      880: datarootdir='${prefix}/share'
                    881: datadir='${datarootdir}'
1.1       paf       882: sysconfdir='${prefix}/etc'
                    883: sharedstatedir='${prefix}/com'
                    884: localstatedir='${prefix}/var'
1.191     moko      885: runstatedir='${localstatedir}/run'
1.1       paf       886: includedir='${prefix}/include'
                    887: oldincludedir='/usr/include'
1.150     moko      888: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    889: infodir='${datarootdir}/info'
                    890: htmldir='${docdir}'
                    891: dvidir='${docdir}'
                    892: pdfdir='${docdir}'
                    893: psdir='${docdir}'
                    894: libdir='${exec_prefix}/lib'
                    895: localedir='${datarootdir}/locale'
                    896: mandir='${datarootdir}/man'
1.1       paf       897: 
                    898: ac_prev=
1.150     moko      899: ac_dashdash=
1.1       paf       900: for ac_option
                    901: do
                    902:   # If the previous option needs an argument, assign it.
                    903:   if test -n "$ac_prev"; then
1.150     moko      904:     eval $ac_prev=\$ac_option
1.1       paf       905:     ac_prev=
                    906:     continue
                    907:   fi
                    908: 
1.150     moko      909:   case $ac_option in
                    910:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    911:   *=)   ac_optarg= ;;
                    912:   *)    ac_optarg=yes ;;
                    913:   esac
1.1       paf       914: 
                    915:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    916: 
1.150     moko      917:   case $ac_dashdash$ac_option in
                    918:   --)
                    919:     ac_dashdash=yes ;;
1.1       paf       920: 
                    921:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    922:     ac_prev=bindir ;;
                    923:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62      paf       924:     bindir=$ac_optarg ;;
1.1       paf       925: 
                    926:   -build | --build | --buil | --bui | --bu)
1.62      paf       927:     ac_prev=build_alias ;;
1.1       paf       928:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62      paf       929:     build_alias=$ac_optarg ;;
1.1       paf       930: 
                    931:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    932:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    933:     ac_prev=cache_file ;;
                    934:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    935:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62      paf       936:     cache_file=$ac_optarg ;;
                    937: 
                    938:   --config-cache | -C)
                    939:     cache_file=config.cache ;;
1.1       paf       940: 
1.150     moko      941:   -datadir | --datadir | --datadi | --datad)
1.1       paf       942:     ac_prev=datadir ;;
1.150     moko      943:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.62      paf       944:     datadir=$ac_optarg ;;
1.1       paf       945: 
1.150     moko      946:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    947:   | --dataroo | --dataro | --datar)
                    948:     ac_prev=datarootdir ;;
                    949:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    950:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    951:     datarootdir=$ac_optarg ;;
                    952: 
1.1       paf       953:   -disable-* | --disable-*)
1.150     moko      954:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       955:     # Reject names that are not valid shell variable names.
1.150     moko      956:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    957:       as_fn_error $? "invalid feature name: $ac_useropt"
                    958:     ac_useropt_orig=$ac_useropt
                    959:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    960:     case $ac_user_opts in
                    961:       *"
                    962: "enable_$ac_useropt"
                    963: "*) ;;
                    964:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    965:         ac_unrecognized_sep=', ';;
                    966:     esac
                    967:     eval enable_$ac_useropt=no ;;
                    968: 
                    969:   -docdir | --docdir | --docdi | --doc | --do)
                    970:     ac_prev=docdir ;;
                    971:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    972:     docdir=$ac_optarg ;;
                    973: 
                    974:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    975:     ac_prev=dvidir ;;
                    976:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    977:     dvidir=$ac_optarg ;;
1.1       paf       978: 
                    979:   -enable-* | --enable-*)
1.150     moko      980:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf       981:     # Reject names that are not valid shell variable names.
1.150     moko      982:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    983:       as_fn_error $? "invalid feature name: $ac_useropt"
                    984:     ac_useropt_orig=$ac_useropt
                    985:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    986:     case $ac_user_opts in
                    987:       *"
                    988: "enable_$ac_useropt"
                    989: "*) ;;
                    990:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    991:         ac_unrecognized_sep=', ';;
1.1       paf       992:     esac
1.150     moko      993:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       paf       994: 
                    995:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    996:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    997:   | --exec | --exe | --ex)
                    998:     ac_prev=exec_prefix ;;
                    999:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                   1000:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                   1001:   | --exec=* | --exe=* | --ex=*)
1.62      paf      1002:     exec_prefix=$ac_optarg ;;
1.1       paf      1003: 
                   1004:   -gas | --gas | --ga | --g)
                   1005:     # Obsolete; use --with-gas.
                   1006:     with_gas=yes ;;
                   1007: 
1.62      paf      1008:   -help | --help | --hel | --he | -h)
                   1009:     ac_init_help=long ;;
                   1010:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1011:     ac_init_help=recursive ;;
                   1012:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1013:     ac_init_help=short ;;
1.1       paf      1014: 
                   1015:   -host | --host | --hos | --ho)
1.62      paf      1016:     ac_prev=host_alias ;;
1.1       paf      1017:   -host=* | --host=* | --hos=* | --ho=*)
1.62      paf      1018:     host_alias=$ac_optarg ;;
1.1       paf      1019: 
1.150     moko     1020:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1021:     ac_prev=htmldir ;;
                   1022:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1023:   | --ht=*)
                   1024:     htmldir=$ac_optarg ;;
                   1025: 
1.1       paf      1026:   -includedir | --includedir | --includedi | --included | --include \
                   1027:   | --includ | --inclu | --incl | --inc)
                   1028:     ac_prev=includedir ;;
                   1029:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1030:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62      paf      1031:     includedir=$ac_optarg ;;
1.1       paf      1032: 
                   1033:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1034:     ac_prev=infodir ;;
                   1035:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62      paf      1036:     infodir=$ac_optarg ;;
1.1       paf      1037: 
                   1038:   -libdir | --libdir | --libdi | --libd)
                   1039:     ac_prev=libdir ;;
                   1040:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62      paf      1041:     libdir=$ac_optarg ;;
1.1       paf      1042: 
                   1043:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1044:   | --libexe | --libex | --libe)
                   1045:     ac_prev=libexecdir ;;
                   1046:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1047:   | --libexe=* | --libex=* | --libe=*)
1.62      paf      1048:     libexecdir=$ac_optarg ;;
1.1       paf      1049: 
1.150     moko     1050:   -localedir | --localedir | --localedi | --localed | --locale)
                   1051:     ac_prev=localedir ;;
                   1052:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1053:     localedir=$ac_optarg ;;
                   1054: 
1.1       paf      1055:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.150     moko     1056:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       paf      1057:     ac_prev=localstatedir ;;
                   1058:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.150     moko     1059:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.62      paf      1060:     localstatedir=$ac_optarg ;;
1.1       paf      1061: 
                   1062:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1063:     ac_prev=mandir ;;
                   1064:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62      paf      1065:     mandir=$ac_optarg ;;
1.1       paf      1066: 
                   1067:   -nfp | --nfp | --nf)
                   1068:     # Obsolete; use --without-fp.
                   1069:     with_fp=no ;;
                   1070: 
                   1071:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62      paf      1072:   | --no-cr | --no-c | -n)
1.1       paf      1073:     no_create=yes ;;
                   1074: 
                   1075:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1076:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1077:     no_recursion=yes ;;
                   1078: 
                   1079:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1080:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1081:   | --oldin | --oldi | --old | --ol | --o)
                   1082:     ac_prev=oldincludedir ;;
                   1083:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1084:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1085:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62      paf      1086:     oldincludedir=$ac_optarg ;;
1.1       paf      1087: 
                   1088:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1089:     ac_prev=prefix ;;
                   1090:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62      paf      1091:     prefix=$ac_optarg ;;
1.1       paf      1092: 
                   1093:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1094:   | --program-pre | --program-pr | --program-p)
                   1095:     ac_prev=program_prefix ;;
                   1096:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1097:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62      paf      1098:     program_prefix=$ac_optarg ;;
1.1       paf      1099: 
                   1100:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1101:   | --program-suf | --program-su | --program-s)
                   1102:     ac_prev=program_suffix ;;
                   1103:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1104:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62      paf      1105:     program_suffix=$ac_optarg ;;
1.1       paf      1106: 
                   1107:   -program-transform-name | --program-transform-name \
                   1108:   | --program-transform-nam | --program-transform-na \
                   1109:   | --program-transform-n | --program-transform- \
                   1110:   | --program-transform | --program-transfor \
                   1111:   | --program-transfo | --program-transf \
                   1112:   | --program-trans | --program-tran \
                   1113:   | --progr-tra | --program-tr | --program-t)
                   1114:     ac_prev=program_transform_name ;;
                   1115:   -program-transform-name=* | --program-transform-name=* \
                   1116:   | --program-transform-nam=* | --program-transform-na=* \
                   1117:   | --program-transform-n=* | --program-transform-=* \
                   1118:   | --program-transform=* | --program-transfor=* \
                   1119:   | --program-transfo=* | --program-transf=* \
                   1120:   | --program-trans=* | --program-tran=* \
                   1121:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.62      paf      1122:     program_transform_name=$ac_optarg ;;
1.1       paf      1123: 
1.150     moko     1124:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1125:     ac_prev=pdfdir ;;
                   1126:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1127:     pdfdir=$ac_optarg ;;
                   1128: 
                   1129:   -psdir | --psdir | --psdi | --psd | --ps)
                   1130:     ac_prev=psdir ;;
                   1131:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1132:     psdir=$ac_optarg ;;
                   1133: 
1.1       paf      1134:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1135:   | -silent | --silent | --silen | --sile | --sil)
                   1136:     silent=yes ;;
                   1137: 
1.191     moko     1138:   -runstatedir | --runstatedir | --runstatedi | --runstated \
                   1139:   | --runstate | --runstat | --runsta | --runst | --runs \
                   1140:   | --run | --ru | --r)
                   1141:     ac_prev=runstatedir ;;
                   1142:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
                   1143:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
                   1144:   | --run=* | --ru=* | --r=*)
                   1145:     runstatedir=$ac_optarg ;;
                   1146: 
1.1       paf      1147:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1148:     ac_prev=sbindir ;;
                   1149:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1150:   | --sbi=* | --sb=*)
1.62      paf      1151:     sbindir=$ac_optarg ;;
1.1       paf      1152: 
                   1153:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1154:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1155:   | --sharedst | --shareds | --shared | --share | --shar \
                   1156:   | --sha | --sh)
                   1157:     ac_prev=sharedstatedir ;;
                   1158:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1159:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1160:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1161:   | --sha=* | --sh=*)
1.62      paf      1162:     sharedstatedir=$ac_optarg ;;
1.1       paf      1163: 
                   1164:   -site | --site | --sit)
                   1165:     ac_prev=site ;;
                   1166:   -site=* | --site=* | --sit=*)
1.62      paf      1167:     site=$ac_optarg ;;
1.1       paf      1168: 
                   1169:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1170:     ac_prev=srcdir ;;
                   1171:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62      paf      1172:     srcdir=$ac_optarg ;;
1.1       paf      1173: 
                   1174:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1175:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1176:     ac_prev=sysconfdir ;;
                   1177:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1178:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62      paf      1179:     sysconfdir=$ac_optarg ;;
1.1       paf      1180: 
                   1181:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.62      paf      1182:     ac_prev=target_alias ;;
1.1       paf      1183:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62      paf      1184:     target_alias=$ac_optarg ;;
1.1       paf      1185: 
                   1186:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1187:     verbose=yes ;;
                   1188: 
1.62      paf      1189:   -version | --version | --versio | --versi | --vers | -V)
                   1190:     ac_init_version=: ;;
1.1       paf      1191: 
                   1192:   -with-* | --with-*)
1.150     moko     1193:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf      1194:     # Reject names that are not valid shell variable names.
1.150     moko     1195:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1196:       as_fn_error $? "invalid package name: $ac_useropt"
                   1197:     ac_useropt_orig=$ac_useropt
                   1198:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1199:     case $ac_user_opts in
                   1200:       *"
                   1201: "with_$ac_useropt"
                   1202: "*) ;;
                   1203:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1204:         ac_unrecognized_sep=', ';;
1.1       paf      1205:     esac
1.150     moko     1206:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       paf      1207: 
                   1208:   -without-* | --without-*)
1.150     moko     1209:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf      1210:     # Reject names that are not valid shell variable names.
1.150     moko     1211:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1212:       as_fn_error $? "invalid package name: $ac_useropt"
                   1213:     ac_useropt_orig=$ac_useropt
                   1214:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1215:     case $ac_user_opts in
                   1216:       *"
                   1217: "with_$ac_useropt"
                   1218: "*) ;;
                   1219:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1220:         ac_unrecognized_sep=', ';;
                   1221:     esac
                   1222:     eval with_$ac_useropt=no ;;
1.1       paf      1223: 
                   1224:   --x)
                   1225:     # Obsolete; use --with-x.
                   1226:     with_x=yes ;;
                   1227: 
                   1228:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1229:   | --x-incl | --x-inc | --x-in | --x-i)
                   1230:     ac_prev=x_includes ;;
                   1231:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1232:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62      paf      1233:     x_includes=$ac_optarg ;;
1.1       paf      1234: 
                   1235:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1236:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1237:     ac_prev=x_libraries ;;
                   1238:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1239:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62      paf      1240:     x_libraries=$ac_optarg ;;
1.1       paf      1241: 
1.150     moko     1242:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1243: Try \`$0 --help' for more information"
1.1       paf      1244:     ;;
                   1245: 
1.62      paf      1246:   *=*)
                   1247:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1248:     # Reject names that are not valid shell variable names.
1.150     moko     1249:     case $ac_envvar in #(
                   1250:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1251:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1252:     esac
                   1253:     eval $ac_envvar=\$ac_optarg
1.62      paf      1254:     export $ac_envvar ;;
                   1255: 
1.1       paf      1256:   *)
1.62      paf      1257:     # FIXME: should be removed in autoconf 3.0.
1.150     moko     1258:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.62      paf      1259:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.150     moko     1260:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1261:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       paf      1262:     ;;
                   1263: 
                   1264:   esac
                   1265: done
                   1266: 
                   1267: if test -n "$ac_prev"; then
1.62      paf      1268:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.150     moko     1269:   as_fn_error $? "missing argument to $ac_option"
1.1       paf      1270: fi
                   1271: 
1.150     moko     1272: if test -n "$ac_unrecognized_opts"; then
                   1273:   case $enable_option_checking in
                   1274:     no) ;;
                   1275:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1276:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1277:   esac
                   1278: fi
                   1279: 
                   1280: # Check all directory arguments for consistency.
                   1281: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1282:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1283:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.191     moko     1284:                libdir localedir mandir runstatedir
1.62      paf      1285: do
1.150     moko     1286:   eval ac_val=\$$ac_var
                   1287:   # Remove trailing slashes.
1.62      paf      1288:   case $ac_val in
1.150     moko     1289:     */ )
                   1290:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1291:       eval $ac_var=\$ac_val;;
1.62      paf      1292:   esac
1.150     moko     1293:   # Be sure to have absolute directory names.
1.62      paf      1294:   case $ac_val in
1.150     moko     1295:     [\\/$]* | ?:[\\/]* )  continue;;
                   1296:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       paf      1297:   esac
1.150     moko     1298:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       paf      1299: done
                   1300: 
1.62      paf      1301: # There might be people who depend on the old broken behavior: `$host'
                   1302: # used to hold the argument of --host etc.
                   1303: # FIXME: To remove some day.
                   1304: build=$build_alias
                   1305: host=$host_alias
                   1306: target=$target_alias
                   1307: 
                   1308: # FIXME: To remove some day.
                   1309: if test "x$host_alias" != x; then
                   1310:   if test "x$build_alias" = x; then
                   1311:     cross_compiling=maybe
                   1312:   elif test "x$build_alias" != "x$host_alias"; then
                   1313:     cross_compiling=yes
                   1314:   fi
                   1315: fi
                   1316: 
                   1317: ac_tool_prefix=
                   1318: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf      1319: 
1.62      paf      1320: test "$silent" = yes && exec 6>/dev/null
1.1       paf      1321: 
                   1322: 
1.150     moko     1323: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1324: ac_ls_di=`ls -di .` &&
                   1325: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1326:   as_fn_error $? "working directory cannot be determined"
                   1327: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1328:   as_fn_error $? "pwd does not report name of working directory"
                   1329: 
                   1330: 
1.1       paf      1331: # Find the source files, if location was not specified.
                   1332: if test -z "$srcdir"; then
                   1333:   ac_srcdir_defaulted=yes
1.150     moko     1334:   # Try the directory containing this script, then the parent directory.
                   1335:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1336: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1337:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1338:         X"$as_myself" : 'X\(//\)$' \| \
                   1339:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1340: $as_echo X"$as_myself" |
                   1341:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1342:            s//\1/
                   1343:            q
                   1344:          }
                   1345:          /^X\(\/\/\)[^/].*/{
                   1346:            s//\1/
                   1347:            q
                   1348:          }
                   1349:          /^X\(\/\/\)$/{
                   1350:            s//\1/
                   1351:            q
                   1352:          }
                   1353:          /^X\(\/\).*/{
                   1354:            s//\1/
                   1355:            q
                   1356:          }
                   1357:          s/.*/./; q'`
1.1       paf      1358:   srcdir=$ac_confdir
1.150     moko     1359:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       paf      1360:     srcdir=..
                   1361:   fi
                   1362: else
                   1363:   ac_srcdir_defaulted=no
                   1364: fi
1.150     moko     1365: if test ! -r "$srcdir/$ac_unique_file"; then
                   1366:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1367:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1368: fi
                   1369: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1370: ac_abs_confdir=`(
                   1371:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1372:        pwd)`
                   1373: # When building in place, set srcdir=.
                   1374: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1375:   srcdir=.
                   1376: fi
                   1377: # Remove unnecessary trailing slashes from srcdir.
                   1378: # Double slashes in file names in object file debugging info
                   1379: # mess up M-x gdb in Emacs.
                   1380: case $srcdir in
                   1381: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1382: esac
                   1383: for ac_var in $ac_precious_vars; do
                   1384:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1385:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1386:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1387:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1388: done
1.62      paf      1389: 
                   1390: #
                   1391: # Report the --help message.
                   1392: #
                   1393: if test "$ac_init_help" = "long"; then
                   1394:   # Omit some internal or obsolete options to make the list less imposing.
                   1395:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1396:   cat <<_ACEOF
1.223   ! moko     1397: \`configure' configures parser 3.5.0rc to adapt to many kinds of systems.
1.62      paf      1398: 
                   1399: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1400: 
                   1401: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1402: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1403: 
                   1404: Defaults for the options are specified in brackets.
                   1405: 
                   1406: Configuration:
                   1407:   -h, --help              display this help and exit
                   1408:       --help=short        display options specific to this package
                   1409:       --help=recursive    display the short help of all the included packages
                   1410:   -V, --version           display version information and exit
1.150     moko     1411:   -q, --quiet, --silent   do not print \`checking ...' messages
1.62      paf      1412:       --cache-file=FILE   cache test results in FILE [disabled]
                   1413:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1414:   -n, --no-create         do not create output files
                   1415:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1416: 
                   1417: Installation directories:
                   1418:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.150     moko     1419:                           [$ac_default_prefix]
1.62      paf      1420:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.150     moko     1421:                           [PREFIX]
1.62      paf      1422: 
                   1423: By default, \`make install' will install all the files in
                   1424: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1425: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1426: for instance \`--prefix=\$HOME'.
                   1427: 
                   1428: For better control, use the options below.
                   1429: 
                   1430: Fine tuning of the installation directories:
1.150     moko     1431:   --bindir=DIR            user executables [EPREFIX/bin]
                   1432:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1433:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1434:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1435:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1436:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1.191     moko     1437:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1.150     moko     1438:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1439:   --includedir=DIR        C header files [PREFIX/include]
                   1440:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1441:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1442:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1443:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1444:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1445:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1446:   --docdir=DIR            documentation root [DATAROOTDIR/doc/parser]
                   1447:   --htmldir=DIR           html documentation [DOCDIR]
                   1448:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1449:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1450:   --psdir=DIR             ps documentation [DOCDIR]
1.62      paf      1451: _ACEOF
                   1452: 
                   1453:   cat <<\_ACEOF
                   1454: 
                   1455: Program names:
                   1456:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1457:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1458:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1459: 
                   1460: System types:
                   1461:   --build=BUILD     configure for building on BUILD [guessed]
                   1462:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1463: _ACEOF
                   1464: fi
                   1465: 
                   1466: if test -n "$ac_init_help"; then
1.128     moko     1467:   case $ac_init_help in
1.223   ! moko     1468:      short | recursive ) echo "Configuration of parser 3.5.0rc:";;
1.128     moko     1469:    esac
1.62      paf      1470:   cat <<\_ACEOF
                   1471: 
                   1472: Optional Features:
1.150     moko     1473:   --disable-option-checking  ignore unrecognized --enable/--with options
1.62      paf      1474:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1475:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.187     moko     1476:   --enable-silent-rules   less verbose build output (undo: "make V=1")
                   1477:   --disable-silent-rules  verbose build output (undo: "make V=0")
                   1478:   --enable-dependency-tracking
                   1479:                           do not reject slow dependency extractors
                   1480:   --disable-dependency-tracking
                   1481:                           speeds up one-time build
1.67      paf      1482:   --disable-safe-mode    to enable reading and executing
1.62      paf      1483:                           files belonging to group+user other then effective
1.146     moko     1484:   --disable-execs        to disable any execs
1.62      paf      1485:                           (file::exec, file::cgi, unix mail:send)
1.195     moko     1486:   --disable-stringstream to disable stringstream usage.
                   1487:                           when disabled table.save uses more memory, but more compilers are supported
1.150     moko     1488:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1489:   --enable-static[=PKGS]  build static libraries [default=yes]
1.128     moko     1490:   --enable-fast-install[=PKGS]
                   1491:                           optimize for fast installation [default=yes]
                   1492:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1493:   --enable-ltdl-install   install libltdl
1.171     moko     1494:   --disable-largefile     omit support for large files
1.62      paf      1495: 
                   1496: Optional Packages:
                   1497:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1498:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.71      paf      1499:   --with-build-warnings   to enable build-time compiler warnings if gcc is used
1.185     moko     1500:   --with-coverage         to enable gcov code coverage support
                   1501:   --with-profiler         to enable gprof code profiler support
1.67      paf      1502:   --with-assertions       to enable assertions
1.201     moko     1503:   --with-sjlj-exceptions  to enable simple 'throw' from dynamic library
                   1504:   --with-system-cfg=FILE  to specify system-wide auto.p
                   1505:   --with-gc=DIR           DIR is the directory where
1.142     moko     1506:                           Boehm garbage collecting library is installed
1.201     moko     1507:   --with-pcre=DIR         DIR is the directory where
1.142     moko     1508:                           PCRE library is installed
1.201     moko     1509:   --with-xml=DIR          DIR is the directory where
1.142     moko     1510:                           Gnome XML libraries are installed
1.201     moko     1511:   --with-mailreceive=DIR  is the directory where
1.154     moko     1512:                           Gnome MIME library is installed
1.62      paf      1513:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                   1514:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                   1515:                           (makes parser ignore user-defined sendmail commands)
1.146     moko     1516:   --with-apache=FILE      FILE is the full path for APXS
1.122     moko     1517:                           builds apache DSO module using apxs
1.150     moko     1518:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.128     moko     1519:                           both]
                   1520:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1521:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1522:                         (or the compiler's sysroot if not specified).
                   1523:   --with-included-ltdl    use the GNU ltdl sources included here
                   1524:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                   1525:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.62      paf      1526: 
                   1527: Some influential environment variables:
1.150     moko     1528:   YACC        The `Yet Another Compiler Compiler' implementation to use.
                   1529:               Defaults to the first program found out of: `bison -y', `byacc',
                   1530:               `yacc'.
                   1531:   YFLAGS      The list of arguments that will be passed by default to $YACC.
                   1532:               This script will default YFLAGS to the empty string to avoid a
                   1533:               default value of `-d' given by some make applications.
1.66      paf      1534:   CXX         C++ compiler command
                   1535:   CXXFLAGS    C++ compiler flags
1.62      paf      1536:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1537:               nonstandard directory <lib dir>
1.150     moko     1538:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1539:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1540:               you have headers in a nonstandard directory <include dir>
1.66      paf      1541:   CC          C compiler command
                   1542:   CFLAGS      C compiler flags
                   1543:   CPP         C preprocessor
1.128     moko     1544:   CXXCPP      C++ preprocessor
1.62      paf      1545: 
                   1546: Use these variables to override the choices made by `configure' or to help
                   1547: it to find libraries and programs with nonstandard names/locations.
                   1548: 
1.150     moko     1549: Report bugs to the package provider.
1.62      paf      1550: _ACEOF
1.150     moko     1551: ac_status=$?
1.62      paf      1552: fi
                   1553: 
                   1554: if test "$ac_init_help" = "recursive"; then
                   1555:   # If there are subdirs, report their specific --help.
                   1556:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.150     moko     1557:     test -d "$ac_dir" ||
                   1558:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1559:       continue
1.62      paf      1560:     ac_builddir=.
                   1561: 
1.150     moko     1562: case "$ac_dir" in
                   1563: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1564: *)
                   1565:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1566:   # A ".." for each directory in $ac_dir_suffix.
                   1567:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1568:   case $ac_top_builddir_sub in
                   1569:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1570:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1571:   esac ;;
                   1572: esac
                   1573: ac_abs_top_builddir=$ac_pwd
                   1574: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1575: # for backward compatibility:
                   1576: ac_top_builddir=$ac_top_build_prefix
1.62      paf      1577: 
                   1578: case $srcdir in
1.150     moko     1579:   .)  # We are building in place.
1.62      paf      1580:     ac_srcdir=.
1.150     moko     1581:     ac_top_srcdir=$ac_top_builddir_sub
                   1582:     ac_abs_top_srcdir=$ac_pwd ;;
                   1583:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      1584:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     1585:     ac_top_srcdir=$srcdir
                   1586:     ac_abs_top_srcdir=$srcdir ;;
                   1587:   *) # Relative name.
                   1588:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1589:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1590:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      1591: esac
1.150     moko     1592: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.62      paf      1593: 
1.150     moko     1594:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1595:     # Check for guested configure.
                   1596:     if test -f "$ac_srcdir/configure.gnu"; then
                   1597:       echo &&
                   1598:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1599:     elif test -f "$ac_srcdir/configure"; then
                   1600:       echo &&
                   1601:       $SHELL "$ac_srcdir/configure" --help=recursive
1.62      paf      1602:     else
1.150     moko     1603:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1604:     fi || ac_status=$?
                   1605:     cd "$ac_pwd" || { ac_status=$?; break; }
1.62      paf      1606:   done
                   1607: fi
                   1608: 
1.150     moko     1609: test -n "$ac_init_help" && exit $ac_status
1.62      paf      1610: if $ac_init_version; then
                   1611:   cat <<\_ACEOF
1.223   ! moko     1612: parser configure 3.5.0rc
1.166     moko     1613: generated by GNU Autoconf 2.69
1.62      paf      1614: 
1.166     moko     1615: Copyright (C) 2012 Free Software Foundation, Inc.
1.62      paf      1616: This configure script is free software; the Free Software Foundation
                   1617: gives unlimited permission to copy, distribute and modify it.
                   1618: _ACEOF
1.150     moko     1619:   exit
1.62      paf      1620: fi
                   1621: 
1.150     moko     1622: ## ------------------------ ##
                   1623: ## Autoconf initialization. ##
                   1624: ## ------------------------ ##
                   1625: 
                   1626: # ac_fn_cxx_try_compile LINENO
                   1627: # ----------------------------
                   1628: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1629: ac_fn_cxx_try_compile ()
1.62      paf      1630: {
1.150     moko     1631:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1632:   rm -f conftest.$ac_objext
                   1633:   if { { ac_try="$ac_compile"
                   1634: case "(($ac_try" in
                   1635:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1636:   *) ac_try_echo=$ac_try;;
                   1637: esac
                   1638: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1639: $as_echo "$ac_try_echo"; } >&5
                   1640:   (eval "$ac_compile") 2>conftest.err
                   1641:   ac_status=$?
                   1642:   if test -s conftest.err; then
                   1643:     grep -v '^ *+' conftest.err >conftest.er1
                   1644:     cat conftest.er1 >&5
                   1645:     mv -f conftest.er1 conftest.err
                   1646:   fi
                   1647:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1648:   test $ac_status = 0; } && {
                   1649:         test -z "$ac_cxx_werror_flag" ||
                   1650:         test ! -s conftest.err
                   1651:        } && test -s conftest.$ac_objext; then :
                   1652:   ac_retval=0
                   1653: else
                   1654:   $as_echo "$as_me: failed program was:" >&5
                   1655: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      1656: 
1.150     moko     1657:        ac_retval=1
                   1658: fi
                   1659:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1660:   as_fn_set_status $ac_retval
1.62      paf      1661: 
1.150     moko     1662: } # ac_fn_cxx_try_compile
                   1663: 
                   1664: # ac_fn_c_try_compile LINENO
                   1665: # --------------------------
                   1666: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1667: ac_fn_c_try_compile ()
                   1668: {
                   1669:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1670:   rm -f conftest.$ac_objext
                   1671:   if { { ac_try="$ac_compile"
                   1672: case "(($ac_try" in
                   1673:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1674:   *) ac_try_echo=$ac_try;;
                   1675: esac
                   1676: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1677: $as_echo "$ac_try_echo"; } >&5
                   1678:   (eval "$ac_compile") 2>conftest.err
                   1679:   ac_status=$?
                   1680:   if test -s conftest.err; then
                   1681:     grep -v '^ *+' conftest.err >conftest.er1
                   1682:     cat conftest.er1 >&5
                   1683:     mv -f conftest.er1 conftest.err
                   1684:   fi
                   1685:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1686:   test $ac_status = 0; } && {
                   1687:         test -z "$ac_c_werror_flag" ||
                   1688:         test ! -s conftest.err
                   1689:        } && test -s conftest.$ac_objext; then :
                   1690:   ac_retval=0
                   1691: else
                   1692:   $as_echo "$as_me: failed program was:" >&5
                   1693: sed 's/^/| /' conftest.$ac_ext >&5
                   1694: 
                   1695:        ac_retval=1
                   1696: fi
                   1697:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1698:   as_fn_set_status $ac_retval
                   1699: 
                   1700: } # ac_fn_c_try_compile
                   1701: 
                   1702: # ac_fn_c_try_link LINENO
                   1703: # -----------------------
                   1704: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1705: ac_fn_c_try_link ()
                   1706: {
                   1707:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1708:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1709:   if { { ac_try="$ac_link"
                   1710: case "(($ac_try" in
                   1711:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1712:   *) ac_try_echo=$ac_try;;
                   1713: esac
                   1714: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1715: $as_echo "$ac_try_echo"; } >&5
                   1716:   (eval "$ac_link") 2>conftest.err
                   1717:   ac_status=$?
                   1718:   if test -s conftest.err; then
                   1719:     grep -v '^ *+' conftest.err >conftest.er1
                   1720:     cat conftest.er1 >&5
                   1721:     mv -f conftest.er1 conftest.err
                   1722:   fi
                   1723:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1724:   test $ac_status = 0; } && {
                   1725:         test -z "$ac_c_werror_flag" ||
                   1726:         test ! -s conftest.err
                   1727:        } && test -s conftest$ac_exeext && {
                   1728:         test "$cross_compiling" = yes ||
1.166     moko     1729:         test -x conftest$ac_exeext
1.150     moko     1730:        }; then :
                   1731:   ac_retval=0
                   1732: else
                   1733:   $as_echo "$as_me: failed program was:" >&5
                   1734: sed 's/^/| /' conftest.$ac_ext >&5
                   1735: 
                   1736:        ac_retval=1
                   1737: fi
                   1738:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1739:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1740:   # interfere with the next link command; also delete a directory that is
                   1741:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1742:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1743:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1744:   as_fn_set_status $ac_retval
                   1745: 
                   1746: } # ac_fn_c_try_link
                   1747: 
                   1748: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1749: # -------------------------------------------------------
                   1750: # Tests whether HEADER exists and can be compiled using the include files in
                   1751: # INCLUDES, setting the cache variable VAR accordingly.
                   1752: ac_fn_c_check_header_compile ()
                   1753: {
                   1754:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1755:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1756: $as_echo_n "checking for $2... " >&6; }
                   1757: if eval \${$3+:} false; then :
                   1758:   $as_echo_n "(cached) " >&6
                   1759: else
                   1760:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1761: /* end confdefs.h.  */
                   1762: $4
                   1763: #include <$2>
                   1764: _ACEOF
                   1765: if ac_fn_c_try_compile "$LINENO"; then :
                   1766:   eval "$3=yes"
                   1767: else
                   1768:   eval "$3=no"
                   1769: fi
                   1770: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1771: fi
                   1772: eval ac_res=\$$3
                   1773:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1774: $as_echo "$ac_res" >&6; }
                   1775:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1776: 
                   1777: } # ac_fn_c_check_header_compile
                   1778: 
                   1779: # ac_fn_c_try_cpp LINENO
                   1780: # ----------------------
                   1781: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1782: ac_fn_c_try_cpp ()
                   1783: {
                   1784:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1785:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1786: case "(($ac_try" in
                   1787:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1788:   *) ac_try_echo=$ac_try;;
                   1789: esac
                   1790: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1791: $as_echo "$ac_try_echo"; } >&5
                   1792:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1793:   ac_status=$?
                   1794:   if test -s conftest.err; then
                   1795:     grep -v '^ *+' conftest.err >conftest.er1
                   1796:     cat conftest.er1 >&5
                   1797:     mv -f conftest.er1 conftest.err
                   1798:   fi
                   1799:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1800:   test $ac_status = 0; } > conftest.i && {
                   1801:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1802:         test ! -s conftest.err
                   1803:        }; then :
                   1804:   ac_retval=0
                   1805: else
                   1806:   $as_echo "$as_me: failed program was:" >&5
                   1807: sed 's/^/| /' conftest.$ac_ext >&5
                   1808: 
                   1809:     ac_retval=1
                   1810: fi
                   1811:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1812:   as_fn_set_status $ac_retval
                   1813: 
                   1814: } # ac_fn_c_try_cpp
                   1815: 
                   1816: # ac_fn_c_try_run LINENO
                   1817: # ----------------------
                   1818: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1819: # that executables *can* be run.
                   1820: ac_fn_c_try_run ()
                   1821: {
                   1822:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1823:   if { { ac_try="$ac_link"
                   1824: case "(($ac_try" in
                   1825:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1826:   *) ac_try_echo=$ac_try;;
                   1827: esac
                   1828: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1829: $as_echo "$ac_try_echo"; } >&5
                   1830:   (eval "$ac_link") 2>&5
                   1831:   ac_status=$?
                   1832:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1833:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1834:   { { case "(($ac_try" in
                   1835:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1836:   *) ac_try_echo=$ac_try;;
                   1837: esac
                   1838: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1839: $as_echo "$ac_try_echo"; } >&5
                   1840:   (eval "$ac_try") 2>&5
                   1841:   ac_status=$?
                   1842:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1843:   test $ac_status = 0; }; }; then :
                   1844:   ac_retval=0
                   1845: else
                   1846:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1847:        $as_echo "$as_me: failed program was:" >&5
                   1848: sed 's/^/| /' conftest.$ac_ext >&5
                   1849: 
                   1850:        ac_retval=$ac_status
                   1851: fi
                   1852:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1853:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1854:   as_fn_set_status $ac_retval
                   1855: 
                   1856: } # ac_fn_c_try_run
                   1857: 
                   1858: # ac_fn_c_check_func LINENO FUNC VAR
                   1859: # ----------------------------------
                   1860: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1861: ac_fn_c_check_func ()
                   1862: {
                   1863:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1864:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1865: $as_echo_n "checking for $2... " >&6; }
                   1866: if eval \${$3+:} false; then :
                   1867:   $as_echo_n "(cached) " >&6
                   1868: else
                   1869:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1870: /* end confdefs.h.  */
                   1871: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1872:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1873: #define $2 innocuous_$2
                   1874: 
                   1875: /* System header to define __stub macros and hopefully few prototypes,
                   1876:     which can conflict with char $2 (); below.
                   1877:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1878:     <limits.h> exists even on freestanding compilers.  */
                   1879: 
                   1880: #ifdef __STDC__
                   1881: # include <limits.h>
                   1882: #else
                   1883: # include <assert.h>
                   1884: #endif
                   1885: 
                   1886: #undef $2
                   1887: 
                   1888: /* Override any GCC internal prototype to avoid an error.
                   1889:    Use char because int might match the return type of a GCC
                   1890:    builtin and then its argument prototype would still apply.  */
                   1891: #ifdef __cplusplus
                   1892: extern "C"
                   1893: #endif
                   1894: char $2 ();
                   1895: /* The GNU C library defines this for functions which it implements
                   1896:     to always fail with ENOSYS.  Some functions are actually named
                   1897:     something starting with __ and the normal name is an alias.  */
                   1898: #if defined __stub_$2 || defined __stub___$2
                   1899: choke me
                   1900: #endif
                   1901: 
                   1902: int
                   1903: main ()
                   1904: {
                   1905: return $2 ();
                   1906:   ;
                   1907:   return 0;
                   1908: }
                   1909: _ACEOF
                   1910: if ac_fn_c_try_link "$LINENO"; then :
                   1911:   eval "$3=yes"
                   1912: else
                   1913:   eval "$3=no"
                   1914: fi
                   1915: rm -f core conftest.err conftest.$ac_objext \
                   1916:     conftest$ac_exeext conftest.$ac_ext
                   1917: fi
                   1918: eval ac_res=\$$3
                   1919:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1920: $as_echo "$ac_res" >&6; }
                   1921:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1922: 
                   1923: } # ac_fn_c_check_func
                   1924: 
                   1925: # ac_fn_cxx_try_cpp LINENO
                   1926: # ------------------------
                   1927: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1928: ac_fn_cxx_try_cpp ()
                   1929: {
                   1930:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1931:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1932: case "(($ac_try" in
                   1933:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1934:   *) ac_try_echo=$ac_try;;
                   1935: esac
                   1936: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1937: $as_echo "$ac_try_echo"; } >&5
                   1938:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1939:   ac_status=$?
                   1940:   if test -s conftest.err; then
                   1941:     grep -v '^ *+' conftest.err >conftest.er1
                   1942:     cat conftest.er1 >&5
                   1943:     mv -f conftest.er1 conftest.err
                   1944:   fi
                   1945:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1946:   test $ac_status = 0; } > conftest.i && {
                   1947:         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
                   1948:         test ! -s conftest.err
                   1949:        }; then :
                   1950:   ac_retval=0
                   1951: else
                   1952:   $as_echo "$as_me: failed program was:" >&5
                   1953: sed 's/^/| /' conftest.$ac_ext >&5
                   1954: 
                   1955:     ac_retval=1
                   1956: fi
                   1957:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1958:   as_fn_set_status $ac_retval
                   1959: 
                   1960: } # ac_fn_cxx_try_cpp
                   1961: 
                   1962: # ac_fn_cxx_try_link LINENO
                   1963: # -------------------------
                   1964: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1965: ac_fn_cxx_try_link ()
                   1966: {
                   1967:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1968:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1969:   if { { ac_try="$ac_link"
                   1970: case "(($ac_try" in
                   1971:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1972:   *) ac_try_echo=$ac_try;;
                   1973: esac
                   1974: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1975: $as_echo "$ac_try_echo"; } >&5
                   1976:   (eval "$ac_link") 2>conftest.err
                   1977:   ac_status=$?
                   1978:   if test -s conftest.err; then
                   1979:     grep -v '^ *+' conftest.err >conftest.er1
                   1980:     cat conftest.er1 >&5
                   1981:     mv -f conftest.er1 conftest.err
                   1982:   fi
                   1983:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1984:   test $ac_status = 0; } && {
                   1985:         test -z "$ac_cxx_werror_flag" ||
                   1986:         test ! -s conftest.err
                   1987:        } && test -s conftest$ac_exeext && {
                   1988:         test "$cross_compiling" = yes ||
1.166     moko     1989:         test -x conftest$ac_exeext
1.150     moko     1990:        }; then :
                   1991:   ac_retval=0
                   1992: else
                   1993:   $as_echo "$as_me: failed program was:" >&5
                   1994: sed 's/^/| /' conftest.$ac_ext >&5
                   1995: 
                   1996:        ac_retval=1
                   1997: fi
                   1998:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1999:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   2000:   # interfere with the next link command; also delete a directory that is
                   2001:   # left behind by Apple's compiler.  We do this before executing the actions.
                   2002:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   2003:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2004:   as_fn_set_status $ac_retval
                   2005: 
                   2006: } # ac_fn_cxx_try_link
                   2007: 
                   2008: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
                   2009: # ---------------------------------------------
                   2010: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
                   2011: # accordingly.
                   2012: ac_fn_c_check_decl ()
                   2013: {
                   2014:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2015:   as_decl_name=`echo $2|sed 's/ *(.*//'`
                   2016:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   2017:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   2018: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
                   2019: if eval \${$3+:} false; then :
                   2020:   $as_echo_n "(cached) " >&6
                   2021: else
                   2022:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2023: /* end confdefs.h.  */
                   2024: $4
                   2025: int
                   2026: main ()
                   2027: {
                   2028: #ifndef $as_decl_name
                   2029: #ifdef __cplusplus
                   2030:   (void) $as_decl_use;
                   2031: #else
                   2032:   (void) $as_decl_name;
                   2033: #endif
                   2034: #endif
                   2035: 
                   2036:   ;
                   2037:   return 0;
                   2038: }
                   2039: _ACEOF
                   2040: if ac_fn_c_try_compile "$LINENO"; then :
                   2041:   eval "$3=yes"
                   2042: else
                   2043:   eval "$3=no"
                   2044: fi
                   2045: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2046: fi
                   2047: eval ac_res=\$$3
                   2048:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2049: $as_echo "$ac_res" >&6; }
                   2050:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2051: 
                   2052: } # ac_fn_c_check_decl
                   2053: 
                   2054: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   2055: # -------------------------------------------
                   2056: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2057: # variable VAR accordingly.
                   2058: ac_fn_c_check_type ()
                   2059: {
                   2060:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2061:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2062: $as_echo_n "checking for $2... " >&6; }
                   2063: if eval \${$3+:} false; then :
                   2064:   $as_echo_n "(cached) " >&6
                   2065: else
                   2066:   eval "$3=no"
                   2067:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2068: /* end confdefs.h.  */
                   2069: $4
                   2070: int
                   2071: main ()
                   2072: {
                   2073: if (sizeof ($2))
                   2074:         return 0;
                   2075:   ;
                   2076:   return 0;
                   2077: }
                   2078: _ACEOF
                   2079: if ac_fn_c_try_compile "$LINENO"; then :
                   2080:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2081: /* end confdefs.h.  */
                   2082: $4
                   2083: int
                   2084: main ()
                   2085: {
                   2086: if (sizeof (($2)))
                   2087:            return 0;
                   2088:   ;
                   2089:   return 0;
                   2090: }
                   2091: _ACEOF
                   2092: if ac_fn_c_try_compile "$LINENO"; then :
                   2093: 
                   2094: else
                   2095:   eval "$3=yes"
                   2096: fi
                   2097: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2098: fi
                   2099: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2100: fi
                   2101: eval ac_res=\$$3
                   2102:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2103: $as_echo "$ac_res" >&6; }
                   2104:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2105: 
                   2106: } # ac_fn_c_check_type
                   2107: 
1.156     moko     2108: # ac_fn_c_find_uintX_t LINENO BITS VAR
                   2109: # ------------------------------------
                   2110: # Finds an unsigned integer type with width BITS, setting cache variable VAR
                   2111: # accordingly.
                   2112: ac_fn_c_find_uintX_t ()
                   2113: {
                   2114:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2115:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
                   2116: $as_echo_n "checking for uint$2_t... " >&6; }
                   2117: if eval \${$3+:} false; then :
                   2118:   $as_echo_n "(cached) " >&6
                   2119: else
                   2120:   eval "$3=no"
                   2121:      # Order is important - never check a type that is potentially smaller
                   2122:      # than half of the expected target width.
                   2123:      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
                   2124:         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
                   2125:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2126: /* end confdefs.h.  */
                   2127: $ac_includes_default
                   2128: int
                   2129: main ()
                   2130: {
                   2131: static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1.166     moko     2132: test_array [0] = 0;
                   2133: return test_array [0];
1.156     moko     2134: 
                   2135:   ;
                   2136:   return 0;
                   2137: }
                   2138: _ACEOF
                   2139: if ac_fn_c_try_compile "$LINENO"; then :
                   2140:   case $ac_type in #(
                   2141:   uint$2_t) :
                   2142:     eval "$3=yes" ;; #(
                   2143:   *) :
                   2144:     eval "$3=\$ac_type" ;;
                   2145: esac
                   2146: fi
                   2147: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2148:        if eval test \"x\$"$3"\" = x"no"; then :
                   2149: 
                   2150: else
                   2151:   break
                   2152: fi
                   2153:      done
                   2154: fi
                   2155: eval ac_res=\$$3
                   2156:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2157: $as_echo "$ac_res" >&6; }
                   2158:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2159: 
                   2160: } # ac_fn_c_find_uintX_t
                   2161: 
1.161     moko     2162: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
                   2163: # ----------------------------------------------------
                   2164: # Tries to find if the field MEMBER exists in type AGGR, after including
                   2165: # INCLUDES, setting cache variable VAR accordingly.
                   2166: ac_fn_c_check_member ()
                   2167: {
                   2168:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2169:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   2170: $as_echo_n "checking for $2.$3... " >&6; }
                   2171: if eval \${$4+:} false; then :
                   2172:   $as_echo_n "(cached) " >&6
                   2173: else
                   2174:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2175: /* end confdefs.h.  */
                   2176: $5
                   2177: int
                   2178: main ()
                   2179: {
                   2180: static $2 ac_aggr;
                   2181: if (ac_aggr.$3)
                   2182: return 0;
                   2183:   ;
                   2184:   return 0;
                   2185: }
                   2186: _ACEOF
                   2187: if ac_fn_c_try_compile "$LINENO"; then :
                   2188:   eval "$4=yes"
                   2189: else
                   2190:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2191: /* end confdefs.h.  */
                   2192: $5
                   2193: int
                   2194: main ()
                   2195: {
                   2196: static $2 ac_aggr;
                   2197: if (sizeof ac_aggr.$3)
                   2198: return 0;
                   2199:   ;
                   2200:   return 0;
                   2201: }
                   2202: _ACEOF
                   2203: if ac_fn_c_try_compile "$LINENO"; then :
                   2204:   eval "$4=yes"
                   2205: else
                   2206:   eval "$4=no"
                   2207: fi
                   2208: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2209: fi
                   2210: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2211: fi
                   2212: eval ac_res=\$$4
                   2213:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2214: $as_echo "$ac_res" >&6; }
                   2215:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2216: 
                   2217: } # ac_fn_c_check_member
                   2218: 
1.150     moko     2219: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2220: # -------------------------------------------------------
                   2221: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2222: # the include files in INCLUDES and setting the cache variable VAR
                   2223: # accordingly.
                   2224: ac_fn_c_check_header_mongrel ()
                   2225: {
                   2226:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2227:   if eval \${$3+:} false; then :
                   2228:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2229: $as_echo_n "checking for $2... " >&6; }
                   2230: if eval \${$3+:} false; then :
                   2231:   $as_echo_n "(cached) " >&6
                   2232: fi
                   2233: eval ac_res=\$$3
                   2234:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2235: $as_echo "$ac_res" >&6; }
                   2236: else
                   2237:   # Is the header compilable?
                   2238: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2239: $as_echo_n "checking $2 usability... " >&6; }
                   2240: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2241: /* end confdefs.h.  */
                   2242: $4
                   2243: #include <$2>
                   2244: _ACEOF
                   2245: if ac_fn_c_try_compile "$LINENO"; then :
                   2246:   ac_header_compiler=yes
                   2247: else
                   2248:   ac_header_compiler=no
                   2249: fi
                   2250: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2251: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2252: $as_echo "$ac_header_compiler" >&6; }
                   2253: 
                   2254: # Is the header present?
                   2255: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2256: $as_echo_n "checking $2 presence... " >&6; }
                   2257: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2258: /* end confdefs.h.  */
                   2259: #include <$2>
                   2260: _ACEOF
                   2261: if ac_fn_c_try_cpp "$LINENO"; then :
                   2262:   ac_header_preproc=yes
                   2263: else
                   2264:   ac_header_preproc=no
                   2265: fi
                   2266: rm -f conftest.err conftest.i conftest.$ac_ext
                   2267: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2268: $as_echo "$ac_header_preproc" >&6; }
                   2269: 
                   2270: # So?  What about this header?
                   2271: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   2272:   yes:no: )
                   2273:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2274: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2275:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2276: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2277:     ;;
                   2278:   no:yes:* )
                   2279:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2280: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2281:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2282: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2283:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2284: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2285:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2286: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2287:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2288: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2289:     ;;
                   2290: esac
                   2291:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2292: $as_echo_n "checking for $2... " >&6; }
                   2293: if eval \${$3+:} false; then :
                   2294:   $as_echo_n "(cached) " >&6
                   2295: else
                   2296:   eval "$3=\$ac_header_compiler"
                   2297: fi
                   2298: eval ac_res=\$$3
                   2299:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2300: $as_echo "$ac_res" >&6; }
                   2301: fi
                   2302:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2303: 
                   2304: } # ac_fn_c_check_header_mongrel
                   2305: cat >config.log <<_ACEOF
                   2306: This file contains any messages produced by compilers while
                   2307: running configure, to aid debugging if configure makes a mistake.
                   2308: 
1.223   ! moko     2309: It was created by parser $as_me 3.5.0rc, which was
1.166     moko     2310: generated by GNU Autoconf 2.69.  Invocation command line was
1.150     moko     2311: 
                   2312:   $ $0 $@
                   2313: 
                   2314: _ACEOF
                   2315: exec 5>>config.log
                   2316: {
                   2317: cat <<_ASUNAME
                   2318: ## --------- ##
                   2319: ## Platform. ##
                   2320: ## --------- ##
                   2321: 
                   2322: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2323: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2324: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2325: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2326: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2327: 
                   2328: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2329: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.62      paf      2330: 
                   2331: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2332: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2333: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.150     moko     2334: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.62      paf      2335: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2336: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2337: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2338: 
                   2339: _ASUNAME
                   2340: 
                   2341: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2342: for as_dir in $PATH
                   2343: do
                   2344:   IFS=$as_save_IFS
                   2345:   test -z "$as_dir" && as_dir=.
1.150     moko     2346:     $as_echo "PATH: $as_dir"
                   2347:   done
                   2348: IFS=$as_save_IFS
1.1       paf      2349: 
1.62      paf      2350: } >&5
                   2351: 
                   2352: cat >&5 <<_ACEOF
                   2353: 
                   2354: 
                   2355: ## ----------- ##
                   2356: ## Core tests. ##
                   2357: ## ----------- ##
                   2358: 
                   2359: _ACEOF
                   2360: 
                   2361: 
                   2362: # Keep a trace of the command line.
                   2363: # Strip out --no-create and --no-recursion so they do not pile up.
                   2364: # Strip out --silent because we don't want to record it for future runs.
                   2365: # Also quote any args containing shell meta-characters.
                   2366: # Make two passes to allow for proper duplicate-argument suppression.
                   2367: ac_configure_args=
                   2368: ac_configure_args0=
                   2369: ac_configure_args1=
                   2370: ac_must_keep_next=false
                   2371: for ac_pass in 1 2
                   2372: do
                   2373:   for ac_arg
                   2374:   do
                   2375:     case $ac_arg in
                   2376:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2377:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2378:     | -silent | --silent | --silen | --sile | --sil)
                   2379:       continue ;;
1.150     moko     2380:     *\'*)
                   2381:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2382:     esac
                   2383:     case $ac_pass in
1.150     moko     2384:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.62      paf      2385:     2)
1.150     moko     2386:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.62      paf      2387:       if test $ac_must_keep_next = true; then
1.86      paf      2388:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      2389:       else
1.86      paf      2390:        case $ac_arg in
                   2391:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2392:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2393:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2394:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2395:            case "$ac_configure_args0 " in
                   2396:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2397:            esac
                   2398:            ;;
                   2399:          -* ) ac_must_keep_next=true ;;
                   2400:        esac
1.62      paf      2401:       fi
1.150     moko     2402:       as_fn_append ac_configure_args " '$ac_arg'"
1.62      paf      2403:       ;;
                   2404:     esac
                   2405:   done
                   2406: done
1.150     moko     2407: { ac_configure_args0=; unset ac_configure_args0;}
                   2408: { ac_configure_args1=; unset ac_configure_args1;}
1.62      paf      2409: 
                   2410: # When interrupted or exit'd, cleanup temporary files, and complete
                   2411: # config.log.  We remove comments because anyway the quotes in there
                   2412: # would cause problems or look ugly.
1.150     moko     2413: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2414: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.62      paf      2415: trap 'exit_status=$?
                   2416:   # Save into config.log some information that might help in debugging.
                   2417:   {
                   2418:     echo
                   2419: 
1.150     moko     2420:     $as_echo "## ---------------- ##
1.62      paf      2421: ## Cache variables. ##
1.150     moko     2422: ## ---------------- ##"
1.62      paf      2423:     echo
                   2424:     # The following way of writing the cache mishandles newlines in values,
1.150     moko     2425: (
                   2426:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2427:     eval ac_val=\$$ac_var
                   2428:     case $ac_val in #(
                   2429:     *${as_nl}*)
                   2430:       case $ac_var in #(
                   2431:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2432: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2433:       esac
                   2434:       case $ac_var in #(
                   2435:       _ | IFS | as_nl) ;; #(
                   2436:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2437:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2438:       esac ;;
                   2439:     esac
                   2440:   done
1.62      paf      2441:   (set) 2>&1 |
1.150     moko     2442:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2443:     *${as_nl}ac_space=\ *)
1.62      paf      2444:       sed -n \
1.150     moko     2445:        "s/'\''/'\''\\\\'\'''\''/g;
                   2446:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2447:       ;; #(
1.62      paf      2448:     *)
1.150     moko     2449:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      2450:       ;;
1.150     moko     2451:     esac |
                   2452:     sort
                   2453: )
1.62      paf      2454:     echo
                   2455: 
1.150     moko     2456:     $as_echo "## ----------------- ##
1.62      paf      2457: ## Output variables. ##
1.150     moko     2458: ## ----------------- ##"
1.62      paf      2459:     echo
                   2460:     for ac_var in $ac_subst_vars
                   2461:     do
1.150     moko     2462:       eval ac_val=\$$ac_var
                   2463:       case $ac_val in
                   2464:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2465:       esac
                   2466:       $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2467:     done | sort
                   2468:     echo
                   2469: 
                   2470:     if test -n "$ac_subst_files"; then
1.150     moko     2471:       $as_echo "## ------------------- ##
                   2472: ## File substitutions. ##
                   2473: ## ------------------- ##"
1.62      paf      2474:       echo
                   2475:       for ac_var in $ac_subst_files
                   2476:       do
1.150     moko     2477:        eval ac_val=\$$ac_var
                   2478:        case $ac_val in
                   2479:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2480:        esac
                   2481:        $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2482:       done | sort
                   2483:       echo
                   2484:     fi
                   2485: 
                   2486:     if test -s confdefs.h; then
1.150     moko     2487:       $as_echo "## ----------- ##
1.62      paf      2488: ## confdefs.h. ##
1.150     moko     2489: ## ----------- ##"
1.62      paf      2490:       echo
1.150     moko     2491:       cat confdefs.h
1.62      paf      2492:       echo
                   2493:     fi
                   2494:     test "$ac_signal" != 0 &&
1.150     moko     2495:       $as_echo "$as_me: caught signal $ac_signal"
                   2496:     $as_echo "$as_me: exit $exit_status"
1.62      paf      2497:   } >&5
1.150     moko     2498:   rm -f core *.core core.conftest.* &&
                   2499:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.62      paf      2500:     exit $exit_status
1.150     moko     2501: ' 0
1.62      paf      2502: for ac_signal in 1 2 13 15; do
1.150     moko     2503:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.62      paf      2504: done
                   2505: ac_signal=0
                   2506: 
                   2507: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.150     moko     2508: rm -f -r conftest* confdefs.h
                   2509: 
                   2510: $as_echo "/* confdefs.h */" > confdefs.h
1.62      paf      2511: 
                   2512: # Predefined preprocessor variables.
                   2513: 
                   2514: cat >>confdefs.h <<_ACEOF
                   2515: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2516: _ACEOF
                   2517: 
                   2518: cat >>confdefs.h <<_ACEOF
                   2519: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2520: _ACEOF
                   2521: 
                   2522: cat >>confdefs.h <<_ACEOF
                   2523: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2524: _ACEOF
                   2525: 
                   2526: cat >>confdefs.h <<_ACEOF
                   2527: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2528: _ACEOF
                   2529: 
1.150     moko     2530: cat >>confdefs.h <<_ACEOF
                   2531: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2532: _ACEOF
1.62      paf      2533: 
                   2534: cat >>confdefs.h <<_ACEOF
1.150     moko     2535: #define PACKAGE_URL "$PACKAGE_URL"
1.62      paf      2536: _ACEOF
                   2537: 
                   2538: 
                   2539: # Let the site file select an alternate cache file if it wants to.
1.150     moko     2540: # Prefer an explicitly selected file to automatically selected ones.
                   2541: ac_site_file1=NONE
                   2542: ac_site_file2=NONE
                   2543: if test -n "$CONFIG_SITE"; then
                   2544:   # We do not want a PATH search for config.site.
                   2545:   case $CONFIG_SITE in #((
                   2546:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2547:     */*) ac_site_file1=$CONFIG_SITE;;
                   2548:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2549:   esac
                   2550: elif test "x$prefix" != xNONE; then
                   2551:   ac_site_file1=$prefix/share/config.site
                   2552:   ac_site_file2=$prefix/etc/config.site
                   2553: else
                   2554:   ac_site_file1=$ac_default_prefix/share/config.site
                   2555:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2556: fi
                   2557: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2558: do
                   2559:   test "x$ac_site_file" = xNONE && continue
                   2560:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2561:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2562: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.62      paf      2563:     sed 's/^/| /' "$ac_site_file" >&5
1.150     moko     2564:     . "$ac_site_file" \
                   2565:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2566: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2567: as_fn_error $? "failed to load site script $ac_site_file
                   2568: See \`config.log' for more details" "$LINENO" 5; }
1.1       paf      2569:   fi
                   2570: done
                   2571: 
                   2572: if test -r "$cache_file"; then
1.150     moko     2573:   # Some versions of bash will fail to source /dev/null (special files
                   2574:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2575:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2576:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2577: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.62      paf      2578:     case $cache_file in
1.150     moko     2579:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2580:       *)                      . "./$cache_file";;
1.62      paf      2581:     esac
                   2582:   fi
1.1       paf      2583: else
1.150     moko     2584:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2585: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.62      paf      2586:   >$cache_file
                   2587: fi
                   2588: 
                   2589: # Check that the precious variables saved in the cache have kept the same
                   2590: # value.
                   2591: ac_cache_corrupted=false
1.150     moko     2592: for ac_var in $ac_precious_vars; do
1.62      paf      2593:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2594:   eval ac_new_set=\$ac_env_${ac_var}_set
1.150     moko     2595:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2596:   eval ac_new_val=\$ac_env_${ac_var}_value
1.62      paf      2597:   case $ac_old_set,$ac_new_set in
                   2598:     set,)
1.150     moko     2599:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2600: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.62      paf      2601:       ac_cache_corrupted=: ;;
                   2602:     ,set)
1.150     moko     2603:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2604: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.62      paf      2605:       ac_cache_corrupted=: ;;
                   2606:     ,);;
                   2607:     *)
                   2608:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.150     moko     2609:        # differences in whitespace do not lead to failure.
                   2610:        ac_old_val_w=`echo x $ac_old_val`
                   2611:        ac_new_val_w=`echo x $ac_new_val`
                   2612:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2613:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2614: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2615:          ac_cache_corrupted=:
                   2616:        else
                   2617:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2618: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2619:          eval $ac_var=\$ac_old_val
                   2620:        fi
                   2621:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2622: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2623:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2624: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.62      paf      2625:       fi;;
                   2626:   esac
                   2627:   # Pass precious variables to config.status.
                   2628:   if test "$ac_new_set" = set; then
                   2629:     case $ac_new_val in
1.150     moko     2630:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2631:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2632:     esac
                   2633:     case " $ac_configure_args " in
                   2634:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.150     moko     2635:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.62      paf      2636:     esac
                   2637:   fi
                   2638: done
                   2639: if $ac_cache_corrupted; then
1.150     moko     2640:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2641: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2642:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2643: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2644:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2645: fi
                   2646: ## -------------------- ##
                   2647: ## Main body of script. ##
                   2648: ## -------------------- ##
1.1       paf      2649: 
                   2650: ac_ext=c
                   2651: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      2652: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2653: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2654: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2655: 
                   2656: 
                   2657: 
                   2658: 
                   2659: 
1.199     moko     2660: am__api_version='1.16'
1.62      paf      2661: 
1.1       paf      2662: ac_aux_dir=
1.150     moko     2663: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2664:   if test -f "$ac_dir/install-sh"; then
1.1       paf      2665:     ac_aux_dir=$ac_dir
                   2666:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2667:     break
1.150     moko     2668:   elif test -f "$ac_dir/install.sh"; then
1.1       paf      2669:     ac_aux_dir=$ac_dir
                   2670:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2671:     break
1.150     moko     2672:   elif test -f "$ac_dir/shtool"; then
1.62      paf      2673:     ac_aux_dir=$ac_dir
                   2674:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2675:     break
1.1       paf      2676:   fi
                   2677: done
                   2678: if test -z "$ac_aux_dir"; then
1.150     moko     2679:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2680: fi
                   2681: 
                   2682: # These three variables are undocumented and unsupported,
                   2683: # and are intended to be withdrawn in a future Autoconf release.
                   2684: # They can cause serious problems if a builder's source tree is in a directory
                   2685: # whose full name contains unusual characters.
                   2686: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2687: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2688: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2689: 
1.1       paf      2690: 
                   2691: # Find a good install program.  We prefer a C program (faster),
                   2692: # so one script is as good as another.  But avoid the broken or
                   2693: # incompatible versions:
                   2694: # SysV /etc/install, /usr/sbin/install
                   2695: # SunOS /usr/etc/install
                   2696: # IRIX /sbin/install
                   2697: # AIX /bin/install
1.62      paf      2698: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      2699: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2700: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2701: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      2702: # OS/2's system install, which has a completely different semantic
1.1       paf      2703: # ./install, which can be erroneously created by make from ./install.sh.
1.150     moko     2704: # Reject install programs that cannot install multiple files.
                   2705: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2706: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       paf      2707: if test -z "$INSTALL"; then
1.150     moko     2708: if ${ac_cv_path_install+:} false; then :
                   2709:   $as_echo_n "(cached) " >&6
1.1       paf      2710: else
1.62      paf      2711:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2712: for as_dir in $PATH
                   2713: do
                   2714:   IFS=$as_save_IFS
                   2715:   test -z "$as_dir" && as_dir=.
1.150     moko     2716:     # Account for people who put trailing slashes in PATH elements.
                   2717: case $as_dir/ in #((
                   2718:   ./ | .// | /[cC]/* | \
1.62      paf      2719:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.150     moko     2720:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.62      paf      2721:   /usr/ucb/* ) ;;
                   2722:   *)
                   2723:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2724:     # Don't use installbsd from OSF since it installs stuff as root
                   2725:     # by default.
                   2726:     for ac_prog in ginstall scoinst install; do
                   2727:       for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2728:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.86      paf      2729:          if test $ac_prog = install &&
                   2730:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2731:            # AIX install.  It has an incompatible calling convention.
                   2732:            :
                   2733:          elif test $ac_prog = install &&
                   2734:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2735:            # program-specific install script used by HP pwplus--don't use.
                   2736:            :
                   2737:          else
1.150     moko     2738:            rm -rf conftest.one conftest.two conftest.dir
                   2739:            echo one > conftest.one
                   2740:            echo two > conftest.two
                   2741:            mkdir conftest.dir
                   2742:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2743:              test -s conftest.one && test -s conftest.two &&
                   2744:              test -s conftest.dir/conftest.one &&
                   2745:              test -s conftest.dir/conftest.two
                   2746:            then
                   2747:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2748:              break 3
                   2749:            fi
1.86      paf      2750:          fi
                   2751:        fi
1.1       paf      2752:       done
1.62      paf      2753:     done
                   2754:     ;;
                   2755: esac
                   2756: 
1.150     moko     2757:   done
                   2758: IFS=$as_save_IFS
                   2759: 
                   2760: rm -rf conftest.one conftest.two conftest.dir
1.1       paf      2761: 
                   2762: fi
                   2763:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      2764:     INSTALL=$ac_cv_path_install
1.1       paf      2765:   else
1.150     moko     2766:     # As a last resort, use the slow shell script.  Don't cache a
                   2767:     # value for INSTALL within a source directory, because that will
1.1       paf      2768:     # break other packages using the cache if that directory is
1.150     moko     2769:     # removed, or if the value is a relative name.
1.62      paf      2770:     INSTALL=$ac_install_sh
1.1       paf      2771:   fi
                   2772: fi
1.150     moko     2773: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2774: $as_echo "$INSTALL" >&6; }
1.1       paf      2775: 
                   2776: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2777: # It thinks the first close brace ends the variable substitution.
                   2778: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2779: 
1.62      paf      2780: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      2781: 
                   2782: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2783: 
1.150     moko     2784: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2785: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2786: # Reject unsafe characters in $srcdir or the absolute working directory
                   2787: # name.  Accept space and tab only in the latter.
                   2788: am_lf='
                   2789: '
                   2790: case `pwd` in
                   2791:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2792:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2793: esac
                   2794: case $srcdir in
                   2795:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.187     moko     2796:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.150     moko     2797: esac
                   2798: 
1.187     moko     2799: # Do 'set' in a subshell so we don't clobber the current shell's
1.1       paf      2800: # arguments.  Must try -L first in case configure is actually a
                   2801: # symlink; some systems play weird games with the mod time of symlinks
                   2802: # (eg FreeBSD returns the mod time of the symlink's containing
                   2803: # directory).
                   2804: if (
1.187     moko     2805:    am_has_slept=no
                   2806:    for am_try in 1 2; do
                   2807:      echo "timestamp, slept: $am_has_slept" > conftest.file
                   2808:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   2809:      if test "$*" = "X"; then
                   2810:        # -L didn't work.
                   2811:        set X `ls -t "$srcdir/configure" conftest.file`
                   2812:      fi
                   2813:      if test "$*" != "X $srcdir/configure conftest.file" \
                   2814:        && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      2815: 
1.187     moko     2816:        # If neither matched, then we have a broken ls.  This can happen
                   2817:        # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2818:        # broken ls alias from the environment.  This has actually
                   2819:        # happened.  Such a system could not be considered "sane".
                   2820:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2821:   alias in your environment" "$LINENO" 5
                   2822:      fi
                   2823:      if test "$2" = conftest.file || test $am_try -eq 2; then
                   2824:        break
                   2825:      fi
                   2826:      # Just in case.
                   2827:      sleep 1
                   2828:      am_has_slept=yes
                   2829:    done
1.62      paf      2830:    test "$2" = conftest.file
1.1       paf      2831:    )
                   2832: then
                   2833:    # Ok.
                   2834:    :
                   2835: else
1.150     moko     2836:    as_fn_error $? "newly created file is older than distributed files!
                   2837: Check your system clock" "$LINENO" 5
1.1       paf      2838: fi
1.150     moko     2839: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2840: $as_echo "yes" >&6; }
1.187     moko     2841: # If we didn't sleep, we still need to ensure time stamps of config.status and
                   2842: # generated files are strictly newer.
                   2843: am_sleep_pid=
                   2844: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
                   2845:   ( sleep 1 ) &
                   2846:   am_sleep_pid=$!
                   2847: fi
                   2848: 
                   2849: rm -f conftest.file
                   2850: 
1.1       paf      2851: test "$program_prefix" != NONE &&
1.150     moko     2852:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       paf      2853: # Use a double $ so make ignores it.
                   2854: test "$program_suffix" != NONE &&
1.150     moko     2855:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2856: # Double any \ or $.
1.62      paf      2857: # By default was `s,x,x', remove it if useless.
1.150     moko     2858: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2859: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.62      paf      2860: 
1.187     moko     2861: # Expand $ac_aux_dir to an absolute path.
                   2862: am_aux_dir=`cd "$ac_aux_dir" && pwd`
1.62      paf      2863: 
1.150     moko     2864: if test x"${MISSING+set}" != xset; then
1.216     moko     2865:   MISSING="\${SHELL} '$am_aux_dir/missing'"
1.150     moko     2866: fi
1.62      paf      2867: # Use eval to expand $SHELL
1.187     moko     2868: if eval "$MISSING --is-lightweight"; then
                   2869:   am_missing_run="$MISSING "
1.62      paf      2870: else
                   2871:   am_missing_run=
1.187     moko     2872:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
                   2873: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.62      paf      2874: fi
                   2875: 
1.187     moko     2876: if test x"${install_sh+set}" != xset; then
1.150     moko     2877:   case $am_aux_dir in
                   2878:   *\ * | *\    *)
                   2879:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2880:   *)
                   2881:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2882:   esac
1.86      paf      2883: fi
                   2884: 
1.187     moko     2885: # Installed binaries are usually stripped using 'strip' when the user
                   2886: # run "make install-strip".  However 'strip' might not be the right
1.150     moko     2887: # tool to use in cross-compilation environments, therefore Automake
1.187     moko     2888: # will honor the 'STRIP' environment variable to overrule this program.
1.150     moko     2889: if test "$cross_compiling" != no; then
                   2890:   if test -n "$ac_tool_prefix"; then
                   2891:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2892: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2893: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2894: $as_echo_n "checking for $ac_word... " >&6; }
                   2895: if ${ac_cv_prog_STRIP+:} false; then :
                   2896:   $as_echo_n "(cached) " >&6
                   2897: else
                   2898:   if test -n "$STRIP"; then
                   2899:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2900: else
                   2901: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2902: for as_dir in $PATH
                   2903: do
                   2904:   IFS=$as_save_IFS
                   2905:   test -z "$as_dir" && as_dir=.
                   2906:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2907:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.150     moko     2908:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2909:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2910:     break 2
                   2911:   fi
                   2912: done
                   2913:   done
                   2914: IFS=$as_save_IFS
                   2915: 
                   2916: fi
                   2917: fi
                   2918: STRIP=$ac_cv_prog_STRIP
                   2919: if test -n "$STRIP"; then
                   2920:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2921: $as_echo "$STRIP" >&6; }
                   2922: else
                   2923:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2924: $as_echo "no" >&6; }
                   2925: fi
                   2926: 
                   2927: 
                   2928: fi
                   2929: if test -z "$ac_cv_prog_STRIP"; then
                   2930:   ac_ct_STRIP=$STRIP
                   2931:   # Extract the first word of "strip", so it can be a program name with args.
                   2932: set dummy strip; ac_word=$2
                   2933: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2934: $as_echo_n "checking for $ac_word... " >&6; }
                   2935: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2936:   $as_echo_n "(cached) " >&6
                   2937: else
                   2938:   if test -n "$ac_ct_STRIP"; then
                   2939:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2940: else
                   2941: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2942: for as_dir in $PATH
                   2943: do
                   2944:   IFS=$as_save_IFS
                   2945:   test -z "$as_dir" && as_dir=.
                   2946:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2947:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.150     moko     2948:     ac_cv_prog_ac_ct_STRIP="strip"
                   2949:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2950:     break 2
                   2951:   fi
                   2952: done
                   2953:   done
                   2954: IFS=$as_save_IFS
                   2955: 
                   2956: fi
                   2957: fi
                   2958: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2959: if test -n "$ac_ct_STRIP"; then
                   2960:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2961: $as_echo "$ac_ct_STRIP" >&6; }
                   2962: else
                   2963:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2964: $as_echo "no" >&6; }
                   2965: fi
                   2966: 
                   2967:   if test "x$ac_ct_STRIP" = x; then
                   2968:     STRIP=":"
                   2969:   else
                   2970:     case $cross_compiling:$ac_tool_warned in
                   2971: yes:)
                   2972: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2973: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2974: ac_tool_warned=yes ;;
                   2975: esac
                   2976:     STRIP=$ac_ct_STRIP
                   2977:   fi
                   2978: else
                   2979:   STRIP="$ac_cv_prog_STRIP"
                   2980: fi
                   2981: 
                   2982: fi
                   2983: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2984: 
                   2985: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2986: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2987: if test -z "$MKDIR_P"; then
                   2988:   if ${ac_cv_path_mkdir+:} false; then :
                   2989:   $as_echo_n "(cached) " >&6
                   2990: else
                   2991:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2992: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2993: do
                   2994:   IFS=$as_save_IFS
                   2995:   test -z "$as_dir" && as_dir=.
                   2996:     for ac_prog in mkdir gmkdir; do
                   2997:         for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2998:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.150     moko     2999:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   3000:             'mkdir (GNU coreutils) '* | \
                   3001:             'mkdir (coreutils) '* | \
                   3002:             'mkdir (fileutils) '4.1*)
                   3003:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   3004:               break 3;;
                   3005:           esac
                   3006:         done
                   3007:        done
                   3008:   done
                   3009: IFS=$as_save_IFS
                   3010: 
                   3011: fi
                   3012: 
                   3013:   test -d ./--version && rmdir ./--version
                   3014:   if test "${ac_cv_path_mkdir+set}" = set; then
                   3015:     MKDIR_P="$ac_cv_path_mkdir -p"
                   3016:   else
                   3017:     # As a last resort, use the slow shell script.  Don't cache a
                   3018:     # value for MKDIR_P within a source directory, because that will
                   3019:     # break other packages using the cache if that directory is
                   3020:     # removed, or if the value is a relative name.
                   3021:     MKDIR_P="$ac_install_sh -d"
                   3022:   fi
                   3023: fi
                   3024: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   3025: $as_echo "$MKDIR_P" >&6; }
                   3026: 
                   3027: for ac_prog in gawk mawk nawk awk
1.62      paf      3028: do
                   3029:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3030: set dummy $ac_prog; ac_word=$2
1.150     moko     3031: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3032: $as_echo_n "checking for $ac_word... " >&6; }
                   3033: if ${ac_cv_prog_AWK+:} false; then :
                   3034:   $as_echo_n "(cached) " >&6
1.62      paf      3035: else
                   3036:   if test -n "$AWK"; then
                   3037:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3038: else
                   3039: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3040: for as_dir in $PATH
                   3041: do
                   3042:   IFS=$as_save_IFS
                   3043:   test -z "$as_dir" && as_dir=.
1.150     moko     3044:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3045:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3046:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3047:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3048:     break 2
                   3049:   fi
                   3050: done
1.150     moko     3051:   done
                   3052: IFS=$as_save_IFS
1.62      paf      3053: 
                   3054: fi
                   3055: fi
                   3056: AWK=$ac_cv_prog_AWK
                   3057: if test -n "$AWK"; then
1.150     moko     3058:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3059: $as_echo "$AWK" >&6; }
1.62      paf      3060: else
1.150     moko     3061:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3062: $as_echo "no" >&6; }
1.62      paf      3063: fi
1.1       paf      3064: 
1.150     moko     3065: 
1.62      paf      3066:   test -n "$AWK" && break
                   3067: done
1.1       paf      3068: 
1.150     moko     3069: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3070: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   3071: set x ${MAKE-make}
                   3072: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   3073: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   3074:   $as_echo_n "(cached) " >&6
1.1       paf      3075: else
1.62      paf      3076:   cat >conftest.make <<\_ACEOF
1.150     moko     3077: SHELL = /bin/sh
1.1       paf      3078: all:
1.150     moko     3079:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.62      paf      3080: _ACEOF
1.150     moko     3081: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   3082: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3083:   *@@@%%%=?*=@@@%%%*)
                   3084:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3085:   *)
                   3086:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3087: esac
1.62      paf      3088: rm -f conftest.make
1.1       paf      3089: fi
1.150     moko     3090: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3091:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3092: $as_echo "yes" >&6; }
1.1       paf      3093:   SET_MAKE=
                   3094: else
1.150     moko     3095:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3096: $as_echo "no" >&6; }
1.1       paf      3097:   SET_MAKE="MAKE=${MAKE-make}"
                   3098: fi
                   3099: 
1.86      paf      3100: rm -rf .tst 2>/dev/null
                   3101: mkdir .tst 2>/dev/null
                   3102: if test -d .tst; then
                   3103:   am__leading_dot=.
                   3104: else
                   3105:   am__leading_dot=_
                   3106: fi
                   3107: rmdir .tst 2>/dev/null
                   3108: 
1.187     moko     3109: # Check whether --enable-silent-rules was given.
                   3110: if test "${enable_silent_rules+set}" = set; then :
                   3111:   enableval=$enable_silent_rules;
                   3112: fi
                   3113: 
                   3114: case $enable_silent_rules in # (((
                   3115:   yes) AM_DEFAULT_VERBOSITY=0;;
                   3116:    no) AM_DEFAULT_VERBOSITY=1;;
                   3117:     *) AM_DEFAULT_VERBOSITY=1;;
                   3118: esac
                   3119: am_make=${MAKE-make}
                   3120: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
                   3121: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
                   3122: if ${am_cv_make_support_nested_variables+:} false; then :
                   3123:   $as_echo_n "(cached) " >&6
                   3124: else
                   3125:   if $as_echo 'TRUE=$(BAR$(V))
                   3126: BAR0=false
                   3127: BAR1=true
                   3128: V=1
                   3129: am__doit:
                   3130:        @$(TRUE)
                   3131: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
                   3132:   am_cv_make_support_nested_variables=yes
                   3133: else
                   3134:   am_cv_make_support_nested_variables=no
                   3135: fi
                   3136: fi
                   3137: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
                   3138: $as_echo "$am_cv_make_support_nested_variables" >&6; }
                   3139: if test $am_cv_make_support_nested_variables = yes; then
                   3140:     AM_V='$(V)'
                   3141:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
                   3142: else
                   3143:   AM_V=$AM_DEFAULT_VERBOSITY
                   3144:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
                   3145: fi
                   3146: AM_BACKSLASH='\'
                   3147: 
1.150     moko     3148: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3149:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3150:   # is not polluted with repeated "-I."
                   3151:   am__isrc=' -I$(srcdir)'
                   3152:   # test to see if srcdir already configured
                   3153:   if test -f $srcdir/config.status; then
                   3154:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   3155:   fi
1.62      paf      3156: fi
                   3157: 
                   3158: # test whether we have cygpath
                   3159: if test -z "$CYGPATH_W"; then
                   3160:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3161:     CYGPATH_W='cygpath -w'
                   3162:   else
                   3163:     CYGPATH_W=echo
                   3164:   fi
                   3165: fi
                   3166: 
                   3167: 
                   3168: # Define the identity of the package.
1.128     moko     3169:  PACKAGE='parser'
1.223   ! moko     3170:  VERSION='3.5.0rc'
1.128     moko     3171: 
                   3172: 
                   3173: cat >>confdefs.h <<_ACEOF
                   3174: #define PACKAGE "$PACKAGE"
                   3175: _ACEOF
1.1       paf      3176: 
                   3177: 
1.128     moko     3178: cat >>confdefs.h <<_ACEOF
                   3179: #define VERSION "$VERSION"
                   3180: _ACEOF
                   3181: 
1.62      paf      3182: # Some tools Automake needs.
                   3183: 
                   3184: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3185: 
                   3186: 
                   3187: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3188: 
                   3189: 
                   3190: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3191: 
                   3192: 
                   3193: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3194: 
                   3195: 
                   3196: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      3197: 
1.187     moko     3198: # For better backward compatibility.  To be removed once Automake 1.9.x
                   3199: # dies out for good.  For more background, see:
1.199     moko     3200: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
                   3201: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1.187     moko     3202: mkdir_p='$(MKDIR_P)'
                   3203: 
                   3204: # We need awk for the "check" target (and possibly the TAP driver).  The
                   3205: # system "awk" is bad on some platforms.
                   3206: # Always define AMTAR for backward compatibility.  Yes, it's still used
                   3207: # in the wild :-(  We should find a proper way to deprecate it ...
                   3208: AMTAR='$${TAR-tar}'
                   3209: 
                   3210: 
                   3211: # We'll loop over all known methods to create a tar archive until one works.
                   3212: _am_tools='gnutar  pax cpio none'
                   3213: 
                   3214: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
                   3215: 
1.86      paf      3216: 
                   3217: 
                   3218: 
                   3219: 
1.62      paf      3220: 
1.187     moko     3221: # POSIX will say in a future version that running "rm -f" with no argument
                   3222: # is OK; and we want to be able to make that assumption in our Makefile
                   3223: # recipes.  So use an aggressive probe to check that the usage we want is
                   3224: # actually supported "in the wild" to an acceptable degree.
                   3225: # See automake bug#10828.
                   3226: # To make any issue more visible, cause the running configure to be aborted
                   3227: # by default if the 'rm' program in use doesn't match our expectations; the
                   3228: # user can still override this though.
                   3229: if rm -f && rm -fr && rm -rf; then : OK; else
                   3230:   cat >&2 <<'END'
                   3231: Oops!
1.1       paf      3232: 
1.187     moko     3233: Your 'rm' program seems unable to run without file operands specified
                   3234: on the command line, even when the '-f' option is present.  This is contrary
                   3235: to the behaviour of most rm programs out there, and not conforming with
                   3236: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
                   3237: 
                   3238: Please tell bug-automake@gnu.org about your system, including the value
                   3239: of your $PATH and any error possibly output before this message.  This
                   3240: can help us improve future automake versions.
                   3241: 
                   3242: END
                   3243:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
                   3244:     echo 'Configuration will proceed anyway, since you have set the' >&2
                   3245:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
                   3246:     echo >&2
                   3247:   else
                   3248:     cat >&2 <<'END'
                   3249: Aborting the configuration process, to ensure you take notice of the issue.
                   3250: 
                   3251: You can download and install GNU coreutils to get an 'rm' implementation
1.199     moko     3252: that behaves properly: <https://www.gnu.org/software/coreutils/>.
1.187     moko     3253: 
                   3254: If you want to complete the configuration process using your problematic
                   3255: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
                   3256: to "yes", and re-run configure.
                   3257: 
                   3258: END
                   3259:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
                   3260:   fi
                   3261: fi
1.1       paf      3262: 
                   3263: 
1.128     moko     3264: 
1.12      paf      3265: P3S=`cd $srcdir/src ; pwd`
1.1       paf      3266: 
                   3267: 
1.128     moko     3268: 
1.41      paf      3269: # Make sure we can run config.sub.
1.150     moko     3270: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   3271:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.62      paf      3272: 
1.150     moko     3273: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   3274: $as_echo_n "checking build system type... " >&6; }
                   3275: if ${ac_cv_build+:} false; then :
                   3276:   $as_echo_n "(cached) " >&6
                   3277: else
                   3278:   ac_build_alias=$build_alias
                   3279: test "x$ac_build_alias" = x &&
                   3280:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3281: test "x$ac_build_alias" = x &&
                   3282:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   3283: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   3284:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   3285: 
                   3286: fi
                   3287: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   3288: $as_echo "$ac_cv_build" >&6; }
                   3289: case $ac_cv_build in
                   3290: *-*-*) ;;
                   3291: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   3292: esac
                   3293: build=$ac_cv_build
                   3294: ac_save_IFS=$IFS; IFS='-'
                   3295: set x $ac_cv_build
                   3296: shift
                   3297: build_cpu=$1
                   3298: build_vendor=$2
                   3299: shift; shift
                   3300: # Remember, the first character of IFS is used to create $*,
                   3301: # except with old shells:
                   3302: build_os=$*
                   3303: IFS=$ac_save_IFS
                   3304: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3305: 
                   3306: 
                   3307: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   3308: $as_echo_n "checking host system type... " >&6; }
                   3309: if ${ac_cv_host+:} false; then :
                   3310:   $as_echo_n "(cached) " >&6
                   3311: else
                   3312:   if test "x$host_alias" = x; then
                   3313:   ac_cv_host=$ac_cv_build
                   3314: else
                   3315:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   3316:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.62      paf      3317: fi
                   3318: 
                   3319: fi
1.150     moko     3320: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   3321: $as_echo "$ac_cv_host" >&6; }
                   3322: case $ac_cv_host in
                   3323: *-*-*) ;;
                   3324: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   3325: esac
1.62      paf      3326: host=$ac_cv_host
1.150     moko     3327: ac_save_IFS=$IFS; IFS='-'
                   3328: set x $ac_cv_host
                   3329: shift
                   3330: host_cpu=$1
                   3331: host_vendor=$2
                   3332: shift; shift
                   3333: # Remember, the first character of IFS is used to create $*,
                   3334: # except with old shells:
                   3335: host_os=$*
                   3336: IFS=$ac_save_IFS
                   3337: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.81      paf      3338: 
                   3339: 
                   3340: 
1.148     moko     3341: cat >>confdefs.h <<_ACEOF
                   3342: #define PARSER_VERSION "$VERSION (compiled on $host)"
1.147     moko     3343: _ACEOF
                   3344: 
                   3345: 
1.41      paf      3346: 
1.67      paf      3347: case $host_os in
                   3348:   *cygwin* )
1.150     moko     3349: $as_echo "#define CYGWIN /**/" >>confdefs.h
1.67      paf      3350: ;;
                   3351: esac
1.41      paf      3352: 
1.128     moko     3353: 
1.1       paf      3354: 
1.62      paf      3355: for ac_prog in gawk mawk nawk awk
1.41      paf      3356: do
1.62      paf      3357:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3358: set dummy $ac_prog; ac_word=$2
1.150     moko     3359: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3360: $as_echo_n "checking for $ac_word... " >&6; }
                   3361: if ${ac_cv_prog_AWK+:} false; then :
                   3362:   $as_echo_n "(cached) " >&6
1.41      paf      3363: else
                   3364:   if test -n "$AWK"; then
                   3365:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3366: else
1.62      paf      3367: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3368: for as_dir in $PATH
                   3369: do
                   3370:   IFS=$as_save_IFS
                   3371:   test -z "$as_dir" && as_dir=.
1.150     moko     3372:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3373:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3374:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3375:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3376:     break 2
                   3377:   fi
                   3378: done
1.150     moko     3379:   done
                   3380: IFS=$as_save_IFS
1.62      paf      3381: 
1.41      paf      3382: fi
                   3383: fi
1.62      paf      3384: AWK=$ac_cv_prog_AWK
1.41      paf      3385: if test -n "$AWK"; then
1.150     moko     3386:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3387: $as_echo "$AWK" >&6; }
1.41      paf      3388: else
1.150     moko     3389:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3390: $as_echo "no" >&6; }
1.41      paf      3391: fi
                   3392: 
1.150     moko     3393: 
1.62      paf      3394:   test -n "$AWK" && break
1.41      paf      3395: done
                   3396: 
                   3397: 
                   3398: for ac_prog in 'bison -y' byacc
                   3399: do
1.62      paf      3400:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3401: set dummy $ac_prog; ac_word=$2
1.150     moko     3402: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3403: $as_echo_n "checking for $ac_word... " >&6; }
                   3404: if ${ac_cv_prog_YACC+:} false; then :
                   3405:   $as_echo_n "(cached) " >&6
1.41      paf      3406: else
                   3407:   if test -n "$YACC"; then
                   3408:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   3409: else
1.62      paf      3410: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3411: for as_dir in $PATH
                   3412: do
                   3413:   IFS=$as_save_IFS
                   3414:   test -z "$as_dir" && as_dir=.
1.150     moko     3415:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3416:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3417:     ac_cv_prog_YACC="$ac_prog"
1.150     moko     3418:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3419:     break 2
                   3420:   fi
                   3421: done
1.150     moko     3422:   done
                   3423: IFS=$as_save_IFS
1.62      paf      3424: 
1.41      paf      3425: fi
                   3426: fi
1.62      paf      3427: YACC=$ac_cv_prog_YACC
1.41      paf      3428: if test -n "$YACC"; then
1.150     moko     3429:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
                   3430: $as_echo "$YACC" >&6; }
1.41      paf      3431: else
1.150     moko     3432:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3433: $as_echo "no" >&6; }
1.41      paf      3434: fi
                   3435: 
1.150     moko     3436: 
1.62      paf      3437:   test -n "$YACC" && break
1.41      paf      3438: done
                   3439: test -n "$YACC" || YACC="yacc"
                   3440: 
                   3441: if test "$YACC" != "bison -y"; then
1.150     moko     3442:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
                   3443: $as_echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      3444: else
1.150     moko     3445:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison version" >&5
                   3446: $as_echo_n "checking bison version... " >&6; }
1.67      paf      3447:        oldIFS=$IFS; IFS=.
                   3448:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   3449:        IFS=$oldIFS
                   3450:        if test "$1" = "1" -a "$2" -lt "25"; then
1.150     moko     3451:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
                   3452: $as_echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      3453:        fi
1.150     moko     3454:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $1.$2 (ok)" >&5
                   3455: $as_echo "$1.$2 (ok)" >&6; }
1.62      paf      3456: fi
                   3457: 
1.150     moko     3458: ac_ext=cpp
1.66      paf      3459: ac_cpp='$CXXCPP $CPPFLAGS'
                   3460: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3461: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3462: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     3463: if test -z "$CXX"; then
                   3464:   if test -n "$CCC"; then
                   3465:     CXX=$CCC
                   3466:   else
                   3467:     if test -n "$ac_tool_prefix"; then
                   3468:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3469:   do
                   3470:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3471: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     3472: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3473: $as_echo_n "checking for $ac_word... " >&6; }
                   3474: if ${ac_cv_prog_CXX+:} false; then :
                   3475:   $as_echo_n "(cached) " >&6
1.62      paf      3476: else
1.66      paf      3477:   if test -n "$CXX"; then
                   3478:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      3479: else
                   3480: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3481: for as_dir in $PATH
                   3482: do
                   3483:   IFS=$as_save_IFS
                   3484:   test -z "$as_dir" && as_dir=.
1.150     moko     3485:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3486:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3487:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.150     moko     3488:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3489:     break 2
                   3490:   fi
                   3491: done
1.150     moko     3492:   done
                   3493: IFS=$as_save_IFS
1.62      paf      3494: 
                   3495: fi
                   3496: fi
1.66      paf      3497: CXX=$ac_cv_prog_CXX
                   3498: if test -n "$CXX"; then
1.150     moko     3499:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   3500: $as_echo "$CXX" >&6; }
1.62      paf      3501: else
1.150     moko     3502:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3503: $as_echo "no" >&6; }
1.41      paf      3504: fi
                   3505: 
1.150     moko     3506: 
1.66      paf      3507:     test -n "$CXX" && break
                   3508:   done
1.62      paf      3509: fi
1.66      paf      3510: if test -z "$CXX"; then
                   3511:   ac_ct_CXX=$CXX
1.150     moko     3512:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3513: do
                   3514:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3515: set dummy $ac_prog; ac_word=$2
1.150     moko     3516: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3517: $as_echo_n "checking for $ac_word... " >&6; }
                   3518: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   3519:   $as_echo_n "(cached) " >&6
1.62      paf      3520: else
1.66      paf      3521:   if test -n "$ac_ct_CXX"; then
                   3522:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      3523: else
                   3524: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3525: for as_dir in $PATH
                   3526: do
                   3527:   IFS=$as_save_IFS
                   3528:   test -z "$as_dir" && as_dir=.
1.150     moko     3529:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3530:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3531:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.150     moko     3532:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3533:     break 2
                   3534:   fi
                   3535: done
1.150     moko     3536:   done
                   3537: IFS=$as_save_IFS
1.62      paf      3538: 
                   3539: fi
                   3540: fi
1.66      paf      3541: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3542: if test -n "$ac_ct_CXX"; then
1.150     moko     3543:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   3544: $as_echo "$ac_ct_CXX" >&6; }
1.62      paf      3545: else
1.150     moko     3546:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3547: $as_echo "no" >&6; }
1.62      paf      3548: fi
                   3549: 
1.150     moko     3550: 
1.66      paf      3551:   test -n "$ac_ct_CXX" && break
                   3552: done
                   3553: 
1.150     moko     3554:   if test "x$ac_ct_CXX" = x; then
                   3555:     CXX="g++"
                   3556:   else
                   3557:     case $cross_compiling:$ac_tool_warned in
                   3558: yes:)
                   3559: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3560: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3561: ac_tool_warned=yes ;;
                   3562: esac
                   3563:     CXX=$ac_ct_CXX
                   3564:   fi
1.62      paf      3565: fi
                   3566: 
1.150     moko     3567:   fi
                   3568: fi
1.66      paf      3569: # Provide some information about the compiler.
1.150     moko     3570: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   3571: set X $ac_compile
                   3572: ac_compiler=$2
                   3573: for ac_option in --version -v -V -qversion; do
                   3574:   { { ac_try="$ac_compiler $ac_option >&5"
                   3575: case "(($ac_try" in
                   3576:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3577:   *) ac_try_echo=$ac_try;;
                   3578: esac
                   3579: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3580: $as_echo "$ac_try_echo"; } >&5
                   3581:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.66      paf      3582:   ac_status=$?
1.150     moko     3583:   if test -s conftest.err; then
                   3584:     sed '10a\
                   3585: ... rest of stderr output deleted ...
                   3586:          10q' conftest.err >conftest.er1
                   3587:     cat conftest.er1 >&5
                   3588:   fi
                   3589:   rm -f conftest.er1 conftest.err
                   3590:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3591:   test $ac_status = 0; }
                   3592: done
1.66      paf      3593: 
1.150     moko     3594: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3595: /* end confdefs.h.  */
                   3596: 
                   3597: int
                   3598: main ()
                   3599: {
                   3600: 
                   3601:   ;
                   3602:   return 0;
                   3603: }
                   3604: _ACEOF
                   3605: ac_clean_files_save=$ac_clean_files
1.150     moko     3606: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.66      paf      3607: # Try to create an executable without -o first, disregard a.out.
                   3608: # It will help us diagnose broken compilers, and finding out an intuition
                   3609: # of exeext.
1.150     moko     3610: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   3611: $as_echo_n "checking whether the C++ compiler works... " >&6; }
                   3612: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3613: 
                   3614: # The possible output files:
                   3615: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3616: 
                   3617: ac_rmfiles=
                   3618: for ac_file in $ac_files
                   3619: do
                   3620:   case $ac_file in
                   3621:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3622:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3623:   esac
                   3624: done
                   3625: rm -f $ac_rmfiles
                   3626: 
                   3627: if { { ac_try="$ac_link_default"
                   3628: case "(($ac_try" in
                   3629:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3630:   *) ac_try_echo=$ac_try;;
                   3631: esac
                   3632: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3633: $as_echo "$ac_try_echo"; } >&5
                   3634:   (eval "$ac_link_default") 2>&5
                   3635:   ac_status=$?
                   3636:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3637:   test $ac_status = 0; }; then :
                   3638:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3639: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3640: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3641: # so that the user can short-circuit this test for compilers unknown to
                   3642: # Autoconf.
                   3643: for ac_file in $ac_files ''
1.62      paf      3644: do
1.66      paf      3645:   test -f "$ac_file" || continue
                   3646:   case $ac_file in
1.150     moko     3647:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.86      paf      3648:        ;;
1.66      paf      3649:     [ab].out )
1.86      paf      3650:        # We found the default executable, but exeext='' is most
                   3651:        # certainly right.
                   3652:        break;;
1.66      paf      3653:     *.* )
1.150     moko     3654:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3655:        then :; else
                   3656:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3657:        fi
                   3658:        # We set ac_cv_exeext here because the later test for it is not
                   3659:        # safe: cross compilers may not add the suffix if given an `-o'
                   3660:        # argument, so we may need to know it at that point already.
                   3661:        # Even if this section looks crufty: it has the advantage of
                   3662:        # actually working.
1.86      paf      3663:        break;;
1.66      paf      3664:     * )
1.86      paf      3665:        break;;
1.66      paf      3666:   esac
1.62      paf      3667: done
1.150     moko     3668: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3669: 
1.66      paf      3670: else
1.150     moko     3671:   ac_file=''
                   3672: fi
                   3673: if test -z "$ac_file"; then :
                   3674:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3675: $as_echo "no" >&6; }
                   3676: $as_echo "$as_me: failed program was:" >&5
1.66      paf      3677: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      3678: 
1.150     moko     3679: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3680: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3681: as_fn_error 77 "C++ compiler cannot create executables
                   3682: See \`config.log' for more details" "$LINENO" 5; }
                   3683: else
                   3684:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3685: $as_echo "yes" >&6; }
1.1       paf      3686: fi
1.150     moko     3687: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3688: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
                   3689: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3690: $as_echo "$ac_file" >&6; }
1.66      paf      3691: ac_exeext=$ac_cv_exeext
1.62      paf      3692: 
1.150     moko     3693: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.66      paf      3694: ac_clean_files=$ac_clean_files_save
1.150     moko     3695: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3696: $as_echo_n "checking for suffix of executables... " >&6; }
                   3697: if { { ac_try="$ac_link"
                   3698: case "(($ac_try" in
                   3699:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3700:   *) ac_try_echo=$ac_try;;
                   3701: esac
                   3702: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3703: $as_echo "$ac_try_echo"; } >&5
                   3704:   (eval "$ac_link") 2>&5
1.62      paf      3705:   ac_status=$?
1.150     moko     3706:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3707:   test $ac_status = 0; }; then :
1.62      paf      3708:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3709: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3710: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3711: # `rm'.
                   3712: for ac_file in conftest.exe conftest conftest.*; do
                   3713:   test -f "$ac_file" || continue
                   3714:   case $ac_file in
1.150     moko     3715:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.62      paf      3716:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      3717:          break;;
1.62      paf      3718:     * ) break;;
                   3719:   esac
                   3720: done
                   3721: else
1.150     moko     3722:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3723: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3724: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3725: See \`config.log' for more details" "$LINENO" 5; }
                   3726: fi
                   3727: rm -f conftest conftest$ac_cv_exeext
                   3728: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3729: $as_echo "$ac_cv_exeext" >&6; }
1.62      paf      3730: 
                   3731: rm -f conftest.$ac_ext
                   3732: EXEEXT=$ac_cv_exeext
                   3733: ac_exeext=$EXEEXT
1.150     moko     3734: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3735: /* end confdefs.h.  */
                   3736: #include <stdio.h>
                   3737: int
                   3738: main ()
                   3739: {
                   3740: FILE *f = fopen ("conftest.out", "w");
                   3741:  return ferror (f) || fclose (f) != 0;
                   3742: 
                   3743:   ;
                   3744:   return 0;
                   3745: }
                   3746: _ACEOF
                   3747: ac_clean_files="$ac_clean_files conftest.out"
                   3748: # Check that the compiler produces executables we can run.  If not, either
                   3749: # the compiler is broken, or we cross compile.
                   3750: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3751: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3752: if test "$cross_compiling" != yes; then
                   3753:   { { ac_try="$ac_link"
                   3754: case "(($ac_try" in
                   3755:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3756:   *) ac_try_echo=$ac_try;;
                   3757: esac
                   3758: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3759: $as_echo "$ac_try_echo"; } >&5
                   3760:   (eval "$ac_link") 2>&5
                   3761:   ac_status=$?
                   3762:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3763:   test $ac_status = 0; }
                   3764:   if { ac_try='./conftest$ac_cv_exeext'
                   3765:   { { case "(($ac_try" in
                   3766:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3767:   *) ac_try_echo=$ac_try;;
                   3768: esac
                   3769: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3770: $as_echo "$ac_try_echo"; } >&5
                   3771:   (eval "$ac_try") 2>&5
                   3772:   ac_status=$?
                   3773:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3774:   test $ac_status = 0; }; }; then
                   3775:     cross_compiling=no
                   3776:   else
                   3777:     if test "$cross_compiling" = maybe; then
                   3778:        cross_compiling=yes
                   3779:     else
                   3780:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3781: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3782: as_fn_error $? "cannot run C++ compiled programs.
                   3783: If you meant to cross compile, use \`--host'.
                   3784: See \`config.log' for more details" "$LINENO" 5; }
                   3785:     fi
                   3786:   fi
                   3787: fi
                   3788: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3789: $as_echo "$cross_compiling" >&6; }
                   3790: 
                   3791: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3792: ac_clean_files=$ac_clean_files_save
                   3793: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3794: $as_echo_n "checking for suffix of object files... " >&6; }
                   3795: if ${ac_cv_objext+:} false; then :
                   3796:   $as_echo_n "(cached) " >&6
1.62      paf      3797: else
1.150     moko     3798:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3799: /* end confdefs.h.  */
                   3800: 
                   3801: int
                   3802: main ()
                   3803: {
                   3804: 
                   3805:   ;
                   3806:   return 0;
                   3807: }
                   3808: _ACEOF
                   3809: rm -f conftest.o conftest.obj
1.150     moko     3810: if { { ac_try="$ac_compile"
                   3811: case "(($ac_try" in
                   3812:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3813:   *) ac_try_echo=$ac_try;;
                   3814: esac
                   3815: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3816: $as_echo "$ac_try_echo"; } >&5
                   3817:   (eval "$ac_compile") 2>&5
                   3818:   ac_status=$?
                   3819:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3820:   test $ac_status = 0; }; then :
                   3821:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3822:   test -f "$ac_file" || continue;
1.62      paf      3823:   case $ac_file in
1.150     moko     3824:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.62      paf      3825:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3826:        break;;
                   3827:   esac
                   3828: done
                   3829: else
1.150     moko     3830:   $as_echo "$as_me: failed program was:" >&5
1.62      paf      3831: sed 's/^/| /' conftest.$ac_ext >&5
                   3832: 
1.150     moko     3833: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3834: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3835: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3836: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      3837: fi
                   3838: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3839: fi
1.150     moko     3840: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3841: $as_echo "$ac_cv_objext" >&6; }
1.66      paf      3842: OBJEXT=$ac_cv_objext
                   3843: ac_objext=$OBJEXT
1.150     moko     3844: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   3845: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   3846: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   3847:   $as_echo_n "(cached) " >&6
1.62      paf      3848: else
1.150     moko     3849:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3850: /* end confdefs.h.  */
1.66      paf      3851: 
1.62      paf      3852: int
                   3853: main ()
                   3854: {
1.66      paf      3855: #ifndef __GNUC__
                   3856:        choke me
                   3857: #endif
                   3858: 
1.62      paf      3859:   ;
                   3860:   return 0;
                   3861: }
                   3862: _ACEOF
1.150     moko     3863: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3864:   ac_compiler_gnu=yes
1.62      paf      3865: else
1.150     moko     3866:   ac_compiler_gnu=no
1.1       paf      3867: fi
1.150     moko     3868: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3869: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      3870: 
                   3871: fi
1.150     moko     3872: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3873: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   3874: if test $ac_compiler_gnu = yes; then
                   3875:   GXX=yes
                   3876: else
                   3877:   GXX=
                   3878: fi
1.66      paf      3879: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3880: ac_save_CXXFLAGS=$CXXFLAGS
1.150     moko     3881: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3882: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   3883: if ${ac_cv_prog_cxx_g+:} false; then :
                   3884:   $as_echo_n "(cached) " >&6
                   3885: else
                   3886:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3887:    ac_cxx_werror_flag=yes
                   3888:    ac_cv_prog_cxx_g=no
                   3889:    CXXFLAGS="-g"
                   3890:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3891: /* end confdefs.h.  */
1.1       paf      3892: 
1.66      paf      3893: int
                   3894: main ()
                   3895: {
1.1       paf      3896: 
1.66      paf      3897:   ;
                   3898:   return 0;
                   3899: }
1.62      paf      3900: _ACEOF
1.150     moko     3901: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3902:   ac_cv_prog_cxx_g=yes
                   3903: else
1.150     moko     3904:   CXXFLAGS=""
                   3905:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3906: /* end confdefs.h.  */
1.66      paf      3907: 
1.62      paf      3908: int
                   3909: main ()
                   3910: {
1.150     moko     3911: 
1.62      paf      3912:   ;
                   3913:   return 0;
                   3914: }
                   3915: _ACEOF
1.150     moko     3916: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3917: 
1.1       paf      3918: else
1.150     moko     3919:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3920:         CXXFLAGS="-g"
                   3921:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3922: /* end confdefs.h.  */
1.62      paf      3923: 
                   3924: int
                   3925: main ()
                   3926: {
1.150     moko     3927: 
1.62      paf      3928:   ;
                   3929:   return 0;
                   3930: }
                   3931: _ACEOF
1.150     moko     3932: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3933:   ac_cv_prog_cxx_g=yes
                   3934: fi
                   3935: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3936: fi
                   3937: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3938: fi
                   3939: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3940:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3941: fi
                   3942: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3943: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   3944: if test "$ac_test_CXXFLAGS" = set; then
                   3945:   CXXFLAGS=$ac_save_CXXFLAGS
                   3946: elif test $ac_cv_prog_cxx_g = yes; then
                   3947:   if test "$GXX" = yes; then
                   3948:     CXXFLAGS="-g -O2"
                   3949:   else
                   3950:     CXXFLAGS="-g"
                   3951:   fi
1.1       paf      3952: else
1.150     moko     3953:   if test "$GXX" = yes; then
                   3954:     CXXFLAGS="-O2"
                   3955:   else
                   3956:     CXXFLAGS=
                   3957:   fi
1.1       paf      3958: fi
1.62      paf      3959: ac_ext=c
                   3960: ac_cpp='$CPP $CPPFLAGS'
                   3961: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3962: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3963: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      3964: DEPDIR="${am__leading_dot}deps"
1.62      paf      3965: 
1.150     moko     3966: ac_config_commands="$ac_config_commands depfiles"
1.62      paf      3967: 
1.199     moko     3968: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
                   3969: $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
                   3970: cat > confinc.mk << 'END'
1.86      paf      3971: am__doit:
1.199     moko     3972:        @echo this is the am__doit target >confinc.out
1.86      paf      3973: .PHONY: am__doit
1.62      paf      3974: END
                   3975: am__include="#"
                   3976: am__quote=
1.199     moko     3977: # BSD make does it like this.
                   3978: echo '.include "confinc.mk" # ignored' > confmf.BSD
                   3979: # Other make implementations (GNU, Solaris 10, AIX) do it like this.
                   3980: echo 'include confinc.mk # ignored' > confmf.GNU
                   3981: _am_result=no
                   3982: for s in GNU BSD; do
                   3983:   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
                   3984:    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
                   3985:    ac_status=$?
                   3986:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3987:    (exit $ac_status); }
                   3988:   case $?:`cat confinc.out 2>/dev/null` in #(
                   3989:   '0:this is the am__doit target') :
                   3990:     case $s in #(
                   3991:   BSD) :
                   3992:     am__include='.include' am__quote='"' ;; #(
                   3993:   *) :
                   3994:     am__include='include' am__quote='' ;;
                   3995: esac ;; #(
                   3996:   *) :
1.150     moko     3997:      ;;
1.199     moko     3998: esac
                   3999:   if test "$am__include" != "#"; then
                   4000:     _am_result="yes ($s style)"
                   4001:     break
                   4002:   fi
                   4003: done
                   4004: rm -f confinc.* confmf.*
                   4005: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
                   4006: $as_echo "${_am_result}" >&6; }
1.62      paf      4007: 
1.150     moko     4008: # Check whether --enable-dependency-tracking was given.
                   4009: if test "${enable_dependency_tracking+set}" = set; then :
                   4010:   enableval=$enable_dependency_tracking;
                   4011: fi
1.62      paf      4012: 
                   4013: if test "x$enable_dependency_tracking" != xno; then
                   4014:   am_depcomp="$ac_aux_dir/depcomp"
                   4015:   AMDEPBACKSLASH='\'
1.187     moko     4016:   am__nodep='_no'
1.1       paf      4017: fi
1.150     moko     4018:  if test "x$enable_dependency_tracking" != xno; then
1.62      paf      4019:   AMDEP_TRUE=
                   4020:   AMDEP_FALSE='#'
                   4021: else
                   4022:   AMDEP_TRUE='#'
                   4023:   AMDEP_FALSE=
                   4024: fi
1.1       paf      4025: 
                   4026: 
                   4027: 
1.66      paf      4028: depcc="$CXX"  am_compiler_list=
1.1       paf      4029: 
1.150     moko     4030: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4031: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4032: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   4033:   $as_echo_n "(cached) " >&6
1.62      paf      4034: else
                   4035:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4036:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4037:   # making bogus files that we don't know about and never remove.  For
                   4038:   # instance it was reported that on HP-UX the gcc test will end up
1.187     moko     4039:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   4040:   # in D".
                   4041:   rm -rf conftest.dir
1.62      paf      4042:   mkdir conftest.dir
                   4043:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4044:   # using a relative directory.
                   4045:   cp "$am_depcomp" conftest.dir
                   4046:   cd conftest.dir
1.86      paf      4047:   # We will build objects and dependencies in a subdirectory because
                   4048:   # it helps to detect inapplicable dependency modes.  For instance
                   4049:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4050:   # side effect of compilation, but ICC will put the dependencies in
                   4051:   # the current directory while Tru64 will put them in the object
                   4052:   # directory.
                   4053:   mkdir sub
1.1       paf      4054: 
1.66      paf      4055:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      4056:   if test "$am_compiler_list" = ""; then
                   4057:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      4058:   fi
1.150     moko     4059:   am__universal=false
                   4060:   case " $depcc " in #(
                   4061:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4062:      esac
                   4063: 
1.62      paf      4064:   for depmode in $am_compiler_list; do
1.86      paf      4065:     # Setup a source with many dependencies, because some compilers
                   4066:     # like to wrap large dependency lists on column 80 (with \), and
                   4067:     # we should not choose a depcomp mode which is confused by this.
                   4068:     #
1.62      paf      4069:     # We need to recreate these files for each test, as the compiler may
                   4070:     # overwrite some of them when testing with obscure command lines.
                   4071:     # This happens at least with the AIX C compiler.
1.86      paf      4072:     : > sub/conftest.c
                   4073:     for i in 1 2 3 4 5 6; do
                   4074:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.187     moko     4075:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   4076:       # Solaris 10 /bin/sh.
                   4077:       echo '/* dummy */' > sub/conftst$i.h
1.86      paf      4078:     done
                   4079:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4080: 
1.187     moko     4081:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.150     moko     4082:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.187     moko     4083:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   4084:     # versions had trouble with output in subdirs.
1.150     moko     4085:     am__obj=sub/conftest.${OBJEXT-o}
                   4086:     am__minus_obj="-o $am__obj"
1.62      paf      4087:     case $depmode in
1.150     moko     4088:     gcc)
                   4089:       # This depmode causes a compiler race in universal mode.
                   4090:       test "$am__universal" = false || continue
                   4091:       ;;
1.62      paf      4092:     nosideeffect)
1.187     moko     4093:       # After this tag, mechanisms are not by side-effect, so they'll
                   4094:       # only be used when explicitly requested.
1.62      paf      4095:       if test "x$enable_dependency_tracking" = xyes; then
                   4096:        continue
                   4097:       else
                   4098:        break
                   4099:       fi
                   4100:       ;;
1.187     moko     4101:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   4102:       # This compiler won't grok '-c -o', but also, the minuso test has
1.150     moko     4103:       # not run yet.  These depmodes are late enough in the game, and
                   4104:       # so weak that their functioning should not be impacted.
                   4105:       am__obj=conftest.${OBJEXT-o}
                   4106:       am__minus_obj=
                   4107:       ;;
1.62      paf      4108:     none) break ;;
                   4109:     esac
                   4110:     if depmode=$depmode \
1.150     moko     4111:        source=sub/conftest.c object=$am__obj \
1.86      paf      4112:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4113:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4114:          >/dev/null 2>conftest.err &&
1.150     moko     4115:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4116:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4117:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      4118:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4119:       # icc doesn't choke on unknown options, it will just issue warnings
                   4120:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4121:       # that says an option was ignored or not supported.
                   4122:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4123:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4124:       # The diagnosis changed in icc 8.0:
                   4125:       #   icc: Command line remark: option '-MP' not supported
                   4126:       if (grep 'ignoring option' conftest.err ||
                   4127:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4128:         am_cv_CXX_dependencies_compiler_type=$depmode
                   4129:         break
                   4130:       fi
1.66      paf      4131:     fi
                   4132:   done
                   4133: 
                   4134:   cd ..
                   4135:   rm -rf conftest.dir
                   4136: else
                   4137:   am_cv_CXX_dependencies_compiler_type=none
                   4138: fi
                   4139: 
                   4140: fi
1.150     moko     4141: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   4142: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.66      paf      4143: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   4144: 
1.150     moko     4145:  if
1.66      paf      4146:   test "x$enable_dependency_tracking" != xno \
                   4147:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   4148:   am__fastdepCXX_TRUE=
                   4149:   am__fastdepCXX_FALSE='#'
                   4150: else
                   4151:   am__fastdepCXX_TRUE='#'
                   4152:   am__fastdepCXX_FALSE=
                   4153: fi
                   4154: 
                   4155: 
                   4156: ac_ext=c
                   4157: ac_cpp='$CPP $CPPFLAGS'
                   4158: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4159: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4160: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4161: if test -n "$ac_tool_prefix"; then
                   4162:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   4163: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.150     moko     4164: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4165: $as_echo_n "checking for $ac_word... " >&6; }
                   4166: if ${ac_cv_prog_CC+:} false; then :
                   4167:   $as_echo_n "(cached) " >&6
1.66      paf      4168: else
                   4169:   if test -n "$CC"; then
                   4170:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4171: else
                   4172: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4173: for as_dir in $PATH
                   4174: do
                   4175:   IFS=$as_save_IFS
                   4176:   test -z "$as_dir" && as_dir=.
1.150     moko     4177:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4178:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4179:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.150     moko     4180:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4181:     break 2
                   4182:   fi
                   4183: done
1.150     moko     4184:   done
                   4185: IFS=$as_save_IFS
1.66      paf      4186: 
                   4187: fi
                   4188: fi
                   4189: CC=$ac_cv_prog_CC
                   4190: if test -n "$CC"; then
1.150     moko     4191:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4192: $as_echo "$CC" >&6; }
1.66      paf      4193: else
1.150     moko     4194:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4195: $as_echo "no" >&6; }
1.66      paf      4196: fi
                   4197: 
1.150     moko     4198: 
1.66      paf      4199: fi
                   4200: if test -z "$ac_cv_prog_CC"; then
                   4201:   ac_ct_CC=$CC
                   4202:   # Extract the first word of "gcc", so it can be a program name with args.
                   4203: set dummy gcc; ac_word=$2
1.150     moko     4204: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4205: $as_echo_n "checking for $ac_word... " >&6; }
                   4206: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4207:   $as_echo_n "(cached) " >&6
1.66      paf      4208: else
                   4209:   if test -n "$ac_ct_CC"; then
                   4210:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   4211: else
                   4212: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4213: for as_dir in $PATH
                   4214: do
                   4215:   IFS=$as_save_IFS
                   4216:   test -z "$as_dir" && as_dir=.
1.150     moko     4217:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4218:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4219:     ac_cv_prog_ac_ct_CC="gcc"
1.150     moko     4220:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4221:     break 2
                   4222:   fi
                   4223: done
1.150     moko     4224:   done
                   4225: IFS=$as_save_IFS
1.66      paf      4226: 
                   4227: fi
                   4228: fi
                   4229: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4230: if test -n "$ac_ct_CC"; then
1.150     moko     4231:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4232: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4233: else
1.150     moko     4234:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4235: $as_echo "no" >&6; }
1.62      paf      4236: fi
                   4237: 
1.150     moko     4238:   if test "x$ac_ct_CC" = x; then
                   4239:     CC=""
                   4240:   else
                   4241:     case $cross_compiling:$ac_tool_warned in
                   4242: yes:)
                   4243: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4244: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4245: ac_tool_warned=yes ;;
                   4246: esac
                   4247:     CC=$ac_ct_CC
                   4248:   fi
1.66      paf      4249: else
                   4250:   CC="$ac_cv_prog_CC"
1.1       paf      4251: fi
1.62      paf      4252: 
1.66      paf      4253: if test -z "$CC"; then
1.150     moko     4254:           if test -n "$ac_tool_prefix"; then
                   4255:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.66      paf      4256: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.150     moko     4257: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4258: $as_echo_n "checking for $ac_word... " >&6; }
                   4259: if ${ac_cv_prog_CC+:} false; then :
                   4260:   $as_echo_n "(cached) " >&6
1.66      paf      4261: else
                   4262:   if test -n "$CC"; then
                   4263:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4264: else
                   4265: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4266: for as_dir in $PATH
                   4267: do
                   4268:   IFS=$as_save_IFS
                   4269:   test -z "$as_dir" && as_dir=.
1.150     moko     4270:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4271:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4272:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.150     moko     4273:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4274:     break 2
                   4275:   fi
                   4276: done
1.150     moko     4277:   done
                   4278: IFS=$as_save_IFS
1.62      paf      4279: 
1.66      paf      4280: fi
                   4281: fi
                   4282: CC=$ac_cv_prog_CC
                   4283: if test -n "$CC"; then
1.150     moko     4284:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4285: $as_echo "$CC" >&6; }
1.62      paf      4286: else
1.150     moko     4287:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4288: $as_echo "no" >&6; }
1.1       paf      4289: fi
                   4290: 
1.150     moko     4291: 
1.66      paf      4292:   fi
1.1       paf      4293: fi
1.66      paf      4294: if test -z "$CC"; then
                   4295:   # Extract the first word of "cc", so it can be a program name with args.
                   4296: set dummy cc; ac_word=$2
1.150     moko     4297: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4298: $as_echo_n "checking for $ac_word... " >&6; }
                   4299: if ${ac_cv_prog_CC+:} false; then :
                   4300:   $as_echo_n "(cached) " >&6
1.66      paf      4301: else
                   4302:   if test -n "$CC"; then
                   4303:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4304: else
                   4305:   ac_prog_rejected=no
                   4306: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4307: for as_dir in $PATH
                   4308: do
                   4309:   IFS=$as_save_IFS
                   4310:   test -z "$as_dir" && as_dir=.
1.150     moko     4311:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4312:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4313:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   4314:        ac_prog_rejected=yes
                   4315:        continue
                   4316:      fi
                   4317:     ac_cv_prog_CC="cc"
1.150     moko     4318:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4319:     break 2
                   4320:   fi
                   4321: done
1.150     moko     4322:   done
                   4323: IFS=$as_save_IFS
1.62      paf      4324: 
1.66      paf      4325: if test $ac_prog_rejected = yes; then
                   4326:   # We found a bogon in the path, so make sure we never use it.
                   4327:   set dummy $ac_cv_prog_CC
                   4328:   shift
                   4329:   if test $# != 0; then
                   4330:     # We chose a different compiler from the bogus one.
                   4331:     # However, it has the same basename, so the bogon will be chosen
                   4332:     # first if we set CC to just the basename; use the full file name.
                   4333:     shift
                   4334:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   4335:   fi
                   4336: fi
                   4337: fi
                   4338: fi
                   4339: CC=$ac_cv_prog_CC
                   4340: if test -n "$CC"; then
1.150     moko     4341:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4342: $as_echo "$CC" >&6; }
1.66      paf      4343: else
1.150     moko     4344:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4345: $as_echo "no" >&6; }
1.1       paf      4346: fi
                   4347: 
1.150     moko     4348: 
1.66      paf      4349: fi
                   4350: if test -z "$CC"; then
                   4351:   if test -n "$ac_tool_prefix"; then
1.150     moko     4352:   for ac_prog in cl.exe
1.62      paf      4353:   do
                   4354:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4355: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     4356: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4357: $as_echo_n "checking for $ac_word... " >&6; }
                   4358: if ${ac_cv_prog_CC+:} false; then :
                   4359:   $as_echo_n "(cached) " >&6
1.62      paf      4360: else
1.66      paf      4361:   if test -n "$CC"; then
                   4362:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      4363: else
                   4364: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4365: for as_dir in $PATH
                   4366: do
                   4367:   IFS=$as_save_IFS
                   4368:   test -z "$as_dir" && as_dir=.
1.150     moko     4369:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4370:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4371:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.150     moko     4372:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4373:     break 2
                   4374:   fi
                   4375: done
1.150     moko     4376:   done
                   4377: IFS=$as_save_IFS
1.1       paf      4378: 
1.62      paf      4379: fi
                   4380: fi
1.66      paf      4381: CC=$ac_cv_prog_CC
                   4382: if test -n "$CC"; then
1.150     moko     4383:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4384: $as_echo "$CC" >&6; }
1.1       paf      4385: else
1.150     moko     4386:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4387: $as_echo "no" >&6; }
1.1       paf      4388: fi
                   4389: 
1.150     moko     4390: 
1.66      paf      4391:     test -n "$CC" && break
1.62      paf      4392:   done
                   4393: fi
1.66      paf      4394: if test -z "$CC"; then
                   4395:   ac_ct_CC=$CC
1.150     moko     4396:   for ac_prog in cl.exe
1.62      paf      4397: do
                   4398:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4399: set dummy $ac_prog; ac_word=$2
1.150     moko     4400: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4401: $as_echo_n "checking for $ac_word... " >&6; }
                   4402: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4403:   $as_echo_n "(cached) " >&6
1.62      paf      4404: else
1.66      paf      4405:   if test -n "$ac_ct_CC"; then
                   4406:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      4407: else
1.62      paf      4408: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4409: for as_dir in $PATH
                   4410: do
                   4411:   IFS=$as_save_IFS
                   4412:   test -z "$as_dir" && as_dir=.
1.150     moko     4413:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4414:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4415:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.150     moko     4416:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4417:     break 2
                   4418:   fi
                   4419: done
1.150     moko     4420:   done
                   4421: IFS=$as_save_IFS
1.62      paf      4422: 
                   4423: fi
                   4424: fi
1.66      paf      4425: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4426: if test -n "$ac_ct_CC"; then
1.150     moko     4427:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4428: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4429: else
1.150     moko     4430:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4431: $as_echo "no" >&6; }
1.1       paf      4432: fi
                   4433: 
1.150     moko     4434: 
1.66      paf      4435:   test -n "$ac_ct_CC" && break
                   4436: done
                   4437: 
1.150     moko     4438:   if test "x$ac_ct_CC" = x; then
                   4439:     CC=""
                   4440:   else
                   4441:     case $cross_compiling:$ac_tool_warned in
                   4442: yes:)
                   4443: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4444: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4445: ac_tool_warned=yes ;;
                   4446: esac
                   4447:     CC=$ac_ct_CC
                   4448:   fi
1.66      paf      4449: fi
                   4450: 
                   4451: fi
1.62      paf      4452: 
1.1       paf      4453: 
1.150     moko     4454: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4455: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4456: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4457: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      4458: 
                   4459: # Provide some information about the compiler.
1.150     moko     4460: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4461: set X $ac_compile
                   4462: ac_compiler=$2
                   4463: for ac_option in --version -v -V -qversion; do
                   4464:   { { ac_try="$ac_compiler $ac_option >&5"
                   4465: case "(($ac_try" in
                   4466:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4467:   *) ac_try_echo=$ac_try;;
                   4468: esac
                   4469: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4470: $as_echo "$ac_try_echo"; } >&5
                   4471:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.62      paf      4472:   ac_status=$?
1.150     moko     4473:   if test -s conftest.err; then
                   4474:     sed '10a\
                   4475: ... rest of stderr output deleted ...
                   4476:          10q' conftest.err >conftest.er1
                   4477:     cat conftest.er1 >&5
                   4478:   fi
                   4479:   rm -f conftest.er1 conftest.err
                   4480:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4481:   test $ac_status = 0; }
                   4482: done
                   4483: 
                   4484: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4485: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4486: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4487:   $as_echo_n "(cached) " >&6
1.62      paf      4488: else
1.150     moko     4489:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4490: /* end confdefs.h.  */
                   4491: 
                   4492: int
                   4493: main ()
                   4494: {
                   4495: #ifndef __GNUC__
                   4496:        choke me
                   4497: #endif
                   4498: 
                   4499:   ;
                   4500:   return 0;
                   4501: }
                   4502: _ACEOF
1.150     moko     4503: if ac_fn_c_try_compile "$LINENO"; then :
1.62      paf      4504:   ac_compiler_gnu=yes
                   4505: else
1.150     moko     4506:   ac_compiler_gnu=no
1.62      paf      4507: fi
1.150     moko     4508: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      4509: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      4510: 
                   4511: fi
1.150     moko     4512: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4513: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4514: if test $ac_compiler_gnu = yes; then
                   4515:   GCC=yes
                   4516: else
                   4517:   GCC=
                   4518: fi
1.66      paf      4519: ac_test_CFLAGS=${CFLAGS+set}
                   4520: ac_save_CFLAGS=$CFLAGS
1.150     moko     4521: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4522: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4523: if ${ac_cv_prog_cc_g+:} false; then :
                   4524:   $as_echo_n "(cached) " >&6
                   4525: else
                   4526:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4527:    ac_c_werror_flag=yes
                   4528:    ac_cv_prog_cc_g=no
                   4529:    CFLAGS="-g"
                   4530:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4531: /* end confdefs.h.  */
                   4532: 
                   4533: int
                   4534: main ()
                   4535: {
                   4536: 
                   4537:   ;
                   4538:   return 0;
                   4539: }
                   4540: _ACEOF
1.150     moko     4541: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      4542:   ac_cv_prog_cc_g=yes
1.62      paf      4543: else
1.150     moko     4544:   CFLAGS=""
                   4545:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4546: /* end confdefs.h.  */
                   4547: 
                   4548: int
                   4549: main ()
                   4550: {
1.62      paf      4551: 
1.150     moko     4552:   ;
                   4553:   return 0;
                   4554: }
                   4555: _ACEOF
                   4556: if ac_fn_c_try_compile "$LINENO"; then :
                   4557: 
                   4558: else
                   4559:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4560:         CFLAGS="-g"
                   4561:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4562: /* end confdefs.h.  */
                   4563: 
                   4564: int
                   4565: main ()
                   4566: {
                   4567: 
                   4568:   ;
                   4569:   return 0;
                   4570: }
                   4571: _ACEOF
                   4572: if ac_fn_c_try_compile "$LINENO"; then :
                   4573:   ac_cv_prog_cc_g=yes
                   4574: fi
                   4575: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4576: fi
1.150     moko     4577: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4578: fi
1.150     moko     4579: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4580:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4581: fi
                   4582: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4583: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.66      paf      4584: if test "$ac_test_CFLAGS" = set; then
                   4585:   CFLAGS=$ac_save_CFLAGS
                   4586: elif test $ac_cv_prog_cc_g = yes; then
                   4587:   if test "$GCC" = yes; then
                   4588:     CFLAGS="-g -O2"
1.1       paf      4589:   else
1.66      paf      4590:     CFLAGS="-g"
1.1       paf      4591:   fi
                   4592: else
1.66      paf      4593:   if test "$GCC" = yes; then
                   4594:     CFLAGS="-O2"
1.1       paf      4595:   else
1.66      paf      4596:     CFLAGS=
1.1       paf      4597:   fi
                   4598: fi
1.150     moko     4599: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4600: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4601: if ${ac_cv_prog_cc_c89+:} false; then :
                   4602:   $as_echo_n "(cached) " >&6
1.66      paf      4603: else
1.150     moko     4604:   ac_cv_prog_cc_c89=no
1.66      paf      4605: ac_save_CC=$CC
1.150     moko     4606: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      4607: /* end confdefs.h.  */
                   4608: #include <stdarg.h>
                   4609: #include <stdio.h>
1.166     moko     4610: struct stat;
1.66      paf      4611: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4612: struct buf { int x; };
                   4613: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4614: static char *e (p, i)
                   4615:      char **p;
                   4616:      int i;
                   4617: {
                   4618:   return p[i];
                   4619: }
                   4620: static char *f (char * (*g) (char **, int), char **p, ...)
                   4621: {
                   4622:   char *s;
                   4623:   va_list v;
                   4624:   va_start (v,p);
                   4625:   s = g (p, va_arg (v,int));
                   4626:   va_end (v);
                   4627:   return s;
                   4628: }
1.86      paf      4629: 
                   4630: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4631:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4632:    These don't provoke an error unfortunately, instead are silently treated
1.150     moko     4633:    as 'x'.  The following induces an error, until -std is added to get
1.86      paf      4634:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4635:    array size at least.  It's necessary to write '\x00'==0 to get something
1.150     moko     4636:    that's true only with -std.  */
1.86      paf      4637: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4638: 
1.150     moko     4639: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4640:    inside strings and character constants.  */
                   4641: #define FOO(x) 'x'
                   4642: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4643: 
1.66      paf      4644: int test (int i, double x);
                   4645: struct s1 {int (*f) (int a);};
                   4646: struct s2 {int (*f) (double a);};
                   4647: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4648: int argc;
                   4649: char **argv;
                   4650: int
                   4651: main ()
                   4652: {
                   4653: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4654:   ;
                   4655:   return 0;
                   4656: }
                   4657: _ACEOF
1.150     moko     4658: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4659:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.66      paf      4660: do
                   4661:   CC="$ac_save_CC $ac_arg"
1.150     moko     4662:   if ac_fn_c_try_compile "$LINENO"; then :
                   4663:   ac_cv_prog_cc_c89=$ac_arg
1.66      paf      4664: fi
1.150     moko     4665: rm -f core conftest.err conftest.$ac_objext
                   4666:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.66      paf      4667: done
1.150     moko     4668: rm -f conftest.$ac_ext
1.66      paf      4669: CC=$ac_save_CC
                   4670: 
                   4671: fi
1.150     moko     4672: # AC_CACHE_VAL
                   4673: case "x$ac_cv_prog_cc_c89" in
                   4674:   x)
                   4675:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4676: $as_echo "none needed" >&6; } ;;
                   4677:   xno)
                   4678:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4679: $as_echo "unsupported" >&6; } ;;
1.66      paf      4680:   *)
1.150     moko     4681:     CC="$CC $ac_cv_prog_cc_c89"
                   4682:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4683: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.66      paf      4684: esac
1.150     moko     4685: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.62      paf      4686: 
                   4687: fi
1.66      paf      4688: 
1.62      paf      4689: ac_ext=c
                   4690: ac_cpp='$CPP $CPPFLAGS'
                   4691: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4692: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4693: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4694: 
1.187     moko     4695: ac_ext=c
                   4696: ac_cpp='$CPP $CPPFLAGS'
                   4697: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4698: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4699: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4700: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
                   4701: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
                   4702: if ${am_cv_prog_cc_c_o+:} false; then :
                   4703:   $as_echo_n "(cached) " >&6
                   4704: else
                   4705:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4706: /* end confdefs.h.  */
                   4707: 
                   4708: int
                   4709: main ()
                   4710: {
                   4711: 
                   4712:   ;
                   4713:   return 0;
                   4714: }
                   4715: _ACEOF
                   4716:   # Make sure it works both with $CC and with simple cc.
                   4717:   # Following AC_PROG_CC_C_O, we do the test twice because some
                   4718:   # compilers refuse to overwrite an existing .o file with -o,
                   4719:   # though they will create one.
                   4720:   am_cv_prog_cc_c_o=yes
                   4721:   for am_i in 1 2; do
                   4722:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
                   4723:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
                   4724:    ac_status=$?
                   4725:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4726:    (exit $ac_status); } \
                   4727:          && test -f conftest2.$ac_objext; then
                   4728:       : OK
                   4729:     else
                   4730:       am_cv_prog_cc_c_o=no
                   4731:       break
                   4732:     fi
                   4733:   done
                   4734:   rm -f core conftest*
                   4735:   unset am_i
                   4736: fi
                   4737: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
                   4738: $as_echo "$am_cv_prog_cc_c_o" >&6; }
                   4739: if test "$am_cv_prog_cc_c_o" != yes; then
                   4740:    # Losing compiler, so override with the script.
                   4741:    # FIXME: It is wrong to rewrite CC.
                   4742:    # But if we don't then we get into trouble of one sort or another.
                   4743:    # A longer-term fix would be to have automake use am__CC in this case,
                   4744:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
                   4745:    CC="$am_aux_dir/compile $CC"
                   4746: fi
                   4747: ac_ext=c
                   4748: ac_cpp='$CPP $CPPFLAGS'
                   4749: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4750: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4751: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4752: 
                   4753: 
1.66      paf      4754: depcc="$CC"   am_compiler_list=
1.62      paf      4755: 
1.150     moko     4756: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4757: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4758: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4759:   $as_echo_n "(cached) " >&6
1.62      paf      4760: else
                   4761:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4762:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4763:   # making bogus files that we don't know about and never remove.  For
                   4764:   # instance it was reported that on HP-UX the gcc test will end up
1.187     moko     4765:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   4766:   # in D".
                   4767:   rm -rf conftest.dir
1.62      paf      4768:   mkdir conftest.dir
                   4769:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4770:   # using a relative directory.
                   4771:   cp "$am_depcomp" conftest.dir
                   4772:   cd conftest.dir
1.86      paf      4773:   # We will build objects and dependencies in a subdirectory because
                   4774:   # it helps to detect inapplicable dependency modes.  For instance
                   4775:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4776:   # side effect of compilation, but ICC will put the dependencies in
                   4777:   # the current directory while Tru64 will put them in the object
                   4778:   # directory.
                   4779:   mkdir sub
1.62      paf      4780: 
1.66      paf      4781:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      4782:   if test "$am_compiler_list" = ""; then
                   4783:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4784:   fi
1.150     moko     4785:   am__universal=false
                   4786:   case " $depcc " in #(
                   4787:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4788:      esac
                   4789: 
1.62      paf      4790:   for depmode in $am_compiler_list; do
1.86      paf      4791:     # Setup a source with many dependencies, because some compilers
                   4792:     # like to wrap large dependency lists on column 80 (with \), and
                   4793:     # we should not choose a depcomp mode which is confused by this.
                   4794:     #
1.62      paf      4795:     # We need to recreate these files for each test, as the compiler may
                   4796:     # overwrite some of them when testing with obscure command lines.
                   4797:     # This happens at least with the AIX C compiler.
1.86      paf      4798:     : > sub/conftest.c
                   4799:     for i in 1 2 3 4 5 6; do
                   4800:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.187     moko     4801:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   4802:       # Solaris 10 /bin/sh.
                   4803:       echo '/* dummy */' > sub/conftst$i.h
1.86      paf      4804:     done
                   4805:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4806: 
1.187     moko     4807:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.150     moko     4808:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.187     moko     4809:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   4810:     # versions had trouble with output in subdirs.
1.150     moko     4811:     am__obj=sub/conftest.${OBJEXT-o}
                   4812:     am__minus_obj="-o $am__obj"
1.62      paf      4813:     case $depmode in
1.150     moko     4814:     gcc)
                   4815:       # This depmode causes a compiler race in universal mode.
                   4816:       test "$am__universal" = false || continue
                   4817:       ;;
1.62      paf      4818:     nosideeffect)
1.187     moko     4819:       # After this tag, mechanisms are not by side-effect, so they'll
                   4820:       # only be used when explicitly requested.
1.62      paf      4821:       if test "x$enable_dependency_tracking" = xyes; then
                   4822:        continue
                   4823:       else
                   4824:        break
                   4825:       fi
                   4826:       ;;
1.187     moko     4827:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   4828:       # This compiler won't grok '-c -o', but also, the minuso test has
1.150     moko     4829:       # not run yet.  These depmodes are late enough in the game, and
                   4830:       # so weak that their functioning should not be impacted.
                   4831:       am__obj=conftest.${OBJEXT-o}
                   4832:       am__minus_obj=
                   4833:       ;;
1.62      paf      4834:     none) break ;;
                   4835:     esac
1.66      paf      4836:     if depmode=$depmode \
1.150     moko     4837:        source=sub/conftest.c object=$am__obj \
1.86      paf      4838:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4839:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4840:          >/dev/null 2>conftest.err &&
1.150     moko     4841:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4842:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4843:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      4844:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4845:       # icc doesn't choke on unknown options, it will just issue warnings
                   4846:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4847:       # that says an option was ignored or not supported.
                   4848:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4849:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4850:       # The diagnosis changed in icc 8.0:
                   4851:       #   icc: Command line remark: option '-MP' not supported
                   4852:       if (grep 'ignoring option' conftest.err ||
                   4853:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4854:         am_cv_CC_dependencies_compiler_type=$depmode
                   4855:         break
                   4856:       fi
1.66      paf      4857:     fi
                   4858:   done
                   4859: 
                   4860:   cd ..
                   4861:   rm -rf conftest.dir
                   4862: else
                   4863:   am_cv_CC_dependencies_compiler_type=none
                   4864: fi
                   4865: 
                   4866: fi
1.150     moko     4867: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4868: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.66      paf      4869: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4870: 
1.150     moko     4871:  if
1.66      paf      4872:   test "x$enable_dependency_tracking" != xno \
                   4873:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4874:   am__fastdepCC_TRUE=
                   4875:   am__fastdepCC_FALSE='#'
                   4876: else
                   4877:   am__fastdepCC_TRUE='#'
                   4878:   am__fastdepCC_FALSE=
                   4879: fi
                   4880: 
                   4881: 
1.128     moko     4882: 
1.66      paf      4883: ac_ext=c
                   4884: ac_cpp='$CPP $CPPFLAGS'
                   4885: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4886: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4887: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4888: 
1.67      paf      4889: 
1.62      paf      4890: 
1.150     moko     4891: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5
                   4892: $as_echo_n "checking for dynamic-link library extension... " >&6; }
1.128     moko     4893: case "$host_os" in
1.158     moko     4894:   *cygwin* ) dll_extension=dll;;
                   4895:   * ) dll_extension=so
1.66      paf      4896: esac
1.150     moko     4897: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5
                   4898: $as_echo "$dll_extension" >&6; }
1.1       paf      4899: 
1.71      paf      4900: 
                   4901: 
                   4902: 
1.150     moko     4903: # Check whether --with-build-warnings was given.
                   4904: if test "${with_build_warnings+set}" = set; then :
                   4905:   withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
                   4906: $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;}
1.183     moko     4907:        CXXFLAGS="$CXXFLAGS -Wextra -Wall -Wno-parentheses"
1.71      paf      4908: 
1.150     moko     4909: fi
                   4910: 
1.1       paf      4911: 
                   4912: 
1.182     moko     4913: # Check whether --with-coverage was given.
                   4914: if test "${with_coverage+set}" = set; then :
                   4915:   withval=$with_coverage; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling gcov support" >&5
                   4916: $as_echo "$as_me: WARNING: enabling gcov support" >&2;}
                   4917:        CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O0-9*//g'`
                   4918:        CXXFLAGS=`echo "$XXCFLAGS" | $SED -e 's/-O0-9*//g'`
                   4919:        CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   4920:        CXXFLAGS="$CXXFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   4921:        LDFLAGS="$LDFLAGS -lgcov"
                   4922: 
                   4923: fi
                   4924: 
                   4925: 
                   4926: 
                   4927: # Check whether --with-profiler was given.
                   4928: if test "${with_profiler+set}" = set; then :
                   4929:   withval=$with_profiler; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling gprof support" >&5
                   4930: $as_echo "$as_me: WARNING: enabling gprof support" >&2;}
1.193     moko     4931:        CFLAGS="$CFLAGS -O0 -pg -g"
                   4932:        CXXFLAGS="$CXXFLAGS -O0 -pg -g"
1.182     moko     4933: 
                   4934: fi
                   4935: 
                   4936: 
                   4937: 
1.150     moko     4938: # Check whether --with-assertions was given.
                   4939: if test "${with_assertions+set}" = set; then :
                   4940:   withval=$with_assertions; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling assertions" >&5
                   4941: $as_echo "$as_me: WARNING: enabling assertions" >&2;}
1.67      paf      4942: 
                   4943: else
                   4944: 
1.150     moko     4945: $as_echo "#define NDEBUG /**/" >>confdefs.h
                   4946: 
1.67      paf      4947: 
1.150     moko     4948: fi
1.67      paf      4949: 
                   4950: 
1.94      misha    4951: 
1.150     moko     4952: # Check whether --with-sjlj-exceptions was given.
                   4953: if test "${with_sjlj_exceptions+set}" = set; then :
                   4954:   withval=$with_sjlj_exceptions;
                   4955: $as_echo "#define PA_WITH_SJLJ_EXCEPTIONS /**/" >>confdefs.h
1.128     moko     4956: 
                   4957: 
1.150     moko     4958: fi
1.128     moko     4959: 
                   4960: 
1.62      paf      4961: 
1.201     moko     4962: 
1.203     moko     4963: # Check whether --with-system-cfg was given.
                   4964: if test "${with_system_cfg+set}" = set; then :
                   4965:   withval=$with_system_cfg;
                   4966: cat >>confdefs.h <<_ACEOF
                   4967: #define SYSTEM_CONFIG_FILE "$withval"
                   4968: _ACEOF
1.201     moko     4969: 
                   4970: 
                   4971: fi
                   4972: 
                   4973: 
                   4974: 
1.150     moko     4975: # Check whether --enable-safe-mode was given.
                   4976: if test "${enable_safe_mode+set}" = set; then :
                   4977:   enableval=$enable_safe_mode;
1.67      paf      4978:        SAFE_MODE=$enableval
1.60      paf      4979: 
1.1       paf      4980: 
1.150     moko     4981: fi
                   4982: 
1.128     moko     4983: 
1.60      paf      4984: if test "$SAFE_MODE" = "no"; then
1.150     moko     4985:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   4986: $as_echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      4987: else
1.62      paf      4988: 
1.150     moko     4989: $as_echo "#define PA_SAFE_MODE /**/" >>confdefs.h
1.1       paf      4990: 
                   4991: fi
                   4992: 
1.94      misha    4993: 
1.150     moko     4994: # Check whether --enable-execs was given.
                   4995: if test "${enable_execs+set}" = set; then :
                   4996:   enableval=$enable_execs;
1.13      paf      4997: if test "$enableval" = "no"; then
1.150     moko     4998:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling file execs" >&5
                   4999: $as_echo "$as_me: WARNING: disabling file execs" >&2;}
1.62      paf      5000: 
1.150     moko     5001: $as_echo "#define NO_PA_EXECS /**/" >>confdefs.h
1.13      paf      5002: 
                   5003: fi
                   5004: 
                   5005: 
1.150     moko     5006: fi
1.13      paf      5007: 
1.60      paf      5008: 
1.94      misha    5009: 
1.150     moko     5010: # Check whether --enable-stringstream was given.
                   5011: if test "${enable_stringstream+set}" = set; then :
                   5012:   enableval=$enable_stringstream;
1.94      misha    5013: if test "$enableval" = "no"; then
1.150     moko     5014:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling stringstream usage" >&5
                   5015: $as_echo "$as_me: WARNING: disabling stringstream usage" >&2;}
1.94      misha    5016: 
1.150     moko     5017: $as_echo "#define NO_STRINGSTREAM /**/" >>confdefs.h
1.94      misha    5018: 
                   5019: fi
                   5020: 
                   5021: 
1.150     moko     5022: fi
1.94      misha    5023: 
                   5024: 
1.62      paf      5025: 
1.17      paf      5026: 
1.150     moko     5027: # Check whether --with-gc was given.
                   5028: if test "${with_gc+set}" = set; then :
                   5029:   withval=$with_gc;
1.17      paf      5030: 
1.142     moko     5031:        GC=$withval
                   5032:        GC_LIBS="$GC/libgc.la"
                   5033: 
                   5034:        if test -f $GC_LIBS; then
                   5035:                GC_OK="yes"
                   5036:        else
                   5037:                GC_LIBS="-L$GC -lgc"
                   5038:        fi
1.62      paf      5039: 
1.151     moko     5040:        if test "$GC" = "yes"; then
                   5041:                GC=""
                   5042:                GC_LIBS="-lgc"
                   5043:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc value was not specified, hoping linker would find it" >&5
                   5044: $as_echo "$as_me: WARNING: --with-gc value was not specified, hoping linker would find it" >&2;}
                   5045:        fi
                   5046: 
1.142     moko     5047: else
1.17      paf      5048: 
1.142     moko     5049:        GC_LIBS="-lgc"
1.150     moko     5050:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   5051: $as_echo "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
                   5052: 
                   5053: fi
1.17      paf      5054: 
                   5055: 
1.142     moko     5056: if test -z "$GC_OK"; then
1.150     moko     5057:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgc" >&5
                   5058: $as_echo_n "checking for libgc... " >&6; }
1.138     moko     5059:        SAVE_LIBS=$LIBS
                   5060:        LIBS="$LIBS $GC_LIBS"
1.128     moko     5061: 
1.150     moko     5062: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      5063: /* end confdefs.h.  */
1.142     moko     5064:  extern int GC_dont_gc;
1.67      paf      5065: int
                   5066: main ()
                   5067: {
1.142     moko     5068:  GC_dont_gc=0;
1.67      paf      5069:   ;
                   5070:   return 0;
                   5071: }
                   5072: _ACEOF
1.150     moko     5073: if ac_fn_c_try_link "$LINENO"; then :
                   5074:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5075: $as_echo "yes" >&6; }
1.67      paf      5076: 
                   5077: else
1.150     moko     5078:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5079: $as_echo "no" >&6; }
1.142     moko     5080:                if test -z "$GC"; then
1.201     moko     5081:                        as_fn_error $? "please specify path to libgc: --with-gc=DIR" "$LINENO" 5
1.142     moko     5082:                else
1.150     moko     5083:                        as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5
1.142     moko     5084:                fi
1.67      paf      5085: 
                   5086: fi
1.150     moko     5087: rm -f core conftest.err conftest.$ac_objext \
                   5088:     conftest$ac_exeext conftest.$ac_ext
1.138     moko     5089:        LIBS=$SAVE_LIBS
                   5090: fi
1.67      paf      5091: 
                   5092: 
1.1       paf      5093: 
1.15      paf      5094: 
1.142     moko     5095: 
1.150     moko     5096: # Check whether --with-pcre was given.
                   5097: if test "${with_pcre+set}" = set; then :
                   5098:   withval=$with_pcre;
1.100     misha    5099:        PCRE=$withval
                   5100: 
1.151     moko     5101:        if test "$PCRE" = "yes"; then
                   5102:                PCRE=""
                   5103:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5
                   5104: $as_echo "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}
1.218     moko     5105:        else
                   5106:                PCRE_INCLUDES="-I$PCRE/include"
                   5107: 
                   5108:                if test -f $PCRE/include/pcre.h -a -f $PCRE/lib/libpcre.la; then
                   5109:                        PCRE_OK="yes"
                   5110:                        PCRE_LIBS="$PCRE/lib/libpcre.la"
                   5111:                else
                   5112:                        if test -f $PCRE/include/pcre2.h -a -f $PCRE/lib/libpcre2-8.la; then
                   5113:                                PCRE_OK="yes"
                   5114:                                PCRE_LIBS="$PCRE/lib/libpcre2-8.la"
                   5115: 
                   5116: $as_echo "#define HAVE_PCRE2 /**/" >>confdefs.h
                   5117: 
                   5118:                        else
                   5119:                                PCRE_LIBS="-L$PCRE/lib"
                   5120:                        fi
                   5121:                fi
1.151     moko     5122:        fi
1.142     moko     5123: 
                   5124: else
                   5125: 
1.150     moko     5126:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   5127: $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
                   5128: 
                   5129: fi
1.100     misha    5130: 
                   5131: 
1.142     moko     5132: if test -z "$PCRE_OK"; then
1.218     moko     5133:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre2" >&5
                   5134: $as_echo_n "checking for pcre2... " >&6; }
                   5135:        SAVE_LIBS=$LIBS
                   5136:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES -lpcre2-8"
                   5137:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5138: /* end confdefs.h.  */
                   5139:  #define PCRE2_CODE_UNIT_WIDTH 8
                   5140: #include <pcre2.h>
                   5141: int
                   5142: main ()
                   5143: {
                   5144:  void *v=pcre2_general_context_create(0,0,0);
                   5145:   ;
                   5146:   return 0;
                   5147: }
                   5148: _ACEOF
                   5149: if ac_fn_c_try_link "$LINENO"; then :
                   5150:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5151: $as_echo "yes" >&6; }
                   5152:                PCRE_LIBS="$PCRE_LIBS -lpcre2-8"
                   5153: 
                   5154: $as_echo "#define HAVE_PCRE2 /**/" >>confdefs.h
                   5155: 
                   5156:                PCRE_OK="yes"
                   5157: 
                   5158: else
                   5159:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5160: $as_echo "no" >&6; }
                   5161: 
                   5162: fi
                   5163: rm -f core conftest.err conftest.$ac_objext \
                   5164:     conftest$ac_exeext conftest.$ac_ext
                   5165:        LIBS=$SAVE_LIBS
                   5166: fi
                   5167: 
                   5168: if test -z "$PCRE_OK"; then
                   5169:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre" >&5
                   5170: $as_echo_n "checking for pcre... " >&6; }
                   5171:        PCRE_LIBS="$PCRE_LIBS -lpcre"
1.142     moko     5172:        SAVE_LIBS=$LIBS
                   5173:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
1.150     moko     5174:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     5175: /* end confdefs.h.  */
                   5176:  #include <pcre.h>
                   5177: int
                   5178: main ()
                   5179: {
                   5180:  const char *v=pcre_version();
                   5181:   ;
                   5182:   return 0;
                   5183: }
                   5184: _ACEOF
1.150     moko     5185: if ac_fn_c_try_link "$LINENO"; then :
                   5186:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5187: $as_echo "yes" >&6; }
1.142     moko     5188: 
                   5189: else
1.150     moko     5190:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5191: $as_echo "no" >&6; }
1.142     moko     5192:                if test -z "$PCRE"; then
1.201     moko     5193:                        as_fn_error $? "please specify path to PCRE: --with-pcre=DIR" "$LINENO" 5
1.142     moko     5194:                else
1.150     moko     5195:                        as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5
1.142     moko     5196:                fi
                   5197: 
                   5198: fi
1.150     moko     5199: rm -f core conftest.err conftest.$ac_objext \
                   5200:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     5201:        LIBS=$SAVE_LIBS
                   5202: fi
1.100     misha    5203: 
                   5204: 
                   5205: 
                   5206: 
1.66      paf      5207: 
                   5208: 
1.150     moko     5209: # Check whether --with-xml was given.
                   5210: if test "${with_xml+set}" = set; then :
                   5211:   withval=$with_xml;
1.66      paf      5212: 
1.142     moko     5213:        XML=$withval
                   5214:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   5215: 
                   5216:        if test -z "$XML" -o "$XML" = "yes"; then
                   5217:                XML=""
                   5218:                XML_INCLUDES="-I/usr/include/libxml2"
1.150     moko     5219:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   5220: $as_echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
1.142     moko     5221:        else
                   5222:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.193     moko     5223:                XML_LIBS="-L$XML/lib $XML_LIBS"
1.67      paf      5224: 
1.142     moko     5225:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   5226:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   5227:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   5228:                        XML_OK="yes"
                   5229:                fi
1.67      paf      5230:        fi
1.66      paf      5231: 
1.142     moko     5232:        if test -z "$XML_OK"; then
1.150     moko     5233:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
                   5234: $as_echo_n "checking for xml... " >&6; }
1.142     moko     5235:                SAVE_LIBS=$LIBS
                   5236:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
1.150     moko     5237:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     5238: /* end confdefs.h.  */
                   5239:  #include <libxslt/xslt.h>
                   5240: int
                   5241: main ()
                   5242: {
                   5243:  const char *v=xsltEngineVersion;
                   5244:   ;
                   5245:   return 0;
                   5246: }
                   5247: _ACEOF
1.150     moko     5248: if ac_fn_c_try_link "$LINENO"; then :
                   5249:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5250: $as_echo "yes" >&6; }
1.142     moko     5251: 
                   5252: else
1.150     moko     5253:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5254: $as_echo "no" >&6; }
1.142     moko     5255:                        if test -z "$XML"; then
1.201     moko     5256:                                as_fn_error $? "please specify path to Gnome XML libraries: --with-xml=DIR" "$LINENO" 5
1.142     moko     5257:                        else
1.150     moko     5258:                                as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5
1.142     moko     5259:                        fi
                   5260: 
                   5261: fi
1.150     moko     5262: rm -f core conftest.err conftest.$ac_objext \
                   5263:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     5264:                LIBS=$SAVE_LIBS
1.67      paf      5265:        fi
1.66      paf      5266: 
1.150     moko     5267: $as_echo "#define XML /**/" >>confdefs.h
                   5268: 
1.66      paf      5269: 
1.150     moko     5270: fi
1.66      paf      5271: 
1.90      paf      5272: 
1.66      paf      5273: 
                   5274: 
                   5275: 
                   5276: 
1.90      paf      5277: 
1.154     moko     5278: # Check whether --with-mailreceive was given.
                   5279: if test "${with_mailreceive+set}" = set; then :
                   5280:   withval=$with_mailreceive;
                   5281:        MIME=$withval
1.155     moko     5282:        GLIB="glib-2.0"
1.154     moko     5283:        GMIME="gmime-2.4"
                   5284: 
                   5285:        if test -z "$MIME" -o "$MIME" = "yes"; then
                   5286:                MIME=""
                   5287:                MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   5288:                MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
1.194     moko     5289:                if test -z "$MIME_LIBS"; then
                   5290:                        GMIME="gmime-3.0"
                   5291:                        MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   5292:                        MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
                   5293:                fi
1.154     moko     5294:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&5
                   5295: $as_echo "$as_me: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&2;}
                   5296:        else
1.155     moko     5297:                MIME_INCLUDES="-I$MIME/include/$GMIME"
1.154     moko     5298:                MIME_LIBS="-l$GMIME"
                   5299:                if test -f $MIME/include/$GMIME/gmime/gmime.h -a -f $MIME/lib/lib$GMIME.la; then
                   5300:                        MIME_LIBS="$MIME/lib/lib$GMIME.la"
1.155     moko     5301:                        if test -f $MIME/lib/lib$GLIB.la; then
                   5302:                                MIME_INCLUDES="$MIME_INCLUDES -I$MIME/include/$GLIB -I$MIME/lib/$GLIB/include"
                   5303:                        else
                   5304:                                GLIB_INCLUDES=`pkg-config --cflags $GLIB 2>/dev/null`
                   5305:                                MIME_INCLUDES="$MIME_INCLUDES $GLIB_INCLUDES"
                   5306:                        fi
1.154     moko     5307:                        MIME_OK="yes"
                   5308:                fi
1.67      paf      5309:        fi
1.66      paf      5310: 
1.154     moko     5311:        if test -z "$MIME_OK"; then
                   5312:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mime" >&5
                   5313: $as_echo_n "checking for mime... " >&6; }
                   5314:                SAVE_LIBS=$LIBS
                   5315:                LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES"
                   5316:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5317: /* end confdefs.h.  */
                   5318:  #include <gmime/gmime.h>
                   5319: int
                   5320: main ()
                   5321: {
                   5322:  guint v=gmime_major_version;
                   5323:   ;
                   5324:   return 0;
                   5325: }
                   5326: _ACEOF
                   5327: if ac_fn_c_try_link "$LINENO"; then :
                   5328:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5329: $as_echo "yes" >&6; }
1.66      paf      5330: 
1.154     moko     5331: else
                   5332:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5333: $as_echo "no" >&6; }
                   5334:                        if test -z "$MIME"; then
1.201     moko     5335:                                as_fn_error $? "please specify path to Gnome MIME library: --with-mailreceive=DIR" "$LINENO" 5
1.154     moko     5336:                        else
                   5337:                                as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5
1.90      paf      5338:                        fi
1.66      paf      5339: 
1.150     moko     5340: fi
1.154     moko     5341: rm -f core conftest.err conftest.$ac_objext \
                   5342:     conftest$ac_exeext conftest.$ac_ext
                   5343:                LIBS=$SAVE_LIBS
1.67      paf      5344:        fi
1.66      paf      5345: 
1.150     moko     5346: $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      5347: 
                   5348: 
1.154     moko     5349: fi
1.66      paf      5350: 
                   5351: 
                   5352: 
                   5353: 
                   5354: 
                   5355: 
                   5356: 
1.150     moko     5357: # Check whether --with-sendmail was given.
                   5358: if test "${with_sendmail+set}" = set; then :
                   5359:   withval=$with_sendmail;
1.66      paf      5360: cat >>confdefs.h <<_ACEOF
                   5361: #define PA_FORCED_SENDMAIL "$withval"
                   5362: _ACEOF
                   5363: 
                   5364: 
1.150     moko     5365: fi
1.66      paf      5366: 
                   5367: 
                   5368: 
1.122     moko     5369: 
1.150     moko     5370: # Check whether --with-apache was given.
                   5371: if test "${with_apache+set}" = set; then :
                   5372:   withval=$with_apache;
1.122     moko     5373:        APXS=$withval
                   5374: 
                   5375:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   5376:                APXS=`which apxs 2>/dev/null`
1.142     moko     5377:                if test -z "$APXS"; then
                   5378:                        APXS=`which apxs2 2>/dev/null`
                   5379:                fi
                   5380:        fi
1.122     moko     5381: 
                   5382:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   5383: 
                   5384:        if test -z "$APACHE"; then
1.150     moko     5385:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
1.67      paf      5386:        fi
1.7       paf      5387: 
1.122     moko     5388:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   5389:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   5390:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   5391:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   5392: 
1.150     moko     5393: fi
1.7       paf      5394: 
                   5395: 
1.62      paf      5396: 
1.122     moko     5397: 
1.150     moko     5398:  if test -n "$APACHE"; then
1.122     moko     5399:   COMPILE_APACHE_MODULE_TRUE=
                   5400:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      5401: else
1.122     moko     5402:   COMPILE_APACHE_MODULE_TRUE='#'
                   5403:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      5404: fi
1.1       paf      5405: 
                   5406: 
                   5407: 
1.62      paf      5408: 
                   5409: 
1.7       paf      5410: 
1.1       paf      5411: 
                   5412: 
                   5413: 
1.62      paf      5414: 
1.128     moko     5415: case `pwd` in
                   5416:   *\ * | *\    *)
1.150     moko     5417:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   5418: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.128     moko     5419: esac
                   5420: 
                   5421: 
                   5422: 
                   5423: macro_version='2.4.2'
                   5424: macro_revision='1.3337'
                   5425: 
                   5426: 
                   5427: 
                   5428: 
                   5429: 
                   5430: 
                   5431: 
                   5432: 
                   5433: 
                   5434: 
                   5435: 
                   5436: 
                   5437: 
                   5438: ltmain="$ac_aux_dir/ltmain.sh"
                   5439: 
                   5440: # Backslashify metacharacters that are still active within
                   5441: # double-quoted strings.
                   5442: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      5443: 
1.128     moko     5444: # Same as above, but do not quote variable references.
                   5445: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      5446: 
1.128     moko     5447: # Sed substitution to delay expansion of an escaped shell variable in a
                   5448: # double_quote_subst'ed string.
                   5449: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      5450: 
1.128     moko     5451: # Sed substitution to delay expansion of an escaped single quote.
                   5452: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      5453: 
1.128     moko     5454: # Sed substitution to avoid accidental globbing in evaled expressions
                   5455: no_glob_subst='s/\*/\\\*/g'
1.86      paf      5456: 
1.128     moko     5457: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   5458: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   5459: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      5460: 
1.150     moko     5461: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   5462: $as_echo_n "checking how to print strings... " >&6; }
1.128     moko     5463: # Test print first, because it will be a builtin if present.
                   5464: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   5465:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5466:   ECHO='print -r --'
                   5467: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5468:   ECHO='printf %s\n'
                   5469: else
                   5470:   # Use this function as a fallback that always works.
                   5471:   func_fallback_echo ()
                   5472:   {
                   5473:     eval 'cat <<_LTECHO_EOF
                   5474: $1
                   5475: _LTECHO_EOF'
                   5476:   }
                   5477:   ECHO='func_fallback_echo'
                   5478: fi
1.86      paf      5479: 
1.128     moko     5480: # func_echo_all arg...
                   5481: # Invoke $ECHO with all args, space-separated.
                   5482: func_echo_all ()
1.66      paf      5483: {
1.128     moko     5484:     $ECHO ""
1.66      paf      5485: }
1.10      paf      5486: 
1.128     moko     5487: case "$ECHO" in
1.150     moko     5488:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   5489: $as_echo "printf" >&6; } ;;
                   5490:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   5491: $as_echo "print -r" >&6; } ;;
                   5492:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   5493: $as_echo "cat" >&6; } ;;
1.128     moko     5494: esac
                   5495: 
                   5496: 
                   5497: 
                   5498: 
                   5499: 
                   5500: 
                   5501: 
                   5502: 
                   5503: 
                   5504: 
                   5505: 
                   5506: 
                   5507: 
                   5508: 
1.150     moko     5509: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   5510: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   5511: if ${ac_cv_path_SED+:} false; then :
                   5512:   $as_echo_n "(cached) " >&6
                   5513: else
                   5514:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   5515:      for ac_i in 1 2 3 4 5 6 7; do
                   5516:        ac_script="$ac_script$as_nl$ac_script"
                   5517:      done
                   5518:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   5519:      { ac_script=; unset ac_script;}
                   5520:      if test -z "$SED"; then
                   5521:   ac_path_SED_found=false
                   5522:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5523:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     5524: for as_dir in $PATH
                   5525: do
                   5526:   IFS=$as_save_IFS
                   5527:   test -z "$as_dir" && as_dir=.
1.150     moko     5528:     for ac_prog in sed gsed; do
1.128     moko     5529:     for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     5530:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5531:       as_fn_executable_p "$ac_path_SED" || continue
1.150     moko     5532: # Check for GNU ac_path_SED and select it if it is found.
                   5533:   # Check for GNU $ac_path_SED
                   5534: case `"$ac_path_SED" --version 2>&1` in
                   5535: *GNU*)
                   5536:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   5537: *)
                   5538:   ac_count=0
                   5539:   $as_echo_n 0123456789 >"conftest.in"
                   5540:   while :
                   5541:   do
                   5542:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5543:     mv "conftest.tmp" "conftest.in"
                   5544:     cp "conftest.in" "conftest.nl"
                   5545:     $as_echo '' >> "conftest.nl"
                   5546:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5547:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5548:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5549:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   5550:       # Best one so far, save it but keep looking for a better one
                   5551:       ac_cv_path_SED="$ac_path_SED"
                   5552:       ac_path_SED_max=$ac_count
                   5553:     fi
                   5554:     # 10*(2^10) chars as input seems more than enough
                   5555:     test $ac_count -gt 10 && break
                   5556:   done
                   5557:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5558: esac
                   5559: 
                   5560:       $ac_path_SED_found && break 3
1.128     moko     5561:     done
                   5562:   done
1.150     moko     5563:   done
1.128     moko     5564: IFS=$as_save_IFS
1.150     moko     5565:   if test -z "$ac_cv_path_SED"; then
                   5566:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.128     moko     5567:   fi
1.150     moko     5568: else
                   5569:   ac_cv_path_SED=$SED
                   5570: fi
1.10      paf      5571: 
1.66      paf      5572: fi
1.150     moko     5573: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   5574: $as_echo "$ac_cv_path_SED" >&6; }
                   5575:  SED="$ac_cv_path_SED"
                   5576:   rm -f conftest.sed
1.128     moko     5577: 
                   5578: test -z "$SED" && SED=sed
                   5579: Xsed="$SED -e 1s/^X//"
1.10      paf      5580: 
1.128     moko     5581: 
                   5582: 
                   5583: 
                   5584: 
                   5585: 
                   5586: 
                   5587: 
                   5588: 
                   5589: 
                   5590: 
1.150     moko     5591: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   5592: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   5593: if ${ac_cv_path_GREP+:} false; then :
                   5594:   $as_echo_n "(cached) " >&6
                   5595: else
                   5596:   if test -z "$GREP"; then
                   5597:   ac_path_GREP_found=false
                   5598:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5599:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5600: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5601: do
                   5602:   IFS=$as_save_IFS
                   5603:   test -z "$as_dir" && as_dir=.
                   5604:     for ac_prog in grep ggrep; do
                   5605:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5606:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5607:       as_fn_executable_p "$ac_path_GREP" || continue
1.150     moko     5608: # Check for GNU ac_path_GREP and select it if it is found.
                   5609:   # Check for GNU $ac_path_GREP
                   5610: case `"$ac_path_GREP" --version 2>&1` in
                   5611: *GNU*)
                   5612:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5613: *)
                   5614:   ac_count=0
                   5615:   $as_echo_n 0123456789 >"conftest.in"
                   5616:   while :
                   5617:   do
                   5618:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5619:     mv "conftest.tmp" "conftest.in"
                   5620:     cp "conftest.in" "conftest.nl"
                   5621:     $as_echo 'GREP' >> "conftest.nl"
                   5622:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5623:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5624:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5625:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5626:       # Best one so far, save it but keep looking for a better one
                   5627:       ac_cv_path_GREP="$ac_path_GREP"
                   5628:       ac_path_GREP_max=$ac_count
1.128     moko     5629:     fi
1.150     moko     5630:     # 10*(2^10) chars as input seems more than enough
                   5631:     test $ac_count -gt 10 && break
                   5632:   done
                   5633:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5634: esac
                   5635: 
                   5636:       $ac_path_GREP_found && break 3
                   5637:     done
                   5638:   done
                   5639:   done
                   5640: IFS=$as_save_IFS
                   5641:   if test -z "$ac_cv_path_GREP"; then
                   5642:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5643:   fi
                   5644: else
                   5645:   ac_cv_path_GREP=$GREP
                   5646: fi
                   5647: 
1.128     moko     5648: fi
1.150     moko     5649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   5650: $as_echo "$ac_cv_path_GREP" >&6; }
                   5651:  GREP="$ac_cv_path_GREP"
                   5652: 
                   5653: 
                   5654: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   5655: $as_echo_n "checking for egrep... " >&6; }
                   5656: if ${ac_cv_path_EGREP+:} false; then :
                   5657:   $as_echo_n "(cached) " >&6
                   5658: else
                   5659:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   5660:    then ac_cv_path_EGREP="$GREP -E"
                   5661:    else
                   5662:      if test -z "$EGREP"; then
                   5663:   ac_path_EGREP_found=false
                   5664:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5665:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5666: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5667: do
                   5668:   IFS=$as_save_IFS
                   5669:   test -z "$as_dir" && as_dir=.
                   5670:     for ac_prog in egrep; do
                   5671:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5672:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5673:       as_fn_executable_p "$ac_path_EGREP" || continue
1.150     moko     5674: # Check for GNU ac_path_EGREP and select it if it is found.
                   5675:   # Check for GNU $ac_path_EGREP
                   5676: case `"$ac_path_EGREP" --version 2>&1` in
                   5677: *GNU*)
                   5678:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   5679: *)
                   5680:   ac_count=0
                   5681:   $as_echo_n 0123456789 >"conftest.in"
                   5682:   while :
                   5683:   do
                   5684:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5685:     mv "conftest.tmp" "conftest.in"
                   5686:     cp "conftest.in" "conftest.nl"
                   5687:     $as_echo 'EGREP' >> "conftest.nl"
                   5688:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5689:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5690:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5691:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5692:       # Best one so far, save it but keep looking for a better one
                   5693:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5694:       ac_path_EGREP_max=$ac_count
                   5695:     fi
                   5696:     # 10*(2^10) chars as input seems more than enough
                   5697:     test $ac_count -gt 10 && break
                   5698:   done
                   5699:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5700: esac
1.128     moko     5701: 
1.150     moko     5702:       $ac_path_EGREP_found && break 3
                   5703:     done
                   5704:   done
                   5705:   done
                   5706: IFS=$as_save_IFS
                   5707:   if test -z "$ac_cv_path_EGREP"; then
                   5708:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5709:   fi
                   5710: else
                   5711:   ac_cv_path_EGREP=$EGREP
                   5712: fi
1.128     moko     5713: 
1.150     moko     5714:    fi
                   5715: fi
                   5716: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   5717: $as_echo "$ac_cv_path_EGREP" >&6; }
                   5718:  EGREP="$ac_cv_path_EGREP"
                   5719: 
                   5720: 
                   5721: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   5722: $as_echo_n "checking for fgrep... " >&6; }
                   5723: if ${ac_cv_path_FGREP+:} false; then :
                   5724:   $as_echo_n "(cached) " >&6
                   5725: else
                   5726:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   5727:    then ac_cv_path_FGREP="$GREP -F"
                   5728:    else
                   5729:      if test -z "$FGREP"; then
                   5730:   ac_path_FGREP_found=false
                   5731:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5732:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5733: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5734: do
                   5735:   IFS=$as_save_IFS
                   5736:   test -z "$as_dir" && as_dir=.
                   5737:     for ac_prog in fgrep; do
                   5738:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5739:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5740:       as_fn_executable_p "$ac_path_FGREP" || continue
1.150     moko     5741: # Check for GNU ac_path_FGREP and select it if it is found.
                   5742:   # Check for GNU $ac_path_FGREP
                   5743: case `"$ac_path_FGREP" --version 2>&1` in
                   5744: *GNU*)
                   5745:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   5746: *)
                   5747:   ac_count=0
                   5748:   $as_echo_n 0123456789 >"conftest.in"
                   5749:   while :
                   5750:   do
                   5751:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5752:     mv "conftest.tmp" "conftest.in"
                   5753:     cp "conftest.in" "conftest.nl"
                   5754:     $as_echo 'FGREP' >> "conftest.nl"
                   5755:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5756:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5757:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5758:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   5759:       # Best one so far, save it but keep looking for a better one
                   5760:       ac_cv_path_FGREP="$ac_path_FGREP"
                   5761:       ac_path_FGREP_max=$ac_count
1.128     moko     5762:     fi
1.150     moko     5763:     # 10*(2^10) chars as input seems more than enough
                   5764:     test $ac_count -gt 10 && break
                   5765:   done
                   5766:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5767: esac
                   5768: 
                   5769:       $ac_path_FGREP_found && break 3
                   5770:     done
                   5771:   done
                   5772:   done
                   5773: IFS=$as_save_IFS
                   5774:   if test -z "$ac_cv_path_FGREP"; then
                   5775:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5776:   fi
                   5777: else
                   5778:   ac_cv_path_FGREP=$FGREP
                   5779: fi
                   5780: 
                   5781:    fi
1.128     moko     5782: fi
1.150     moko     5783: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   5784: $as_echo "$ac_cv_path_FGREP" >&6; }
                   5785:  FGREP="$ac_cv_path_FGREP"
1.128     moko     5786: 
                   5787: 
                   5788: test -z "$GREP" && GREP=grep
                   5789: 
                   5790: 
                   5791: 
                   5792: 
                   5793: 
                   5794: 
                   5795: 
                   5796: 
                   5797: 
                   5798: 
                   5799: 
                   5800: 
                   5801: 
                   5802: 
                   5803: 
                   5804: 
                   5805: 
                   5806: 
                   5807: 
1.150     moko     5808: # Check whether --with-gnu-ld was given.
                   5809: if test "${with_gnu_ld+set}" = set; then :
                   5810:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     5811: else
                   5812:   with_gnu_ld=no
1.150     moko     5813: fi
                   5814: 
1.128     moko     5815: ac_prog=ld
                   5816: if test "$GCC" = yes; then
                   5817:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     5818:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   5819: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     5820:   case $host in
                   5821:   *-*-mingw*)
                   5822:     # gcc leaves a trailing carriage return which upsets mingw
                   5823:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5824:   *)
                   5825:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5826:   esac
                   5827:   case $ac_prog in
                   5828:     # Accept absolute paths.
                   5829:     [\\/]* | ?:[\\/]*)
                   5830:       re_direlt='/[^/][^/]*/\.\./'
                   5831:       # Canonicalize the pathname of ld
                   5832:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5833:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5834:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   5835:       done
                   5836:       test -z "$LD" && LD="$ac_prog"
                   5837:       ;;
                   5838:   "")
                   5839:     # If it fails, then pretend we aren't using GCC.
                   5840:     ac_prog=ld
                   5841:     ;;
                   5842:   *)
                   5843:     # If it is relative, then search for the first ld in PATH.
                   5844:     with_gnu_ld=unknown
                   5845:     ;;
                   5846:   esac
                   5847: elif test "$with_gnu_ld" = yes; then
1.150     moko     5848:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   5849: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     5850: else
1.150     moko     5851:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   5852: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     5853: fi
1.150     moko     5854: if ${lt_cv_path_LD+:} false; then :
                   5855:   $as_echo_n "(cached) " >&6
1.128     moko     5856: else
                   5857:   if test -z "$LD"; then
                   5858:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5859:   for ac_dir in $PATH; do
                   5860:     IFS="$lt_save_ifs"
                   5861:     test -z "$ac_dir" && ac_dir=.
                   5862:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   5863:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   5864:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   5865:       # but apparently some variants of GNU ld only accept -v.
                   5866:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   5867:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   5868:       *GNU* | *'with BFD'*)
                   5869:        test "$with_gnu_ld" != no && break
                   5870:        ;;
                   5871:       *)
                   5872:        test "$with_gnu_ld" != yes && break
                   5873:        ;;
                   5874:       esac
                   5875:     fi
                   5876:   done
                   5877:   IFS="$lt_save_ifs"
                   5878: else
                   5879:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   5880: fi
                   5881: fi
                   5882: 
                   5883: LD="$lt_cv_path_LD"
                   5884: if test -n "$LD"; then
1.150     moko     5885:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   5886: $as_echo "$LD" >&6; }
1.128     moko     5887: else
1.150     moko     5888:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5889: $as_echo "no" >&6; }
1.128     moko     5890: fi
1.150     moko     5891: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   5892: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   5893: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   5894: if ${lt_cv_prog_gnu_ld+:} false; then :
                   5895:   $as_echo_n "(cached) " >&6
1.128     moko     5896: else
                   5897:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   5898: case `$LD -v 2>&1 </dev/null` in
                   5899: *GNU* | *'with BFD'*)
                   5900:   lt_cv_prog_gnu_ld=yes
                   5901:   ;;
                   5902: *)
                   5903:   lt_cv_prog_gnu_ld=no
                   5904:   ;;
                   5905: esac
                   5906: fi
1.150     moko     5907: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   5908: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     5909: with_gnu_ld=$lt_cv_prog_gnu_ld
                   5910: 
                   5911: 
                   5912: 
                   5913: 
                   5914: 
                   5915: 
                   5916: 
                   5917: 
                   5918: 
1.150     moko     5919: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   5920: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   5921: if ${lt_cv_path_NM+:} false; then :
                   5922:   $as_echo_n "(cached) " >&6
1.128     moko     5923: else
                   5924:   if test -n "$NM"; then
                   5925:   # Let the user override the test.
                   5926:   lt_cv_path_NM="$NM"
                   5927: else
                   5928:   lt_nm_to_check="${ac_tool_prefix}nm"
                   5929:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   5930:     lt_nm_to_check="$lt_nm_to_check nm"
                   5931:   fi
                   5932:   for lt_tmp_nm in $lt_nm_to_check; do
                   5933:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5934:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   5935:       IFS="$lt_save_ifs"
                   5936:       test -z "$ac_dir" && ac_dir=.
                   5937:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   5938:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   5939:        # Check to see if the nm accepts a BSD-compat flag.
                   5940:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   5941:        #   nm: unknown option "B" ignored
                   5942:        # Tru64's nm complains that /dev/null is an invalid object file
                   5943:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   5944:        */dev/null* | *'Invalid file or object type'*)
                   5945:          lt_cv_path_NM="$tmp_nm -B"
                   5946:          break
                   5947:          ;;
                   5948:        *)
                   5949:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   5950:          */dev/null*)
                   5951:            lt_cv_path_NM="$tmp_nm -p"
                   5952:            break
                   5953:            ;;
                   5954:          *)
                   5955:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   5956:            continue # so that we can try to find one that supports BSD flags
                   5957:            ;;
                   5958:          esac
                   5959:          ;;
                   5960:        esac
                   5961:       fi
                   5962:     done
                   5963:     IFS="$lt_save_ifs"
                   5964:   done
                   5965:   : ${lt_cv_path_NM=no}
                   5966: fi
                   5967: fi
1.150     moko     5968: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5969: $as_echo "$lt_cv_path_NM" >&6; }
1.128     moko     5970: if test "$lt_cv_path_NM" != "no"; then
                   5971:   NM="$lt_cv_path_NM"
                   5972: else
                   5973:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5974:   if test -n "$DUMPBIN"; then :
                   5975:     # Let the user override the test.
                   5976:   else
                   5977:     if test -n "$ac_tool_prefix"; then
                   5978:   for ac_prog in dumpbin "link -dump"
                   5979:   do
                   5980:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5981: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     5982: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5983: $as_echo_n "checking for $ac_word... " >&6; }
                   5984: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   5985:   $as_echo_n "(cached) " >&6
1.128     moko     5986: else
                   5987:   if test -n "$DUMPBIN"; then
                   5988:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5989: else
                   5990: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5991: for as_dir in $PATH
                   5992: do
                   5993:   IFS=$as_save_IFS
                   5994:   test -z "$as_dir" && as_dir=.
1.150     moko     5995:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     5996:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     5997:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.150     moko     5998:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5999:     break 2
                   6000:   fi
                   6001: done
1.150     moko     6002:   done
                   6003: IFS=$as_save_IFS
1.128     moko     6004: 
                   6005: fi
                   6006: fi
                   6007: DUMPBIN=$ac_cv_prog_DUMPBIN
                   6008: if test -n "$DUMPBIN"; then
1.150     moko     6009:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   6010: $as_echo "$DUMPBIN" >&6; }
1.128     moko     6011: else
1.150     moko     6012:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6013: $as_echo "no" >&6; }
1.128     moko     6014: fi
                   6015: 
1.150     moko     6016: 
1.128     moko     6017:     test -n "$DUMPBIN" && break
                   6018:   done
                   6019: fi
                   6020: if test -z "$DUMPBIN"; then
                   6021:   ac_ct_DUMPBIN=$DUMPBIN
                   6022:   for ac_prog in dumpbin "link -dump"
                   6023: do
                   6024:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6025: set dummy $ac_prog; ac_word=$2
1.150     moko     6026: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6027: $as_echo_n "checking for $ac_word... " >&6; }
                   6028: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   6029:   $as_echo_n "(cached) " >&6
1.128     moko     6030: else
                   6031:   if test -n "$ac_ct_DUMPBIN"; then
                   6032:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   6033: else
                   6034: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6035: for as_dir in $PATH
                   6036: do
                   6037:   IFS=$as_save_IFS
                   6038:   test -z "$as_dir" && as_dir=.
1.150     moko     6039:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6040:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6041:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.150     moko     6042:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6043:     break 2
                   6044:   fi
                   6045: done
1.150     moko     6046:   done
                   6047: IFS=$as_save_IFS
1.128     moko     6048: 
                   6049: fi
                   6050: fi
                   6051: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   6052: if test -n "$ac_ct_DUMPBIN"; then
1.150     moko     6053:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   6054: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.128     moko     6055: else
1.150     moko     6056:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6057: $as_echo "no" >&6; }
1.128     moko     6058: fi
                   6059: 
1.150     moko     6060: 
1.128     moko     6061:   test -n "$ac_ct_DUMPBIN" && break
                   6062: done
                   6063: 
1.150     moko     6064:   if test "x$ac_ct_DUMPBIN" = x; then
                   6065:     DUMPBIN=":"
                   6066:   else
                   6067:     case $cross_compiling:$ac_tool_warned in
                   6068: yes:)
                   6069: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6070: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6071: ac_tool_warned=yes ;;
                   6072: esac
                   6073:     DUMPBIN=$ac_ct_DUMPBIN
                   6074:   fi
1.128     moko     6075: fi
                   6076: 
                   6077:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   6078:     *COFF*)
                   6079:       DUMPBIN="$DUMPBIN -symbols"
                   6080:       ;;
                   6081:     *)
                   6082:       DUMPBIN=:
                   6083:       ;;
                   6084:     esac
                   6085:   fi
                   6086: 
                   6087:   if test "$DUMPBIN" != ":"; then
                   6088:     NM="$DUMPBIN"
                   6089:   fi
                   6090: fi
                   6091: test -z "$NM" && NM=nm
                   6092: 
                   6093: 
                   6094: 
                   6095: 
                   6096: 
                   6097: 
1.150     moko     6098: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   6099: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   6100: if ${lt_cv_nm_interface+:} false; then :
                   6101:   $as_echo_n "(cached) " >&6
1.128     moko     6102: else
                   6103:   lt_cv_nm_interface="BSD nm"
                   6104:   echo "int some_variable = 0;" > conftest.$ac_ext
                   6105:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   6106:   (eval "$ac_compile" 2>conftest.err)
                   6107:   cat conftest.err >&5
                   6108:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   6109:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   6110:   cat conftest.err >&5
                   6111:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   6112:   cat conftest.out >&5
                   6113:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   6114:     lt_cv_nm_interface="MS dumpbin"
                   6115:   fi
                   6116:   rm -f conftest*
                   6117: fi
1.150     moko     6118: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   6119: $as_echo "$lt_cv_nm_interface" >&6; }
1.128     moko     6120: 
1.150     moko     6121: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   6122: $as_echo_n "checking whether ln -s works... " >&6; }
1.128     moko     6123: LN_S=$as_ln_s
                   6124: if test "$LN_S" = "ln -s"; then
1.150     moko     6125:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6126: $as_echo "yes" >&6; }
1.128     moko     6127: else
1.150     moko     6128:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   6129: $as_echo "no, using $LN_S" >&6; }
1.128     moko     6130: fi
                   6131: 
                   6132: # find the maximum length of command line arguments
1.150     moko     6133: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   6134: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   6135: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   6136:   $as_echo_n "(cached) " >&6
1.128     moko     6137: else
                   6138:     i=0
                   6139:   teststring="ABCD"
                   6140: 
                   6141:   case $build_os in
                   6142:   msdosdjgpp*)
                   6143:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   6144:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   6145:     # during glob expansion).  Even if it were fixed, the result of this
                   6146:     # check would be larger than it should be.
                   6147:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   6148:     ;;
                   6149: 
                   6150:   gnu*)
                   6151:     # Under GNU Hurd, this test is not required because there is
                   6152:     # no limit to the length of command line arguments.
                   6153:     # Libtool will interpret -1 as no limit whatsoever
                   6154:     lt_cv_sys_max_cmd_len=-1;
                   6155:     ;;
                   6156: 
                   6157:   cygwin* | mingw* | cegcc*)
                   6158:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   6159:     # about 5 minutes as the teststring grows exponentially.
                   6160:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   6161:     # you end up with a "frozen" computer, even though with patience
                   6162:     # the test eventually succeeds (with a max line length of 256k).
                   6163:     # Instead, let's just punt: use the minimum linelength reported by
                   6164:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   6165:     lt_cv_sys_max_cmd_len=8192;
                   6166:     ;;
                   6167: 
                   6168:   mint*)
                   6169:     # On MiNT this can take a long time and run out of memory.
                   6170:     lt_cv_sys_max_cmd_len=8192;
                   6171:     ;;
                   6172: 
                   6173:   amigaos*)
                   6174:     # On AmigaOS with pdksh, this test takes hours, literally.
                   6175:     # So we just punt and use a minimum line length of 8192.
                   6176:     lt_cv_sys_max_cmd_len=8192;
                   6177:     ;;
                   6178: 
                   6179:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   6180:     # This has been around since 386BSD, at least.  Likely further.
                   6181:     if test -x /sbin/sysctl; then
                   6182:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   6183:     elif test -x /usr/sbin/sysctl; then
                   6184:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   6185:     else
                   6186:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   6187:     fi
                   6188:     # And add a safety zone
                   6189:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   6190:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   6191:     ;;
                   6192: 
                   6193:   interix*)
                   6194:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   6195:     lt_cv_sys_max_cmd_len=196608
                   6196:     ;;
                   6197: 
                   6198:   os2*)
                   6199:     # The test takes a long time on OS/2.
                   6200:     lt_cv_sys_max_cmd_len=8192
                   6201:     ;;
                   6202: 
                   6203:   osf*)
                   6204:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   6205:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   6206:     # nice to cause kernel panics so lets avoid the loop below.
                   6207:     # First set a reasonable default.
                   6208:     lt_cv_sys_max_cmd_len=16384
                   6209:     #
                   6210:     if test -x /sbin/sysconfig; then
                   6211:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   6212:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   6213:       esac
                   6214:     fi
                   6215:     ;;
                   6216:   sco3.2v5*)
                   6217:     lt_cv_sys_max_cmd_len=102400
                   6218:     ;;
                   6219:   sysv5* | sco5v6* | sysv4.2uw2*)
                   6220:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   6221:     if test -n "$kargmax"; then
                   6222:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   6223:     else
                   6224:       lt_cv_sys_max_cmd_len=32768
                   6225:     fi
                   6226:     ;;
                   6227:   *)
                   6228:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   6229:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   6230:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   6231:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   6232:     else
                   6233:       # Make teststring a little bigger before we do anything with it.
                   6234:       # a 1K string should be a reasonable start.
                   6235:       for i in 1 2 3 4 5 6 7 8 ; do
                   6236:         teststring=$teststring$teststring
                   6237:       done
                   6238:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   6239:       # If test is not a shell built-in, we'll probably end up computing a
                   6240:       # maximum length that is only half of the actual maximum length, but
                   6241:       # we can't tell.
                   6242:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   6243:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   6244:              test $i != 17 # 1/2 MB should be enough
                   6245:       do
                   6246:         i=`expr $i + 1`
                   6247:         teststring=$teststring$teststring
                   6248:       done
                   6249:       # Only check the string length outside the loop.
                   6250:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   6251:       teststring=
                   6252:       # Add a significant safety factor because C++ compilers can tack on
                   6253:       # massive amounts of additional arguments before passing them to the
                   6254:       # linker.  It appears as though 1/2 is a usable value.
                   6255:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   6256:     fi
                   6257:     ;;
                   6258:   esac
                   6259: 
                   6260: fi
                   6261: 
                   6262: if test -n $lt_cv_sys_max_cmd_len ; then
1.150     moko     6263:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   6264: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.128     moko     6265: else
1.150     moko     6266:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   6267: $as_echo "none" >&6; }
1.128     moko     6268: fi
                   6269: max_cmd_len=$lt_cv_sys_max_cmd_len
                   6270: 
                   6271: 
                   6272: 
                   6273: 
                   6274: 
                   6275: 
                   6276: : ${CP="cp -f"}
                   6277: : ${MV="mv -f"}
                   6278: : ${RM="rm -f"}
                   6279: 
1.150     moko     6280: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   6281: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.128     moko     6282: # Try some XSI features
                   6283: xsi_shell=no
                   6284: ( _lt_dummy="a/b/c"
                   6285:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   6286:       = c,a/b,b/c, \
                   6287:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   6288:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   6289:   && xsi_shell=yes
1.150     moko     6290: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   6291: $as_echo "$xsi_shell" >&6; }
1.128     moko     6292: 
                   6293: 
1.150     moko     6294: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   6295: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.128     moko     6296: lt_shell_append=no
                   6297: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   6298:     >/dev/null 2>&1 \
                   6299:   && lt_shell_append=yes
1.150     moko     6300: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   6301: $as_echo "$lt_shell_append" >&6; }
1.128     moko     6302: 
                   6303: 
                   6304: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   6305:   lt_unset=unset
                   6306: else
                   6307:   lt_unset=false
                   6308: fi
                   6309: 
                   6310: 
                   6311: 
                   6312: 
                   6313: 
                   6314: # test EBCDIC or ASCII
                   6315: case `echo X|tr X '\101'` in
                   6316:  A) # ASCII based system
                   6317:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   6318:   lt_SP2NL='tr \040 \012'
                   6319:   lt_NL2SP='tr \015\012 \040\040'
                   6320:   ;;
                   6321:  *) # EBCDIC based system
                   6322:   lt_SP2NL='tr \100 \n'
                   6323:   lt_NL2SP='tr \r\n \100\100'
                   6324:   ;;
                   6325: esac
                   6326: 
                   6327: 
                   6328: 
                   6329: 
                   6330: 
                   6331: 
                   6332: 
                   6333: 
                   6334: 
1.150     moko     6335: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   6336: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   6337: if ${lt_cv_to_host_file_cmd+:} false; then :
                   6338:   $as_echo_n "(cached) " >&6
1.128     moko     6339: else
                   6340:   case $host in
                   6341:   *-*-mingw* )
                   6342:     case $build in
                   6343:       *-*-mingw* ) # actually msys
                   6344:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   6345:         ;;
                   6346:       *-*-cygwin* )
                   6347:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   6348:         ;;
                   6349:       * ) # otherwise, assume *nix
                   6350:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   6351:         ;;
                   6352:     esac
                   6353:     ;;
                   6354:   *-*-cygwin* )
                   6355:     case $build in
                   6356:       *-*-mingw* ) # actually msys
                   6357:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   6358:         ;;
                   6359:       *-*-cygwin* )
                   6360:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   6361:         ;;
                   6362:       * ) # otherwise, assume *nix
                   6363:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   6364:         ;;
                   6365:     esac
                   6366:     ;;
                   6367:   * ) # unhandled hosts (and "normal" native builds)
                   6368:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   6369:     ;;
                   6370: esac
                   6371: 
                   6372: fi
                   6373: 
                   6374: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.150     moko     6375: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   6376: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     6377: 
                   6378: 
                   6379: 
                   6380: 
                   6381: 
1.150     moko     6382: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   6383: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   6384: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   6385:   $as_echo_n "(cached) " >&6
1.128     moko     6386: else
                   6387:   #assume ordinary cross tools, or native build.
                   6388: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   6389: case $host in
                   6390:   *-*-mingw* )
                   6391:     case $build in
                   6392:       *-*-mingw* ) # actually msys
                   6393:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   6394:         ;;
                   6395:     esac
                   6396:     ;;
                   6397: esac
                   6398: 
                   6399: fi
                   6400: 
                   6401: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.150     moko     6402: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   6403: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     6404: 
                   6405: 
                   6406: 
                   6407: 
                   6408: 
1.150     moko     6409: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   6410: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   6411: if ${lt_cv_ld_reload_flag+:} false; then :
                   6412:   $as_echo_n "(cached) " >&6
1.128     moko     6413: else
                   6414:   lt_cv_ld_reload_flag='-r'
                   6415: fi
1.150     moko     6416: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   6417: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.128     moko     6418: reload_flag=$lt_cv_ld_reload_flag
                   6419: case $reload_flag in
                   6420: "" | " "*) ;;
                   6421: *) reload_flag=" $reload_flag" ;;
                   6422: esac
                   6423: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6424: case $host_os in
                   6425:   cygwin* | mingw* | pw32* | cegcc*)
                   6426:     if test "$GCC" != yes; then
                   6427:       reload_cmds=false
                   6428:     fi
                   6429:     ;;
                   6430:   darwin*)
                   6431:     if test "$GCC" = yes; then
                   6432:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   6433:     else
                   6434:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6435:     fi
                   6436:     ;;
                   6437: esac
                   6438: 
                   6439: 
                   6440: 
                   6441: 
                   6442: 
                   6443: 
                   6444: 
                   6445: 
                   6446: 
                   6447: if test -n "$ac_tool_prefix"; then
                   6448:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   6449: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     6450: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6451: $as_echo_n "checking for $ac_word... " >&6; }
                   6452: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   6453:   $as_echo_n "(cached) " >&6
1.128     moko     6454: else
                   6455:   if test -n "$OBJDUMP"; then
                   6456:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   6457: else
                   6458: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6459: for as_dir in $PATH
                   6460: do
                   6461:   IFS=$as_save_IFS
                   6462:   test -z "$as_dir" && as_dir=.
1.150     moko     6463:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6464:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6465:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     6466:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6467:     break 2
                   6468:   fi
                   6469: done
1.150     moko     6470:   done
                   6471: IFS=$as_save_IFS
1.128     moko     6472: 
                   6473: fi
                   6474: fi
                   6475: OBJDUMP=$ac_cv_prog_OBJDUMP
                   6476: if test -n "$OBJDUMP"; then
1.150     moko     6477:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   6478: $as_echo "$OBJDUMP" >&6; }
1.128     moko     6479: else
1.150     moko     6480:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6481: $as_echo "no" >&6; }
1.128     moko     6482: fi
                   6483: 
1.150     moko     6484: 
1.128     moko     6485: fi
                   6486: if test -z "$ac_cv_prog_OBJDUMP"; then
                   6487:   ac_ct_OBJDUMP=$OBJDUMP
                   6488:   # Extract the first word of "objdump", so it can be a program name with args.
                   6489: set dummy objdump; ac_word=$2
1.150     moko     6490: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6491: $as_echo_n "checking for $ac_word... " >&6; }
                   6492: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   6493:   $as_echo_n "(cached) " >&6
1.128     moko     6494: else
                   6495:   if test -n "$ac_ct_OBJDUMP"; then
                   6496:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   6497: else
                   6498: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6499: for as_dir in $PATH
                   6500: do
                   6501:   IFS=$as_save_IFS
                   6502:   test -z "$as_dir" && as_dir=.
1.150     moko     6503:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6504:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6505:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     6506:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6507:     break 2
                   6508:   fi
                   6509: done
1.150     moko     6510:   done
                   6511: IFS=$as_save_IFS
1.128     moko     6512: 
                   6513: fi
                   6514: fi
                   6515: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   6516: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     6517:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   6518: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     6519: else
1.150     moko     6520:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6521: $as_echo "no" >&6; }
1.128     moko     6522: fi
                   6523: 
1.150     moko     6524:   if test "x$ac_ct_OBJDUMP" = x; then
                   6525:     OBJDUMP="false"
                   6526:   else
                   6527:     case $cross_compiling:$ac_tool_warned in
                   6528: yes:)
                   6529: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6530: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6531: ac_tool_warned=yes ;;
                   6532: esac
                   6533:     OBJDUMP=$ac_ct_OBJDUMP
                   6534:   fi
1.128     moko     6535: else
                   6536:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   6537: fi
                   6538: 
                   6539: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6540: 
                   6541: 
                   6542: 
                   6543: 
                   6544: 
                   6545: 
1.150     moko     6546: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   6547: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   6548: if ${lt_cv_deplibs_check_method+:} false; then :
                   6549:   $as_echo_n "(cached) " >&6
1.128     moko     6550: else
                   6551:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   6552: lt_cv_file_magic_test_file=
                   6553: lt_cv_deplibs_check_method='unknown'
                   6554: # Need to set the preceding variable on all platforms that support
                   6555: # interlibrary dependencies.
                   6556: # 'none' -- dependencies not supported.
                   6557: # `unknown' -- same as none, but documents that we really don't know.
                   6558: # 'pass_all' -- all dependencies passed with no checks.
                   6559: # 'test_compile' -- check by making test program.
                   6560: # 'file_magic [[regex]]' -- check by looking for files in library path
                   6561: # which responds to the $file_magic_cmd with a given extended regex.
                   6562: # If you have `file' or equivalent on your system and you're not sure
                   6563: # whether `pass_all' will *always* work, you probably want this one.
                   6564: 
                   6565: case $host_os in
                   6566: aix[4-9]*)
                   6567:   lt_cv_deplibs_check_method=pass_all
                   6568:   ;;
                   6569: 
                   6570: beos*)
                   6571:   lt_cv_deplibs_check_method=pass_all
                   6572:   ;;
                   6573: 
                   6574: bsdi[45]*)
                   6575:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   6576:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   6577:   lt_cv_file_magic_test_file=/shlib/libc.so
                   6578:   ;;
                   6579: 
                   6580: cygwin*)
                   6581:   # func_win32_libid is a shell function defined in ltmain.sh
                   6582:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6583:   lt_cv_file_magic_cmd='func_win32_libid'
                   6584:   ;;
                   6585: 
                   6586: mingw* | pw32*)
                   6587:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6588:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6589:   # unless we find 'file', for example because we are cross-compiling.
                   6590:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   6591:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   6592:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6593:     lt_cv_file_magic_cmd='func_win32_libid'
                   6594:   else
                   6595:     # Keep this pattern in sync with the one in func_win32_libid.
                   6596:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   6597:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6598:   fi
                   6599:   ;;
                   6600: 
                   6601: cegcc*)
                   6602:   # use the weaker test based on 'objdump'. See mingw*.
                   6603:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   6604:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6605:   ;;
                   6606: 
                   6607: darwin* | rhapsody*)
                   6608:   lt_cv_deplibs_check_method=pass_all
                   6609:   ;;
                   6610: 
                   6611: freebsd* | dragonfly*)
                   6612:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6613:     case $host_cpu in
                   6614:     i*86 )
                   6615:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6616:       # Let's accept both of them until this is cleared up.
                   6617:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   6618:       lt_cv_file_magic_cmd=/usr/bin/file
                   6619:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6620:       ;;
                   6621:     esac
                   6622:   else
                   6623:     lt_cv_deplibs_check_method=pass_all
                   6624:   fi
                   6625:   ;;
                   6626: 
                   6627: gnu*)
                   6628:   lt_cv_deplibs_check_method=pass_all
                   6629:   ;;
                   6630: 
                   6631: haiku*)
                   6632:   lt_cv_deplibs_check_method=pass_all
                   6633:   ;;
                   6634: 
                   6635: hpux10.20* | hpux11*)
                   6636:   lt_cv_file_magic_cmd=/usr/bin/file
                   6637:   case $host_cpu in
                   6638:   ia64*)
                   6639:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6640:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6641:     ;;
                   6642:   hppa*64*)
                   6643:     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]'
                   6644:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   6645:     ;;
                   6646:   *)
                   6647:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   6648:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   6649:     ;;
                   6650:   esac
                   6651:   ;;
                   6652: 
                   6653: interix[3-9]*)
                   6654:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6655:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6656:   ;;
                   6657: 
                   6658: irix5* | irix6* | nonstopux*)
                   6659:   case $LD in
                   6660:   *-32|*"-32 ") libmagic=32-bit;;
                   6661:   *-n32|*"-n32 ") libmagic=N32;;
                   6662:   *-64|*"-64 ") libmagic=64-bit;;
                   6663:   *) libmagic=never-match;;
                   6664:   esac
                   6665:   lt_cv_deplibs_check_method=pass_all
                   6666:   ;;
                   6667: 
                   6668: # This must be glibc/ELF.
                   6669: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   6670:   lt_cv_deplibs_check_method=pass_all
                   6671:   ;;
                   6672: 
                   6673: netbsd*)
                   6674:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6675:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6676:   else
                   6677:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   6678:   fi
                   6679:   ;;
                   6680: 
                   6681: newos6*)
                   6682:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   6683:   lt_cv_file_magic_cmd=/usr/bin/file
                   6684:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6685:   ;;
                   6686: 
                   6687: *nto* | *qnx*)
                   6688:   lt_cv_deplibs_check_method=pass_all
                   6689:   ;;
                   6690: 
                   6691: openbsd*)
                   6692:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6693:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   6694:   else
                   6695:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6696:   fi
                   6697:   ;;
                   6698: 
                   6699: osf3* | osf4* | osf5*)
                   6700:   lt_cv_deplibs_check_method=pass_all
                   6701:   ;;
                   6702: 
                   6703: rdos*)
                   6704:   lt_cv_deplibs_check_method=pass_all
                   6705:   ;;
                   6706: 
                   6707: solaris*)
                   6708:   lt_cv_deplibs_check_method=pass_all
                   6709:   ;;
                   6710: 
                   6711: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   6712:   lt_cv_deplibs_check_method=pass_all
                   6713:   ;;
                   6714: 
                   6715: sysv4 | sysv4.3*)
                   6716:   case $host_vendor in
                   6717:   motorola)
                   6718:     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]'
                   6719:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6720:     ;;
                   6721:   ncr)
                   6722:     lt_cv_deplibs_check_method=pass_all
                   6723:     ;;
                   6724:   sequent)
                   6725:     lt_cv_file_magic_cmd='/bin/file'
                   6726:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6727:     ;;
                   6728:   sni)
                   6729:     lt_cv_file_magic_cmd='/bin/file'
                   6730:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6731:     lt_cv_file_magic_test_file=/lib/libc.so
                   6732:     ;;
                   6733:   siemens)
                   6734:     lt_cv_deplibs_check_method=pass_all
                   6735:     ;;
                   6736:   pc)
                   6737:     lt_cv_deplibs_check_method=pass_all
                   6738:     ;;
                   6739:   esac
                   6740:   ;;
                   6741: 
                   6742: tpf*)
                   6743:   lt_cv_deplibs_check_method=pass_all
                   6744:   ;;
                   6745: esac
                   6746: 
                   6747: fi
1.150     moko     6748: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   6749: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.128     moko     6750: 
                   6751: file_magic_glob=
                   6752: want_nocaseglob=no
                   6753: if test "$build" = "$host"; then
                   6754:   case $host_os in
                   6755:   mingw* | pw32*)
                   6756:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   6757:       want_nocaseglob=yes
                   6758:     else
                   6759:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   6760:     fi
                   6761:     ;;
                   6762:   esac
                   6763: fi
                   6764: 
                   6765: file_magic_cmd=$lt_cv_file_magic_cmd
                   6766: deplibs_check_method=$lt_cv_deplibs_check_method
                   6767: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6768: 
                   6769: 
                   6770: 
                   6771: 
                   6772: 
                   6773: 
                   6774: 
                   6775: 
                   6776: 
                   6777: 
                   6778: 
                   6779: 
                   6780: 
                   6781: 
                   6782: 
                   6783: 
                   6784: 
                   6785: 
                   6786: 
                   6787: 
                   6788: 
                   6789: 
                   6790: if test -n "$ac_tool_prefix"; then
                   6791:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6792: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     6793: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6794: $as_echo_n "checking for $ac_word... " >&6; }
                   6795: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   6796:   $as_echo_n "(cached) " >&6
1.128     moko     6797: else
                   6798:   if test -n "$DLLTOOL"; then
                   6799:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6800: else
                   6801: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6802: for as_dir in $PATH
                   6803: do
                   6804:   IFS=$as_save_IFS
                   6805:   test -z "$as_dir" && as_dir=.
1.150     moko     6806:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6807:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6808:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     6809:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6810:     break 2
                   6811:   fi
                   6812: done
1.150     moko     6813:   done
                   6814: IFS=$as_save_IFS
1.128     moko     6815: 
                   6816: fi
                   6817: fi
                   6818: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6819: if test -n "$DLLTOOL"; then
1.150     moko     6820:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   6821: $as_echo "$DLLTOOL" >&6; }
1.128     moko     6822: else
1.150     moko     6823:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6824: $as_echo "no" >&6; }
1.128     moko     6825: fi
                   6826: 
1.150     moko     6827: 
1.128     moko     6828: fi
                   6829: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6830:   ac_ct_DLLTOOL=$DLLTOOL
                   6831:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6832: set dummy dlltool; ac_word=$2
1.150     moko     6833: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6834: $as_echo_n "checking for $ac_word... " >&6; }
                   6835: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   6836:   $as_echo_n "(cached) " >&6
1.128     moko     6837: else
                   6838:   if test -n "$ac_ct_DLLTOOL"; then
                   6839:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   6840: else
                   6841: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6842: for as_dir in $PATH
                   6843: do
                   6844:   IFS=$as_save_IFS
                   6845:   test -z "$as_dir" && as_dir=.
1.150     moko     6846:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6847:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6848:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     6849:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6850:     break 2
                   6851:   fi
                   6852: done
1.150     moko     6853:   done
                   6854: IFS=$as_save_IFS
1.128     moko     6855: 
                   6856: fi
                   6857: fi
                   6858: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6859: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     6860:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   6861: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     6862: else
1.150     moko     6863:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6864: $as_echo "no" >&6; }
1.128     moko     6865: fi
                   6866: 
1.150     moko     6867:   if test "x$ac_ct_DLLTOOL" = x; then
                   6868:     DLLTOOL="false"
                   6869:   else
                   6870:     case $cross_compiling:$ac_tool_warned in
                   6871: yes:)
                   6872: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6873: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6874: ac_tool_warned=yes ;;
                   6875: esac
                   6876:     DLLTOOL=$ac_ct_DLLTOOL
                   6877:   fi
1.128     moko     6878: else
                   6879:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   6880: fi
                   6881: 
                   6882: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   6883: 
                   6884: 
                   6885: 
                   6886: 
                   6887: 
                   6888: 
                   6889: 
1.150     moko     6890: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   6891: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   6892: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   6893:   $as_echo_n "(cached) " >&6
1.128     moko     6894: else
                   6895:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   6896: 
                   6897: case $host_os in
                   6898: cygwin* | mingw* | pw32* | cegcc*)
                   6899:   # two different shell functions defined in ltmain.sh
                   6900:   # decide which to use based on capabilities of $DLLTOOL
                   6901:   case `$DLLTOOL --help 2>&1` in
                   6902:   *--identify-strict*)
                   6903:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   6904:     ;;
                   6905:   *)
                   6906:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   6907:     ;;
                   6908:   esac
                   6909:   ;;
                   6910: *)
                   6911:   # fallback: assume linklib IS sharedlib
                   6912:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   6913:   ;;
                   6914: esac
                   6915: 
                   6916: fi
1.150     moko     6917: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   6918: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.128     moko     6919: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   6920: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   6921: 
                   6922: 
                   6923: 
                   6924: 
                   6925: 
                   6926: 
                   6927: 
                   6928: if test -n "$ac_tool_prefix"; then
                   6929:   for ac_prog in ar
                   6930:   do
                   6931:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6932: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     6933: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6934: $as_echo_n "checking for $ac_word... " >&6; }
                   6935: if ${ac_cv_prog_AR+:} false; then :
                   6936:   $as_echo_n "(cached) " >&6
1.128     moko     6937: else
                   6938:   if test -n "$AR"; then
                   6939:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   6940: else
                   6941: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6942: for as_dir in $PATH
                   6943: do
                   6944:   IFS=$as_save_IFS
                   6945:   test -z "$as_dir" && as_dir=.
1.150     moko     6946:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6947:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6948:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.150     moko     6949:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6950:     break 2
                   6951:   fi
                   6952: done
1.150     moko     6953:   done
                   6954: IFS=$as_save_IFS
1.128     moko     6955: 
                   6956: fi
                   6957: fi
                   6958: AR=$ac_cv_prog_AR
                   6959: if test -n "$AR"; then
1.150     moko     6960:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6961: $as_echo "$AR" >&6; }
1.128     moko     6962: else
1.150     moko     6963:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6964: $as_echo "no" >&6; }
1.128     moko     6965: fi
                   6966: 
1.150     moko     6967: 
1.128     moko     6968:     test -n "$AR" && break
                   6969:   done
                   6970: fi
                   6971: if test -z "$AR"; then
                   6972:   ac_ct_AR=$AR
                   6973:   for ac_prog in ar
                   6974: do
                   6975:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6976: set dummy $ac_prog; ac_word=$2
1.150     moko     6977: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6978: $as_echo_n "checking for $ac_word... " >&6; }
                   6979: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6980:   $as_echo_n "(cached) " >&6
1.128     moko     6981: else
                   6982:   if test -n "$ac_ct_AR"; then
                   6983:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6984: else
                   6985: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6986: for as_dir in $PATH
                   6987: do
                   6988:   IFS=$as_save_IFS
                   6989:   test -z "$as_dir" && as_dir=.
1.150     moko     6990:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6991:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6992:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.150     moko     6993:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6994:     break 2
                   6995:   fi
                   6996: done
1.150     moko     6997:   done
                   6998: IFS=$as_save_IFS
1.128     moko     6999: 
                   7000: fi
                   7001: fi
                   7002: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   7003: if test -n "$ac_ct_AR"; then
1.150     moko     7004:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   7005: $as_echo "$ac_ct_AR" >&6; }
1.128     moko     7006: else
1.150     moko     7007:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7008: $as_echo "no" >&6; }
1.128     moko     7009: fi
                   7010: 
1.150     moko     7011: 
1.128     moko     7012:   test -n "$ac_ct_AR" && break
                   7013: done
                   7014: 
1.150     moko     7015:   if test "x$ac_ct_AR" = x; then
                   7016:     AR="false"
                   7017:   else
                   7018:     case $cross_compiling:$ac_tool_warned in
                   7019: yes:)
                   7020: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7021: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7022: ac_tool_warned=yes ;;
                   7023: esac
                   7024:     AR=$ac_ct_AR
                   7025:   fi
1.128     moko     7026: fi
                   7027: 
                   7028: : ${AR=ar}
                   7029: : ${AR_FLAGS=cru}
                   7030: 
                   7031: 
                   7032: 
                   7033: 
                   7034: 
                   7035: 
                   7036: 
                   7037: 
                   7038: 
                   7039: 
                   7040: 
1.150     moko     7041: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   7042: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   7043: if ${lt_cv_ar_at_file+:} false; then :
                   7044:   $as_echo_n "(cached) " >&6
1.128     moko     7045: else
                   7046:   lt_cv_ar_at_file=no
1.150     moko     7047:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7048: /* end confdefs.h.  */
                   7049: 
                   7050: int
                   7051: main ()
                   7052: {
                   7053: 
                   7054:   ;
                   7055:   return 0;
                   7056: }
                   7057: _ACEOF
1.150     moko     7058: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     7059:   echo conftest.$ac_objext > conftest.lst
                   7060:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.150     moko     7061:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     7062:   (eval $lt_ar_try) 2>&5
                   7063:   ac_status=$?
1.150     moko     7064:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7065:   test $ac_status = 0; }
1.128     moko     7066:       if test "$ac_status" -eq 0; then
                   7067:        # Ensure the archiver fails upon bogus file names.
                   7068:        rm -f conftest.$ac_objext libconftest.a
1.150     moko     7069:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     7070:   (eval $lt_ar_try) 2>&5
                   7071:   ac_status=$?
1.150     moko     7072:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7073:   test $ac_status = 0; }
1.128     moko     7074:        if test "$ac_status" -ne 0; then
                   7075:           lt_cv_ar_at_file=@
                   7076:         fi
                   7077:       fi
                   7078:       rm -f conftest.* libconftest.a
                   7079: 
                   7080: fi
1.150     moko     7081: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     7082: 
                   7083: fi
1.150     moko     7084: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   7085: $as_echo "$lt_cv_ar_at_file" >&6; }
1.128     moko     7086: 
                   7087: if test "x$lt_cv_ar_at_file" = xno; then
                   7088:   archiver_list_spec=
                   7089: else
                   7090:   archiver_list_spec=$lt_cv_ar_at_file
                   7091: fi
                   7092: 
                   7093: 
                   7094: 
                   7095: 
                   7096: 
                   7097: 
                   7098: 
                   7099: if test -n "$ac_tool_prefix"; then
                   7100:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   7101: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.150     moko     7102: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7103: $as_echo_n "checking for $ac_word... " >&6; }
                   7104: if ${ac_cv_prog_STRIP+:} false; then :
                   7105:   $as_echo_n "(cached) " >&6
1.128     moko     7106: else
                   7107:   if test -n "$STRIP"; then
                   7108:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   7109: else
                   7110: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7111: for as_dir in $PATH
                   7112: do
                   7113:   IFS=$as_save_IFS
                   7114:   test -z "$as_dir" && as_dir=.
1.150     moko     7115:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7116:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7117:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.150     moko     7118:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7119:     break 2
                   7120:   fi
                   7121: done
1.150     moko     7122:   done
                   7123: IFS=$as_save_IFS
1.128     moko     7124: 
                   7125: fi
                   7126: fi
                   7127: STRIP=$ac_cv_prog_STRIP
                   7128: if test -n "$STRIP"; then
1.150     moko     7129:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   7130: $as_echo "$STRIP" >&6; }
1.128     moko     7131: else
1.150     moko     7132:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7133: $as_echo "no" >&6; }
1.128     moko     7134: fi
                   7135: 
1.150     moko     7136: 
1.128     moko     7137: fi
                   7138: if test -z "$ac_cv_prog_STRIP"; then
                   7139:   ac_ct_STRIP=$STRIP
                   7140:   # Extract the first word of "strip", so it can be a program name with args.
                   7141: set dummy strip; ac_word=$2
1.150     moko     7142: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7143: $as_echo_n "checking for $ac_word... " >&6; }
                   7144: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   7145:   $as_echo_n "(cached) " >&6
1.128     moko     7146: else
                   7147:   if test -n "$ac_ct_STRIP"; then
                   7148:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   7149: else
                   7150: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7151: for as_dir in $PATH
                   7152: do
                   7153:   IFS=$as_save_IFS
                   7154:   test -z "$as_dir" && as_dir=.
1.150     moko     7155:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7156:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7157:     ac_cv_prog_ac_ct_STRIP="strip"
1.150     moko     7158:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7159:     break 2
                   7160:   fi
                   7161: done
1.150     moko     7162:   done
                   7163: IFS=$as_save_IFS
1.128     moko     7164: 
                   7165: fi
                   7166: fi
                   7167: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   7168: if test -n "$ac_ct_STRIP"; then
1.150     moko     7169:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   7170: $as_echo "$ac_ct_STRIP" >&6; }
1.128     moko     7171: else
1.150     moko     7172:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7173: $as_echo "no" >&6; }
1.128     moko     7174: fi
                   7175: 
1.150     moko     7176:   if test "x$ac_ct_STRIP" = x; then
                   7177:     STRIP=":"
                   7178:   else
                   7179:     case $cross_compiling:$ac_tool_warned in
                   7180: yes:)
                   7181: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7182: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7183: ac_tool_warned=yes ;;
                   7184: esac
                   7185:     STRIP=$ac_ct_STRIP
                   7186:   fi
1.128     moko     7187: else
                   7188:   STRIP="$ac_cv_prog_STRIP"
                   7189: fi
                   7190: 
                   7191: test -z "$STRIP" && STRIP=:
                   7192: 
                   7193: 
                   7194: 
                   7195: 
                   7196: 
                   7197: 
                   7198: if test -n "$ac_tool_prefix"; then
                   7199:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   7200: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.150     moko     7201: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7202: $as_echo_n "checking for $ac_word... " >&6; }
                   7203: if ${ac_cv_prog_RANLIB+:} false; then :
                   7204:   $as_echo_n "(cached) " >&6
1.128     moko     7205: else
                   7206:   if test -n "$RANLIB"; then
                   7207:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   7208: else
                   7209: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7210: for as_dir in $PATH
                   7211: do
                   7212:   IFS=$as_save_IFS
                   7213:   test -z "$as_dir" && as_dir=.
1.150     moko     7214:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7215:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7216:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.150     moko     7217:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7218:     break 2
                   7219:   fi
                   7220: done
1.150     moko     7221:   done
                   7222: IFS=$as_save_IFS
1.128     moko     7223: 
                   7224: fi
                   7225: fi
                   7226: RANLIB=$ac_cv_prog_RANLIB
                   7227: if test -n "$RANLIB"; then
1.150     moko     7228:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   7229: $as_echo "$RANLIB" >&6; }
1.128     moko     7230: else
1.150     moko     7231:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7232: $as_echo "no" >&6; }
1.128     moko     7233: fi
                   7234: 
1.150     moko     7235: 
1.128     moko     7236: fi
                   7237: if test -z "$ac_cv_prog_RANLIB"; then
                   7238:   ac_ct_RANLIB=$RANLIB
                   7239:   # Extract the first word of "ranlib", so it can be a program name with args.
                   7240: set dummy ranlib; ac_word=$2
1.150     moko     7241: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7242: $as_echo_n "checking for $ac_word... " >&6; }
                   7243: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   7244:   $as_echo_n "(cached) " >&6
1.128     moko     7245: else
                   7246:   if test -n "$ac_ct_RANLIB"; then
                   7247:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   7248: else
                   7249: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7250: for as_dir in $PATH
                   7251: do
                   7252:   IFS=$as_save_IFS
                   7253:   test -z "$as_dir" && as_dir=.
1.150     moko     7254:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7255:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7256:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.150     moko     7257:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7258:     break 2
                   7259:   fi
                   7260: done
1.150     moko     7261:   done
                   7262: IFS=$as_save_IFS
1.128     moko     7263: 
                   7264: fi
                   7265: fi
                   7266: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   7267: if test -n "$ac_ct_RANLIB"; then
1.150     moko     7268:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   7269: $as_echo "$ac_ct_RANLIB" >&6; }
1.128     moko     7270: else
1.150     moko     7271:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7272: $as_echo "no" >&6; }
1.128     moko     7273: fi
                   7274: 
1.150     moko     7275:   if test "x$ac_ct_RANLIB" = x; then
                   7276:     RANLIB=":"
                   7277:   else
                   7278:     case $cross_compiling:$ac_tool_warned in
                   7279: yes:)
                   7280: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7281: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7282: ac_tool_warned=yes ;;
                   7283: esac
                   7284:     RANLIB=$ac_ct_RANLIB
                   7285:   fi
1.128     moko     7286: else
                   7287:   RANLIB="$ac_cv_prog_RANLIB"
                   7288: fi
                   7289: 
                   7290: test -z "$RANLIB" && RANLIB=:
                   7291: 
                   7292: 
                   7293: 
                   7294: 
                   7295: 
                   7296: 
                   7297: # Determine commands to create old-style static archives.
                   7298: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   7299: old_postinstall_cmds='chmod 644 $oldlib'
                   7300: old_postuninstall_cmds=
                   7301: 
                   7302: if test -n "$RANLIB"; then
                   7303:   case $host_os in
                   7304:   openbsd*)
                   7305:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   7306:     ;;
                   7307:   *)
                   7308:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   7309:     ;;
                   7310:   esac
                   7311:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   7312: fi
                   7313: 
                   7314: case $host_os in
                   7315:   darwin*)
                   7316:     lock_old_archive_extraction=yes ;;
                   7317:   *)
                   7318:     lock_old_archive_extraction=no ;;
                   7319: esac
                   7320: 
                   7321: 
                   7322: 
                   7323: 
                   7324: 
                   7325: 
                   7326: 
                   7327: 
                   7328: 
                   7329: 
                   7330: 
                   7331: 
                   7332: 
                   7333: 
                   7334: 
                   7335: 
                   7336: 
                   7337: 
                   7338: 
                   7339: 
                   7340: 
                   7341: 
                   7342: 
                   7343: 
                   7344: 
                   7345: 
                   7346: 
                   7347: 
                   7348: 
                   7349: 
                   7350: 
                   7351: 
                   7352: 
                   7353: 
                   7354: 
                   7355: 
                   7356: 
                   7357: 
                   7358: 
                   7359: # If no C compiler was specified, use CC.
                   7360: LTCC=${LTCC-"$CC"}
                   7361: 
                   7362: # If no C compiler flags were specified, use CFLAGS.
                   7363: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   7364: 
                   7365: # Allow CC to be a program name with arguments.
                   7366: compiler=$CC
                   7367: 
                   7368: 
                   7369: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.150     moko     7370: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   7371: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   7372: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   7373:   $as_echo_n "(cached) " >&6
1.128     moko     7374: else
                   7375: 
                   7376: # These are sane defaults that work on at least a few old systems.
                   7377: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   7378: 
                   7379: # Character class describing NM global symbol codes.
                   7380: symcode='[BCDEGRST]'
                   7381: 
                   7382: # Regexp to match symbols that can be accessed directly from C.
                   7383: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   7384: 
                   7385: # Define system-specific variables.
                   7386: case $host_os in
                   7387: aix*)
                   7388:   symcode='[BCDT]'
                   7389:   ;;
                   7390: cygwin* | mingw* | pw32* | cegcc*)
                   7391:   symcode='[ABCDGISTW]'
                   7392:   ;;
                   7393: hpux*)
                   7394:   if test "$host_cpu" = ia64; then
                   7395:     symcode='[ABCDEGRST]'
                   7396:   fi
                   7397:   ;;
                   7398: irix* | nonstopux*)
                   7399:   symcode='[BCDEGRST]'
                   7400:   ;;
                   7401: osf*)
                   7402:   symcode='[BCDEGQRST]'
                   7403:   ;;
                   7404: solaris*)
                   7405:   symcode='[BDRT]'
                   7406:   ;;
                   7407: sco3.2v5*)
                   7408:   symcode='[DT]'
                   7409:   ;;
                   7410: sysv4.2uw2*)
                   7411:   symcode='[DT]'
                   7412:   ;;
                   7413: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   7414:   symcode='[ABDT]'
                   7415:   ;;
                   7416: sysv4)
                   7417:   symcode='[DFNSTU]'
                   7418:   ;;
                   7419: esac
                   7420: 
                   7421: # If we're using GNU nm, then use its standard symbol codes.
                   7422: case `$NM -V 2>&1` in
                   7423: *GNU* | *'with BFD'*)
                   7424:   symcode='[ABCDGIRSTW]' ;;
                   7425: esac
                   7426: 
                   7427: # Transform an extracted symbol line into a proper C declaration.
                   7428: # Some systems (esp. on ia64) link data and code symbols differently,
                   7429: # so use this general approach.
                   7430: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   7431: 
                   7432: # Transform an extracted symbol line into symbol name and symbol address
                   7433: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   7434: 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'"
                   7435: 
                   7436: # Handle CRLF in mingw tool chain
                   7437: opt_cr=
                   7438: case $build_os in
                   7439: mingw*)
                   7440:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   7441:   ;;
                   7442: esac
                   7443: 
                   7444: # Try without a prefix underscore, then with it.
                   7445: for ac_symprfx in "" "_"; do
                   7446: 
                   7447:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   7448:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   7449: 
                   7450:   # Write the raw and C identifiers.
                   7451:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7452:     # Fake it for dumpbin and say T for any non-static function
                   7453:     # and D for any global variable.
                   7454:     # Also find C++ and __fastcall symbols from MSVC++,
                   7455:     # which start with @ or ?.
                   7456:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   7457: "     {last_section=section; section=\$ 3};"\
                   7458: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   7459: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   7460: "     \$ 0!~/External *\|/{next};"\
                   7461: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   7462: "     {if(hide[section]) next};"\
                   7463: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   7464: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   7465: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   7466: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   7467: "     ' prfx=^$ac_symprfx"
                   7468:   else
                   7469:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   7470:   fi
                   7471:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   7472: 
                   7473:   # Check to see that the pipe works correctly.
                   7474:   pipe_works=no
                   7475: 
                   7476:   rm -f conftest*
                   7477:   cat > conftest.$ac_ext <<_LT_EOF
                   7478: #ifdef __cplusplus
                   7479: extern "C" {
                   7480: #endif
                   7481: char nm_test_var;
                   7482: void nm_test_func(void);
                   7483: void nm_test_func(void){}
                   7484: #ifdef __cplusplus
                   7485: }
                   7486: #endif
                   7487: int main(){nm_test_var='a';nm_test_func();return(0);}
                   7488: _LT_EOF
                   7489: 
1.150     moko     7490:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7491:   (eval $ac_compile) 2>&5
                   7492:   ac_status=$?
1.150     moko     7493:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7494:   test $ac_status = 0; }; then
1.128     moko     7495:     # Now try to grab the symbols.
                   7496:     nlist=conftest.nm
1.150     moko     7497:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.128     moko     7498:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   7499:   ac_status=$?
1.150     moko     7500:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7501:   test $ac_status = 0; } && test -s "$nlist"; then
1.128     moko     7502:       # Try sorting and uniquifying the output.
                   7503:       if sort "$nlist" | uniq > "$nlist"T; then
                   7504:        mv -f "$nlist"T "$nlist"
                   7505:       else
                   7506:        rm -f "$nlist"T
                   7507:       fi
                   7508: 
                   7509:       # Make sure that we snagged all the symbols we need.
                   7510:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   7511:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   7512:          cat <<_LT_EOF > conftest.$ac_ext
                   7513: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   7514: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   7515: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   7516:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   7517: # define LT_DLSYM_CONST
                   7518: #elif defined(__osf__)
                   7519: /* This system does not cope well with relocations in const data.  */
                   7520: # define LT_DLSYM_CONST
                   7521: #else
                   7522: # define LT_DLSYM_CONST const
                   7523: #endif
                   7524: 
                   7525: #ifdef __cplusplus
                   7526: extern "C" {
                   7527: #endif
                   7528: 
                   7529: _LT_EOF
                   7530:          # Now generate the symbol file.
                   7531:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   7532: 
                   7533:          cat <<_LT_EOF >> conftest.$ac_ext
                   7534: 
                   7535: /* The mapping between symbol names and symbols.  */
                   7536: LT_DLSYM_CONST struct {
                   7537:   const char *name;
                   7538:   void       *address;
                   7539: }
                   7540: lt__PROGRAM__LTX_preloaded_symbols[] =
                   7541: {
                   7542:   { "@PROGRAM@", (void *) 0 },
                   7543: _LT_EOF
                   7544:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   7545:          cat <<\_LT_EOF >> conftest.$ac_ext
                   7546:   {0, (void *) 0}
                   7547: };
                   7548: 
                   7549: /* This works around a problem in FreeBSD linker */
                   7550: #ifdef FREEBSD_WORKAROUND
                   7551: static const void *lt_preloaded_setup() {
                   7552:   return lt__PROGRAM__LTX_preloaded_symbols;
                   7553: }
                   7554: #endif
                   7555: 
                   7556: #ifdef __cplusplus
                   7557: }
                   7558: #endif
                   7559: _LT_EOF
                   7560:          # Now try linking the two files.
                   7561:          mv conftest.$ac_objext conftstm.$ac_objext
                   7562:          lt_globsym_save_LIBS=$LIBS
                   7563:          lt_globsym_save_CFLAGS=$CFLAGS
                   7564:          LIBS="conftstm.$ac_objext"
                   7565:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150     moko     7566:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     7567:   (eval $ac_link) 2>&5
                   7568:   ac_status=$?
1.150     moko     7569:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7570:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.128     moko     7571:            pipe_works=yes
                   7572:          fi
                   7573:          LIBS=$lt_globsym_save_LIBS
                   7574:          CFLAGS=$lt_globsym_save_CFLAGS
                   7575:        else
                   7576:          echo "cannot find nm_test_func in $nlist" >&5
                   7577:        fi
                   7578:       else
                   7579:        echo "cannot find nm_test_var in $nlist" >&5
                   7580:       fi
                   7581:     else
                   7582:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   7583:     fi
                   7584:   else
                   7585:     echo "$progname: failed program was:" >&5
                   7586:     cat conftest.$ac_ext >&5
                   7587:   fi
                   7588:   rm -rf conftest* conftst*
                   7589: 
                   7590:   # Do not use the global_symbol_pipe unless it works.
                   7591:   if test "$pipe_works" = yes; then
                   7592:     break
                   7593:   else
                   7594:     lt_cv_sys_global_symbol_pipe=
                   7595:   fi
                   7596: done
                   7597: 
                   7598: fi
                   7599: 
                   7600: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   7601:   lt_cv_sys_global_symbol_to_cdecl=
                   7602: fi
                   7603: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.150     moko     7604:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   7605: $as_echo "failed" >&6; }
1.128     moko     7606: else
1.150     moko     7607:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   7608: $as_echo "ok" >&6; }
1.128     moko     7609: fi
                   7610: 
                   7611: # Response file support.
                   7612: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7613:   nm_file_list_spec='@'
                   7614: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   7615:   nm_file_list_spec='@'
                   7616: fi
                   7617: 
                   7618: 
                   7619: 
                   7620: 
                   7621: 
                   7622: 
                   7623: 
                   7624: 
                   7625: 
                   7626: 
                   7627: 
                   7628: 
                   7629: 
                   7630: 
                   7631: 
                   7632: 
                   7633: 
                   7634: 
                   7635: 
                   7636: 
                   7637: 
                   7638: 
                   7639: 
                   7640: 
                   7641: 
                   7642: 
                   7643: 
1.150     moko     7644: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   7645: $as_echo_n "checking for sysroot... " >&6; }
1.128     moko     7646: 
1.150     moko     7647: # Check whether --with-sysroot was given.
                   7648: if test "${with_sysroot+set}" = set; then :
                   7649:   withval=$with_sysroot;
1.128     moko     7650: else
                   7651:   with_sysroot=no
1.150     moko     7652: fi
                   7653: 
1.128     moko     7654: 
                   7655: lt_sysroot=
                   7656: case ${with_sysroot} in #(
                   7657:  yes)
                   7658:    if test "$GCC" = yes; then
                   7659:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   7660:    fi
                   7661:    ;; #(
                   7662:  /*)
                   7663:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   7664:    ;; #(
                   7665:  no|'')
                   7666:    ;; #(
                   7667:  *)
1.150     moko     7668:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   7669: $as_echo "${with_sysroot}" >&6; }
                   7670:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     7671:    ;;
                   7672: esac
                   7673: 
1.150     moko     7674:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   7675: $as_echo "${lt_sysroot:-no}" >&6; }
1.128     moko     7676: 
                   7677: 
                   7678: 
                   7679: 
                   7680: 
1.150     moko     7681: # Check whether --enable-libtool-lock was given.
                   7682: if test "${enable_libtool_lock+set}" = set; then :
                   7683:   enableval=$enable_libtool_lock;
                   7684: fi
1.128     moko     7685: 
                   7686: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   7687: 
                   7688: # Some flags need to be propagated to the compiler or linker for good
                   7689: # libtool support.
                   7690: case $host in
                   7691: ia64-*-hpux*)
                   7692:   # Find out which ABI we are using.
                   7693:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7694:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7695:   (eval $ac_compile) 2>&5
                   7696:   ac_status=$?
1.150     moko     7697:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7698:   test $ac_status = 0; }; then
1.128     moko     7699:     case `/usr/bin/file conftest.$ac_objext` in
                   7700:       *ELF-32*)
                   7701:        HPUX_IA64_MODE="32"
                   7702:        ;;
                   7703:       *ELF-64*)
                   7704:        HPUX_IA64_MODE="64"
                   7705:        ;;
                   7706:     esac
                   7707:   fi
                   7708:   rm -rf conftest*
                   7709:   ;;
                   7710: *-*-irix6*)
                   7711:   # Find out which ABI we are using.
                   7712:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150     moko     7713:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7714:   (eval $ac_compile) 2>&5
                   7715:   ac_status=$?
1.150     moko     7716:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7717:   test $ac_status = 0; }; then
1.128     moko     7718:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   7719:       case `/usr/bin/file conftest.$ac_objext` in
                   7720:        *32-bit*)
                   7721:          LD="${LD-ld} -melf32bsmip"
                   7722:          ;;
                   7723:        *N32*)
                   7724:          LD="${LD-ld} -melf32bmipn32"
                   7725:          ;;
                   7726:        *64-bit*)
                   7727:          LD="${LD-ld} -melf64bmip"
                   7728:        ;;
                   7729:       esac
                   7730:     else
                   7731:       case `/usr/bin/file conftest.$ac_objext` in
                   7732:        *32-bit*)
                   7733:          LD="${LD-ld} -32"
                   7734:          ;;
                   7735:        *N32*)
                   7736:          LD="${LD-ld} -n32"
                   7737:          ;;
                   7738:        *64-bit*)
                   7739:          LD="${LD-ld} -64"
                   7740:          ;;
                   7741:       esac
                   7742:     fi
                   7743:   fi
                   7744:   rm -rf conftest*
                   7745:   ;;
                   7746: 
                   7747: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   7748: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   7749:   # Find out which ABI we are using.
                   7750:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7751:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7752:   (eval $ac_compile) 2>&5
                   7753:   ac_status=$?
1.150     moko     7754:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7755:   test $ac_status = 0; }; then
1.128     moko     7756:     case `/usr/bin/file conftest.o` in
                   7757:       *32-bit*)
                   7758:        case $host in
                   7759:          x86_64-*kfreebsd*-gnu)
                   7760:            LD="${LD-ld} -m elf_i386_fbsd"
                   7761:            ;;
                   7762:          x86_64-*linux*)
                   7763:            LD="${LD-ld} -m elf_i386"
                   7764:            ;;
                   7765:          ppc64-*linux*|powerpc64-*linux*)
                   7766:            LD="${LD-ld} -m elf32ppclinux"
                   7767:            ;;
                   7768:          s390x-*linux*)
                   7769:            LD="${LD-ld} -m elf_s390"
                   7770:            ;;
                   7771:          sparc64-*linux*)
                   7772:            LD="${LD-ld} -m elf32_sparc"
                   7773:            ;;
                   7774:        esac
                   7775:        ;;
                   7776:       *64-bit*)
                   7777:        case $host in
                   7778:          x86_64-*kfreebsd*-gnu)
                   7779:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7780:            ;;
                   7781:          x86_64-*linux*)
                   7782:            LD="${LD-ld} -m elf_x86_64"
                   7783:            ;;
                   7784:          ppc*-*linux*|powerpc*-*linux*)
                   7785:            LD="${LD-ld} -m elf64ppc"
                   7786:            ;;
                   7787:          s390*-*linux*|s390*-*tpf*)
                   7788:            LD="${LD-ld} -m elf64_s390"
                   7789:            ;;
                   7790:          sparc*-*linux*)
                   7791:            LD="${LD-ld} -m elf64_sparc"
                   7792:            ;;
                   7793:        esac
                   7794:        ;;
                   7795:     esac
                   7796:   fi
                   7797:   rm -rf conftest*
                   7798:   ;;
                   7799: 
                   7800: *-*-sco3.2v5*)
                   7801:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   7802:   SAVE_CFLAGS="$CFLAGS"
                   7803:   CFLAGS="$CFLAGS -belf"
1.150     moko     7804:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   7805: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   7806: if ${lt_cv_cc_needs_belf+:} false; then :
                   7807:   $as_echo_n "(cached) " >&6
1.128     moko     7808: else
                   7809:   ac_ext=c
                   7810: ac_cpp='$CPP $CPPFLAGS'
                   7811: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7812: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7813: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7814: 
1.150     moko     7815:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7816: /* end confdefs.h.  */
                   7817: 
                   7818: int
                   7819: main ()
                   7820: {
                   7821: 
                   7822:   ;
                   7823:   return 0;
                   7824: }
                   7825: _ACEOF
1.150     moko     7826: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     7827:   lt_cv_cc_needs_belf=yes
                   7828: else
1.150     moko     7829:   lt_cv_cc_needs_belf=no
1.128     moko     7830: fi
1.150     moko     7831: rm -f core conftest.err conftest.$ac_objext \
                   7832:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     7833:      ac_ext=c
                   7834: ac_cpp='$CPP $CPPFLAGS'
                   7835: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7836: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7837: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7838: 
                   7839: fi
1.150     moko     7840: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   7841: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.128     moko     7842:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   7843:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   7844:     CFLAGS="$SAVE_CFLAGS"
                   7845:   fi
                   7846:   ;;
                   7847: *-*solaris*)
                   7848:   # Find out which ABI we are using.
                   7849:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7850:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7851:   (eval $ac_compile) 2>&5
                   7852:   ac_status=$?
1.150     moko     7853:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7854:   test $ac_status = 0; }; then
1.128     moko     7855:     case `/usr/bin/file conftest.o` in
                   7856:     *64-bit*)
                   7857:       case $lt_cv_prog_gnu_ld in
                   7858:       yes*)
                   7859:         case $host in
                   7860:         i?86-*-solaris*)
                   7861:           LD="${LD-ld} -m elf_x86_64"
                   7862:           ;;
                   7863:         sparc*-*-solaris*)
                   7864:           LD="${LD-ld} -m elf64_sparc"
                   7865:           ;;
                   7866:         esac
                   7867:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   7868:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   7869:           LD="${LD-ld}_sol2"
                   7870:         fi
                   7871:         ;;
                   7872:       *)
                   7873:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   7874:          LD="${LD-ld} -64"
                   7875:        fi
                   7876:        ;;
                   7877:       esac
                   7878:       ;;
                   7879:     esac
                   7880:   fi
                   7881:   rm -rf conftest*
                   7882:   ;;
                   7883: esac
                   7884: 
                   7885: need_locks="$enable_libtool_lock"
                   7886: 
                   7887: if test -n "$ac_tool_prefix"; then
                   7888:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   7889: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.150     moko     7890: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7891: $as_echo_n "checking for $ac_word... " >&6; }
                   7892: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   7893:   $as_echo_n "(cached) " >&6
1.128     moko     7894: else
                   7895:   if test -n "$MANIFEST_TOOL"; then
                   7896:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   7897: else
                   7898: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7899: for as_dir in $PATH
                   7900: do
                   7901:   IFS=$as_save_IFS
                   7902:   test -z "$as_dir" && as_dir=.
1.150     moko     7903:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7904:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7905:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.150     moko     7906:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7907:     break 2
                   7908:   fi
                   7909: done
1.150     moko     7910:   done
                   7911: IFS=$as_save_IFS
1.128     moko     7912: 
                   7913: fi
                   7914: fi
                   7915: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   7916: if test -n "$MANIFEST_TOOL"; then
1.150     moko     7917:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   7918: $as_echo "$MANIFEST_TOOL" >&6; }
1.128     moko     7919: else
1.150     moko     7920:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7921: $as_echo "no" >&6; }
1.128     moko     7922: fi
                   7923: 
1.150     moko     7924: 
1.128     moko     7925: fi
                   7926: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   7927:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   7928:   # Extract the first word of "mt", so it can be a program name with args.
                   7929: set dummy mt; ac_word=$2
1.150     moko     7930: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7931: $as_echo_n "checking for $ac_word... " >&6; }
                   7932: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   7933:   $as_echo_n "(cached) " >&6
1.128     moko     7934: else
                   7935:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   7936:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   7937: else
                   7938: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7939: for as_dir in $PATH
                   7940: do
                   7941:   IFS=$as_save_IFS
                   7942:   test -z "$as_dir" && as_dir=.
1.150     moko     7943:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7944:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7945:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.150     moko     7946:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7947:     break 2
                   7948:   fi
                   7949: done
1.150     moko     7950:   done
                   7951: IFS=$as_save_IFS
1.128     moko     7952: 
                   7953: fi
                   7954: fi
                   7955: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   7956: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.150     moko     7957:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   7958: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     7959: else
1.150     moko     7960:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7961: $as_echo "no" >&6; }
1.128     moko     7962: fi
                   7963: 
1.150     moko     7964:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7965:     MANIFEST_TOOL=":"
                   7966:   else
                   7967:     case $cross_compiling:$ac_tool_warned in
                   7968: yes:)
                   7969: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7970: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7971: ac_tool_warned=yes ;;
                   7972: esac
                   7973:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7974:   fi
1.128     moko     7975: else
                   7976:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7977: fi
                   7978: 
                   7979: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.150     moko     7980: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   7981: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   7982: if ${lt_cv_path_mainfest_tool+:} false; then :
                   7983:   $as_echo_n "(cached) " >&6
1.128     moko     7984: else
                   7985:   lt_cv_path_mainfest_tool=no
                   7986:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7987:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7988:   cat conftest.err >&5
                   7989:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7990:     lt_cv_path_mainfest_tool=yes
                   7991:   fi
                   7992:   rm -f conftest*
                   7993: fi
1.150     moko     7994: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   7995: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.128     moko     7996: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   7997:   MANIFEST_TOOL=:
                   7998: fi
                   7999: 
                   8000: 
                   8001: 
                   8002: 
                   8003: 
                   8004: 
                   8005:   case $host_os in
                   8006:     rhapsody* | darwin*)
                   8007:     if test -n "$ac_tool_prefix"; then
                   8008:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   8009: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.150     moko     8010: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8011: $as_echo_n "checking for $ac_word... " >&6; }
                   8012: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   8013:   $as_echo_n "(cached) " >&6
1.128     moko     8014: else
                   8015:   if test -n "$DSYMUTIL"; then
                   8016:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   8017: else
                   8018: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8019: for as_dir in $PATH
                   8020: do
                   8021:   IFS=$as_save_IFS
                   8022:   test -z "$as_dir" && as_dir=.
1.150     moko     8023:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8024:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8025:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.150     moko     8026:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8027:     break 2
                   8028:   fi
                   8029: done
1.150     moko     8030:   done
                   8031: IFS=$as_save_IFS
1.128     moko     8032: 
                   8033: fi
                   8034: fi
                   8035: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   8036: if test -n "$DSYMUTIL"; then
1.150     moko     8037:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   8038: $as_echo "$DSYMUTIL" >&6; }
1.128     moko     8039: else
1.150     moko     8040:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8041: $as_echo "no" >&6; }
1.128     moko     8042: fi
                   8043: 
1.150     moko     8044: 
1.128     moko     8045: fi
                   8046: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   8047:   ac_ct_DSYMUTIL=$DSYMUTIL
                   8048:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   8049: set dummy dsymutil; ac_word=$2
1.150     moko     8050: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8051: $as_echo_n "checking for $ac_word... " >&6; }
                   8052: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   8053:   $as_echo_n "(cached) " >&6
1.128     moko     8054: else
                   8055:   if test -n "$ac_ct_DSYMUTIL"; then
                   8056:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   8057: else
                   8058: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8059: for as_dir in $PATH
                   8060: do
                   8061:   IFS=$as_save_IFS
                   8062:   test -z "$as_dir" && as_dir=.
1.150     moko     8063:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8064:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8065:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.150     moko     8066:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8067:     break 2
                   8068:   fi
                   8069: done
1.150     moko     8070:   done
                   8071: IFS=$as_save_IFS
1.128     moko     8072: 
                   8073: fi
                   8074: fi
                   8075: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   8076: if test -n "$ac_ct_DSYMUTIL"; then
1.150     moko     8077:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   8078: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     8079: else
1.150     moko     8080:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8081: $as_echo "no" >&6; }
1.128     moko     8082: fi
                   8083: 
1.150     moko     8084:   if test "x$ac_ct_DSYMUTIL" = x; then
                   8085:     DSYMUTIL=":"
                   8086:   else
                   8087:     case $cross_compiling:$ac_tool_warned in
                   8088: yes:)
                   8089: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8090: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8091: ac_tool_warned=yes ;;
                   8092: esac
                   8093:     DSYMUTIL=$ac_ct_DSYMUTIL
                   8094:   fi
1.128     moko     8095: else
                   8096:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   8097: fi
                   8098: 
                   8099:     if test -n "$ac_tool_prefix"; then
                   8100:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   8101: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.150     moko     8102: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8103: $as_echo_n "checking for $ac_word... " >&6; }
                   8104: if ${ac_cv_prog_NMEDIT+:} false; then :
                   8105:   $as_echo_n "(cached) " >&6
1.128     moko     8106: else
                   8107:   if test -n "$NMEDIT"; then
                   8108:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   8109: else
                   8110: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8111: for as_dir in $PATH
                   8112: do
                   8113:   IFS=$as_save_IFS
                   8114:   test -z "$as_dir" && as_dir=.
1.150     moko     8115:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8116:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8117:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.150     moko     8118:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8119:     break 2
                   8120:   fi
                   8121: done
1.150     moko     8122:   done
                   8123: IFS=$as_save_IFS
1.128     moko     8124: 
                   8125: fi
                   8126: fi
                   8127: NMEDIT=$ac_cv_prog_NMEDIT
                   8128: if test -n "$NMEDIT"; then
1.150     moko     8129:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   8130: $as_echo "$NMEDIT" >&6; }
1.128     moko     8131: else
1.150     moko     8132:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8133: $as_echo "no" >&6; }
1.128     moko     8134: fi
                   8135: 
1.150     moko     8136: 
1.128     moko     8137: fi
                   8138: if test -z "$ac_cv_prog_NMEDIT"; then
                   8139:   ac_ct_NMEDIT=$NMEDIT
                   8140:   # Extract the first word of "nmedit", so it can be a program name with args.
                   8141: set dummy nmedit; ac_word=$2
1.150     moko     8142: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8143: $as_echo_n "checking for $ac_word... " >&6; }
                   8144: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   8145:   $as_echo_n "(cached) " >&6
1.128     moko     8146: else
                   8147:   if test -n "$ac_ct_NMEDIT"; then
                   8148:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   8149: else
                   8150: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8151: for as_dir in $PATH
                   8152: do
                   8153:   IFS=$as_save_IFS
                   8154:   test -z "$as_dir" && as_dir=.
1.150     moko     8155:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8156:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8157:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.150     moko     8158:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8159:     break 2
                   8160:   fi
                   8161: done
1.150     moko     8162:   done
                   8163: IFS=$as_save_IFS
1.128     moko     8164: 
                   8165: fi
                   8166: fi
                   8167: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   8168: if test -n "$ac_ct_NMEDIT"; then
1.150     moko     8169:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   8170: $as_echo "$ac_ct_NMEDIT" >&6; }
1.128     moko     8171: else
1.150     moko     8172:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8173: $as_echo "no" >&6; }
1.128     moko     8174: fi
                   8175: 
1.150     moko     8176:   if test "x$ac_ct_NMEDIT" = x; then
                   8177:     NMEDIT=":"
                   8178:   else
                   8179:     case $cross_compiling:$ac_tool_warned in
                   8180: yes:)
                   8181: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8182: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8183: ac_tool_warned=yes ;;
                   8184: esac
                   8185:     NMEDIT=$ac_ct_NMEDIT
                   8186:   fi
1.128     moko     8187: else
                   8188:   NMEDIT="$ac_cv_prog_NMEDIT"
                   8189: fi
                   8190: 
                   8191:     if test -n "$ac_tool_prefix"; then
                   8192:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   8193: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.150     moko     8194: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8195: $as_echo_n "checking for $ac_word... " >&6; }
                   8196: if ${ac_cv_prog_LIPO+:} false; then :
                   8197:   $as_echo_n "(cached) " >&6
1.128     moko     8198: else
                   8199:   if test -n "$LIPO"; then
                   8200:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   8201: else
                   8202: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8203: for as_dir in $PATH
                   8204: do
                   8205:   IFS=$as_save_IFS
                   8206:   test -z "$as_dir" && as_dir=.
1.150     moko     8207:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8208:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8209:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.150     moko     8210:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8211:     break 2
                   8212:   fi
                   8213: done
1.150     moko     8214:   done
                   8215: IFS=$as_save_IFS
1.128     moko     8216: 
                   8217: fi
                   8218: fi
                   8219: LIPO=$ac_cv_prog_LIPO
                   8220: if test -n "$LIPO"; then
1.150     moko     8221:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   8222: $as_echo "$LIPO" >&6; }
1.128     moko     8223: else
1.150     moko     8224:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8225: $as_echo "no" >&6; }
1.128     moko     8226: fi
                   8227: 
1.150     moko     8228: 
1.128     moko     8229: fi
                   8230: if test -z "$ac_cv_prog_LIPO"; then
                   8231:   ac_ct_LIPO=$LIPO
                   8232:   # Extract the first word of "lipo", so it can be a program name with args.
                   8233: set dummy lipo; ac_word=$2
1.150     moko     8234: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8235: $as_echo_n "checking for $ac_word... " >&6; }
                   8236: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   8237:   $as_echo_n "(cached) " >&6
1.128     moko     8238: else
                   8239:   if test -n "$ac_ct_LIPO"; then
                   8240:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   8241: else
                   8242: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8243: for as_dir in $PATH
                   8244: do
                   8245:   IFS=$as_save_IFS
                   8246:   test -z "$as_dir" && as_dir=.
1.150     moko     8247:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8248:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8249:     ac_cv_prog_ac_ct_LIPO="lipo"
1.150     moko     8250:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8251:     break 2
                   8252:   fi
                   8253: done
1.150     moko     8254:   done
                   8255: IFS=$as_save_IFS
1.128     moko     8256: 
                   8257: fi
                   8258: fi
                   8259: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   8260: if test -n "$ac_ct_LIPO"; then
1.150     moko     8261:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   8262: $as_echo "$ac_ct_LIPO" >&6; }
1.128     moko     8263: else
1.150     moko     8264:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8265: $as_echo "no" >&6; }
1.128     moko     8266: fi
                   8267: 
1.150     moko     8268:   if test "x$ac_ct_LIPO" = x; then
                   8269:     LIPO=":"
                   8270:   else
                   8271:     case $cross_compiling:$ac_tool_warned in
                   8272: yes:)
                   8273: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8274: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8275: ac_tool_warned=yes ;;
                   8276: esac
                   8277:     LIPO=$ac_ct_LIPO
                   8278:   fi
1.128     moko     8279: else
                   8280:   LIPO="$ac_cv_prog_LIPO"
                   8281: fi
                   8282: 
                   8283:     if test -n "$ac_tool_prefix"; then
                   8284:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   8285: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.150     moko     8286: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8287: $as_echo_n "checking for $ac_word... " >&6; }
                   8288: if ${ac_cv_prog_OTOOL+:} false; then :
                   8289:   $as_echo_n "(cached) " >&6
1.128     moko     8290: else
                   8291:   if test -n "$OTOOL"; then
                   8292:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   8293: else
                   8294: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8295: for as_dir in $PATH
                   8296: do
                   8297:   IFS=$as_save_IFS
                   8298:   test -z "$as_dir" && as_dir=.
1.150     moko     8299:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8300:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8301:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.150     moko     8302:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8303:     break 2
                   8304:   fi
                   8305: done
1.150     moko     8306:   done
                   8307: IFS=$as_save_IFS
1.128     moko     8308: 
                   8309: fi
                   8310: fi
                   8311: OTOOL=$ac_cv_prog_OTOOL
                   8312: if test -n "$OTOOL"; then
1.150     moko     8313:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   8314: $as_echo "$OTOOL" >&6; }
1.128     moko     8315: else
1.150     moko     8316:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8317: $as_echo "no" >&6; }
1.128     moko     8318: fi
                   8319: 
1.150     moko     8320: 
1.128     moko     8321: fi
                   8322: if test -z "$ac_cv_prog_OTOOL"; then
                   8323:   ac_ct_OTOOL=$OTOOL
                   8324:   # Extract the first word of "otool", so it can be a program name with args.
                   8325: set dummy otool; ac_word=$2
1.150     moko     8326: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8327: $as_echo_n "checking for $ac_word... " >&6; }
                   8328: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   8329:   $as_echo_n "(cached) " >&6
1.128     moko     8330: else
                   8331:   if test -n "$ac_ct_OTOOL"; then
                   8332:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   8333: else
                   8334: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8335: for as_dir in $PATH
                   8336: do
                   8337:   IFS=$as_save_IFS
                   8338:   test -z "$as_dir" && as_dir=.
1.150     moko     8339:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8340:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8341:     ac_cv_prog_ac_ct_OTOOL="otool"
1.150     moko     8342:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8343:     break 2
                   8344:   fi
                   8345: done
1.150     moko     8346:   done
                   8347: IFS=$as_save_IFS
1.128     moko     8348: 
                   8349: fi
                   8350: fi
                   8351: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   8352: if test -n "$ac_ct_OTOOL"; then
1.150     moko     8353:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   8354: $as_echo "$ac_ct_OTOOL" >&6; }
1.128     moko     8355: else
1.150     moko     8356:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8357: $as_echo "no" >&6; }
1.128     moko     8358: fi
                   8359: 
1.150     moko     8360:   if test "x$ac_ct_OTOOL" = x; then
                   8361:     OTOOL=":"
                   8362:   else
                   8363:     case $cross_compiling:$ac_tool_warned in
                   8364: yes:)
                   8365: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8366: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8367: ac_tool_warned=yes ;;
                   8368: esac
                   8369:     OTOOL=$ac_ct_OTOOL
                   8370:   fi
1.128     moko     8371: else
                   8372:   OTOOL="$ac_cv_prog_OTOOL"
                   8373: fi
                   8374: 
                   8375:     if test -n "$ac_tool_prefix"; then
                   8376:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   8377: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.150     moko     8378: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8379: $as_echo_n "checking for $ac_word... " >&6; }
                   8380: if ${ac_cv_prog_OTOOL64+:} false; then :
                   8381:   $as_echo_n "(cached) " >&6
1.128     moko     8382: else
                   8383:   if test -n "$OTOOL64"; then
                   8384:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   8385: else
                   8386: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8387: for as_dir in $PATH
                   8388: do
                   8389:   IFS=$as_save_IFS
                   8390:   test -z "$as_dir" && as_dir=.
1.150     moko     8391:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8392:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8393:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.150     moko     8394:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8395:     break 2
                   8396:   fi
                   8397: done
1.150     moko     8398:   done
                   8399: IFS=$as_save_IFS
1.128     moko     8400: 
                   8401: fi
                   8402: fi
                   8403: OTOOL64=$ac_cv_prog_OTOOL64
                   8404: if test -n "$OTOOL64"; then
1.150     moko     8405:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   8406: $as_echo "$OTOOL64" >&6; }
1.128     moko     8407: else
1.150     moko     8408:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8409: $as_echo "no" >&6; }
1.128     moko     8410: fi
                   8411: 
1.150     moko     8412: 
1.128     moko     8413: fi
                   8414: if test -z "$ac_cv_prog_OTOOL64"; then
                   8415:   ac_ct_OTOOL64=$OTOOL64
                   8416:   # Extract the first word of "otool64", so it can be a program name with args.
                   8417: set dummy otool64; ac_word=$2
1.150     moko     8418: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8419: $as_echo_n "checking for $ac_word... " >&6; }
                   8420: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   8421:   $as_echo_n "(cached) " >&6
1.128     moko     8422: else
                   8423:   if test -n "$ac_ct_OTOOL64"; then
                   8424:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   8425: else
                   8426: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8427: for as_dir in $PATH
                   8428: do
                   8429:   IFS=$as_save_IFS
                   8430:   test -z "$as_dir" && as_dir=.
1.150     moko     8431:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8432:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8433:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.150     moko     8434:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8435:     break 2
                   8436:   fi
                   8437: done
1.150     moko     8438:   done
                   8439: IFS=$as_save_IFS
1.128     moko     8440: 
                   8441: fi
                   8442: fi
                   8443: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   8444: if test -n "$ac_ct_OTOOL64"; then
1.150     moko     8445:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   8446: $as_echo "$ac_ct_OTOOL64" >&6; }
1.128     moko     8447: else
1.150     moko     8448:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8449: $as_echo "no" >&6; }
1.128     moko     8450: fi
                   8451: 
1.150     moko     8452:   if test "x$ac_ct_OTOOL64" = x; then
                   8453:     OTOOL64=":"
                   8454:   else
                   8455:     case $cross_compiling:$ac_tool_warned in
                   8456: yes:)
                   8457: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8458: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8459: ac_tool_warned=yes ;;
                   8460: esac
                   8461:     OTOOL64=$ac_ct_OTOOL64
                   8462:   fi
1.128     moko     8463: else
                   8464:   OTOOL64="$ac_cv_prog_OTOOL64"
                   8465: fi
                   8466: 
                   8467: 
                   8468: 
                   8469: 
                   8470: 
                   8471: 
                   8472: 
                   8473: 
                   8474: 
                   8475: 
                   8476: 
                   8477: 
                   8478: 
                   8479: 
                   8480: 
                   8481: 
                   8482: 
                   8483: 
                   8484: 
                   8485: 
                   8486: 
                   8487: 
                   8488: 
                   8489: 
                   8490: 
                   8491: 
                   8492: 
1.150     moko     8493:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   8494: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   8495: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   8496:   $as_echo_n "(cached) " >&6
1.128     moko     8497: else
                   8498:   lt_cv_apple_cc_single_mod=no
                   8499:       if test -z "${LT_MULTI_MODULE}"; then
                   8500:        # By default we will add the -single_module flag. You can override
                   8501:        # by either setting the environment variable LT_MULTI_MODULE
                   8502:        # non-empty at configure time, or by adding -multi_module to the
                   8503:        # link flags.
                   8504:        rm -rf libconftest.dylib*
                   8505:        echo "int foo(void){return 1;}" > conftest.c
                   8506:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8507: -dynamiclib -Wl,-single_module conftest.c" >&5
                   8508:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8509:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   8510:         _lt_result=$?
                   8511:        # If there is a non-empty error log, and "single_module"
                   8512:        # appears in it, assume the flag caused a linker warning
                   8513:         if test -s conftest.err && $GREP single_module conftest.err; then
                   8514:          cat conftest.err >&5
                   8515:        # Otherwise, if the output was created with a 0 exit code from
                   8516:        # the compiler, it worked.
                   8517:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   8518:          lt_cv_apple_cc_single_mod=yes
                   8519:        else
                   8520:          cat conftest.err >&5
                   8521:        fi
                   8522:        rm -rf libconftest.dylib*
                   8523:        rm -f conftest.*
                   8524:       fi
                   8525: fi
1.150     moko     8526: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   8527: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.128     moko     8528: 
1.150     moko     8529:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   8530: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   8531: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   8532:   $as_echo_n "(cached) " >&6
1.128     moko     8533: else
                   8534:   lt_cv_ld_exported_symbols_list=no
                   8535:       save_LDFLAGS=$LDFLAGS
                   8536:       echo "_main" > conftest.sym
                   8537:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150     moko     8538:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8539: /* end confdefs.h.  */
                   8540: 
                   8541: int
                   8542: main ()
                   8543: {
                   8544: 
                   8545:   ;
                   8546:   return 0;
                   8547: }
                   8548: _ACEOF
1.150     moko     8549: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     8550:   lt_cv_ld_exported_symbols_list=yes
                   8551: else
1.150     moko     8552:   lt_cv_ld_exported_symbols_list=no
1.128     moko     8553: fi
1.150     moko     8554: rm -f core conftest.err conftest.$ac_objext \
                   8555:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     8556:        LDFLAGS="$save_LDFLAGS"
                   8557: 
                   8558: fi
1.150     moko     8559: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   8560: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     8561: 
1.150     moko     8562:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   8563: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   8564: if ${lt_cv_ld_force_load+:} false; then :
                   8565:   $as_echo_n "(cached) " >&6
1.128     moko     8566: else
                   8567:   lt_cv_ld_force_load=no
                   8568:       cat > conftest.c << _LT_EOF
                   8569: int forced_loaded() { return 2;}
                   8570: _LT_EOF
                   8571:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   8572:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   8573:       echo "$AR cru libconftest.a conftest.o" >&5
                   8574:       $AR cru libconftest.a conftest.o 2>&5
                   8575:       echo "$RANLIB libconftest.a" >&5
                   8576:       $RANLIB libconftest.a 2>&5
                   8577:       cat > conftest.c << _LT_EOF
                   8578: int main() { return 0;}
                   8579: _LT_EOF
                   8580:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   8581:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   8582:       _lt_result=$?
                   8583:       if test -s conftest.err && $GREP force_load conftest.err; then
                   8584:        cat conftest.err >&5
                   8585:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   8586:        lt_cv_ld_force_load=yes
                   8587:       else
                   8588:        cat conftest.err >&5
                   8589:       fi
                   8590:         rm -f conftest.err libconftest.a conftest conftest.c
                   8591:         rm -rf conftest.dSYM
                   8592: 
                   8593: fi
1.150     moko     8594: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   8595: $as_echo "$lt_cv_ld_force_load" >&6; }
1.128     moko     8596:     case $host_os in
                   8597:     rhapsody* | darwin1.[012])
                   8598:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   8599:     darwin1.*)
                   8600:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8601:     darwin*) # darwin 5.x on
                   8602:       # if running on 10.5 or later, the deployment target defaults
                   8603:       # to the OS version, if on x86, and 10.4, the deployment
                   8604:       # target defaults to 10.4. Don't you love it?
                   8605:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   8606:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   8607:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8608:        10.[012]*)
                   8609:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8610:        10.*)
                   8611:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8612:       esac
                   8613:     ;;
                   8614:   esac
                   8615:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   8616:       _lt_dar_single_mod='$single_module'
                   8617:     fi
                   8618:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   8619:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   8620:     else
                   8621:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   8622:     fi
                   8623:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   8624:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   8625:     else
                   8626:       _lt_dsymutil=
                   8627:     fi
                   8628:     ;;
                   8629:   esac
                   8630: 
                   8631: ac_ext=c
                   8632: ac_cpp='$CPP $CPPFLAGS'
                   8633: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8634: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8635: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.150     moko     8636: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   8637: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.128     moko     8638: # On Suns, sometimes $CPP names a directory.
                   8639: if test -n "$CPP" && test -d "$CPP"; then
                   8640:   CPP=
                   8641: fi
                   8642: if test -z "$CPP"; then
1.150     moko     8643:   if ${ac_cv_prog_CPP+:} false; then :
                   8644:   $as_echo_n "(cached) " >&6
1.128     moko     8645: else
                   8646:       # Double quotes because CPP needs to be expanded
                   8647:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   8648:     do
                   8649:       ac_preproc_ok=false
                   8650: for ac_c_preproc_warn_flag in '' yes
                   8651: do
                   8652:   # Use a header file that comes with gcc, so configuring glibc
                   8653:   # with a fresh cross-compiler works.
                   8654:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8655:   # <limits.h> exists even on freestanding compilers.
                   8656:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8657:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8658:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8659: /* end confdefs.h.  */
                   8660: #ifdef __STDC__
                   8661: # include <limits.h>
                   8662: #else
                   8663: # include <assert.h>
                   8664: #endif
                   8665:                     Syntax error
                   8666: _ACEOF
1.150     moko     8667: if ac_fn_c_try_cpp "$LINENO"; then :
                   8668: 
1.128     moko     8669: else
                   8670:   # Broken: fails on valid input.
                   8671: continue
                   8672: fi
1.150     moko     8673: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8674: 
1.150     moko     8675:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8676:   # can be detected and how.
1.150     moko     8677:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8678: /* end confdefs.h.  */
                   8679: #include <ac_nonexistent.h>
                   8680: _ACEOF
1.150     moko     8681: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8682:   # Broken: success on invalid input.
                   8683: continue
                   8684: else
                   8685:   # Passes both tests.
                   8686: ac_preproc_ok=:
                   8687: break
                   8688: fi
1.150     moko     8689: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8690: 
                   8691: done
                   8692: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8693: rm -f conftest.i conftest.err conftest.$ac_ext
                   8694: if $ac_preproc_ok; then :
1.128     moko     8695:   break
                   8696: fi
                   8697: 
                   8698:     done
                   8699:     ac_cv_prog_CPP=$CPP
                   8700: 
                   8701: fi
                   8702:   CPP=$ac_cv_prog_CPP
                   8703: else
                   8704:   ac_cv_prog_CPP=$CPP
                   8705: fi
1.150     moko     8706: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   8707: $as_echo "$CPP" >&6; }
1.128     moko     8708: ac_preproc_ok=false
                   8709: for ac_c_preproc_warn_flag in '' yes
                   8710: do
                   8711:   # Use a header file that comes with gcc, so configuring glibc
                   8712:   # with a fresh cross-compiler works.
                   8713:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8714:   # <limits.h> exists even on freestanding compilers.
                   8715:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8716:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8717:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8718: /* end confdefs.h.  */
                   8719: #ifdef __STDC__
                   8720: # include <limits.h>
                   8721: #else
                   8722: # include <assert.h>
                   8723: #endif
                   8724:                     Syntax error
                   8725: _ACEOF
1.150     moko     8726: if ac_fn_c_try_cpp "$LINENO"; then :
                   8727: 
1.128     moko     8728: else
                   8729:   # Broken: fails on valid input.
                   8730: continue
                   8731: fi
1.150     moko     8732: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8733: 
1.150     moko     8734:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8735:   # can be detected and how.
1.150     moko     8736:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8737: /* end confdefs.h.  */
                   8738: #include <ac_nonexistent.h>
                   8739: _ACEOF
1.150     moko     8740: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8741:   # Broken: success on invalid input.
                   8742: continue
                   8743: else
                   8744:   # Passes both tests.
                   8745: ac_preproc_ok=:
                   8746: break
                   8747: fi
1.150     moko     8748: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8749: 
                   8750: done
                   8751: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8752: rm -f conftest.i conftest.err conftest.$ac_ext
                   8753: if $ac_preproc_ok; then :
                   8754: 
1.128     moko     8755: else
1.150     moko     8756:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8757: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   8758: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   8759: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     8760: fi
                   8761: 
                   8762: ac_ext=c
                   8763: ac_cpp='$CPP $CPPFLAGS'
                   8764: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8765: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8766: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8767: 
                   8768: 
1.150     moko     8769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8770: $as_echo_n "checking for ANSI C header files... " >&6; }
                   8771: if ${ac_cv_header_stdc+:} false; then :
                   8772:   $as_echo_n "(cached) " >&6
1.128     moko     8773: else
1.150     moko     8774:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8775: /* end confdefs.h.  */
                   8776: #include <stdlib.h>
                   8777: #include <stdarg.h>
                   8778: #include <string.h>
                   8779: #include <float.h>
                   8780: 
                   8781: int
                   8782: main ()
                   8783: {
                   8784: 
                   8785:   ;
                   8786:   return 0;
                   8787: }
                   8788: _ACEOF
1.150     moko     8789: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     8790:   ac_cv_header_stdc=yes
                   8791: else
1.150     moko     8792:   ac_cv_header_stdc=no
1.128     moko     8793: fi
1.150     moko     8794: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     8795: 
                   8796: if test $ac_cv_header_stdc = yes; then
                   8797:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.150     moko     8798:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8799: /* end confdefs.h.  */
                   8800: #include <string.h>
                   8801: 
                   8802: _ACEOF
                   8803: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8804:   $EGREP "memchr" >/dev/null 2>&1; then :
                   8805: 
1.128     moko     8806: else
                   8807:   ac_cv_header_stdc=no
                   8808: fi
                   8809: rm -f conftest*
                   8810: 
                   8811: fi
                   8812: 
                   8813: if test $ac_cv_header_stdc = yes; then
                   8814:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.150     moko     8815:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8816: /* end confdefs.h.  */
                   8817: #include <stdlib.h>
                   8818: 
                   8819: _ACEOF
                   8820: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8821:   $EGREP "free" >/dev/null 2>&1; then :
                   8822: 
1.128     moko     8823: else
                   8824:   ac_cv_header_stdc=no
                   8825: fi
                   8826: rm -f conftest*
                   8827: 
                   8828: fi
                   8829: 
                   8830: if test $ac_cv_header_stdc = yes; then
                   8831:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.150     moko     8832:   if test "$cross_compiling" = yes; then :
1.128     moko     8833:   :
                   8834: else
1.150     moko     8835:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8836: /* end confdefs.h.  */
                   8837: #include <ctype.h>
1.150     moko     8838: #include <stdlib.h>
1.128     moko     8839: #if ((' ' & 0x0FF) == 0x020)
                   8840: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8841: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8842: #else
                   8843: # define ISLOWER(c) \
                   8844:                   (('a' <= (c) && (c) <= 'i') \
                   8845:                     || ('j' <= (c) && (c) <= 'r') \
                   8846:                     || ('s' <= (c) && (c) <= 'z'))
                   8847: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8848: #endif
                   8849: 
                   8850: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   8851: int
                   8852: main ()
                   8853: {
                   8854:   int i;
                   8855:   for (i = 0; i < 256; i++)
                   8856:     if (XOR (islower (i), ISLOWER (i))
                   8857:        || toupper (i) != TOUPPER (i))
1.150     moko     8858:       return 2;
                   8859:   return 0;
1.128     moko     8860: }
                   8861: _ACEOF
1.150     moko     8862: if ac_fn_c_try_run "$LINENO"; then :
                   8863: 
1.128     moko     8864: else
1.150     moko     8865:   ac_cv_header_stdc=no
1.128     moko     8866: fi
1.150     moko     8867: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8868:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     8869: fi
1.150     moko     8870: 
1.128     moko     8871: fi
                   8872: fi
1.150     moko     8873: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8874: $as_echo "$ac_cv_header_stdc" >&6; }
1.128     moko     8875: if test $ac_cv_header_stdc = yes; then
                   8876: 
1.150     moko     8877: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.128     moko     8878: 
                   8879: fi
                   8880: 
                   8881: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.150     moko     8882: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   8883:                  inttypes.h stdint.h unistd.h
                   8884: do :
                   8885:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8886: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   8887: "
                   8888: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   8889:   cat >>confdefs.h <<_ACEOF
                   8890: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8891: _ACEOF
1.128     moko     8892: 
1.150     moko     8893: fi
1.128     moko     8894: 
1.150     moko     8895: done
1.128     moko     8896: 
                   8897: 
1.150     moko     8898: for ac_header in dlfcn.h
                   8899: do :
                   8900:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   8901: "
                   8902: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   8903:   cat >>confdefs.h <<_ACEOF
                   8904: #define HAVE_DLFCN_H 1
                   8905: _ACEOF
1.128     moko     8906: 
1.150     moko     8907: fi
1.128     moko     8908: 
1.150     moko     8909: done
1.128     moko     8910: 
                   8911: 
                   8912: 
                   8913: 
1.150     moko     8914: func_stripname_cnf ()
                   8915: {
                   8916:   case ${2} in
                   8917:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   8918:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   8919:   esac
                   8920: } # func_stripname_cnf
1.128     moko     8921: 
                   8922: 
                   8923: 
                   8924: 
                   8925: 
                   8926: # Set options
                   8927: enable_dlopen=yes
                   8928: enable_win32_dll=yes
                   8929: 
                   8930: case $host in
                   8931: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   8932:   if test -n "$ac_tool_prefix"; then
                   8933:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   8934: set dummy ${ac_tool_prefix}as; ac_word=$2
1.150     moko     8935: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8936: $as_echo_n "checking for $ac_word... " >&6; }
                   8937: if ${ac_cv_prog_AS+:} false; then :
                   8938:   $as_echo_n "(cached) " >&6
1.128     moko     8939: else
                   8940:   if test -n "$AS"; then
                   8941:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   8942: else
                   8943: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8944: for as_dir in $PATH
                   8945: do
                   8946:   IFS=$as_save_IFS
                   8947:   test -z "$as_dir" && as_dir=.
1.150     moko     8948:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8949:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8950:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.150     moko     8951:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8952:     break 2
                   8953:   fi
                   8954: done
1.150     moko     8955:   done
                   8956: IFS=$as_save_IFS
1.128     moko     8957: 
                   8958: fi
                   8959: fi
                   8960: AS=$ac_cv_prog_AS
                   8961: if test -n "$AS"; then
1.150     moko     8962:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   8963: $as_echo "$AS" >&6; }
1.128     moko     8964: else
1.150     moko     8965:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8966: $as_echo "no" >&6; }
1.128     moko     8967: fi
                   8968: 
1.150     moko     8969: 
1.128     moko     8970: fi
                   8971: if test -z "$ac_cv_prog_AS"; then
                   8972:   ac_ct_AS=$AS
                   8973:   # Extract the first word of "as", so it can be a program name with args.
                   8974: set dummy as; ac_word=$2
1.150     moko     8975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8976: $as_echo_n "checking for $ac_word... " >&6; }
                   8977: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   8978:   $as_echo_n "(cached) " >&6
1.128     moko     8979: else
                   8980:   if test -n "$ac_ct_AS"; then
                   8981:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   8982: else
                   8983: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8984: for as_dir in $PATH
                   8985: do
                   8986:   IFS=$as_save_IFS
                   8987:   test -z "$as_dir" && as_dir=.
1.150     moko     8988:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8989:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8990:     ac_cv_prog_ac_ct_AS="as"
1.150     moko     8991:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8992:     break 2
                   8993:   fi
                   8994: done
1.150     moko     8995:   done
                   8996: IFS=$as_save_IFS
1.128     moko     8997: 
                   8998: fi
                   8999: fi
                   9000: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   9001: if test -n "$ac_ct_AS"; then
1.150     moko     9002:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   9003: $as_echo "$ac_ct_AS" >&6; }
1.128     moko     9004: else
1.150     moko     9005:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9006: $as_echo "no" >&6; }
1.128     moko     9007: fi
                   9008: 
1.150     moko     9009:   if test "x$ac_ct_AS" = x; then
                   9010:     AS="false"
                   9011:   else
                   9012:     case $cross_compiling:$ac_tool_warned in
                   9013: yes:)
                   9014: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9015: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9016: ac_tool_warned=yes ;;
                   9017: esac
                   9018:     AS=$ac_ct_AS
                   9019:   fi
1.128     moko     9020: else
                   9021:   AS="$ac_cv_prog_AS"
                   9022: fi
                   9023: 
                   9024:   if test -n "$ac_tool_prefix"; then
                   9025:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   9026: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     9027: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9028: $as_echo_n "checking for $ac_word... " >&6; }
                   9029: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   9030:   $as_echo_n "(cached) " >&6
1.128     moko     9031: else
                   9032:   if test -n "$DLLTOOL"; then
                   9033:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   9034: else
                   9035: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9036: for as_dir in $PATH
                   9037: do
                   9038:   IFS=$as_save_IFS
                   9039:   test -z "$as_dir" && as_dir=.
1.150     moko     9040:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9041:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9042:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     9043:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9044:     break 2
                   9045:   fi
                   9046: done
1.150     moko     9047:   done
                   9048: IFS=$as_save_IFS
1.128     moko     9049: 
                   9050: fi
                   9051: fi
                   9052: DLLTOOL=$ac_cv_prog_DLLTOOL
                   9053: if test -n "$DLLTOOL"; then
1.150     moko     9054:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   9055: $as_echo "$DLLTOOL" >&6; }
1.128     moko     9056: else
1.150     moko     9057:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9058: $as_echo "no" >&6; }
1.128     moko     9059: fi
                   9060: 
1.150     moko     9061: 
1.128     moko     9062: fi
                   9063: if test -z "$ac_cv_prog_DLLTOOL"; then
                   9064:   ac_ct_DLLTOOL=$DLLTOOL
                   9065:   # Extract the first word of "dlltool", so it can be a program name with args.
                   9066: set dummy dlltool; ac_word=$2
1.150     moko     9067: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9068: $as_echo_n "checking for $ac_word... " >&6; }
                   9069: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   9070:   $as_echo_n "(cached) " >&6
1.128     moko     9071: else
                   9072:   if test -n "$ac_ct_DLLTOOL"; then
                   9073:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   9074: else
                   9075: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9076: for as_dir in $PATH
                   9077: do
                   9078:   IFS=$as_save_IFS
                   9079:   test -z "$as_dir" && as_dir=.
1.150     moko     9080:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9081:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9082:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     9083:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9084:     break 2
                   9085:   fi
                   9086: done
1.150     moko     9087:   done
                   9088: IFS=$as_save_IFS
1.128     moko     9089: 
                   9090: fi
                   9091: fi
                   9092: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   9093: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     9094:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   9095: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     9096: else
1.150     moko     9097:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9098: $as_echo "no" >&6; }
1.128     moko     9099: fi
                   9100: 
1.150     moko     9101:   if test "x$ac_ct_DLLTOOL" = x; then
                   9102:     DLLTOOL="false"
                   9103:   else
                   9104:     case $cross_compiling:$ac_tool_warned in
                   9105: yes:)
                   9106: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9107: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9108: ac_tool_warned=yes ;;
                   9109: esac
                   9110:     DLLTOOL=$ac_ct_DLLTOOL
                   9111:   fi
1.128     moko     9112: else
                   9113:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   9114: fi
                   9115: 
                   9116:   if test -n "$ac_tool_prefix"; then
                   9117:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   9118: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     9119: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9120: $as_echo_n "checking for $ac_word... " >&6; }
                   9121: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   9122:   $as_echo_n "(cached) " >&6
1.128     moko     9123: else
                   9124:   if test -n "$OBJDUMP"; then
                   9125:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   9126: else
                   9127: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9128: for as_dir in $PATH
                   9129: do
                   9130:   IFS=$as_save_IFS
                   9131:   test -z "$as_dir" && as_dir=.
1.150     moko     9132:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9133:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9134:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     9135:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9136:     break 2
                   9137:   fi
                   9138: done
1.150     moko     9139:   done
                   9140: IFS=$as_save_IFS
1.128     moko     9141: 
                   9142: fi
                   9143: fi
                   9144: OBJDUMP=$ac_cv_prog_OBJDUMP
                   9145: if test -n "$OBJDUMP"; then
1.150     moko     9146:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   9147: $as_echo "$OBJDUMP" >&6; }
1.128     moko     9148: else
1.150     moko     9149:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9150: $as_echo "no" >&6; }
1.128     moko     9151: fi
                   9152: 
1.150     moko     9153: 
1.128     moko     9154: fi
                   9155: if test -z "$ac_cv_prog_OBJDUMP"; then
                   9156:   ac_ct_OBJDUMP=$OBJDUMP
                   9157:   # Extract the first word of "objdump", so it can be a program name with args.
                   9158: set dummy objdump; ac_word=$2
1.150     moko     9159: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9160: $as_echo_n "checking for $ac_word... " >&6; }
                   9161: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   9162:   $as_echo_n "(cached) " >&6
1.128     moko     9163: else
                   9164:   if test -n "$ac_ct_OBJDUMP"; then
                   9165:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   9166: else
                   9167: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9168: for as_dir in $PATH
                   9169: do
                   9170:   IFS=$as_save_IFS
                   9171:   test -z "$as_dir" && as_dir=.
1.150     moko     9172:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9173:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9174:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     9175:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9176:     break 2
                   9177:   fi
                   9178: done
1.150     moko     9179:   done
                   9180: IFS=$as_save_IFS
1.128     moko     9181: 
                   9182: fi
                   9183: fi
                   9184: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   9185: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     9186:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   9187: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     9188: else
1.150     moko     9189:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9190: $as_echo "no" >&6; }
1.128     moko     9191: fi
                   9192: 
1.150     moko     9193:   if test "x$ac_ct_OBJDUMP" = x; then
                   9194:     OBJDUMP="false"
                   9195:   else
                   9196:     case $cross_compiling:$ac_tool_warned in
                   9197: yes:)
                   9198: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9199: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9200: ac_tool_warned=yes ;;
                   9201: esac
                   9202:     OBJDUMP=$ac_ct_OBJDUMP
                   9203:   fi
1.128     moko     9204: else
                   9205:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   9206: fi
                   9207: 
                   9208:   ;;
                   9209: esac
                   9210: 
                   9211: test -z "$AS" && AS=as
                   9212: 
                   9213: 
                   9214: 
                   9215: 
                   9216: 
                   9217: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   9218: 
                   9219: 
                   9220: 
                   9221: 
                   9222: 
                   9223: test -z "$OBJDUMP" && OBJDUMP=objdump
                   9224: 
                   9225: 
                   9226: 
                   9227: 
                   9228: 
1.150     moko     9229: # Check whether --with-pic was given.
                   9230: if test "${with_pic+set}" = set; then :
                   9231:   withval=$with_pic; lt_p=${PACKAGE-default}
1.145     moko     9232:     case $withval in
                   9233:     yes|no) pic_mode=$withval ;;
                   9234:     *)
                   9235:       pic_mode=default
                   9236:       # Look at the argument we got.  We use all the common list separators.
                   9237:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9238:       for lt_pkg in $withval; do
                   9239:        IFS="$lt_save_ifs"
                   9240:        if test "X$lt_pkg" = "X$lt_p"; then
                   9241:          pic_mode=yes
                   9242:        fi
                   9243:       done
                   9244:       IFS="$lt_save_ifs"
                   9245:       ;;
                   9246:     esac
                   9247: else
                   9248:   pic_mode=default
1.150     moko     9249: fi
                   9250: 
1.145     moko     9251: 
                   9252: test -z "$pic_mode" && pic_mode=no
                   9253: 
                   9254: 
                   9255: 
                   9256: 
                   9257: 
                   9258: 
1.128     moko     9259: 
                   9260: 
                   9261: 
                   9262: 
1.150     moko     9263:             # Check whether --enable-shared was given.
                   9264: if test "${enable_shared+set}" = set; then :
                   9265:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     9266:     case $enableval in
                   9267:     yes) enable_shared=yes ;;
                   9268:     no) enable_shared=no ;;
                   9269:     *)
                   9270:       enable_shared=no
                   9271:       # Look at the argument we got.  We use all the common list separators.
                   9272:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9273:       for pkg in $enableval; do
                   9274:        IFS="$lt_save_ifs"
                   9275:        if test "X$pkg" = "X$p"; then
                   9276:          enable_shared=yes
                   9277:        fi
                   9278:       done
                   9279:       IFS="$lt_save_ifs"
                   9280:       ;;
                   9281:     esac
                   9282: else
                   9283:   enable_shared=yes
1.150     moko     9284: fi
                   9285: 
1.128     moko     9286: 
                   9287: 
                   9288: 
                   9289: 
                   9290: 
                   9291: 
                   9292: 
                   9293: 
1.150     moko     9294:   # Check whether --enable-static was given.
                   9295: if test "${enable_static+set}" = set; then :
                   9296:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     9297:     case $enableval in
                   9298:     yes) enable_static=yes ;;
                   9299:     no) enable_static=no ;;
                   9300:     *)
                   9301:      enable_static=no
                   9302:       # Look at the argument we got.  We use all the common list separators.
                   9303:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9304:       for pkg in $enableval; do
                   9305:        IFS="$lt_save_ifs"
                   9306:        if test "X$pkg" = "X$p"; then
                   9307:          enable_static=yes
                   9308:        fi
                   9309:       done
                   9310:       IFS="$lt_save_ifs"
                   9311:       ;;
                   9312:     esac
                   9313: else
                   9314:   enable_static=yes
1.150     moko     9315: fi
                   9316: 
1.138     moko     9317: 
                   9318: 
                   9319: 
                   9320: 
                   9321: 
                   9322: 
                   9323: 
1.128     moko     9324: 
                   9325: 
1.150     moko     9326:   # Check whether --enable-fast-install was given.
                   9327: if test "${enable_fast_install+set}" = set; then :
                   9328:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     9329:     case $enableval in
                   9330:     yes) enable_fast_install=yes ;;
                   9331:     no) enable_fast_install=no ;;
                   9332:     *)
                   9333:       enable_fast_install=no
                   9334:       # Look at the argument we got.  We use all the common list separators.
                   9335:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9336:       for pkg in $enableval; do
                   9337:        IFS="$lt_save_ifs"
                   9338:        if test "X$pkg" = "X$p"; then
                   9339:          enable_fast_install=yes
                   9340:        fi
                   9341:       done
                   9342:       IFS="$lt_save_ifs"
                   9343:       ;;
                   9344:     esac
                   9345: else
                   9346:   enable_fast_install=yes
1.150     moko     9347: fi
                   9348: 
1.128     moko     9349: 
                   9350: 
                   9351: 
                   9352: 
                   9353: 
                   9354: 
                   9355: 
                   9356: 
                   9357: 
                   9358: 
                   9359: # This can be used to rebuild libtool when needed
                   9360: LIBTOOL_DEPS="$ltmain"
                   9361: 
                   9362: # Always use our own libtool.
                   9363: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   9364: 
                   9365: 
                   9366: 
                   9367: 
                   9368: 
                   9369: 
                   9370: 
                   9371: 
                   9372: 
                   9373: 
                   9374: 
                   9375: 
                   9376: 
                   9377: 
                   9378: 
                   9379: 
                   9380: 
                   9381: 
                   9382: 
                   9383: 
                   9384: 
                   9385: 
                   9386: 
                   9387: 
                   9388: 
                   9389: 
                   9390: 
                   9391: 
                   9392: 
                   9393: 
                   9394: test -z "$LN_S" && LN_S="ln -s"
                   9395: 
                   9396: 
                   9397: 
                   9398: 
                   9399: 
                   9400: 
                   9401: 
                   9402: 
                   9403: 
                   9404: 
                   9405: 
                   9406: 
                   9407: 
                   9408: 
                   9409: if test -n "${ZSH_VERSION+set}" ; then
                   9410:    setopt NO_GLOB_SUBST
                   9411: fi
                   9412: 
1.150     moko     9413: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   9414: $as_echo_n "checking for objdir... " >&6; }
                   9415: if ${lt_cv_objdir+:} false; then :
                   9416:   $as_echo_n "(cached) " >&6
1.128     moko     9417: else
                   9418:   rm -f .libs 2>/dev/null
                   9419: mkdir .libs 2>/dev/null
                   9420: if test -d .libs; then
                   9421:   lt_cv_objdir=.libs
                   9422: else
                   9423:   # MS-DOS does not allow filenames that begin with a dot.
                   9424:   lt_cv_objdir=_libs
                   9425: fi
                   9426: rmdir .libs 2>/dev/null
                   9427: fi
1.150     moko     9428: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   9429: $as_echo "$lt_cv_objdir" >&6; }
1.128     moko     9430: objdir=$lt_cv_objdir
                   9431: 
                   9432: 
                   9433: 
                   9434: 
                   9435: 
                   9436: cat >>confdefs.h <<_ACEOF
                   9437: #define LT_OBJDIR "$lt_cv_objdir/"
                   9438: _ACEOF
                   9439: 
                   9440: 
                   9441: 
                   9442: 
                   9443: case $host_os in
                   9444: aix3*)
                   9445:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9446:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9447:   # vanish in a puff of smoke.
                   9448:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   9449:     COLLECT_NAMES=
                   9450:     export COLLECT_NAMES
                   9451:   fi
                   9452:   ;;
                   9453: esac
                   9454: 
                   9455: # Global variables:
                   9456: ofile=libtool
                   9457: can_build_shared=yes
                   9458: 
                   9459: # All known linkers require a `.a' archive for static linking (except MSVC,
                   9460: # which needs '.lib').
                   9461: libext=a
                   9462: 
                   9463: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   9464: 
                   9465: old_CC="$CC"
                   9466: old_CFLAGS="$CFLAGS"
                   9467: 
                   9468: # Set sane defaults for various variables
                   9469: test -z "$CC" && CC=cc
                   9470: test -z "$LTCC" && LTCC=$CC
                   9471: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9472: test -z "$LD" && LD=ld
                   9473: test -z "$ac_objext" && ac_objext=o
                   9474: 
                   9475: for cc_temp in $compiler""; do
                   9476:   case $cc_temp in
                   9477:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9478:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9479:     \-*) ;;
                   9480:     *) break;;
                   9481:   esac
                   9482: done
                   9483: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9484: 
                   9485: 
                   9486: # Only perform the check for file, if the check method requires it
                   9487: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9488: case $deplibs_check_method in
                   9489: file_magic*)
                   9490:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.150     moko     9491:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   9492: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   9493: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9494:   $as_echo_n "(cached) " >&6
1.128     moko     9495: else
                   9496:   case $MAGIC_CMD in
                   9497: [\\/*] |  ?:[\\/]*)
                   9498:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9499:   ;;
                   9500: *)
                   9501:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9502:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9503:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9504:   for ac_dir in $ac_dummy; do
                   9505:     IFS="$lt_save_ifs"
                   9506:     test -z "$ac_dir" && ac_dir=.
                   9507:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   9508:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   9509:       if test -n "$file_magic_test_file"; then
                   9510:        case $deplibs_check_method in
                   9511:        "file_magic "*)
                   9512:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9513:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9514:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9515:            $EGREP "$file_magic_regex" > /dev/null; then
                   9516:            :
                   9517:          else
                   9518:            cat <<_LT_EOF 1>&2
                   9519: 
                   9520: *** Warning: the command libtool uses to detect shared libraries,
                   9521: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9522: *** The result is that libtool may fail to recognize shared libraries
                   9523: *** as such.  This will affect the creation of libtool libraries that
                   9524: *** depend on shared libraries, but programs linked with such libtool
                   9525: *** libraries will work regardless of this problem.  Nevertheless, you
                   9526: *** may want to report the problem to your system manager and/or to
                   9527: *** bug-libtool@gnu.org
                   9528: 
                   9529: _LT_EOF
                   9530:          fi ;;
                   9531:        esac
                   9532:       fi
                   9533:       break
                   9534:     fi
                   9535:   done
                   9536:   IFS="$lt_save_ifs"
                   9537:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9538:   ;;
                   9539: esac
                   9540: fi
                   9541: 
                   9542: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9543: if test -n "$MAGIC_CMD"; then
1.150     moko     9544:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9545: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9546: else
1.150     moko     9547:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9548: $as_echo "no" >&6; }
1.128     moko     9549: fi
                   9550: 
                   9551: 
                   9552: 
                   9553: 
                   9554: 
                   9555: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   9556:   if test -n "$ac_tool_prefix"; then
1.150     moko     9557:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   9558: $as_echo_n "checking for file... " >&6; }
                   9559: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9560:   $as_echo_n "(cached) " >&6
1.128     moko     9561: else
                   9562:   case $MAGIC_CMD in
                   9563: [\\/*] |  ?:[\\/]*)
                   9564:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9565:   ;;
                   9566: *)
                   9567:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9568:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9569:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9570:   for ac_dir in $ac_dummy; do
                   9571:     IFS="$lt_save_ifs"
                   9572:     test -z "$ac_dir" && ac_dir=.
                   9573:     if test -f $ac_dir/file; then
                   9574:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   9575:       if test -n "$file_magic_test_file"; then
                   9576:        case $deplibs_check_method in
                   9577:        "file_magic "*)
                   9578:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9579:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9580:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9581:            $EGREP "$file_magic_regex" > /dev/null; then
                   9582:            :
                   9583:          else
                   9584:            cat <<_LT_EOF 1>&2
                   9585: 
                   9586: *** Warning: the command libtool uses to detect shared libraries,
                   9587: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9588: *** The result is that libtool may fail to recognize shared libraries
                   9589: *** as such.  This will affect the creation of libtool libraries that
                   9590: *** depend on shared libraries, but programs linked with such libtool
                   9591: *** libraries will work regardless of this problem.  Nevertheless, you
                   9592: *** may want to report the problem to your system manager and/or to
                   9593: *** bug-libtool@gnu.org
                   9594: 
                   9595: _LT_EOF
                   9596:          fi ;;
                   9597:        esac
                   9598:       fi
                   9599:       break
                   9600:     fi
                   9601:   done
                   9602:   IFS="$lt_save_ifs"
                   9603:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9604:   ;;
                   9605: esac
                   9606: fi
                   9607: 
                   9608: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9609: if test -n "$MAGIC_CMD"; then
1.150     moko     9610:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9611: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9612: else
1.150     moko     9613:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9614: $as_echo "no" >&6; }
1.128     moko     9615: fi
                   9616: 
                   9617: 
                   9618:   else
                   9619:     MAGIC_CMD=:
                   9620:   fi
                   9621: fi
                   9622: 
                   9623:   fi
                   9624:   ;;
                   9625: esac
                   9626: 
                   9627: # Use C for the default configuration in the libtool script
                   9628: 
                   9629: lt_save_CC="$CC"
                   9630: ac_ext=c
                   9631: ac_cpp='$CPP $CPPFLAGS'
                   9632: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9633: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9634: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9635: 
                   9636: 
                   9637: # Source file extension for C test sources.
                   9638: ac_ext=c
                   9639: 
                   9640: # Object file extension for compiled C test sources.
                   9641: objext=o
                   9642: objext=$objext
                   9643: 
                   9644: # Code to be used in simple compile tests
                   9645: lt_simple_compile_test_code="int some_variable = 0;"
                   9646: 
                   9647: # Code to be used in simple link tests
                   9648: lt_simple_link_test_code='int main(){return(0);}'
                   9649: 
                   9650: 
                   9651: 
                   9652: 
                   9653: 
                   9654: 
                   9655: 
                   9656: # If no C compiler was specified, use CC.
                   9657: LTCC=${LTCC-"$CC"}
                   9658: 
                   9659: # If no C compiler flags were specified, use CFLAGS.
                   9660: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9661: 
                   9662: # Allow CC to be a program name with arguments.
                   9663: compiler=$CC
                   9664: 
                   9665: # Save the default compiler, since it gets overwritten when the other
                   9666: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   9667: compiler_DEFAULT=$CC
                   9668: 
                   9669: # save warnings/boilerplate of simple test code
                   9670: ac_outfile=conftest.$ac_objext
                   9671: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   9672: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9673: _lt_compiler_boilerplate=`cat conftest.err`
                   9674: $RM conftest*
                   9675: 
                   9676: ac_outfile=conftest.$ac_objext
                   9677: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   9678: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9679: _lt_linker_boilerplate=`cat conftest.err`
                   9680: $RM -r conftest*
                   9681: 
                   9682: 
                   9683: ## CAVEAT EMPTOR:
                   9684: ## There is no encapsulation within the following macros, do not change
                   9685: ## the running order or otherwise move them around unless you know exactly
                   9686: ## what you are doing...
                   9687: if test -n "$compiler"; then
                   9688: 
                   9689: lt_prog_compiler_no_builtin_flag=
                   9690: 
                   9691: if test "$GCC" = yes; then
                   9692:   case $cc_basename in
                   9693:   nvcc*)
                   9694:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   9695:   *)
                   9696:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   9697:   esac
                   9698: 
1.150     moko     9699:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   9700: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   9701: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   9702:   $as_echo_n "(cached) " >&6
1.128     moko     9703: else
                   9704:   lt_cv_prog_compiler_rtti_exceptions=no
                   9705:    ac_outfile=conftest.$ac_objext
                   9706:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9707:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   9708:    # Insert the option either (1) after the last *FLAGS variable, or
                   9709:    # (2) before a word containing "conftest.", or (3) at the end.
                   9710:    # Note that $ac_compile itself does not contain backslashes and begins
                   9711:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9712:    # The option is referenced via a variable to avoid confusing sed.
                   9713:    lt_compile=`echo "$ac_compile" | $SED \
                   9714:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9715:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9716:    -e 's:$: $lt_compiler_flag:'`
                   9717:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9718:    (eval "$lt_compile" 2>conftest.err)
                   9719:    ac_status=$?
                   9720:    cat conftest.err >&5
                   9721:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9722:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9723:      # The compiler can only warn and ignore the option if not recognized
                   9724:      # So say no if there are warnings other than the usual output.
                   9725:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9726:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9727:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9728:        lt_cv_prog_compiler_rtti_exceptions=yes
                   9729:      fi
                   9730:    fi
                   9731:    $RM conftest*
                   9732: 
                   9733: fi
1.150     moko     9734: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   9735: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     9736: 
                   9737: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   9738:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   9739: else
                   9740:     :
                   9741: fi
                   9742: 
                   9743: fi
                   9744: 
                   9745: 
                   9746: 
                   9747: 
                   9748: 
                   9749: 
                   9750:   lt_prog_compiler_wl=
                   9751: lt_prog_compiler_pic=
                   9752: lt_prog_compiler_static=
                   9753: 
                   9754: 
                   9755:   if test "$GCC" = yes; then
                   9756:     lt_prog_compiler_wl='-Wl,'
                   9757:     lt_prog_compiler_static='-static'
                   9758: 
                   9759:     case $host_os in
                   9760:       aix*)
                   9761:       # All AIX code is PIC.
                   9762:       if test "$host_cpu" = ia64; then
                   9763:        # AIX 5 now supports IA64 processor
                   9764:        lt_prog_compiler_static='-Bstatic'
                   9765:       fi
                   9766:       ;;
                   9767: 
                   9768:     amigaos*)
                   9769:       case $host_cpu in
                   9770:       powerpc)
                   9771:             # see comment about AmigaOS4 .so support
                   9772:             lt_prog_compiler_pic='-fPIC'
                   9773:         ;;
                   9774:       m68k)
                   9775:             # FIXME: we need at least 68020 code to build shared libraries, but
                   9776:             # adding the `-m68020' flag to GCC prevents building anything better,
                   9777:             # like `-m68040'.
                   9778:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   9779:         ;;
                   9780:       esac
                   9781:       ;;
                   9782: 
                   9783:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   9784:       # PIC is the default for these OSes.
                   9785:       ;;
                   9786: 
                   9787:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9788:       # This hack is so that the source file can tell whether it is being
                   9789:       # built for inclusion in a dll (and should export symbols for example).
                   9790:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   9791:       # (--disable-auto-import) libraries
                   9792:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9793:       ;;
                   9794: 
                   9795:     darwin* | rhapsody*)
                   9796:       # PIC is the default on this platform
                   9797:       # Common symbols not allowed in MH_DYLIB files
                   9798:       lt_prog_compiler_pic='-fno-common'
                   9799:       ;;
                   9800: 
                   9801:     haiku*)
                   9802:       # PIC is the default for Haiku.
                   9803:       # The "-static" flag exists, but is broken.
                   9804:       lt_prog_compiler_static=
                   9805:       ;;
                   9806: 
                   9807:     hpux*)
                   9808:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   9809:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   9810:       # sets the default TLS model and affects inlining.
                   9811:       case $host_cpu in
                   9812:       hppa*64*)
                   9813:        # +Z the default
                   9814:        ;;
                   9815:       *)
                   9816:        lt_prog_compiler_pic='-fPIC'
                   9817:        ;;
                   9818:       esac
                   9819:       ;;
                   9820: 
                   9821:     interix[3-9]*)
                   9822:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   9823:       # Instead, we relocate shared libraries at runtime.
                   9824:       ;;
                   9825: 
                   9826:     msdosdjgpp*)
                   9827:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   9828:       # on systems that don't support them.
                   9829:       lt_prog_compiler_can_build_shared=no
                   9830:       enable_shared=no
                   9831:       ;;
                   9832: 
                   9833:     *nto* | *qnx*)
                   9834:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9835:       # it will coredump.
                   9836:       lt_prog_compiler_pic='-fPIC -shared'
                   9837:       ;;
                   9838: 
                   9839:     sysv4*MP*)
                   9840:       if test -d /usr/nec; then
                   9841:        lt_prog_compiler_pic=-Kconform_pic
                   9842:       fi
                   9843:       ;;
                   9844: 
                   9845:     *)
                   9846:       lt_prog_compiler_pic='-fPIC'
                   9847:       ;;
                   9848:     esac
                   9849: 
                   9850:     case $cc_basename in
                   9851:     nvcc*) # Cuda Compiler Driver 2.2
                   9852:       lt_prog_compiler_wl='-Xlinker '
                   9853:       if test -n "$lt_prog_compiler_pic"; then
                   9854:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   9855:       fi
                   9856:       ;;
                   9857:     esac
                   9858:   else
                   9859:     # PORTME Check for flag to pass linker flags through the system compiler.
                   9860:     case $host_os in
                   9861:     aix*)
                   9862:       lt_prog_compiler_wl='-Wl,'
                   9863:       if test "$host_cpu" = ia64; then
                   9864:        # AIX 5 now supports IA64 processor
                   9865:        lt_prog_compiler_static='-Bstatic'
                   9866:       else
                   9867:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   9868:       fi
                   9869:       ;;
                   9870: 
                   9871:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9872:       # This hack is so that the source file can tell whether it is being
                   9873:       # built for inclusion in a dll (and should export symbols for example).
                   9874:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9875:       ;;
                   9876: 
                   9877:     hpux9* | hpux10* | hpux11*)
                   9878:       lt_prog_compiler_wl='-Wl,'
                   9879:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   9880:       # not for PA HP-UX.
                   9881:       case $host_cpu in
                   9882:       hppa*64*|ia64*)
                   9883:        # +Z the default
                   9884:        ;;
                   9885:       *)
                   9886:        lt_prog_compiler_pic='+Z'
                   9887:        ;;
                   9888:       esac
                   9889:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   9890:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   9891:       ;;
                   9892: 
                   9893:     irix5* | irix6* | nonstopux*)
                   9894:       lt_prog_compiler_wl='-Wl,'
                   9895:       # PIC (with -KPIC) is the default.
                   9896:       lt_prog_compiler_static='-non_shared'
                   9897:       ;;
                   9898: 
                   9899:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   9900:       case $cc_basename in
                   9901:       # old Intel for x86_64 which still supported -KPIC.
                   9902:       ecc*)
                   9903:        lt_prog_compiler_wl='-Wl,'
                   9904:        lt_prog_compiler_pic='-KPIC'
                   9905:        lt_prog_compiler_static='-static'
                   9906:         ;;
                   9907:       # icc used to be incompatible with GCC.
                   9908:       # ICC 10 doesn't accept -KPIC any more.
                   9909:       icc* | ifort*)
                   9910:        lt_prog_compiler_wl='-Wl,'
                   9911:        lt_prog_compiler_pic='-fPIC'
                   9912:        lt_prog_compiler_static='-static'
                   9913:         ;;
                   9914:       # Lahey Fortran 8.1.
                   9915:       lf95*)
                   9916:        lt_prog_compiler_wl='-Wl,'
                   9917:        lt_prog_compiler_pic='--shared'
                   9918:        lt_prog_compiler_static='--static'
                   9919:        ;;
                   9920:       nagfor*)
                   9921:        # NAG Fortran compiler
                   9922:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   9923:        lt_prog_compiler_pic='-PIC'
                   9924:        lt_prog_compiler_static='-Bstatic'
                   9925:        ;;
                   9926:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   9927:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   9928:        # which looks to be a dead project)
                   9929:        lt_prog_compiler_wl='-Wl,'
                   9930:        lt_prog_compiler_pic='-fpic'
                   9931:        lt_prog_compiler_static='-Bstatic'
                   9932:         ;;
                   9933:       ccc*)
                   9934:         lt_prog_compiler_wl='-Wl,'
                   9935:         # All Alpha code is PIC.
                   9936:         lt_prog_compiler_static='-non_shared'
                   9937:         ;;
                   9938:       xl* | bgxl* | bgf* | mpixl*)
                   9939:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   9940:        lt_prog_compiler_wl='-Wl,'
                   9941:        lt_prog_compiler_pic='-qpic'
                   9942:        lt_prog_compiler_static='-qstaticlink'
                   9943:        ;;
                   9944:       *)
                   9945:        case `$CC -V 2>&1 | sed 5q` in
                   9946:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   9947:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   9948:          lt_prog_compiler_pic='-KPIC'
                   9949:          lt_prog_compiler_static='-Bstatic'
                   9950:          lt_prog_compiler_wl=''
                   9951:          ;;
                   9952:        *Sun\ F* | *Sun*Fortran*)
                   9953:          lt_prog_compiler_pic='-KPIC'
                   9954:          lt_prog_compiler_static='-Bstatic'
                   9955:          lt_prog_compiler_wl='-Qoption ld '
                   9956:          ;;
                   9957:        *Sun\ C*)
                   9958:          # Sun C 5.9
                   9959:          lt_prog_compiler_pic='-KPIC'
                   9960:          lt_prog_compiler_static='-Bstatic'
                   9961:          lt_prog_compiler_wl='-Wl,'
                   9962:          ;;
                   9963:         *Intel*\ [CF]*Compiler*)
                   9964:          lt_prog_compiler_wl='-Wl,'
                   9965:          lt_prog_compiler_pic='-fPIC'
                   9966:          lt_prog_compiler_static='-static'
                   9967:          ;;
                   9968:        *Portland\ Group*)
                   9969:          lt_prog_compiler_wl='-Wl,'
                   9970:          lt_prog_compiler_pic='-fpic'
                   9971:          lt_prog_compiler_static='-Bstatic'
                   9972:          ;;
                   9973:        esac
                   9974:        ;;
                   9975:       esac
                   9976:       ;;
                   9977: 
                   9978:     newsos6)
                   9979:       lt_prog_compiler_pic='-KPIC'
                   9980:       lt_prog_compiler_static='-Bstatic'
                   9981:       ;;
                   9982: 
                   9983:     *nto* | *qnx*)
                   9984:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9985:       # it will coredump.
                   9986:       lt_prog_compiler_pic='-fPIC -shared'
                   9987:       ;;
                   9988: 
                   9989:     osf3* | osf4* | osf5*)
                   9990:       lt_prog_compiler_wl='-Wl,'
                   9991:       # All OSF/1 code is PIC.
                   9992:       lt_prog_compiler_static='-non_shared'
                   9993:       ;;
                   9994: 
                   9995:     rdos*)
                   9996:       lt_prog_compiler_static='-non_shared'
                   9997:       ;;
                   9998: 
                   9999:     solaris*)
                   10000:       lt_prog_compiler_pic='-KPIC'
                   10001:       lt_prog_compiler_static='-Bstatic'
                   10002:       case $cc_basename in
                   10003:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   10004:        lt_prog_compiler_wl='-Qoption ld ';;
                   10005:       *)
                   10006:        lt_prog_compiler_wl='-Wl,';;
                   10007:       esac
                   10008:       ;;
                   10009: 
                   10010:     sunos4*)
                   10011:       lt_prog_compiler_wl='-Qoption ld '
                   10012:       lt_prog_compiler_pic='-PIC'
                   10013:       lt_prog_compiler_static='-Bstatic'
                   10014:       ;;
                   10015: 
                   10016:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   10017:       lt_prog_compiler_wl='-Wl,'
                   10018:       lt_prog_compiler_pic='-KPIC'
                   10019:       lt_prog_compiler_static='-Bstatic'
                   10020:       ;;
                   10021: 
                   10022:     sysv4*MP*)
                   10023:       if test -d /usr/nec ;then
                   10024:        lt_prog_compiler_pic='-Kconform_pic'
                   10025:        lt_prog_compiler_static='-Bstatic'
                   10026:       fi
                   10027:       ;;
                   10028: 
                   10029:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   10030:       lt_prog_compiler_wl='-Wl,'
                   10031:       lt_prog_compiler_pic='-KPIC'
                   10032:       lt_prog_compiler_static='-Bstatic'
                   10033:       ;;
                   10034: 
                   10035:     unicos*)
                   10036:       lt_prog_compiler_wl='-Wl,'
                   10037:       lt_prog_compiler_can_build_shared=no
                   10038:       ;;
                   10039: 
                   10040:     uts4*)
                   10041:       lt_prog_compiler_pic='-pic'
                   10042:       lt_prog_compiler_static='-Bstatic'
                   10043:       ;;
                   10044: 
                   10045:     *)
                   10046:       lt_prog_compiler_can_build_shared=no
                   10047:       ;;
                   10048:     esac
                   10049:   fi
                   10050: 
                   10051: case $host_os in
                   10052:   # For platforms which do not support PIC, -DPIC is meaningless:
                   10053:   *djgpp*)
                   10054:     lt_prog_compiler_pic=
                   10055:     ;;
                   10056:   *)
                   10057:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   10058:     ;;
                   10059: esac
                   10060: 
1.150     moko     10061: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   10062: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   10063: if ${lt_cv_prog_compiler_pic+:} false; then :
                   10064:   $as_echo_n "(cached) " >&6
1.128     moko     10065: else
                   10066:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   10067: fi
1.150     moko     10068: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   10069: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     10070: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   10071: 
                   10072: #
                   10073: # Check to make sure the PIC flag actually works.
                   10074: #
                   10075: if test -n "$lt_prog_compiler_pic"; then
1.150     moko     10076:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   10077: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   10078: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   10079:   $as_echo_n "(cached) " >&6
1.128     moko     10080: else
                   10081:   lt_cv_prog_compiler_pic_works=no
                   10082:    ac_outfile=conftest.$ac_objext
                   10083:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10084:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   10085:    # Insert the option either (1) after the last *FLAGS variable, or
                   10086:    # (2) before a word containing "conftest.", or (3) at the end.
                   10087:    # Note that $ac_compile itself does not contain backslashes and begins
                   10088:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10089:    # The option is referenced via a variable to avoid confusing sed.
                   10090:    lt_compile=`echo "$ac_compile" | $SED \
                   10091:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10092:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10093:    -e 's:$: $lt_compiler_flag:'`
                   10094:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10095:    (eval "$lt_compile" 2>conftest.err)
                   10096:    ac_status=$?
                   10097:    cat conftest.err >&5
                   10098:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10099:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   10100:      # The compiler can only warn and ignore the option if not recognized
                   10101:      # So say no if there are warnings other than the usual output.
                   10102:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   10103:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10104:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   10105:        lt_cv_prog_compiler_pic_works=yes
                   10106:      fi
                   10107:    fi
                   10108:    $RM conftest*
                   10109: 
                   10110: fi
1.150     moko     10111: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   10112: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     10113: 
                   10114: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   10115:     case $lt_prog_compiler_pic in
                   10116:      "" | " "*) ;;
                   10117:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   10118:      esac
                   10119: else
                   10120:     lt_prog_compiler_pic=
                   10121:      lt_prog_compiler_can_build_shared=no
                   10122: fi
                   10123: 
                   10124: fi
                   10125: 
                   10126: 
                   10127: 
                   10128: 
                   10129: 
                   10130: 
                   10131: 
                   10132: 
                   10133: 
                   10134: 
                   10135: 
                   10136: #
                   10137: # Check to make sure the static flag actually works.
                   10138: #
                   10139: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.150     moko     10140: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   10141: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   10142: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   10143:   $as_echo_n "(cached) " >&6
1.128     moko     10144: else
                   10145:   lt_cv_prog_compiler_static_works=no
                   10146:    save_LDFLAGS="$LDFLAGS"
                   10147:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   10148:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10149:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10150:      # The linker can only warn and ignore the option if not recognized
                   10151:      # So say no if there are warnings
                   10152:      if test -s conftest.err; then
                   10153:        # Append any errors to the config.log.
                   10154:        cat conftest.err 1>&5
                   10155:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10156:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10157:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10158:          lt_cv_prog_compiler_static_works=yes
                   10159:        fi
                   10160:      else
                   10161:        lt_cv_prog_compiler_static_works=yes
                   10162:      fi
                   10163:    fi
                   10164:    $RM -r conftest*
                   10165:    LDFLAGS="$save_LDFLAGS"
                   10166: 
                   10167: fi
1.150     moko     10168: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   10169: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     10170: 
                   10171: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   10172:     :
                   10173: else
                   10174:     lt_prog_compiler_static=
                   10175: fi
                   10176: 
                   10177: 
                   10178: 
                   10179: 
                   10180: 
                   10181: 
                   10182: 
1.150     moko     10183:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   10184: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   10185: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   10186:   $as_echo_n "(cached) " >&6
1.128     moko     10187: else
                   10188:   lt_cv_prog_compiler_c_o=no
                   10189:    $RM -r conftest 2>/dev/null
                   10190:    mkdir conftest
                   10191:    cd conftest
                   10192:    mkdir out
                   10193:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10194: 
                   10195:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10196:    # Insert the option either (1) after the last *FLAGS variable, or
                   10197:    # (2) before a word containing "conftest.", or (3) at the end.
                   10198:    # Note that $ac_compile itself does not contain backslashes and begins
                   10199:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10200:    lt_compile=`echo "$ac_compile" | $SED \
                   10201:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10202:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10203:    -e 's:$: $lt_compiler_flag:'`
                   10204:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10205:    (eval "$lt_compile" 2>out/conftest.err)
                   10206:    ac_status=$?
                   10207:    cat out/conftest.err >&5
                   10208:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10209:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10210:    then
                   10211:      # The compiler can only warn and ignore the option if not recognized
                   10212:      # So say no if there are warnings
                   10213:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10214:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10215:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10216:        lt_cv_prog_compiler_c_o=yes
                   10217:      fi
                   10218:    fi
                   10219:    chmod u+w . 2>&5
                   10220:    $RM conftest*
                   10221:    # SGI C++ compiler will create directory out/ii_files/ for
                   10222:    # template instantiation
                   10223:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10224:    $RM out/* && rmdir out
                   10225:    cd ..
                   10226:    $RM -r conftest
                   10227:    $RM conftest*
                   10228: 
                   10229: fi
1.150     moko     10230: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10231: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     10232: 
                   10233: 
                   10234: 
                   10235: 
                   10236: 
                   10237: 
1.150     moko     10238:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   10239: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   10240: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   10241:   $as_echo_n "(cached) " >&6
1.128     moko     10242: else
                   10243:   lt_cv_prog_compiler_c_o=no
                   10244:    $RM -r conftest 2>/dev/null
                   10245:    mkdir conftest
                   10246:    cd conftest
                   10247:    mkdir out
                   10248:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10249: 
                   10250:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10251:    # Insert the option either (1) after the last *FLAGS variable, or
                   10252:    # (2) before a word containing "conftest.", or (3) at the end.
                   10253:    # Note that $ac_compile itself does not contain backslashes and begins
                   10254:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10255:    lt_compile=`echo "$ac_compile" | $SED \
                   10256:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10257:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10258:    -e 's:$: $lt_compiler_flag:'`
                   10259:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10260:    (eval "$lt_compile" 2>out/conftest.err)
                   10261:    ac_status=$?
                   10262:    cat out/conftest.err >&5
                   10263:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10264:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10265:    then
                   10266:      # The compiler can only warn and ignore the option if not recognized
                   10267:      # So say no if there are warnings
                   10268:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10269:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10270:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10271:        lt_cv_prog_compiler_c_o=yes
                   10272:      fi
                   10273:    fi
                   10274:    chmod u+w . 2>&5
                   10275:    $RM conftest*
                   10276:    # SGI C++ compiler will create directory out/ii_files/ for
                   10277:    # template instantiation
                   10278:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10279:    $RM out/* && rmdir out
                   10280:    cd ..
                   10281:    $RM -r conftest
                   10282:    $RM conftest*
                   10283: 
                   10284: fi
1.150     moko     10285: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10286: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     10287: 
                   10288: 
                   10289: 
                   10290: 
                   10291: hard_links="nottested"
                   10292: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   10293:   # do not overwrite the value of need_locks provided by the user
1.150     moko     10294:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   10295: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     10296:   hard_links=yes
                   10297:   $RM conftest*
                   10298:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   10299:   touch conftest.a
                   10300:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   10301:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     10302:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   10303: $as_echo "$hard_links" >&6; }
1.128     moko     10304:   if test "$hard_links" = no; then
1.150     moko     10305:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   10306: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     10307:     need_locks=warn
                   10308:   fi
                   10309: else
                   10310:   need_locks=no
                   10311: fi
                   10312: 
                   10313: 
                   10314: 
                   10315: 
                   10316: 
                   10317: 
1.150     moko     10318:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   10319: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     10320: 
                   10321:   runpath_var=
                   10322:   allow_undefined_flag=
                   10323:   always_export_symbols=no
                   10324:   archive_cmds=
                   10325:   archive_expsym_cmds=
                   10326:   compiler_needs_object=no
                   10327:   enable_shared_with_static_runtimes=no
                   10328:   export_dynamic_flag_spec=
                   10329:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   10330:   hardcode_automatic=no
                   10331:   hardcode_direct=no
                   10332:   hardcode_direct_absolute=no
                   10333:   hardcode_libdir_flag_spec=
                   10334:   hardcode_libdir_separator=
                   10335:   hardcode_minus_L=no
                   10336:   hardcode_shlibpath_var=unsupported
                   10337:   inherit_rpath=no
                   10338:   link_all_deplibs=unknown
                   10339:   module_cmds=
                   10340:   module_expsym_cmds=
                   10341:   old_archive_from_new_cmds=
                   10342:   old_archive_from_expsyms_cmds=
                   10343:   thread_safe_flag_spec=
                   10344:   whole_archive_flag_spec=
                   10345:   # include_expsyms should be a list of space-separated symbols to be *always*
                   10346:   # included in the symbol list
                   10347:   include_expsyms=
                   10348:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   10349:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   10350:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   10351:   # as well as any symbol that contains `d'.
                   10352:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   10353:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   10354:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   10355:   # the symbol is explicitly referenced.  Since portable code cannot
                   10356:   # rely on this symbol name, it's probably fine to never include it in
                   10357:   # preloaded symbol tables.
                   10358:   # Exclude shared library initialization/finalization symbols.
                   10359:   extract_expsyms_cmds=
                   10360: 
                   10361:   case $host_os in
                   10362:   cygwin* | mingw* | pw32* | cegcc*)
                   10363:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   10364:     # When not using gcc, we currently assume that we are using
                   10365:     # Microsoft Visual C++.
                   10366:     if test "$GCC" != yes; then
                   10367:       with_gnu_ld=no
                   10368:     fi
                   10369:     ;;
                   10370:   interix*)
                   10371:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   10372:     with_gnu_ld=yes
                   10373:     ;;
                   10374:   openbsd*)
                   10375:     with_gnu_ld=no
                   10376:     ;;
                   10377:   esac
                   10378: 
                   10379:   ld_shlibs=yes
                   10380: 
                   10381:   # On some targets, GNU ld is compatible enough with the native linker
                   10382:   # that we're better off using the native interface for both.
                   10383:   lt_use_gnu_ld_interface=no
                   10384:   if test "$with_gnu_ld" = yes; then
                   10385:     case $host_os in
                   10386:       aix*)
                   10387:        # The AIX port of GNU ld has always aspired to compatibility
                   10388:        # with the native linker.  However, as the warning in the GNU ld
                   10389:        # block says, versions before 2.19.5* couldn't really create working
                   10390:        # shared libraries, regardless of the interface used.
                   10391:        case `$LD -v 2>&1` in
                   10392:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   10393:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   10394:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   10395:          *)
                   10396:            lt_use_gnu_ld_interface=yes
                   10397:            ;;
                   10398:        esac
                   10399:        ;;
                   10400:       *)
                   10401:        lt_use_gnu_ld_interface=yes
                   10402:        ;;
                   10403:     esac
                   10404:   fi
                   10405: 
                   10406:   if test "$lt_use_gnu_ld_interface" = yes; then
                   10407:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   10408:     wlarc='${wl}'
                   10409: 
                   10410:     # Set some defaults for GNU ld with shared library support. These
                   10411:     # are reset later if shared libraries are not supported. Putting them
                   10412:     # here allows them to be overridden if necessary.
                   10413:     runpath_var=LD_RUN_PATH
                   10414:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10415:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   10416:     # ancient GNU ld didn't support --whole-archive et. al.
                   10417:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   10418:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   10419:     else
                   10420:       whole_archive_flag_spec=
                   10421:     fi
                   10422:     supports_anon_versioning=no
                   10423:     case `$LD -v 2>&1` in
                   10424:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10425:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10426:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10427:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10428:       *\ 2.11.*) ;; # other 2.11 versions
                   10429:       *) supports_anon_versioning=yes ;;
                   10430:     esac
                   10431: 
                   10432:     # See if GNU ld supports shared libraries.
                   10433:     case $host_os in
                   10434:     aix[3-9]*)
                   10435:       # On AIX/PPC, the GNU linker is very broken
                   10436:       if test "$host_cpu" != ia64; then
                   10437:        ld_shlibs=no
                   10438:        cat <<_LT_EOF 1>&2
                   10439: 
                   10440: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10441: *** to be unable to reliably create shared libraries on AIX.
                   10442: *** Therefore, libtool is disabling shared libraries support.  If you
                   10443: *** really care for shared libraries, you may want to install binutils
                   10444: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10445: *** You will then need to restart the configuration process.
                   10446: 
                   10447: _LT_EOF
                   10448:       fi
                   10449:       ;;
                   10450: 
                   10451:     amigaos*)
                   10452:       case $host_cpu in
                   10453:       powerpc)
                   10454:             # see comment about AmigaOS4 .so support
                   10455:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10456:             archive_expsym_cmds=''
                   10457:         ;;
                   10458:       m68k)
                   10459:             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)'
                   10460:             hardcode_libdir_flag_spec='-L$libdir'
                   10461:             hardcode_minus_L=yes
                   10462:         ;;
                   10463:       esac
                   10464:       ;;
                   10465: 
                   10466:     beos*)
                   10467:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10468:        allow_undefined_flag=unsupported
                   10469:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10470:        # support --undefined.  This deserves some investigation.  FIXME
                   10471:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10472:       else
                   10473:        ld_shlibs=no
                   10474:       fi
                   10475:       ;;
                   10476: 
                   10477:     cygwin* | mingw* | pw32* | cegcc*)
                   10478:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10479:       # as there is no search path for DLLs.
                   10480:       hardcode_libdir_flag_spec='-L$libdir'
                   10481:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   10482:       allow_undefined_flag=unsupported
                   10483:       always_export_symbols=no
                   10484:       enable_shared_with_static_runtimes=yes
                   10485:       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'
                   10486:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   10487: 
                   10488:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   10489:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10490:        # If the export-symbols file already is a .def file (1st line
                   10491:        # is EXPORTS), use it as is; otherwise, prepend...
                   10492:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10493:          cp $export_symbols $output_objdir/$soname.def;
                   10494:        else
                   10495:          echo EXPORTS > $output_objdir/$soname.def;
                   10496:          cat $export_symbols >> $output_objdir/$soname.def;
                   10497:        fi~
                   10498:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10499:       else
                   10500:        ld_shlibs=no
                   10501:       fi
                   10502:       ;;
                   10503: 
                   10504:     haiku*)
                   10505:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10506:       link_all_deplibs=yes
                   10507:       ;;
                   10508: 
                   10509:     interix[3-9]*)
                   10510:       hardcode_direct=no
                   10511:       hardcode_shlibpath_var=no
                   10512:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10513:       export_dynamic_flag_spec='${wl}-E'
                   10514:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10515:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10516:       # default) and relocated if they conflict, which is a slow very memory
                   10517:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   10518:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   10519:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   10520:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   10521:       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'
                   10522:       ;;
                   10523: 
                   10524:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   10525:       tmp_diet=no
                   10526:       if test "$host_os" = linux-dietlibc; then
                   10527:        case $cc_basename in
                   10528:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   10529:        esac
                   10530:       fi
                   10531:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   10532:         && test "$tmp_diet" = no
                   10533:       then
                   10534:        tmp_addflag=' $pic_flag'
                   10535:        tmp_sharedflag='-shared'
                   10536:        case $cc_basename,$host_cpu in
                   10537:         pgcc*)                         # Portland Group C compiler
                   10538:          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'
                   10539:          tmp_addflag=' $pic_flag'
                   10540:          ;;
                   10541:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   10542:                                        # Portland Group f77 and f90 compilers
                   10543:          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'
                   10544:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   10545:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   10546:          tmp_addflag=' -i_dynamic' ;;
                   10547:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   10548:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   10549:        ifc* | ifort*)                  # Intel Fortran compiler
                   10550:          tmp_addflag=' -nofor_main' ;;
                   10551:        lf95*)                          # Lahey Fortran 8.1
                   10552:          whole_archive_flag_spec=
                   10553:          tmp_sharedflag='--shared' ;;
                   10554:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   10555:          tmp_sharedflag='-qmkshrobj'
                   10556:          tmp_addflag= ;;
                   10557:        nvcc*)  # Cuda Compiler Driver 2.2
                   10558:          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'
                   10559:          compiler_needs_object=yes
                   10560:          ;;
                   10561:        esac
                   10562:        case `$CC -V 2>&1 | sed 5q` in
                   10563:        *Sun\ C*)                       # Sun C 5.9
                   10564:          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'
                   10565:          compiler_needs_object=yes
                   10566:          tmp_sharedflag='-G' ;;
                   10567:        *Sun\ F*)                       # Sun Fortran 8.3
                   10568:          tmp_sharedflag='-G' ;;
                   10569:        esac
                   10570:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10571: 
                   10572:         if test "x$supports_anon_versioning" = xyes; then
                   10573:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10574:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10575:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   10576:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   10577:         fi
                   10578: 
                   10579:        case $cc_basename in
                   10580:        xlf* | bgf* | bgxlf* | mpixlf*)
                   10581:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   10582:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   10583:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10584:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   10585:          if test "x$supports_anon_versioning" = xyes; then
                   10586:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10587:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10588:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   10589:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   10590:          fi
                   10591:          ;;
                   10592:        esac
                   10593:       else
                   10594:         ld_shlibs=no
                   10595:       fi
                   10596:       ;;
                   10597: 
                   10598:     netbsd*)
                   10599:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10600:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   10601:        wlarc=
                   10602:       else
                   10603:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10604:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10605:       fi
                   10606:       ;;
                   10607: 
                   10608:     solaris*)
                   10609:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   10610:        ld_shlibs=no
                   10611:        cat <<_LT_EOF 1>&2
                   10612: 
                   10613: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   10614: *** create shared libraries on Solaris systems.  Therefore, libtool
                   10615: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10616: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   10617: *** your PATH or compiler configuration so that the native linker is
                   10618: *** used, and then restart.
                   10619: 
                   10620: _LT_EOF
                   10621:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10622:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10623:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10624:       else
                   10625:        ld_shlibs=no
                   10626:       fi
                   10627:       ;;
                   10628: 
                   10629:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   10630:       case `$LD -v 2>&1` in
                   10631:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   10632:        ld_shlibs=no
                   10633:        cat <<_LT_EOF 1>&2
                   10634: 
                   10635: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   10636: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   10637: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10638: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   10639: *** your PATH or compiler configuration so that the native linker is
                   10640: *** used, and then restart.
                   10641: 
                   10642: _LT_EOF
                   10643:        ;;
                   10644:        *)
                   10645:          # For security reasons, it is highly recommended that you always
                   10646:          # use absolute paths for naming shared libraries, and exclude the
                   10647:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   10648:          # requires that you compile everything twice, which is a pain.
                   10649:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10650:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10651:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10652:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10653:          else
                   10654:            ld_shlibs=no
                   10655:          fi
                   10656:        ;;
                   10657:       esac
                   10658:       ;;
                   10659: 
                   10660:     sunos4*)
                   10661:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10662:       wlarc=
                   10663:       hardcode_direct=yes
                   10664:       hardcode_shlibpath_var=no
                   10665:       ;;
                   10666: 
                   10667:     *)
                   10668:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10669:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10670:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10671:       else
                   10672:        ld_shlibs=no
                   10673:       fi
                   10674:       ;;
                   10675:     esac
                   10676: 
                   10677:     if test "$ld_shlibs" = no; then
                   10678:       runpath_var=
                   10679:       hardcode_libdir_flag_spec=
                   10680:       export_dynamic_flag_spec=
                   10681:       whole_archive_flag_spec=
                   10682:     fi
                   10683:   else
                   10684:     # PORTME fill in a description of your system's linker (not GNU ld)
                   10685:     case $host_os in
                   10686:     aix3*)
                   10687:       allow_undefined_flag=unsupported
                   10688:       always_export_symbols=yes
                   10689:       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'
                   10690:       # Note: this linker hardcodes the directories in LIBPATH if there
                   10691:       # are no directories specified by -L.
                   10692:       hardcode_minus_L=yes
                   10693:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   10694:        # Neither direct hardcoding nor static linking is supported with a
                   10695:        # broken collect2.
                   10696:        hardcode_direct=unsupported
                   10697:       fi
                   10698:       ;;
                   10699: 
                   10700:     aix[4-9]*)
                   10701:       if test "$host_cpu" = ia64; then
                   10702:        # On IA64, the linker does run time linking by default, so we don't
                   10703:        # have to do anything special.
                   10704:        aix_use_runtimelinking=no
                   10705:        exp_sym_flag='-Bexport'
                   10706:        no_entry_flag=""
                   10707:       else
                   10708:        # If we're using GNU nm, then we don't want the "-C" option.
                   10709:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   10710:        # Also, AIX nm treats weak defined symbols like other global
                   10711:        # defined symbols, whereas GNU nm marks them as "W".
                   10712:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   10713:          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'
                   10714:        else
                   10715:          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'
                   10716:        fi
                   10717:        aix_use_runtimelinking=no
                   10718: 
                   10719:        # Test if we are trying to use run time linking or normal
                   10720:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   10721:        # need to do runtime linking.
                   10722:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   10723:          for ld_flag in $LDFLAGS; do
                   10724:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   10725:            aix_use_runtimelinking=yes
                   10726:            break
                   10727:          fi
                   10728:          done
                   10729:          ;;
                   10730:        esac
                   10731: 
                   10732:        exp_sym_flag='-bexport'
                   10733:        no_entry_flag='-bnoentry'
                   10734:       fi
                   10735: 
                   10736:       # When large executables or shared objects are built, AIX ld can
                   10737:       # have problems creating the table of contents.  If linking a library
                   10738:       # or program results in "error TOC overflow" add -mminimal-toc to
                   10739:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   10740:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   10741: 
                   10742:       archive_cmds=''
                   10743:       hardcode_direct=yes
                   10744:       hardcode_direct_absolute=yes
                   10745:       hardcode_libdir_separator=':'
                   10746:       link_all_deplibs=yes
                   10747:       file_list_spec='${wl}-f,'
                   10748: 
                   10749:       if test "$GCC" = yes; then
                   10750:        case $host_os in aix4.[012]|aix4.[012].*)
                   10751:        # We only want to do this on AIX 4.2 and lower, the check
                   10752:        # below for broken collect2 doesn't work under 4.3+
                   10753:          collect2name=`${CC} -print-prog-name=collect2`
                   10754:          if test -f "$collect2name" &&
                   10755:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   10756:          then
                   10757:          # We have reworked collect2
                   10758:          :
                   10759:          else
                   10760:          # We have old collect2
                   10761:          hardcode_direct=unsupported
                   10762:          # It fails to find uninstalled libraries when the uninstalled
                   10763:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   10764:          # to unsupported forces relinking
                   10765:          hardcode_minus_L=yes
                   10766:          hardcode_libdir_flag_spec='-L$libdir'
                   10767:          hardcode_libdir_separator=
                   10768:          fi
                   10769:          ;;
                   10770:        esac
                   10771:        shared_flag='-shared'
                   10772:        if test "$aix_use_runtimelinking" = yes; then
                   10773:          shared_flag="$shared_flag "'${wl}-G'
                   10774:        fi
                   10775:       else
                   10776:        # not using gcc
                   10777:        if test "$host_cpu" = ia64; then
                   10778:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   10779:        # chokes on -Wl,-G. The following line is correct:
                   10780:          shared_flag='-G'
                   10781:        else
                   10782:          if test "$aix_use_runtimelinking" = yes; then
                   10783:            shared_flag='${wl}-G'
                   10784:          else
                   10785:            shared_flag='${wl}-bM:SRE'
                   10786:          fi
                   10787:        fi
                   10788:       fi
                   10789: 
                   10790:       export_dynamic_flag_spec='${wl}-bexpall'
                   10791:       # It seems that -bexpall does not export symbols beginning with
                   10792:       # underscore (_), so it is better to generate a list of symbols to export.
                   10793:       always_export_symbols=yes
                   10794:       if test "$aix_use_runtimelinking" = yes; then
                   10795:        # Warning - without using the other runtime loading flags (-brtl),
                   10796:        # -berok will link without error, but may produce a broken library.
                   10797:        allow_undefined_flag='-berok'
                   10798:         # Determine the default libpath from the value encoded in an
                   10799:         # empty executable.
                   10800:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10801:   aix_libpath=$lt_cv_aix_libpath
                   10802: else
1.150     moko     10803:   if ${lt_cv_aix_libpath_+:} false; then :
                   10804:   $as_echo_n "(cached) " >&6
1.128     moko     10805: else
1.150     moko     10806:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10807: /* end confdefs.h.  */
                   10808: 
                   10809: int
                   10810: main ()
                   10811: {
                   10812: 
                   10813:   ;
                   10814:   return 0;
                   10815: }
                   10816: _ACEOF
1.150     moko     10817: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10818: 
                   10819:   lt_aix_libpath_sed='
                   10820:       /Import File Strings/,/^$/ {
                   10821:          /^0/ {
                   10822:              s/^0  *\([^ ]*\) *$/\1/
                   10823:              p
                   10824:          }
                   10825:       }'
                   10826:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10827:   # Check for a 64-bit object if we didn't find anything.
                   10828:   if test -z "$lt_cv_aix_libpath_"; then
                   10829:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10830:   fi
                   10831: fi
1.150     moko     10832: rm -f core conftest.err conftest.$ac_objext \
                   10833:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10834:   if test -z "$lt_cv_aix_libpath_"; then
                   10835:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10836:   fi
                   10837: 
                   10838: fi
                   10839: 
                   10840:   aix_libpath=$lt_cv_aix_libpath_
                   10841: fi
                   10842: 
                   10843:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10844:         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"
                   10845:       else
                   10846:        if test "$host_cpu" = ia64; then
                   10847:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   10848:          allow_undefined_flag="-z nodefs"
                   10849:          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"
                   10850:        else
                   10851:         # Determine the default libpath from the value encoded in an
                   10852:         # empty executable.
                   10853:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10854:   aix_libpath=$lt_cv_aix_libpath
                   10855: else
1.150     moko     10856:   if ${lt_cv_aix_libpath_+:} false; then :
                   10857:   $as_echo_n "(cached) " >&6
1.128     moko     10858: else
1.150     moko     10859:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10860: /* end confdefs.h.  */
                   10861: 
                   10862: int
                   10863: main ()
                   10864: {
                   10865: 
                   10866:   ;
                   10867:   return 0;
                   10868: }
                   10869: _ACEOF
1.150     moko     10870: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10871: 
                   10872:   lt_aix_libpath_sed='
                   10873:       /Import File Strings/,/^$/ {
                   10874:          /^0/ {
                   10875:              s/^0  *\([^ ]*\) *$/\1/
                   10876:              p
                   10877:          }
                   10878:       }'
                   10879:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10880:   # Check for a 64-bit object if we didn't find anything.
                   10881:   if test -z "$lt_cv_aix_libpath_"; then
                   10882:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10883:   fi
                   10884: fi
1.150     moko     10885: rm -f core conftest.err conftest.$ac_objext \
                   10886:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10887:   if test -z "$lt_cv_aix_libpath_"; then
                   10888:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10889:   fi
                   10890: 
                   10891: fi
                   10892: 
                   10893:   aix_libpath=$lt_cv_aix_libpath_
                   10894: fi
                   10895: 
                   10896:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10897:          # Warning - without using the other run time loading flags,
                   10898:          # -berok will link without error, but may produce a broken library.
                   10899:          no_undefined_flag=' ${wl}-bernotok'
                   10900:          allow_undefined_flag=' ${wl}-berok'
                   10901:          if test "$with_gnu_ld" = yes; then
                   10902:            # We only use this code for GNU lds that support --whole-archive.
                   10903:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   10904:          else
                   10905:            # Exported symbols can be pulled into shared objects from archives
                   10906:            whole_archive_flag_spec='$convenience'
                   10907:          fi
                   10908:          archive_cmds_need_lc=yes
                   10909:          # This is similar to how AIX traditionally builds its shared libraries.
                   10910:          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'
                   10911:        fi
                   10912:       fi
                   10913:       ;;
                   10914: 
                   10915:     amigaos*)
                   10916:       case $host_cpu in
                   10917:       powerpc)
                   10918:             # see comment about AmigaOS4 .so support
                   10919:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10920:             archive_expsym_cmds=''
                   10921:         ;;
                   10922:       m68k)
                   10923:             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)'
                   10924:             hardcode_libdir_flag_spec='-L$libdir'
                   10925:             hardcode_minus_L=yes
                   10926:         ;;
                   10927:       esac
                   10928:       ;;
                   10929: 
                   10930:     bsdi[45]*)
                   10931:       export_dynamic_flag_spec=-rdynamic
                   10932:       ;;
                   10933: 
                   10934:     cygwin* | mingw* | pw32* | cegcc*)
                   10935:       # When not using gcc, we currently assume that we are using
                   10936:       # Microsoft Visual C++.
                   10937:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   10938:       # no search path for DLLs.
                   10939:       case $cc_basename in
                   10940:       cl*)
                   10941:        # Native MSVC
                   10942:        hardcode_libdir_flag_spec=' '
                   10943:        allow_undefined_flag=unsupported
                   10944:        always_export_symbols=yes
                   10945:        file_list_spec='@'
                   10946:        # Tell ltmain to make .lib files, not .a files.
                   10947:        libext=lib
                   10948:        # Tell ltmain to make .dll files, not .so files.
                   10949:        shrext_cmds=".dll"
                   10950:        # FIXME: Setting linknames here is a bad hack.
                   10951:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   10952:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10953:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   10954:          else
                   10955:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   10956:          fi~
                   10957:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   10958:          linknames='
                   10959:        # The linker will not automatically build a static lib if we build a DLL.
                   10960:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   10961:        enable_shared_with_static_runtimes=yes
                   10962:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   10963:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   10964:        # Don't use ranlib
                   10965:        old_postinstall_cmds='chmod 644 $oldlib'
                   10966:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   10967:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   10968:          case $lt_outputfile in
                   10969:            *.exe|*.EXE) ;;
                   10970:            *)
                   10971:              lt_outputfile="$lt_outputfile.exe"
                   10972:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   10973:              ;;
                   10974:          esac~
                   10975:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   10976:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   10977:            $RM "$lt_outputfile.manifest";
                   10978:          fi'
                   10979:        ;;
                   10980:       *)
                   10981:        # Assume MSVC wrapper
                   10982:        hardcode_libdir_flag_spec=' '
                   10983:        allow_undefined_flag=unsupported
                   10984:        # Tell ltmain to make .lib files, not .a files.
                   10985:        libext=lib
                   10986:        # Tell ltmain to make .dll files, not .so files.
                   10987:        shrext_cmds=".dll"
                   10988:        # FIXME: Setting linknames here is a bad hack.
                   10989:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   10990:        # The linker will automatically build a .lib file if we build a DLL.
                   10991:        old_archive_from_new_cmds='true'
                   10992:        # FIXME: Should let the user specify the lib program.
                   10993:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   10994:        enable_shared_with_static_runtimes=yes
                   10995:        ;;
                   10996:       esac
                   10997:       ;;
                   10998: 
                   10999:     darwin* | rhapsody*)
                   11000: 
                   11001: 
                   11002:   archive_cmds_need_lc=no
                   11003:   hardcode_direct=no
                   11004:   hardcode_automatic=yes
                   11005:   hardcode_shlibpath_var=unsupported
                   11006:   if test "$lt_cv_ld_force_load" = "yes"; then
                   11007:     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\"`'
                   11008: 
                   11009:   else
                   11010:     whole_archive_flag_spec=''
                   11011:   fi
                   11012:   link_all_deplibs=yes
                   11013:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   11014:   case $cc_basename in
                   11015:      ifort*) _lt_dar_can_shared=yes ;;
                   11016:      *) _lt_dar_can_shared=$GCC ;;
                   11017:   esac
                   11018:   if test "$_lt_dar_can_shared" = "yes"; then
                   11019:     output_verbose_link_cmd=func_echo_all
                   11020:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   11021:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   11022:     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}"
                   11023:     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}"
                   11024: 
                   11025:   else
                   11026:   ld_shlibs=no
                   11027:   fi
                   11028: 
                   11029:       ;;
                   11030: 
                   11031:     dgux*)
                   11032:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11033:       hardcode_libdir_flag_spec='-L$libdir'
                   11034:       hardcode_shlibpath_var=no
                   11035:       ;;
                   11036: 
                   11037:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   11038:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   11039:     # does not break anything, and helps significantly (at the cost of a little
                   11040:     # extra space).
                   11041:     freebsd2.2*)
                   11042:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   11043:       hardcode_libdir_flag_spec='-R$libdir'
                   11044:       hardcode_direct=yes
                   11045:       hardcode_shlibpath_var=no
                   11046:       ;;
                   11047: 
                   11048:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   11049:     freebsd2.*)
                   11050:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11051:       hardcode_direct=yes
                   11052:       hardcode_minus_L=yes
                   11053:       hardcode_shlibpath_var=no
                   11054:       ;;
                   11055: 
                   11056:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   11057:     freebsd* | dragonfly*)
                   11058:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11059:       hardcode_libdir_flag_spec='-R$libdir'
                   11060:       hardcode_direct=yes
                   11061:       hardcode_shlibpath_var=no
                   11062:       ;;
                   11063: 
                   11064:     hpux9*)
                   11065:       if test "$GCC" = yes; then
                   11066:        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'
                   11067:       else
                   11068:        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'
                   11069:       fi
                   11070:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11071:       hardcode_libdir_separator=:
                   11072:       hardcode_direct=yes
                   11073: 
                   11074:       # hardcode_minus_L: Not really in the search PATH,
                   11075:       # but as the default location of the library.
                   11076:       hardcode_minus_L=yes
                   11077:       export_dynamic_flag_spec='${wl}-E'
                   11078:       ;;
                   11079: 
                   11080:     hpux10*)
                   11081:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   11082:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11083:       else
                   11084:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11085:       fi
                   11086:       if test "$with_gnu_ld" = no; then
                   11087:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11088:        hardcode_libdir_separator=:
                   11089:        hardcode_direct=yes
                   11090:        hardcode_direct_absolute=yes
                   11091:        export_dynamic_flag_spec='${wl}-E'
                   11092:        # hardcode_minus_L: Not really in the search PATH,
                   11093:        # but as the default location of the library.
                   11094:        hardcode_minus_L=yes
                   11095:       fi
                   11096:       ;;
                   11097: 
                   11098:     hpux11*)
                   11099:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   11100:        case $host_cpu in
                   11101:        hppa*64*)
                   11102:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11103:          ;;
                   11104:        ia64*)
                   11105:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   11106:          ;;
                   11107:        *)
                   11108:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11109:          ;;
                   11110:        esac
                   11111:       else
                   11112:        case $host_cpu in
                   11113:        hppa*64*)
                   11114:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11115:          ;;
                   11116:        ia64*)
                   11117:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   11118:          ;;
                   11119:        *)
                   11120: 
                   11121:          # Older versions of the 11.00 compiler do not understand -b yet
                   11122:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.150     moko     11123:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   11124: $as_echo_n "checking if $CC understands -b... " >&6; }
                   11125: if ${lt_cv_prog_compiler__b+:} false; then :
                   11126:   $as_echo_n "(cached) " >&6
1.128     moko     11127: else
                   11128:   lt_cv_prog_compiler__b=no
                   11129:    save_LDFLAGS="$LDFLAGS"
                   11130:    LDFLAGS="$LDFLAGS -b"
                   11131:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   11132:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   11133:      # The linker can only warn and ignore the option if not recognized
                   11134:      # So say no if there are warnings
                   11135:      if test -s conftest.err; then
                   11136:        # Append any errors to the config.log.
                   11137:        cat conftest.err 1>&5
                   11138:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   11139:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   11140:        if diff conftest.exp conftest.er2 >/dev/null; then
                   11141:          lt_cv_prog_compiler__b=yes
                   11142:        fi
                   11143:      else
                   11144:        lt_cv_prog_compiler__b=yes
                   11145:      fi
                   11146:    fi
                   11147:    $RM -r conftest*
                   11148:    LDFLAGS="$save_LDFLAGS"
                   11149: 
                   11150: fi
1.150     moko     11151: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   11152: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     11153: 
                   11154: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   11155:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11156: else
                   11157:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11158: fi
                   11159: 
                   11160:          ;;
                   11161:        esac
                   11162:       fi
                   11163:       if test "$with_gnu_ld" = no; then
                   11164:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11165:        hardcode_libdir_separator=:
                   11166: 
                   11167:        case $host_cpu in
                   11168:        hppa*64*|ia64*)
                   11169:          hardcode_direct=no
                   11170:          hardcode_shlibpath_var=no
                   11171:          ;;
                   11172:        *)
                   11173:          hardcode_direct=yes
                   11174:          hardcode_direct_absolute=yes
                   11175:          export_dynamic_flag_spec='${wl}-E'
                   11176: 
                   11177:          # hardcode_minus_L: Not really in the search PATH,
                   11178:          # but as the default location of the library.
                   11179:          hardcode_minus_L=yes
                   11180:          ;;
                   11181:        esac
                   11182:       fi
                   11183:       ;;
                   11184: 
                   11185:     irix5* | irix6* | nonstopux*)
                   11186:       if test "$GCC" = yes; then
                   11187:        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'
                   11188:        # Try to use the -exported_symbol ld option, if it does not
                   11189:        # work, assume that -exports_file does not work either and
                   11190:        # implicitly export all symbols.
                   11191:        # This should be the same for all languages, so no per-tag cache variable.
1.150     moko     11192:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   11193: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   11194: if ${lt_cv_irix_exported_symbol+:} false; then :
                   11195:   $as_echo_n "(cached) " >&6
1.128     moko     11196: else
                   11197:   save_LDFLAGS="$LDFLAGS"
                   11198:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.150     moko     11199:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     11200: /* end confdefs.h.  */
                   11201: int foo (void) { return 0; }
                   11202: _ACEOF
1.150     moko     11203: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     11204:   lt_cv_irix_exported_symbol=yes
                   11205: else
1.150     moko     11206:   lt_cv_irix_exported_symbol=no
1.128     moko     11207: fi
1.150     moko     11208: rm -f core conftest.err conftest.$ac_objext \
                   11209:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     11210:            LDFLAGS="$save_LDFLAGS"
                   11211: fi
1.150     moko     11212: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   11213: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.128     moko     11214:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   11215:           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'
                   11216:        fi
                   11217:       else
                   11218:        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'
                   11219:        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'
                   11220:       fi
                   11221:       archive_cmds_need_lc='no'
                   11222:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11223:       hardcode_libdir_separator=:
                   11224:       inherit_rpath=yes
                   11225:       link_all_deplibs=yes
                   11226:       ;;
                   11227: 
                   11228:     netbsd*)
                   11229:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11230:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   11231:       else
                   11232:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   11233:       fi
                   11234:       hardcode_libdir_flag_spec='-R$libdir'
                   11235:       hardcode_direct=yes
                   11236:       hardcode_shlibpath_var=no
                   11237:       ;;
                   11238: 
                   11239:     newsos6)
                   11240:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11241:       hardcode_direct=yes
                   11242:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11243:       hardcode_libdir_separator=:
                   11244:       hardcode_shlibpath_var=no
                   11245:       ;;
                   11246: 
                   11247:     *nto* | *qnx*)
                   11248:       ;;
                   11249: 
                   11250:     openbsd*)
                   11251:       if test -f /usr/libexec/ld.so; then
                   11252:        hardcode_direct=yes
                   11253:        hardcode_shlibpath_var=no
                   11254:        hardcode_direct_absolute=yes
                   11255:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11256:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11257:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   11258:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11259:          export_dynamic_flag_spec='${wl}-E'
                   11260:        else
                   11261:          case $host_os in
                   11262:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   11263:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11264:             hardcode_libdir_flag_spec='-R$libdir'
                   11265:             ;;
                   11266:           *)
                   11267:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11268:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11269:             ;;
                   11270:          esac
                   11271:        fi
                   11272:       else
                   11273:        ld_shlibs=no
                   11274:       fi
                   11275:       ;;
                   11276: 
                   11277:     os2*)
                   11278:       hardcode_libdir_flag_spec='-L$libdir'
                   11279:       hardcode_minus_L=yes
                   11280:       allow_undefined_flag=unsupported
                   11281:       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'
                   11282:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   11283:       ;;
                   11284: 
                   11285:     osf3*)
                   11286:       if test "$GCC" = yes; then
                   11287:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11288:        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'
                   11289:       else
                   11290:        allow_undefined_flag=' -expect_unresolved \*'
                   11291:        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'
                   11292:       fi
                   11293:       archive_cmds_need_lc='no'
                   11294:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11295:       hardcode_libdir_separator=:
                   11296:       ;;
                   11297: 
                   11298:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   11299:       if test "$GCC" = yes; then
                   11300:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11301:        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'
                   11302:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11303:       else
                   11304:        allow_undefined_flag=' -expect_unresolved \*'
                   11305:        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'
                   11306:        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~
                   11307:        $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'
                   11308: 
                   11309:        # Both c and cxx compiler support -rpath directly
                   11310:        hardcode_libdir_flag_spec='-rpath $libdir'
                   11311:       fi
                   11312:       archive_cmds_need_lc='no'
                   11313:       hardcode_libdir_separator=:
                   11314:       ;;
                   11315: 
                   11316:     solaris*)
                   11317:       no_undefined_flag=' -z defs'
                   11318:       if test "$GCC" = yes; then
                   11319:        wlarc='${wl}'
                   11320:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11321:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11322:          $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'
                   11323:       else
                   11324:        case `$CC -V 2>&1` in
                   11325:        *"Compilers 5.0"*)
                   11326:          wlarc=''
                   11327:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11328:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11329:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   11330:          ;;
                   11331:        *)
                   11332:          wlarc='${wl}'
                   11333:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11334:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11335:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   11336:          ;;
                   11337:        esac
                   11338:       fi
                   11339:       hardcode_libdir_flag_spec='-R$libdir'
                   11340:       hardcode_shlibpath_var=no
                   11341:       case $host_os in
                   11342:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   11343:       *)
                   11344:        # The compiler driver will combine and reorder linker options,
                   11345:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   11346:        # but is careful enough not to reorder.
                   11347:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   11348:        if test "$GCC" = yes; then
                   11349:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   11350:        else
                   11351:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   11352:        fi
                   11353:        ;;
                   11354:       esac
                   11355:       link_all_deplibs=yes
                   11356:       ;;
                   11357: 
                   11358:     sunos4*)
                   11359:       if test "x$host_vendor" = xsequent; then
                   11360:        # Use $CC to link under sequent, because it throws in some extra .o
                   11361:        # files that make .init and .fini sections work.
                   11362:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11363:       else
                   11364:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   11365:       fi
                   11366:       hardcode_libdir_flag_spec='-L$libdir'
                   11367:       hardcode_direct=yes
                   11368:       hardcode_minus_L=yes
                   11369:       hardcode_shlibpath_var=no
                   11370:       ;;
                   11371: 
                   11372:     sysv4)
                   11373:       case $host_vendor in
                   11374:        sni)
                   11375:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11376:          hardcode_direct=yes # is this really true???
                   11377:        ;;
                   11378:        siemens)
                   11379:          ## LD is ld it makes a PLAMLIB
                   11380:          ## CC just makes a GrossModule.
                   11381:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   11382:          reload_cmds='$CC -r -o $output$reload_objs'
                   11383:          hardcode_direct=no
                   11384:         ;;
                   11385:        motorola)
                   11386:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11387:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   11388:        ;;
                   11389:       esac
                   11390:       runpath_var='LD_RUN_PATH'
                   11391:       hardcode_shlibpath_var=no
                   11392:       ;;
                   11393: 
                   11394:     sysv4.3*)
                   11395:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11396:       hardcode_shlibpath_var=no
                   11397:       export_dynamic_flag_spec='-Bexport'
                   11398:       ;;
                   11399: 
                   11400:     sysv4*MP*)
                   11401:       if test -d /usr/nec; then
                   11402:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11403:        hardcode_shlibpath_var=no
                   11404:        runpath_var=LD_RUN_PATH
                   11405:        hardcode_runpath_var=yes
                   11406:        ld_shlibs=yes
                   11407:       fi
                   11408:       ;;
                   11409: 
                   11410:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   11411:       no_undefined_flag='${wl}-z,text'
                   11412:       archive_cmds_need_lc=no
                   11413:       hardcode_shlibpath_var=no
                   11414:       runpath_var='LD_RUN_PATH'
                   11415: 
                   11416:       if test "$GCC" = yes; then
                   11417:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11418:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11419:       else
                   11420:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11421:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11422:       fi
                   11423:       ;;
                   11424: 
                   11425:     sysv5* | sco3.2v5* | sco5v6*)
                   11426:       # Note: We can NOT use -z defs as we might desire, because we do not
                   11427:       # link with -lc, and that would cause any symbols used from libc to
                   11428:       # always be unresolved, which means just about no library would
                   11429:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11430:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11431:       # as -z defs.
                   11432:       no_undefined_flag='${wl}-z,text'
                   11433:       allow_undefined_flag='${wl}-z,nodefs'
                   11434:       archive_cmds_need_lc=no
                   11435:       hardcode_shlibpath_var=no
                   11436:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   11437:       hardcode_libdir_separator=':'
                   11438:       link_all_deplibs=yes
                   11439:       export_dynamic_flag_spec='${wl}-Bexport'
                   11440:       runpath_var='LD_RUN_PATH'
                   11441: 
                   11442:       if test "$GCC" = yes; then
                   11443:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11444:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11445:       else
                   11446:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11447:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11448:       fi
                   11449:       ;;
                   11450: 
                   11451:     uts4*)
                   11452:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11453:       hardcode_libdir_flag_spec='-L$libdir'
                   11454:       hardcode_shlibpath_var=no
                   11455:       ;;
                   11456: 
                   11457:     *)
                   11458:       ld_shlibs=no
                   11459:       ;;
                   11460:     esac
                   11461: 
                   11462:     if test x$host_vendor = xsni; then
                   11463:       case $host in
                   11464:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   11465:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   11466:        ;;
                   11467:       esac
                   11468:     fi
                   11469:   fi
                   11470: 
1.150     moko     11471: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   11472: $as_echo "$ld_shlibs" >&6; }
1.128     moko     11473: test "$ld_shlibs" = no && can_build_shared=no
                   11474: 
                   11475: with_gnu_ld=$with_gnu_ld
                   11476: 
                   11477: 
                   11478: 
                   11479: 
                   11480: 
                   11481: 
                   11482: 
                   11483: 
                   11484: 
                   11485: 
                   11486: 
                   11487: 
                   11488: 
                   11489: 
                   11490: 
                   11491: #
                   11492: # Do we need to explicitly link libc?
                   11493: #
                   11494: case "x$archive_cmds_need_lc" in
                   11495: x|xyes)
                   11496:   # Assume -lc should be added
                   11497:   archive_cmds_need_lc=yes
                   11498: 
                   11499:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   11500:     case $archive_cmds in
                   11501:     *'~'*)
                   11502:       # FIXME: we may have to deal with multi-command sequences.
                   11503:       ;;
                   11504:     '$CC '*)
                   11505:       # Test whether the compiler implicitly links with -lc since on some
                   11506:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11507:       # to ld, don't add -lc before -lgcc.
1.150     moko     11508:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   11509: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   11510: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   11511:   $as_echo_n "(cached) " >&6
1.128     moko     11512: else
                   11513:   $RM conftest*
                   11514:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11515: 
1.150     moko     11516:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     11517:   (eval $ac_compile) 2>&5
                   11518:   ac_status=$?
1.150     moko     11519:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11520:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     11521:          soname=conftest
                   11522:          lib=conftest
                   11523:          libobjs=conftest.$ac_objext
                   11524:          deplibs=
                   11525:          wl=$lt_prog_compiler_wl
                   11526:          pic_flag=$lt_prog_compiler_pic
                   11527:          compiler_flags=-v
                   11528:          linker_flags=-v
                   11529:          verstring=
                   11530:          output_objdir=.
                   11531:          libname=conftest
                   11532:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   11533:          allow_undefined_flag=
1.150     moko     11534:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     11535:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   11536:   ac_status=$?
1.150     moko     11537:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11538:   test $ac_status = 0; }
1.128     moko     11539:          then
                   11540:            lt_cv_archive_cmds_need_lc=no
                   11541:          else
                   11542:            lt_cv_archive_cmds_need_lc=yes
                   11543:          fi
                   11544:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   11545:        else
                   11546:          cat conftest.err 1>&5
                   11547:        fi
                   11548:        $RM conftest*
                   11549: 
                   11550: fi
1.150     moko     11551: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   11552: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     11553:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   11554:       ;;
                   11555:     esac
                   11556:   fi
                   11557:   ;;
                   11558: esac
                   11559: 
                   11560: 
                   11561: 
                   11562: 
                   11563: 
                   11564: 
                   11565: 
                   11566: 
                   11567: 
                   11568: 
                   11569: 
                   11570: 
                   11571: 
                   11572: 
                   11573: 
                   11574: 
                   11575: 
                   11576: 
                   11577: 
                   11578: 
                   11579: 
                   11580: 
                   11581: 
                   11582: 
                   11583: 
                   11584: 
                   11585: 
                   11586: 
                   11587: 
                   11588: 
                   11589: 
                   11590: 
                   11591: 
                   11592: 
                   11593: 
                   11594: 
                   11595: 
                   11596: 
                   11597: 
                   11598: 
                   11599: 
                   11600: 
                   11601: 
                   11602: 
                   11603: 
                   11604: 
                   11605: 
                   11606: 
                   11607: 
                   11608: 
                   11609: 
                   11610: 
                   11611: 
                   11612: 
                   11613: 
                   11614: 
                   11615: 
                   11616: 
                   11617: 
                   11618: 
                   11619: 
                   11620: 
                   11621: 
                   11622: 
                   11623: 
                   11624: 
                   11625: 
                   11626: 
                   11627: 
                   11628: 
                   11629: 
                   11630: 
                   11631: 
                   11632: 
                   11633: 
                   11634: 
                   11635: 
                   11636: 
                   11637: 
                   11638: 
                   11639: 
                   11640: 
                   11641: 
                   11642: 
                   11643: 
                   11644: 
                   11645: 
                   11646: 
                   11647: 
                   11648: 
                   11649: 
                   11650: 
                   11651: 
                   11652: 
                   11653: 
                   11654: 
                   11655: 
                   11656: 
                   11657: 
                   11658: 
                   11659: 
                   11660: 
                   11661: 
                   11662: 
                   11663: 
                   11664: 
                   11665: 
                   11666: 
                   11667: 
                   11668: 
                   11669: 
                   11670: 
                   11671: 
                   11672: 
                   11673: 
                   11674: 
                   11675: 
                   11676: 
                   11677: 
                   11678: 
                   11679: 
                   11680: 
                   11681: 
                   11682: 
                   11683: 
                   11684: 
                   11685: 
                   11686: 
                   11687: 
                   11688: 
                   11689: 
                   11690: 
                   11691: 
                   11692: 
                   11693: 
                   11694: 
                   11695: 
                   11696: 
                   11697: 
                   11698: 
                   11699: 
                   11700: 
                   11701: 
                   11702: 
                   11703: 
                   11704: 
                   11705: 
                   11706: 
                   11707: 
                   11708: 
                   11709: 
                   11710: 
1.150     moko     11711:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   11712: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     11713: 
                   11714: if test "$GCC" = yes; then
                   11715:   case $host_os in
                   11716:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   11717:     *) lt_awk_arg="/^libraries:/" ;;
                   11718:   esac
                   11719:   case $host_os in
                   11720:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   11721:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   11722:   esac
                   11723:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   11724:   case $lt_search_path_spec in
                   11725:   *\;*)
                   11726:     # if the path contains ";" then we assume it to be the separator
                   11727:     # otherwise default to the standard path separator (i.e. ":") - it is
                   11728:     # assumed that no part of a normal pathname contains ";" but that should
                   11729:     # okay in the real world where ";" in dirpaths is itself problematic.
                   11730:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   11731:     ;;
                   11732:   *)
                   11733:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   11734:     ;;
                   11735:   esac
                   11736:   # Ok, now we have the path, separated by spaces, we can step through it
                   11737:   # and add multilib dir if necessary.
                   11738:   lt_tmp_lt_search_path_spec=
                   11739:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   11740:   for lt_sys_path in $lt_search_path_spec; do
                   11741:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   11742:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   11743:     else
                   11744:       test -d "$lt_sys_path" && \
                   11745:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   11746:     fi
                   11747:   done
                   11748:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   11749: BEGIN {RS=" "; FS="/|\n";} {
                   11750:   lt_foo="";
                   11751:   lt_count=0;
                   11752:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   11753:     if ($lt_i != "" && $lt_i != ".") {
                   11754:       if ($lt_i == "..") {
                   11755:         lt_count++;
                   11756:       } else {
                   11757:         if (lt_count == 0) {
                   11758:           lt_foo="/" $lt_i lt_foo;
                   11759:         } else {
                   11760:           lt_count--;
                   11761:         }
                   11762:       }
                   11763:     }
                   11764:   }
                   11765:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   11766:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   11767: }'`
                   11768:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   11769:   # for these hosts.
                   11770:   case $host_os in
                   11771:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   11772:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   11773:   esac
                   11774:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   11775: else
                   11776:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   11777: fi
                   11778: library_names_spec=
                   11779: libname_spec='lib$name'
                   11780: soname_spec=
                   11781: shrext_cmds=".so"
                   11782: postinstall_cmds=
                   11783: postuninstall_cmds=
                   11784: finish_cmds=
                   11785: finish_eval=
                   11786: shlibpath_var=
                   11787: shlibpath_overrides_runpath=unknown
                   11788: version_type=none
                   11789: dynamic_linker="$host_os ld.so"
                   11790: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   11791: need_lib_prefix=unknown
                   11792: hardcode_into_libs=no
                   11793: 
                   11794: # when you set need_version to no, make sure it does not cause -set_version
                   11795: # flags to be left without arguments
                   11796: need_version=unknown
                   11797: 
                   11798: case $host_os in
                   11799: aix3*)
                   11800:   version_type=linux # correct to gnu/linux during the next big refactor
                   11801:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   11802:   shlibpath_var=LIBPATH
                   11803: 
                   11804:   # AIX 3 has no versioning support, so we append a major version to the name.
                   11805:   soname_spec='${libname}${release}${shared_ext}$major'
                   11806:   ;;
                   11807: 
                   11808: aix[4-9]*)
                   11809:   version_type=linux # correct to gnu/linux during the next big refactor
                   11810:   need_lib_prefix=no
                   11811:   need_version=no
                   11812:   hardcode_into_libs=yes
                   11813:   if test "$host_cpu" = ia64; then
                   11814:     # AIX 5 supports IA64
                   11815:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   11816:     shlibpath_var=LD_LIBRARY_PATH
                   11817:   else
                   11818:     # With GCC up to 2.95.x, collect2 would create an import file
                   11819:     # for dependence libraries.  The import file would start with
                   11820:     # the line `#! .'.  This would cause the generated library to
                   11821:     # depend on `.', always an invalid library.  This was fixed in
                   11822:     # development snapshots of GCC prior to 3.0.
                   11823:     case $host_os in
                   11824:       aix4 | aix4.[01] | aix4.[01].*)
                   11825:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   11826:           echo ' yes '
                   11827:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   11828:        :
                   11829:       else
                   11830:        can_build_shared=no
                   11831:       fi
                   11832:       ;;
                   11833:     esac
                   11834:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   11835:     # soname into executable. Probably we can add versioning support to
                   11836:     # collect2, so additional links can be useful in future.
                   11837:     if test "$aix_use_runtimelinking" = yes; then
                   11838:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   11839:       # instead of lib<name>.a to let people know that these are not
                   11840:       # typical AIX shared libraries.
                   11841:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11842:     else
                   11843:       # We preserve .a as extension for shared libraries through AIX4.2
                   11844:       # and later when we are not doing run time linking.
                   11845:       library_names_spec='${libname}${release}.a $libname.a'
                   11846:       soname_spec='${libname}${release}${shared_ext}$major'
                   11847:     fi
                   11848:     shlibpath_var=LIBPATH
                   11849:   fi
                   11850:   ;;
                   11851: 
                   11852: amigaos*)
                   11853:   case $host_cpu in
                   11854:   powerpc)
                   11855:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   11856:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   11857:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11858:     ;;
                   11859:   m68k)
                   11860:     library_names_spec='$libname.ixlibrary $libname.a'
                   11861:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   11862:     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'
                   11863:     ;;
                   11864:   esac
                   11865:   ;;
                   11866: 
                   11867: beos*)
                   11868:   library_names_spec='${libname}${shared_ext}'
                   11869:   dynamic_linker="$host_os ld.so"
                   11870:   shlibpath_var=LIBRARY_PATH
                   11871:   ;;
                   11872: 
                   11873: bsdi[45]*)
                   11874:   version_type=linux # correct to gnu/linux during the next big refactor
                   11875:   need_version=no
                   11876:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11877:   soname_spec='${libname}${release}${shared_ext}$major'
                   11878:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   11879:   shlibpath_var=LD_LIBRARY_PATH
                   11880:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   11881:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   11882:   # the default ld.so.conf also contains /usr/contrib/lib and
                   11883:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   11884:   # libtool to hard-code these into programs
                   11885:   ;;
                   11886: 
                   11887: cygwin* | mingw* | pw32* | cegcc*)
                   11888:   version_type=windows
                   11889:   shrext_cmds=".dll"
                   11890:   need_version=no
                   11891:   need_lib_prefix=no
                   11892: 
                   11893:   case $GCC,$cc_basename in
                   11894:   yes,*)
                   11895:     # gcc
                   11896:     library_names_spec='$libname.dll.a'
                   11897:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11898:     postinstall_cmds='base_file=`basename \${file}`~
                   11899:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11900:       dldir=$destdir/`dirname \$dlpath`~
                   11901:       test -d \$dldir || mkdir -p \$dldir~
                   11902:       $install_prog $dir/$dlname \$dldir/$dlname~
                   11903:       chmod a+x \$dldir/$dlname~
                   11904:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   11905:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   11906:       fi'
                   11907:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11908:       dlpath=$dir/\$dldll~
                   11909:        $RM \$dlpath'
                   11910:     shlibpath_overrides_runpath=yes
                   11911: 
                   11912:     case $host_os in
                   11913:     cygwin*)
                   11914:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   11915:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11916: 
                   11917:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   11918:       ;;
                   11919:     mingw* | cegcc*)
                   11920:       # MinGW DLLs use traditional 'lib' prefix
                   11921:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11922:       ;;
                   11923:     pw32*)
                   11924:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   11925:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11926:       ;;
                   11927:     esac
                   11928:     dynamic_linker='Win32 ld.exe'
                   11929:     ;;
                   11930: 
                   11931:   *,cl*)
                   11932:     # Native MSVC
                   11933:     libname_spec='$name'
                   11934:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11935:     library_names_spec='${libname}.dll.lib'
                   11936: 
                   11937:     case $build_os in
                   11938:     mingw*)
                   11939:       sys_lib_search_path_spec=
                   11940:       lt_save_ifs=$IFS
                   11941:       IFS=';'
                   11942:       for lt_path in $LIB
                   11943:       do
                   11944:         IFS=$lt_save_ifs
                   11945:         # Let DOS variable expansion print the short 8.3 style file name.
                   11946:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   11947:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   11948:       done
                   11949:       IFS=$lt_save_ifs
                   11950:       # Convert to MSYS style.
                   11951:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   11952:       ;;
                   11953:     cygwin*)
                   11954:       # Convert to unix form, then to dos form, then back to unix form
                   11955:       # but this time dos style (no spaces!) so that the unix form looks
                   11956:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   11957:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   11958:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   11959:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11960:       ;;
                   11961:     *)
                   11962:       sys_lib_search_path_spec="$LIB"
                   11963:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   11964:         # It is most probably a Windows format PATH.
                   11965:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   11966:       else
                   11967:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11968:       fi
                   11969:       # FIXME: find the short name or the path components, as spaces are
                   11970:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   11971:       ;;
                   11972:     esac
                   11973: 
                   11974:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11975:     postinstall_cmds='base_file=`basename \${file}`~
                   11976:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11977:       dldir=$destdir/`dirname \$dlpath`~
                   11978:       test -d \$dldir || mkdir -p \$dldir~
                   11979:       $install_prog $dir/$dlname \$dldir/$dlname'
                   11980:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11981:       dlpath=$dir/\$dldll~
                   11982:        $RM \$dlpath'
                   11983:     shlibpath_overrides_runpath=yes
                   11984:     dynamic_linker='Win32 link.exe'
                   11985:     ;;
                   11986: 
                   11987:   *)
                   11988:     # Assume MSVC wrapper
                   11989:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   11990:     dynamic_linker='Win32 ld.exe'
                   11991:     ;;
                   11992:   esac
                   11993:   # FIXME: first we should search . and the directory the executable is in
                   11994:   shlibpath_var=PATH
                   11995:   ;;
                   11996: 
                   11997: darwin* | rhapsody*)
                   11998:   dynamic_linker="$host_os dyld"
                   11999:   version_type=darwin
                   12000:   need_lib_prefix=no
                   12001:   need_version=no
                   12002:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   12003:   soname_spec='${libname}${release}${major}$shared_ext'
                   12004:   shlibpath_overrides_runpath=yes
                   12005:   shlibpath_var=DYLD_LIBRARY_PATH
                   12006:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   12007: 
                   12008:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   12009:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   12010:   ;;
                   12011: 
                   12012: dgux*)
                   12013:   version_type=linux # correct to gnu/linux during the next big refactor
                   12014:   need_lib_prefix=no
                   12015:   need_version=no
                   12016:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   12017:   soname_spec='${libname}${release}${shared_ext}$major'
                   12018:   shlibpath_var=LD_LIBRARY_PATH
                   12019:   ;;
                   12020: 
                   12021: freebsd* | dragonfly*)
                   12022:   # DragonFly does not have aout.  When/if they implement a new
                   12023:   # versioning mechanism, adjust this.
                   12024:   if test -x /usr/bin/objformat; then
                   12025:     objformat=`/usr/bin/objformat`
                   12026:   else
                   12027:     case $host_os in
                   12028:     freebsd[23].*) objformat=aout ;;
                   12029:     *) objformat=elf ;;
                   12030:     esac
                   12031:   fi
                   12032:   version_type=freebsd-$objformat
                   12033:   case $version_type in
                   12034:     freebsd-elf*)
                   12035:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12036:       need_version=no
                   12037:       need_lib_prefix=no
                   12038:       ;;
                   12039:     freebsd-*)
                   12040:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   12041:       need_version=yes
                   12042:       ;;
                   12043:   esac
                   12044:   shlibpath_var=LD_LIBRARY_PATH
                   12045:   case $host_os in
                   12046:   freebsd2.*)
                   12047:     shlibpath_overrides_runpath=yes
                   12048:     ;;
                   12049:   freebsd3.[01]* | freebsdelf3.[01]*)
                   12050:     shlibpath_overrides_runpath=yes
                   12051:     hardcode_into_libs=yes
                   12052:     ;;
                   12053:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   12054:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   12055:     shlibpath_overrides_runpath=no
                   12056:     hardcode_into_libs=yes
                   12057:     ;;
                   12058:   *) # from 4.6 on, and DragonFly
                   12059:     shlibpath_overrides_runpath=yes
                   12060:     hardcode_into_libs=yes
                   12061:     ;;
                   12062:   esac
                   12063:   ;;
                   12064: 
                   12065: gnu*)
                   12066:   version_type=linux # correct to gnu/linux during the next big refactor
                   12067:   need_lib_prefix=no
                   12068:   need_version=no
                   12069:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   12070:   soname_spec='${libname}${release}${shared_ext}$major'
                   12071:   shlibpath_var=LD_LIBRARY_PATH
                   12072:   shlibpath_overrides_runpath=no
                   12073:   hardcode_into_libs=yes
                   12074:   ;;
                   12075: 
                   12076: haiku*)
                   12077:   version_type=linux # correct to gnu/linux during the next big refactor
                   12078:   need_lib_prefix=no
                   12079:   need_version=no
                   12080:   dynamic_linker="$host_os runtime_loader"
                   12081:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   12082:   soname_spec='${libname}${release}${shared_ext}$major'
                   12083:   shlibpath_var=LIBRARY_PATH
                   12084:   shlibpath_overrides_runpath=yes
                   12085:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   12086:   hardcode_into_libs=yes
                   12087:   ;;
                   12088: 
                   12089: hpux9* | hpux10* | hpux11*)
                   12090:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   12091:   # link against other versions.
                   12092:   version_type=sunos
                   12093:   need_lib_prefix=no
                   12094:   need_version=no
                   12095:   case $host_cpu in
                   12096:   ia64*)
                   12097:     shrext_cmds='.so'
                   12098:     hardcode_into_libs=yes
                   12099:     dynamic_linker="$host_os dld.so"
                   12100:     shlibpath_var=LD_LIBRARY_PATH
                   12101:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   12102:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12103:     soname_spec='${libname}${release}${shared_ext}$major'
                   12104:     if test "X$HPUX_IA64_MODE" = X32; then
                   12105:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   12106:     else
                   12107:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   12108:     fi
                   12109:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12110:     ;;
                   12111:   hppa*64*)
                   12112:     shrext_cmds='.sl'
                   12113:     hardcode_into_libs=yes
                   12114:     dynamic_linker="$host_os dld.sl"
                   12115:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   12116:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   12117:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12118:     soname_spec='${libname}${release}${shared_ext}$major'
                   12119:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   12120:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12121:     ;;
                   12122:   *)
                   12123:     shrext_cmds='.sl'
                   12124:     dynamic_linker="$host_os dld.sl"
                   12125:     shlibpath_var=SHLIB_PATH
                   12126:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   12127:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12128:     soname_spec='${libname}${release}${shared_ext}$major'
                   12129:     ;;
                   12130:   esac
                   12131:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   12132:   postinstall_cmds='chmod 555 $lib'
                   12133:   # or fails outright, so override atomically:
                   12134:   install_override_mode=555
                   12135:   ;;
                   12136: 
                   12137: interix[3-9]*)
                   12138:   version_type=linux # correct to gnu/linux during the next big refactor
                   12139:   need_lib_prefix=no
                   12140:   need_version=no
                   12141:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12142:   soname_spec='${libname}${release}${shared_ext}$major'
                   12143:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   12144:   shlibpath_var=LD_LIBRARY_PATH
                   12145:   shlibpath_overrides_runpath=no
                   12146:   hardcode_into_libs=yes
                   12147:   ;;
                   12148: 
                   12149: irix5* | irix6* | nonstopux*)
                   12150:   case $host_os in
                   12151:     nonstopux*) version_type=nonstopux ;;
                   12152:     *)
                   12153:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   12154:                version_type=linux # correct to gnu/linux during the next big refactor
                   12155:        else
                   12156:                version_type=irix
                   12157:        fi ;;
                   12158:   esac
                   12159:   need_lib_prefix=no
                   12160:   need_version=no
                   12161:   soname_spec='${libname}${release}${shared_ext}$major'
                   12162:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12163:   case $host_os in
                   12164:   irix5* | nonstopux*)
                   12165:     libsuff= shlibsuff=
                   12166:     ;;
                   12167:   *)
                   12168:     case $LD in # libtool.m4 will add one of these switches to LD
                   12169:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   12170:       libsuff= shlibsuff= libmagic=32-bit;;
                   12171:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   12172:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   12173:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   12174:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   12175:     *) libsuff= shlibsuff= libmagic=never-match;;
                   12176:     esac
                   12177:     ;;
                   12178:   esac
                   12179:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   12180:   shlibpath_overrides_runpath=no
                   12181:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   12182:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   12183:   hardcode_into_libs=yes
                   12184:   ;;
                   12185: 
                   12186: # No shared lib support for Linux oldld, aout, or coff.
                   12187: linux*oldld* | linux*aout* | linux*coff*)
                   12188:   dynamic_linker=no
                   12189:   ;;
                   12190: 
                   12191: # This must be glibc/ELF.
                   12192: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   12193:   version_type=linux # correct to gnu/linux during the next big refactor
                   12194:   need_lib_prefix=no
                   12195:   need_version=no
                   12196:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12197:   soname_spec='${libname}${release}${shared_ext}$major'
                   12198:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   12199:   shlibpath_var=LD_LIBRARY_PATH
                   12200:   shlibpath_overrides_runpath=no
                   12201: 
                   12202:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     12203:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   12204:   $as_echo_n "(cached) " >&6
1.128     moko     12205: else
                   12206:   lt_cv_shlibpath_overrides_runpath=no
                   12207:     save_LDFLAGS=$LDFLAGS
                   12208:     save_libdir=$libdir
                   12209:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   12210:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150     moko     12211:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12212: /* end confdefs.h.  */
                   12213: 
                   12214: int
                   12215: main ()
                   12216: {
                   12217: 
                   12218:   ;
                   12219:   return 0;
                   12220: }
                   12221: _ACEOF
1.150     moko     12222: if ac_fn_c_try_link "$LINENO"; then :
                   12223:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     12224:   lt_cv_shlibpath_overrides_runpath=yes
                   12225: fi
                   12226: fi
1.150     moko     12227: rm -f core conftest.err conftest.$ac_objext \
                   12228:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12229:     LDFLAGS=$save_LDFLAGS
                   12230:     libdir=$save_libdir
                   12231: 
                   12232: fi
                   12233: 
                   12234:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   12235: 
                   12236:   # This implies no fast_install, which is unacceptable.
                   12237:   # Some rework will be needed to allow for fast_install
                   12238:   # before this can be enabled.
                   12239:   hardcode_into_libs=yes
                   12240: 
                   12241:   # Append ld.so.conf contents to the search path
                   12242:   if test -f /etc/ld.so.conf; then
                   12243:     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' ' '`
                   12244:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   12245:   fi
                   12246: 
                   12247:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   12248:   # powerpc, because MkLinux only supported shared libraries with the
                   12249:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   12250:   # most powerpc-linux boxes support dynamic linking these days and
                   12251:   # people can always --disable-shared, the test was removed, and we
                   12252:   # assume the GNU/Linux dynamic linker is in use.
                   12253:   dynamic_linker='GNU/Linux ld.so'
                   12254:   ;;
                   12255: 
                   12256: netbsd*)
                   12257:   version_type=sunos
                   12258:   need_lib_prefix=no
                   12259:   need_version=no
                   12260:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   12261:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12262:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12263:     dynamic_linker='NetBSD (a.out) ld.so'
                   12264:   else
                   12265:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12266:     soname_spec='${libname}${release}${shared_ext}$major'
                   12267:     dynamic_linker='NetBSD ld.elf_so'
                   12268:   fi
                   12269:   shlibpath_var=LD_LIBRARY_PATH
                   12270:   shlibpath_overrides_runpath=yes
                   12271:   hardcode_into_libs=yes
                   12272:   ;;
                   12273: 
                   12274: newsos6)
                   12275:   version_type=linux # correct to gnu/linux during the next big refactor
                   12276:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12277:   shlibpath_var=LD_LIBRARY_PATH
                   12278:   shlibpath_overrides_runpath=yes
                   12279:   ;;
                   12280: 
                   12281: *nto* | *qnx*)
                   12282:   version_type=qnx
                   12283:   need_lib_prefix=no
                   12284:   need_version=no
                   12285:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12286:   soname_spec='${libname}${release}${shared_ext}$major'
                   12287:   shlibpath_var=LD_LIBRARY_PATH
                   12288:   shlibpath_overrides_runpath=no
                   12289:   hardcode_into_libs=yes
                   12290:   dynamic_linker='ldqnx.so'
                   12291:   ;;
                   12292: 
                   12293: openbsd*)
                   12294:   version_type=sunos
                   12295:   sys_lib_dlsearch_path_spec="/usr/lib"
                   12296:   need_lib_prefix=no
                   12297:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   12298:   case $host_os in
                   12299:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   12300:     *)                         need_version=no  ;;
                   12301:   esac
                   12302:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12303:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12304:   shlibpath_var=LD_LIBRARY_PATH
                   12305:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   12306:     case $host_os in
                   12307:       openbsd2.[89] | openbsd2.[89].*)
                   12308:        shlibpath_overrides_runpath=no
                   12309:        ;;
                   12310:       *)
                   12311:        shlibpath_overrides_runpath=yes
                   12312:        ;;
                   12313:       esac
                   12314:   else
                   12315:     shlibpath_overrides_runpath=yes
                   12316:   fi
                   12317:   ;;
                   12318: 
                   12319: os2*)
                   12320:   libname_spec='$name'
                   12321:   shrext_cmds=".dll"
                   12322:   need_lib_prefix=no
                   12323:   library_names_spec='$libname${shared_ext} $libname.a'
                   12324:   dynamic_linker='OS/2 ld.exe'
                   12325:   shlibpath_var=LIBPATH
                   12326:   ;;
                   12327: 
                   12328: osf3* | osf4* | osf5*)
                   12329:   version_type=osf
                   12330:   need_lib_prefix=no
                   12331:   need_version=no
                   12332:   soname_spec='${libname}${release}${shared_ext}$major'
                   12333:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12334:   shlibpath_var=LD_LIBRARY_PATH
                   12335:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   12336:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   12337:   ;;
                   12338: 
                   12339: rdos*)
                   12340:   dynamic_linker=no
                   12341:   ;;
                   12342: 
                   12343: solaris*)
                   12344:   version_type=linux # correct to gnu/linux during the next big refactor
                   12345:   need_lib_prefix=no
                   12346:   need_version=no
                   12347:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12348:   soname_spec='${libname}${release}${shared_ext}$major'
                   12349:   shlibpath_var=LD_LIBRARY_PATH
                   12350:   shlibpath_overrides_runpath=yes
                   12351:   hardcode_into_libs=yes
                   12352:   # ldd complains unless libraries are executable
                   12353:   postinstall_cmds='chmod +x $lib'
                   12354:   ;;
                   12355: 
                   12356: sunos4*)
                   12357:   version_type=sunos
                   12358:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12359:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   12360:   shlibpath_var=LD_LIBRARY_PATH
                   12361:   shlibpath_overrides_runpath=yes
                   12362:   if test "$with_gnu_ld" = yes; then
                   12363:     need_lib_prefix=no
                   12364:   fi
                   12365:   need_version=yes
                   12366:   ;;
                   12367: 
                   12368: sysv4 | sysv4.3*)
                   12369:   version_type=linux # correct to gnu/linux during the next big refactor
                   12370:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12371:   soname_spec='${libname}${release}${shared_ext}$major'
                   12372:   shlibpath_var=LD_LIBRARY_PATH
                   12373:   case $host_vendor in
                   12374:     sni)
                   12375:       shlibpath_overrides_runpath=no
                   12376:       need_lib_prefix=no
                   12377:       runpath_var=LD_RUN_PATH
                   12378:       ;;
                   12379:     siemens)
                   12380:       need_lib_prefix=no
                   12381:       ;;
                   12382:     motorola)
                   12383:       need_lib_prefix=no
                   12384:       need_version=no
                   12385:       shlibpath_overrides_runpath=no
                   12386:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   12387:       ;;
                   12388:   esac
                   12389:   ;;
                   12390: 
                   12391: sysv4*MP*)
                   12392:   if test -d /usr/nec ;then
                   12393:     version_type=linux # correct to gnu/linux during the next big refactor
                   12394:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   12395:     soname_spec='$libname${shared_ext}.$major'
                   12396:     shlibpath_var=LD_LIBRARY_PATH
                   12397:   fi
                   12398:   ;;
                   12399: 
                   12400: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   12401:   version_type=freebsd-elf
                   12402:   need_lib_prefix=no
                   12403:   need_version=no
                   12404:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12405:   soname_spec='${libname}${release}${shared_ext}$major'
                   12406:   shlibpath_var=LD_LIBRARY_PATH
                   12407:   shlibpath_overrides_runpath=yes
                   12408:   hardcode_into_libs=yes
                   12409:   if test "$with_gnu_ld" = yes; then
                   12410:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   12411:   else
                   12412:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   12413:     case $host_os in
                   12414:       sco3.2v5*)
                   12415:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   12416:        ;;
                   12417:     esac
                   12418:   fi
                   12419:   sys_lib_dlsearch_path_spec='/usr/lib'
                   12420:   ;;
                   12421: 
                   12422: tpf*)
                   12423:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   12424:   version_type=linux # correct to gnu/linux during the next big refactor
                   12425:   need_lib_prefix=no
                   12426:   need_version=no
                   12427:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12428:   shlibpath_var=LD_LIBRARY_PATH
                   12429:   shlibpath_overrides_runpath=no
                   12430:   hardcode_into_libs=yes
                   12431:   ;;
                   12432: 
                   12433: uts4*)
                   12434:   version_type=linux # correct to gnu/linux during the next big refactor
                   12435:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12436:   soname_spec='${libname}${release}${shared_ext}$major'
                   12437:   shlibpath_var=LD_LIBRARY_PATH
                   12438:   ;;
                   12439: 
                   12440: *)
                   12441:   dynamic_linker=no
                   12442:   ;;
                   12443: esac
1.150     moko     12444: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   12445: $as_echo "$dynamic_linker" >&6; }
1.128     moko     12446: test "$dynamic_linker" = no && can_build_shared=no
                   12447: 
                   12448: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   12449: if test "$GCC" = yes; then
                   12450:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   12451: fi
                   12452: 
                   12453: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   12454:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   12455: fi
                   12456: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   12457:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   12458: fi
                   12459: 
                   12460: 
                   12461: 
                   12462: 
                   12463: 
                   12464: 
                   12465: 
                   12466: 
                   12467: 
                   12468: 
                   12469: 
                   12470: 
                   12471: 
                   12472: 
                   12473: 
                   12474: 
                   12475: 
                   12476: 
                   12477: 
                   12478: 
                   12479: 
                   12480: 
                   12481: 
                   12482: 
                   12483: 
                   12484: 
                   12485: 
                   12486: 
                   12487: 
                   12488: 
                   12489: 
                   12490: 
                   12491: 
                   12492: 
                   12493: 
                   12494: 
                   12495: 
                   12496: 
                   12497: 
                   12498: 
                   12499: 
                   12500: 
                   12501: 
                   12502: 
                   12503: 
                   12504: 
                   12505: 
                   12506: 
                   12507: 
                   12508: 
                   12509: 
                   12510: 
                   12511: 
                   12512: 
                   12513: 
                   12514: 
                   12515: 
                   12516: 
                   12517: 
                   12518: 
                   12519: 
                   12520: 
                   12521: 
                   12522: 
                   12523: 
                   12524: 
                   12525: 
                   12526: 
                   12527: 
                   12528: 
                   12529: 
                   12530: 
                   12531: 
                   12532: 
                   12533: 
                   12534: 
                   12535: 
                   12536: 
                   12537: 
                   12538: 
                   12539: 
                   12540: 
                   12541: 
                   12542: 
                   12543: 
                   12544: 
                   12545: 
                   12546: 
                   12547: 
                   12548: 
                   12549: 
                   12550: 
1.150     moko     12551:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   12552: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     12553: hardcode_action=
                   12554: if test -n "$hardcode_libdir_flag_spec" ||
                   12555:    test -n "$runpath_var" ||
                   12556:    test "X$hardcode_automatic" = "Xyes" ; then
                   12557: 
                   12558:   # We can hardcode non-existent directories.
                   12559:   if test "$hardcode_direct" != no &&
                   12560:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   12561:      # have to relink, otherwise we might link with an installed library
                   12562:      # when we should be linking with a yet-to-be-installed one
                   12563:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   12564:      test "$hardcode_minus_L" != no; then
                   12565:     # Linking always hardcodes the temporary library directory.
                   12566:     hardcode_action=relink
                   12567:   else
                   12568:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   12569:     hardcode_action=immediate
                   12570:   fi
                   12571: else
                   12572:   # We cannot hardcode anything, or else we can only hardcode existing
                   12573:   # directories.
                   12574:   hardcode_action=unsupported
                   12575: fi
1.150     moko     12576: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   12577: $as_echo "$hardcode_action" >&6; }
1.128     moko     12578: 
                   12579: if test "$hardcode_action" = relink ||
                   12580:    test "$inherit_rpath" = yes; then
                   12581:   # Fast installation is not supported
                   12582:   enable_fast_install=no
                   12583: elif test "$shlibpath_overrides_runpath" = yes ||
                   12584:      test "$enable_shared" = no; then
                   12585:   # Fast installation is not necessary
                   12586:   enable_fast_install=needless
                   12587: fi
                   12588: 
                   12589: 
                   12590: 
                   12591: 
                   12592: 
                   12593: 
                   12594:   if test "x$enable_dlopen" != xyes; then
                   12595:   enable_dlopen=unknown
                   12596:   enable_dlopen_self=unknown
                   12597:   enable_dlopen_self_static=unknown
                   12598: else
                   12599:   lt_cv_dlopen=no
                   12600:   lt_cv_dlopen_libs=
                   12601: 
                   12602:   case $host_os in
                   12603:   beos*)
                   12604:     lt_cv_dlopen="load_add_on"
                   12605:     lt_cv_dlopen_libs=
                   12606:     lt_cv_dlopen_self=yes
                   12607:     ;;
                   12608: 
                   12609:   mingw* | pw32* | cegcc*)
                   12610:     lt_cv_dlopen="LoadLibrary"
                   12611:     lt_cv_dlopen_libs=
                   12612:     ;;
                   12613: 
                   12614:   cygwin*)
                   12615:     lt_cv_dlopen="dlopen"
                   12616:     lt_cv_dlopen_libs=
                   12617:     ;;
                   12618: 
                   12619:   darwin*)
                   12620:   # if libdl is installed we need to link against it
1.150     moko     12621:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12622: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12623: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12624:   $as_echo_n "(cached) " >&6
1.128     moko     12625: else
                   12626:   ac_check_lib_save_LIBS=$LIBS
                   12627: LIBS="-ldl  $LIBS"
1.150     moko     12628: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12629: /* end confdefs.h.  */
                   12630: 
1.150     moko     12631: /* Override any GCC internal prototype to avoid an error.
                   12632:    Use char because int might match the return type of a GCC
                   12633:    builtin and then its argument prototype would still apply.  */
1.128     moko     12634: #ifdef __cplusplus
                   12635: extern "C"
                   12636: #endif
                   12637: char dlopen ();
                   12638: int
                   12639: main ()
                   12640: {
1.150     moko     12641: return dlopen ();
1.128     moko     12642:   ;
                   12643:   return 0;
                   12644: }
                   12645: _ACEOF
1.150     moko     12646: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12647:   ac_cv_lib_dl_dlopen=yes
                   12648: else
1.150     moko     12649:   ac_cv_lib_dl_dlopen=no
1.128     moko     12650: fi
1.150     moko     12651: rm -f core conftest.err conftest.$ac_objext \
                   12652:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12653: LIBS=$ac_check_lib_save_LIBS
                   12654: fi
1.150     moko     12655: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12656: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12657: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12658:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12659: else
                   12660: 
                   12661:     lt_cv_dlopen="dyld"
                   12662:     lt_cv_dlopen_libs=
                   12663:     lt_cv_dlopen_self=yes
                   12664: 
                   12665: fi
                   12666: 
                   12667:     ;;
                   12668: 
                   12669:   *)
1.150     moko     12670:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   12671: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     12672:   lt_cv_dlopen="shl_load"
                   12673: else
1.150     moko     12674:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   12675: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   12676: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   12677:   $as_echo_n "(cached) " >&6
1.128     moko     12678: else
                   12679:   ac_check_lib_save_LIBS=$LIBS
                   12680: LIBS="-ldld  $LIBS"
1.150     moko     12681: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12682: /* end confdefs.h.  */
                   12683: 
1.150     moko     12684: /* Override any GCC internal prototype to avoid an error.
                   12685:    Use char because int might match the return type of a GCC
                   12686:    builtin and then its argument prototype would still apply.  */
1.128     moko     12687: #ifdef __cplusplus
                   12688: extern "C"
                   12689: #endif
                   12690: char shl_load ();
                   12691: int
                   12692: main ()
                   12693: {
1.150     moko     12694: return shl_load ();
1.128     moko     12695:   ;
                   12696:   return 0;
                   12697: }
                   12698: _ACEOF
1.150     moko     12699: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12700:   ac_cv_lib_dld_shl_load=yes
                   12701: else
1.150     moko     12702:   ac_cv_lib_dld_shl_load=no
1.128     moko     12703: fi
1.150     moko     12704: rm -f core conftest.err conftest.$ac_objext \
                   12705:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12706: LIBS=$ac_check_lib_save_LIBS
                   12707: fi
1.150     moko     12708: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   12709: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   12710: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.128     moko     12711:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   12712: else
1.150     moko     12713:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   12714: if test "x$ac_cv_func_dlopen" = xyes; then :
1.128     moko     12715:   lt_cv_dlopen="dlopen"
                   12716: else
1.150     moko     12717:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12718: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12719: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12720:   $as_echo_n "(cached) " >&6
1.128     moko     12721: else
                   12722:   ac_check_lib_save_LIBS=$LIBS
                   12723: LIBS="-ldl  $LIBS"
1.150     moko     12724: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12725: /* end confdefs.h.  */
                   12726: 
1.150     moko     12727: /* Override any GCC internal prototype to avoid an error.
                   12728:    Use char because int might match the return type of a GCC
                   12729:    builtin and then its argument prototype would still apply.  */
1.128     moko     12730: #ifdef __cplusplus
                   12731: extern "C"
                   12732: #endif
                   12733: char dlopen ();
                   12734: int
                   12735: main ()
                   12736: {
1.150     moko     12737: return dlopen ();
1.128     moko     12738:   ;
                   12739:   return 0;
                   12740: }
                   12741: _ACEOF
1.150     moko     12742: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12743:   ac_cv_lib_dl_dlopen=yes
                   12744: else
1.150     moko     12745:   ac_cv_lib_dl_dlopen=no
1.128     moko     12746: fi
1.150     moko     12747: rm -f core conftest.err conftest.$ac_objext \
                   12748:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12749: LIBS=$ac_check_lib_save_LIBS
                   12750: fi
1.150     moko     12751: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12752: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12753: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12754:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12755: else
1.150     moko     12756:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   12757: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   12758: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   12759:   $as_echo_n "(cached) " >&6
1.128     moko     12760: else
                   12761:   ac_check_lib_save_LIBS=$LIBS
                   12762: LIBS="-lsvld  $LIBS"
1.150     moko     12763: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12764: /* end confdefs.h.  */
                   12765: 
1.150     moko     12766: /* Override any GCC internal prototype to avoid an error.
                   12767:    Use char because int might match the return type of a GCC
                   12768:    builtin and then its argument prototype would still apply.  */
1.128     moko     12769: #ifdef __cplusplus
                   12770: extern "C"
                   12771: #endif
                   12772: char dlopen ();
                   12773: int
                   12774: main ()
                   12775: {
1.150     moko     12776: return dlopen ();
1.128     moko     12777:   ;
                   12778:   return 0;
                   12779: }
                   12780: _ACEOF
1.150     moko     12781: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12782:   ac_cv_lib_svld_dlopen=yes
                   12783: else
1.150     moko     12784:   ac_cv_lib_svld_dlopen=no
1.128     moko     12785: fi
1.150     moko     12786: rm -f core conftest.err conftest.$ac_objext \
                   12787:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12788: LIBS=$ac_check_lib_save_LIBS
                   12789: fi
1.150     moko     12790: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   12791: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   12792: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     12793:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   12794: else
1.150     moko     12795:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   12796: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   12797: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   12798:   $as_echo_n "(cached) " >&6
1.128     moko     12799: else
                   12800:   ac_check_lib_save_LIBS=$LIBS
                   12801: LIBS="-ldld  $LIBS"
1.150     moko     12802: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12803: /* end confdefs.h.  */
                   12804: 
1.150     moko     12805: /* Override any GCC internal prototype to avoid an error.
                   12806:    Use char because int might match the return type of a GCC
                   12807:    builtin and then its argument prototype would still apply.  */
1.128     moko     12808: #ifdef __cplusplus
                   12809: extern "C"
                   12810: #endif
                   12811: char dld_link ();
                   12812: int
                   12813: main ()
                   12814: {
1.150     moko     12815: return dld_link ();
1.128     moko     12816:   ;
                   12817:   return 0;
                   12818: }
                   12819: _ACEOF
1.150     moko     12820: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12821:   ac_cv_lib_dld_dld_link=yes
                   12822: else
1.150     moko     12823:   ac_cv_lib_dld_dld_link=no
                   12824: fi
                   12825: rm -f core conftest.err conftest.$ac_objext \
                   12826:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12827: LIBS=$ac_check_lib_save_LIBS
                   12828: fi
1.150     moko     12829: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   12830: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   12831: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     12832:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12833: fi
                   12834: 
                   12835: 
                   12836: fi
                   12837: 
                   12838: 
                   12839: fi
                   12840: 
                   12841: 
                   12842: fi
                   12843: 
                   12844: 
                   12845: fi
                   12846: 
                   12847: 
                   12848: fi
                   12849: 
                   12850:     ;;
                   12851:   esac
                   12852: 
                   12853:   if test "x$lt_cv_dlopen" != xno; then
                   12854:     enable_dlopen=yes
                   12855:   else
                   12856:     enable_dlopen=no
                   12857:   fi
                   12858: 
                   12859:   case $lt_cv_dlopen in
                   12860:   dlopen)
                   12861:     save_CPPFLAGS="$CPPFLAGS"
                   12862:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12863: 
                   12864:     save_LDFLAGS="$LDFLAGS"
                   12865:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12866: 
                   12867:     save_LIBS="$LIBS"
                   12868:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12869: 
1.150     moko     12870:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   12871: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   12872: if ${lt_cv_dlopen_self+:} false; then :
                   12873:   $as_echo_n "(cached) " >&6
1.128     moko     12874: else
                   12875:          if test "$cross_compiling" = yes; then :
                   12876:   lt_cv_dlopen_self=cross
                   12877: else
                   12878:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12879:   lt_status=$lt_dlunknown
                   12880:   cat > conftest.$ac_ext <<_LT_EOF
                   12881: #line $LINENO "configure"
                   12882: #include "confdefs.h"
                   12883: 
                   12884: #if HAVE_DLFCN_H
                   12885: #include <dlfcn.h>
                   12886: #endif
                   12887: 
                   12888: #include <stdio.h>
                   12889: 
                   12890: #ifdef RTLD_GLOBAL
                   12891: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12892: #else
                   12893: #  ifdef DL_GLOBAL
                   12894: #    define LT_DLGLOBAL                DL_GLOBAL
                   12895: #  else
                   12896: #    define LT_DLGLOBAL                0
                   12897: #  endif
                   12898: #endif
                   12899: 
                   12900: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12901:    find out it does not work in some platform. */
                   12902: #ifndef LT_DLLAZY_OR_NOW
                   12903: #  ifdef RTLD_LAZY
                   12904: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12905: #  else
                   12906: #    ifdef DL_LAZY
                   12907: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12908: #    else
                   12909: #      ifdef RTLD_NOW
                   12910: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12911: #      else
                   12912: #        ifdef DL_NOW
                   12913: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12914: #        else
                   12915: #          define LT_DLLAZY_OR_NOW     0
                   12916: #        endif
                   12917: #      endif
                   12918: #    endif
                   12919: #  endif
                   12920: #endif
                   12921: 
                   12922: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12923:    correspondingly for the symbols needed.  */
                   12924: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12925: int fnord () __attribute__((visibility("default")));
                   12926: #endif
                   12927: 
                   12928: int fnord () { return 42; }
                   12929: int main ()
                   12930: {
                   12931:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12932:   int status = $lt_dlunknown;
                   12933: 
                   12934:   if (self)
                   12935:     {
                   12936:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12937:       else
                   12938:         {
                   12939:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12940:           else puts (dlerror ());
                   12941:        }
                   12942:       /* dlclose (self); */
                   12943:     }
                   12944:   else
                   12945:     puts (dlerror ());
                   12946: 
                   12947:   return status;
                   12948: }
                   12949: _LT_EOF
1.150     moko     12950:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12951:   (eval $ac_link) 2>&5
                   12952:   ac_status=$?
1.150     moko     12953:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12954:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12955:     (./conftest; exit; ) >&5 2>/dev/null
                   12956:     lt_status=$?
                   12957:     case x$lt_status in
                   12958:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12959:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12960:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12961:     esac
                   12962:   else :
                   12963:     # compilation failed
                   12964:     lt_cv_dlopen_self=no
                   12965:   fi
                   12966: fi
                   12967: rm -fr conftest*
                   12968: 
                   12969: 
                   12970: fi
1.150     moko     12971: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   12972: $as_echo "$lt_cv_dlopen_self" >&6; }
1.128     moko     12973: 
                   12974:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12975:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.150     moko     12976:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   12977: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   12978: if ${lt_cv_dlopen_self_static+:} false; then :
                   12979:   $as_echo_n "(cached) " >&6
1.128     moko     12980: else
                   12981:          if test "$cross_compiling" = yes; then :
                   12982:   lt_cv_dlopen_self_static=cross
                   12983: else
                   12984:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12985:   lt_status=$lt_dlunknown
                   12986:   cat > conftest.$ac_ext <<_LT_EOF
                   12987: #line $LINENO "configure"
                   12988: #include "confdefs.h"
                   12989: 
                   12990: #if HAVE_DLFCN_H
                   12991: #include <dlfcn.h>
                   12992: #endif
                   12993: 
                   12994: #include <stdio.h>
                   12995: 
                   12996: #ifdef RTLD_GLOBAL
                   12997: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12998: #else
                   12999: #  ifdef DL_GLOBAL
                   13000: #    define LT_DLGLOBAL                DL_GLOBAL
                   13001: #  else
                   13002: #    define LT_DLGLOBAL                0
                   13003: #  endif
                   13004: #endif
                   13005: 
                   13006: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   13007:    find out it does not work in some platform. */
                   13008: #ifndef LT_DLLAZY_OR_NOW
                   13009: #  ifdef RTLD_LAZY
                   13010: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   13011: #  else
                   13012: #    ifdef DL_LAZY
                   13013: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   13014: #    else
                   13015: #      ifdef RTLD_NOW
                   13016: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   13017: #      else
                   13018: #        ifdef DL_NOW
                   13019: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   13020: #        else
                   13021: #          define LT_DLLAZY_OR_NOW     0
                   13022: #        endif
                   13023: #      endif
                   13024: #    endif
                   13025: #  endif
                   13026: #endif
                   13027: 
                   13028: /* When -fvisbility=hidden is used, assume the code has been annotated
                   13029:    correspondingly for the symbols needed.  */
                   13030: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   13031: int fnord () __attribute__((visibility("default")));
                   13032: #endif
                   13033: 
                   13034: int fnord () { return 42; }
                   13035: int main ()
                   13036: {
                   13037:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   13038:   int status = $lt_dlunknown;
                   13039: 
                   13040:   if (self)
                   13041:     {
                   13042:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   13043:       else
                   13044:         {
                   13045:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   13046:           else puts (dlerror ());
                   13047:        }
                   13048:       /* dlclose (self); */
                   13049:     }
                   13050:   else
                   13051:     puts (dlerror ());
                   13052: 
                   13053:   return status;
                   13054: }
                   13055: _LT_EOF
1.150     moko     13056:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     13057:   (eval $ac_link) 2>&5
                   13058:   ac_status=$?
1.150     moko     13059:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13060:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     13061:     (./conftest; exit; ) >&5 2>/dev/null
                   13062:     lt_status=$?
                   13063:     case x$lt_status in
                   13064:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   13065:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   13066:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   13067:     esac
                   13068:   else :
                   13069:     # compilation failed
                   13070:     lt_cv_dlopen_self_static=no
                   13071:   fi
                   13072: fi
                   13073: rm -fr conftest*
                   13074: 
                   13075: 
                   13076: fi
1.150     moko     13077: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   13078: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     13079:     fi
                   13080: 
                   13081:     CPPFLAGS="$save_CPPFLAGS"
                   13082:     LDFLAGS="$save_LDFLAGS"
                   13083:     LIBS="$save_LIBS"
                   13084:     ;;
                   13085:   esac
                   13086: 
                   13087:   case $lt_cv_dlopen_self in
                   13088:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   13089:   *) enable_dlopen_self=unknown ;;
                   13090:   esac
                   13091: 
                   13092:   case $lt_cv_dlopen_self_static in
                   13093:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   13094:   *) enable_dlopen_self_static=unknown ;;
                   13095:   esac
                   13096: fi
                   13097: 
                   13098: 
                   13099: 
                   13100: 
                   13101: 
                   13102: 
                   13103: 
                   13104: 
                   13105: 
                   13106: 
                   13107: 
                   13108: 
                   13109: 
                   13110: 
                   13111: 
                   13112: 
                   13113: 
                   13114: striplib=
                   13115: old_striplib=
1.150     moko     13116: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   13117: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.128     moko     13118: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   13119:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   13120:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.150     moko     13121:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13122: $as_echo "yes" >&6; }
1.128     moko     13123: else
                   13124: # FIXME - insert some real tests, host_os isn't really good enough
                   13125:   case $host_os in
                   13126:   darwin*)
                   13127:     if test -n "$STRIP" ; then
                   13128:       striplib="$STRIP -x"
                   13129:       old_striplib="$STRIP -S"
1.150     moko     13130:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13131: $as_echo "yes" >&6; }
1.128     moko     13132:     else
1.150     moko     13133:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13134: $as_echo "no" >&6; }
1.128     moko     13135:     fi
                   13136:     ;;
                   13137:   *)
1.150     moko     13138:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13139: $as_echo "no" >&6; }
1.128     moko     13140:     ;;
                   13141:   esac
                   13142: fi
                   13143: 
                   13144: 
                   13145: 
                   13146: 
                   13147: 
                   13148: 
                   13149: 
                   13150: 
                   13151: 
                   13152: 
                   13153: 
                   13154: 
                   13155:   # Report which library types will actually be built
1.150     moko     13156:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   13157: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   13158:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   13159: $as_echo "$can_build_shared" >&6; }
1.128     moko     13160: 
1.150     moko     13161:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   13162: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.128     moko     13163:   test "$can_build_shared" = "no" && enable_shared=no
                   13164: 
                   13165:   # On AIX, shared libraries and static libraries use the same namespace, and
                   13166:   # are all built from PIC.
                   13167:   case $host_os in
                   13168:   aix3*)
                   13169:     test "$enable_shared" = yes && enable_static=no
                   13170:     if test -n "$RANLIB"; then
                   13171:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   13172:       postinstall_cmds='$RANLIB $lib'
                   13173:     fi
                   13174:     ;;
                   13175: 
                   13176:   aix[4-9]*)
                   13177:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   13178:       test "$enable_shared" = yes && enable_static=no
                   13179:     fi
                   13180:     ;;
                   13181:   esac
1.150     moko     13182:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   13183: $as_echo "$enable_shared" >&6; }
1.128     moko     13184: 
1.150     moko     13185:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   13186: $as_echo_n "checking whether to build static libraries... " >&6; }
1.128     moko     13187:   # Make sure either enable_shared or enable_static is yes.
                   13188:   test "$enable_shared" = yes || enable_static=yes
1.150     moko     13189:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   13190: $as_echo "$enable_static" >&6; }
1.128     moko     13191: 
                   13192: 
                   13193: 
                   13194: 
                   13195: fi
                   13196: ac_ext=c
                   13197: ac_cpp='$CPP $CPPFLAGS'
                   13198: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13199: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13200: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13201: 
                   13202: CC="$lt_save_CC"
                   13203: 
                   13204:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   13205:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   13206:     (test "X$CXX" != "Xg++"))) ; then
1.150     moko     13207:   ac_ext=cpp
1.128     moko     13208: ac_cpp='$CXXCPP $CPPFLAGS'
                   13209: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13210: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13211: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     13212: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   13213: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     13214: if test -z "$CXXCPP"; then
1.150     moko     13215:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   13216:   $as_echo_n "(cached) " >&6
1.128     moko     13217: else
                   13218:       # Double quotes because CXXCPP needs to be expanded
                   13219:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   13220:     do
                   13221:       ac_preproc_ok=false
                   13222: for ac_cxx_preproc_warn_flag in '' yes
                   13223: do
                   13224:   # Use a header file that comes with gcc, so configuring glibc
                   13225:   # with a fresh cross-compiler works.
                   13226:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   13227:   # <limits.h> exists even on freestanding compilers.
                   13228:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   13229:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     13230:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13231: /* end confdefs.h.  */
                   13232: #ifdef __STDC__
                   13233: # include <limits.h>
                   13234: #else
                   13235: # include <assert.h>
                   13236: #endif
                   13237:                     Syntax error
                   13238: _ACEOF
1.150     moko     13239: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13240: 
1.128     moko     13241: else
                   13242:   # Broken: fails on valid input.
                   13243: continue
                   13244: fi
1.150     moko     13245: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13246: 
1.150     moko     13247:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     13248:   # can be detected and how.
1.150     moko     13249:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13250: /* end confdefs.h.  */
                   13251: #include <ac_nonexistent.h>
                   13252: _ACEOF
1.150     moko     13253: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     13254:   # Broken: success on invalid input.
                   13255: continue
                   13256: else
                   13257:   # Passes both tests.
                   13258: ac_preproc_ok=:
                   13259: break
                   13260: fi
1.150     moko     13261: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13262: 
                   13263: done
                   13264: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     13265: rm -f conftest.i conftest.err conftest.$ac_ext
                   13266: if $ac_preproc_ok; then :
1.128     moko     13267:   break
                   13268: fi
                   13269: 
                   13270:     done
                   13271:     ac_cv_prog_CXXCPP=$CXXCPP
                   13272: 
                   13273: fi
                   13274:   CXXCPP=$ac_cv_prog_CXXCPP
                   13275: else
                   13276:   ac_cv_prog_CXXCPP=$CXXCPP
                   13277: fi
1.150     moko     13278: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   13279: $as_echo "$CXXCPP" >&6; }
1.128     moko     13280: ac_preproc_ok=false
                   13281: for ac_cxx_preproc_warn_flag in '' yes
                   13282: do
                   13283:   # Use a header file that comes with gcc, so configuring glibc
                   13284:   # with a fresh cross-compiler works.
                   13285:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   13286:   # <limits.h> exists even on freestanding compilers.
                   13287:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   13288:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     13289:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13290: /* end confdefs.h.  */
                   13291: #ifdef __STDC__
                   13292: # include <limits.h>
                   13293: #else
                   13294: # include <assert.h>
                   13295: #endif
                   13296:                     Syntax error
                   13297: _ACEOF
1.150     moko     13298: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13299: 
1.128     moko     13300: else
                   13301:   # Broken: fails on valid input.
                   13302: continue
                   13303: fi
1.150     moko     13304: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13305: 
1.150     moko     13306:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     13307:   # can be detected and how.
1.150     moko     13308:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13309: /* end confdefs.h.  */
                   13310: #include <ac_nonexistent.h>
                   13311: _ACEOF
1.150     moko     13312: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     13313:   # Broken: success on invalid input.
                   13314: continue
                   13315: else
                   13316:   # Passes both tests.
                   13317: ac_preproc_ok=:
                   13318: break
                   13319: fi
1.150     moko     13320: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13321: 
                   13322: done
                   13323: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     13324: rm -f conftest.i conftest.err conftest.$ac_ext
                   13325: if $ac_preproc_ok; then :
                   13326: 
1.128     moko     13327: else
1.150     moko     13328:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   13329: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   13330: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   13331: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     13332: fi
                   13333: 
                   13334: ac_ext=c
                   13335: ac_cpp='$CPP $CPPFLAGS'
                   13336: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13337: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13338: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13339: 
                   13340: else
                   13341:   _lt_caught_CXX_error=yes
                   13342: fi
                   13343: 
1.150     moko     13344: ac_ext=cpp
1.128     moko     13345: ac_cpp='$CXXCPP $CPPFLAGS'
                   13346: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13347: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13348: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   13349: 
                   13350: archive_cmds_need_lc_CXX=no
                   13351: allow_undefined_flag_CXX=
                   13352: always_export_symbols_CXX=no
                   13353: archive_expsym_cmds_CXX=
                   13354: compiler_needs_object_CXX=no
                   13355: export_dynamic_flag_spec_CXX=
                   13356: hardcode_direct_CXX=no
                   13357: hardcode_direct_absolute_CXX=no
                   13358: hardcode_libdir_flag_spec_CXX=
                   13359: hardcode_libdir_separator_CXX=
                   13360: hardcode_minus_L_CXX=no
                   13361: hardcode_shlibpath_var_CXX=unsupported
                   13362: hardcode_automatic_CXX=no
                   13363: inherit_rpath_CXX=no
                   13364: module_cmds_CXX=
                   13365: module_expsym_cmds_CXX=
                   13366: link_all_deplibs_CXX=unknown
                   13367: old_archive_cmds_CXX=$old_archive_cmds
                   13368: reload_flag_CXX=$reload_flag
                   13369: reload_cmds_CXX=$reload_cmds
                   13370: no_undefined_flag_CXX=
                   13371: whole_archive_flag_spec_CXX=
                   13372: enable_shared_with_static_runtimes_CXX=no
                   13373: 
                   13374: # Source file extension for C++ test sources.
                   13375: ac_ext=cpp
                   13376: 
                   13377: # Object file extension for compiled C++ test sources.
                   13378: objext=o
                   13379: objext_CXX=$objext
                   13380: 
                   13381: # No sense in running all these tests if we already determined that
                   13382: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   13383: # are currently assumed to apply to all compilers on this platform,
                   13384: # and will be corrupted by setting them based on a non-working compiler.
                   13385: if test "$_lt_caught_CXX_error" != yes; then
                   13386:   # Code to be used in simple compile tests
                   13387:   lt_simple_compile_test_code="int some_variable = 0;"
                   13388: 
                   13389:   # Code to be used in simple link tests
                   13390:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   13391: 
                   13392:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   13393: 
                   13394: 
                   13395: 
                   13396: 
                   13397: 
                   13398: 
                   13399: # If no C compiler was specified, use CC.
                   13400: LTCC=${LTCC-"$CC"}
                   13401: 
                   13402: # If no C compiler flags were specified, use CFLAGS.
                   13403: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   13404: 
                   13405: # Allow CC to be a program name with arguments.
                   13406: compiler=$CC
                   13407: 
                   13408: 
                   13409:   # save warnings/boilerplate of simple test code
                   13410:   ac_outfile=conftest.$ac_objext
                   13411: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   13412: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13413: _lt_compiler_boilerplate=`cat conftest.err`
                   13414: $RM conftest*
                   13415: 
                   13416:   ac_outfile=conftest.$ac_objext
                   13417: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   13418: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13419: _lt_linker_boilerplate=`cat conftest.err`
                   13420: $RM -r conftest*
                   13421: 
                   13422: 
                   13423:   # Allow CC to be a program name with arguments.
                   13424:   lt_save_CC=$CC
                   13425:   lt_save_CFLAGS=$CFLAGS
                   13426:   lt_save_LD=$LD
                   13427:   lt_save_GCC=$GCC
                   13428:   GCC=$GXX
                   13429:   lt_save_with_gnu_ld=$with_gnu_ld
                   13430:   lt_save_path_LD=$lt_cv_path_LD
                   13431:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   13432:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   13433:   else
                   13434:     $as_unset lt_cv_prog_gnu_ld
                   13435:   fi
                   13436:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   13437:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   13438:   else
                   13439:     $as_unset lt_cv_path_LD
                   13440:   fi
                   13441:   test -z "${LDCXX+set}" || LD=$LDCXX
                   13442:   CC=${CXX-"c++"}
                   13443:   CFLAGS=$CXXFLAGS
                   13444:   compiler=$CC
                   13445:   compiler_CXX=$CC
                   13446:   for cc_temp in $compiler""; do
                   13447:   case $cc_temp in
                   13448:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   13449:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   13450:     \-*) ;;
                   13451:     *) break;;
                   13452:   esac
                   13453: done
                   13454: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   13455: 
                   13456: 
                   13457:   if test -n "$compiler"; then
                   13458:     # We don't want -fno-exception when compiling C++ code, so set the
                   13459:     # no_builtin_flag separately
                   13460:     if test "$GXX" = yes; then
                   13461:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   13462:     else
                   13463:       lt_prog_compiler_no_builtin_flag_CXX=
                   13464:     fi
                   13465: 
                   13466:     if test "$GXX" = yes; then
                   13467:       # Set up default GNU C++ configuration
                   13468: 
                   13469: 
                   13470: 
1.150     moko     13471: # Check whether --with-gnu-ld was given.
                   13472: if test "${with_gnu_ld+set}" = set; then :
                   13473:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     13474: else
                   13475:   with_gnu_ld=no
1.150     moko     13476: fi
                   13477: 
1.128     moko     13478: ac_prog=ld
                   13479: if test "$GCC" = yes; then
                   13480:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     13481:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   13482: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     13483:   case $host in
                   13484:   *-*-mingw*)
                   13485:     # gcc leaves a trailing carriage return which upsets mingw
                   13486:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   13487:   *)
                   13488:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   13489:   esac
                   13490:   case $ac_prog in
                   13491:     # Accept absolute paths.
                   13492:     [\\/]* | ?:[\\/]*)
                   13493:       re_direlt='/[^/][^/]*/\.\./'
                   13494:       # Canonicalize the pathname of ld
                   13495:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   13496:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   13497:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   13498:       done
                   13499:       test -z "$LD" && LD="$ac_prog"
                   13500:       ;;
                   13501:   "")
                   13502:     # If it fails, then pretend we aren't using GCC.
                   13503:     ac_prog=ld
                   13504:     ;;
                   13505:   *)
                   13506:     # If it is relative, then search for the first ld in PATH.
                   13507:     with_gnu_ld=unknown
                   13508:     ;;
                   13509:   esac
                   13510: elif test "$with_gnu_ld" = yes; then
1.150     moko     13511:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   13512: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     13513: else
1.150     moko     13514:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   13515: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     13516: fi
1.150     moko     13517: if ${lt_cv_path_LD+:} false; then :
                   13518:   $as_echo_n "(cached) " >&6
1.128     moko     13519: else
                   13520:   if test -z "$LD"; then
                   13521:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   13522:   for ac_dir in $PATH; do
                   13523:     IFS="$lt_save_ifs"
                   13524:     test -z "$ac_dir" && ac_dir=.
                   13525:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   13526:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   13527:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   13528:       # but apparently some variants of GNU ld only accept -v.
                   13529:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   13530:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   13531:       *GNU* | *'with BFD'*)
                   13532:        test "$with_gnu_ld" != no && break
                   13533:        ;;
                   13534:       *)
                   13535:        test "$with_gnu_ld" != yes && break
                   13536:        ;;
                   13537:       esac
                   13538:     fi
                   13539:   done
                   13540:   IFS="$lt_save_ifs"
                   13541: else
                   13542:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   13543: fi
                   13544: fi
                   13545: 
                   13546: LD="$lt_cv_path_LD"
                   13547: if test -n "$LD"; then
1.150     moko     13548:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   13549: $as_echo "$LD" >&6; }
1.128     moko     13550: else
1.150     moko     13551:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13552: $as_echo "no" >&6; }
1.128     moko     13553: fi
1.150     moko     13554: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   13555: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   13556: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   13557: if ${lt_cv_prog_gnu_ld+:} false; then :
                   13558:   $as_echo_n "(cached) " >&6
1.128     moko     13559: else
                   13560:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   13561: case `$LD -v 2>&1 </dev/null` in
                   13562: *GNU* | *'with BFD'*)
                   13563:   lt_cv_prog_gnu_ld=yes
                   13564:   ;;
                   13565: *)
                   13566:   lt_cv_prog_gnu_ld=no
                   13567:   ;;
                   13568: esac
                   13569: fi
1.150     moko     13570: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   13571: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     13572: with_gnu_ld=$lt_cv_prog_gnu_ld
                   13573: 
                   13574: 
                   13575: 
                   13576: 
                   13577: 
                   13578: 
                   13579: 
                   13580:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   13581:       # archiving commands below assume that GNU ld is being used.
                   13582:       if test "$with_gnu_ld" = yes; then
                   13583:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13584:         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'
                   13585: 
                   13586:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13587:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13588: 
                   13589:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   13590:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   13591:         #     investigate it a little bit more. (MM)
                   13592:         wlarc='${wl}'
                   13593: 
                   13594:         # ancient GNU ld didn't support --whole-archive et. al.
                   13595:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   13596:          $GREP 'no-whole-archive' > /dev/null; then
                   13597:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13598:         else
                   13599:           whole_archive_flag_spec_CXX=
                   13600:         fi
                   13601:       else
                   13602:         with_gnu_ld=no
                   13603:         wlarc=
                   13604: 
                   13605:         # A generic and very simple default shared library creation
                   13606:         # command for GNU C++ for the case where it uses the native
                   13607:         # linker, instead of GNU ld.  If possible, this setting should
                   13608:         # overridden to take advantage of the native linker features on
                   13609:         # the platform it is being used on.
                   13610:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13611:       fi
                   13612: 
                   13613:       # Commands to make compiler produce verbose output that lists
                   13614:       # what "hidden" libraries, object files and flags are used when
                   13615:       # linking a shared library.
                   13616:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13617: 
                   13618:     else
                   13619:       GXX=no
                   13620:       with_gnu_ld=no
                   13621:       wlarc=
                   13622:     fi
                   13623: 
                   13624:     # PORTME: fill in a description of your system's C++ link characteristics
1.150     moko     13625:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   13626: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     13627:     ld_shlibs_CXX=yes
                   13628:     case $host_os in
                   13629:       aix3*)
                   13630:         # FIXME: insert proper C++ library support
                   13631:         ld_shlibs_CXX=no
                   13632:         ;;
                   13633:       aix[4-9]*)
                   13634:         if test "$host_cpu" = ia64; then
                   13635:           # On IA64, the linker does run time linking by default, so we don't
                   13636:           # have to do anything special.
                   13637:           aix_use_runtimelinking=no
                   13638:           exp_sym_flag='-Bexport'
                   13639:           no_entry_flag=""
                   13640:         else
                   13641:           aix_use_runtimelinking=no
                   13642: 
                   13643:           # Test if we are trying to use run time linking or normal
                   13644:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   13645:           # need to do runtime linking.
                   13646:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   13647:            for ld_flag in $LDFLAGS; do
                   13648:              case $ld_flag in
                   13649:              *-brtl*)
                   13650:                aix_use_runtimelinking=yes
                   13651:                break
                   13652:                ;;
                   13653:              esac
                   13654:            done
                   13655:            ;;
                   13656:           esac
                   13657: 
                   13658:           exp_sym_flag='-bexport'
                   13659:           no_entry_flag='-bnoentry'
                   13660:         fi
                   13661: 
                   13662:         # When large executables or shared objects are built, AIX ld can
                   13663:         # have problems creating the table of contents.  If linking a library
                   13664:         # or program results in "error TOC overflow" add -mminimal-toc to
                   13665:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13666:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13667: 
                   13668:         archive_cmds_CXX=''
                   13669:         hardcode_direct_CXX=yes
                   13670:         hardcode_direct_absolute_CXX=yes
                   13671:         hardcode_libdir_separator_CXX=':'
                   13672:         link_all_deplibs_CXX=yes
                   13673:         file_list_spec_CXX='${wl}-f,'
                   13674: 
                   13675:         if test "$GXX" = yes; then
                   13676:           case $host_os in aix4.[012]|aix4.[012].*)
                   13677:           # We only want to do this on AIX 4.2 and lower, the check
                   13678:           # below for broken collect2 doesn't work under 4.3+
                   13679:          collect2name=`${CC} -print-prog-name=collect2`
                   13680:          if test -f "$collect2name" &&
                   13681:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13682:          then
                   13683:            # We have reworked collect2
                   13684:            :
                   13685:          else
                   13686:            # We have old collect2
                   13687:            hardcode_direct_CXX=unsupported
                   13688:            # It fails to find uninstalled libraries when the uninstalled
                   13689:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13690:            # to unsupported forces relinking
                   13691:            hardcode_minus_L_CXX=yes
                   13692:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13693:            hardcode_libdir_separator_CXX=
                   13694:          fi
                   13695:           esac
                   13696:           shared_flag='-shared'
                   13697:          if test "$aix_use_runtimelinking" = yes; then
                   13698:            shared_flag="$shared_flag "'${wl}-G'
                   13699:          fi
                   13700:         else
                   13701:           # not using gcc
                   13702:           if test "$host_cpu" = ia64; then
                   13703:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13704:          # chokes on -Wl,-G. The following line is correct:
                   13705:          shared_flag='-G'
                   13706:           else
                   13707:            if test "$aix_use_runtimelinking" = yes; then
                   13708:              shared_flag='${wl}-G'
                   13709:            else
                   13710:              shared_flag='${wl}-bM:SRE'
                   13711:            fi
                   13712:           fi
                   13713:         fi
                   13714: 
                   13715:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13716:         # It seems that -bexpall does not export symbols beginning with
                   13717:         # underscore (_), so it is better to generate a list of symbols to
                   13718:        # export.
                   13719:         always_export_symbols_CXX=yes
                   13720:         if test "$aix_use_runtimelinking" = yes; then
                   13721:           # Warning - without using the other runtime loading flags (-brtl),
                   13722:           # -berok will link without error, but may produce a broken library.
                   13723:           allow_undefined_flag_CXX='-berok'
                   13724:           # Determine the default libpath from the value encoded in an empty
                   13725:           # executable.
                   13726:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13727:   aix_libpath=$lt_cv_aix_libpath
                   13728: else
1.150     moko     13729:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13730:   $as_echo_n "(cached) " >&6
1.128     moko     13731: else
1.150     moko     13732:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13733: /* end confdefs.h.  */
                   13734: 
                   13735: int
                   13736: main ()
                   13737: {
                   13738: 
                   13739:   ;
                   13740:   return 0;
                   13741: }
                   13742: _ACEOF
1.150     moko     13743: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13744: 
                   13745:   lt_aix_libpath_sed='
                   13746:       /Import File Strings/,/^$/ {
                   13747:          /^0/ {
                   13748:              s/^0  *\([^ ]*\) *$/\1/
                   13749:              p
                   13750:          }
                   13751:       }'
                   13752:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13753:   # Check for a 64-bit object if we didn't find anything.
                   13754:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13755:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13756:   fi
                   13757: fi
1.150     moko     13758: rm -f core conftest.err conftest.$ac_objext \
                   13759:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13760:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13761:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13762:   fi
                   13763: 
                   13764: fi
                   13765: 
                   13766:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13767: fi
                   13768: 
                   13769:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13770: 
                   13771:           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"
                   13772:         else
                   13773:           if test "$host_cpu" = ia64; then
                   13774:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13775:            allow_undefined_flag_CXX="-z nodefs"
                   13776:            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"
                   13777:           else
                   13778:            # Determine the default libpath from the value encoded in an
                   13779:            # empty executable.
                   13780:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13781:   aix_libpath=$lt_cv_aix_libpath
                   13782: else
1.150     moko     13783:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13784:   $as_echo_n "(cached) " >&6
1.128     moko     13785: else
1.150     moko     13786:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13787: /* end confdefs.h.  */
                   13788: 
                   13789: int
                   13790: main ()
                   13791: {
                   13792: 
                   13793:   ;
                   13794:   return 0;
                   13795: }
                   13796: _ACEOF
1.150     moko     13797: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13798: 
                   13799:   lt_aix_libpath_sed='
                   13800:       /Import File Strings/,/^$/ {
                   13801:          /^0/ {
                   13802:              s/^0  *\([^ ]*\) *$/\1/
                   13803:              p
                   13804:          }
                   13805:       }'
                   13806:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13807:   # Check for a 64-bit object if we didn't find anything.
                   13808:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13809:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13810:   fi
                   13811: fi
1.150     moko     13812: rm -f core conftest.err conftest.$ac_objext \
                   13813:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13814:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13815:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13816:   fi
                   13817: 
                   13818: fi
                   13819: 
                   13820:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13821: fi
                   13822: 
                   13823:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13824:            # Warning - without using the other run time loading flags,
                   13825:            # -berok will link without error, but may produce a broken library.
                   13826:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13827:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13828:            if test "$with_gnu_ld" = yes; then
                   13829:              # We only use this code for GNU lds that support --whole-archive.
                   13830:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13831:            else
                   13832:              # Exported symbols can be pulled into shared objects from archives
                   13833:              whole_archive_flag_spec_CXX='$convenience'
                   13834:            fi
                   13835:            archive_cmds_need_lc_CXX=yes
                   13836:            # This is similar to how AIX traditionally builds its shared
                   13837:            # libraries.
                   13838:            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'
                   13839:           fi
                   13840:         fi
                   13841:         ;;
                   13842: 
                   13843:       beos*)
                   13844:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13845:          allow_undefined_flag_CXX=unsupported
                   13846:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13847:          # support --undefined.  This deserves some investigation.  FIXME
                   13848:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13849:        else
                   13850:          ld_shlibs_CXX=no
                   13851:        fi
                   13852:        ;;
                   13853: 
                   13854:       chorus*)
                   13855:         case $cc_basename in
                   13856:           *)
                   13857:          # FIXME: insert proper C++ library support
                   13858:          ld_shlibs_CXX=no
                   13859:          ;;
                   13860:         esac
                   13861:         ;;
                   13862: 
                   13863:       cygwin* | mingw* | pw32* | cegcc*)
                   13864:        case $GXX,$cc_basename in
                   13865:        ,cl* | no,cl*)
                   13866:          # Native MSVC
                   13867:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13868:          # no search path for DLLs.
                   13869:          hardcode_libdir_flag_spec_CXX=' '
                   13870:          allow_undefined_flag_CXX=unsupported
                   13871:          always_export_symbols_CXX=yes
                   13872:          file_list_spec_CXX='@'
                   13873:          # Tell ltmain to make .lib files, not .a files.
                   13874:          libext=lib
                   13875:          # Tell ltmain to make .dll files, not .so files.
                   13876:          shrext_cmds=".dll"
                   13877:          # FIXME: Setting linknames here is a bad hack.
                   13878:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13879:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13880:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13881:            else
                   13882:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13883:            fi~
                   13884:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13885:            linknames='
                   13886:          # The linker will not automatically build a static lib if we build a DLL.
                   13887:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13888:          enable_shared_with_static_runtimes_CXX=yes
                   13889:          # Don't use ranlib
                   13890:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13891:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13892:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13893:            case $lt_outputfile in
                   13894:              *.exe|*.EXE) ;;
                   13895:              *)
                   13896:                lt_outputfile="$lt_outputfile.exe"
                   13897:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13898:                ;;
                   13899:            esac~
                   13900:            func_to_tool_file "$lt_outputfile"~
                   13901:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13902:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13903:              $RM "$lt_outputfile.manifest";
                   13904:            fi'
                   13905:          ;;
                   13906:        *)
                   13907:          # g++
                   13908:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13909:          # as there is no search path for DLLs.
                   13910:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13911:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13912:          allow_undefined_flag_CXX=unsupported
                   13913:          always_export_symbols_CXX=no
                   13914:          enable_shared_with_static_runtimes_CXX=yes
                   13915: 
                   13916:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13917:            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'
                   13918:            # If the export-symbols file already is a .def file (1st line
                   13919:            # is EXPORTS), use it as is; otherwise, prepend...
                   13920:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13921:              cp $export_symbols $output_objdir/$soname.def;
                   13922:            else
                   13923:              echo EXPORTS > $output_objdir/$soname.def;
                   13924:              cat $export_symbols >> $output_objdir/$soname.def;
                   13925:            fi~
                   13926:            $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'
                   13927:          else
                   13928:            ld_shlibs_CXX=no
                   13929:          fi
                   13930:          ;;
                   13931:        esac
                   13932:        ;;
                   13933:       darwin* | rhapsody*)
                   13934: 
                   13935: 
                   13936:   archive_cmds_need_lc_CXX=no
                   13937:   hardcode_direct_CXX=no
                   13938:   hardcode_automatic_CXX=yes
                   13939:   hardcode_shlibpath_var_CXX=unsupported
                   13940:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13941:     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\"`'
                   13942: 
                   13943:   else
                   13944:     whole_archive_flag_spec_CXX=''
                   13945:   fi
                   13946:   link_all_deplibs_CXX=yes
                   13947:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13948:   case $cc_basename in
                   13949:      ifort*) _lt_dar_can_shared=yes ;;
                   13950:      *) _lt_dar_can_shared=$GCC ;;
                   13951:   esac
                   13952:   if test "$_lt_dar_can_shared" = "yes"; then
                   13953:     output_verbose_link_cmd=func_echo_all
                   13954:     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}"
                   13955:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13956:     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}"
                   13957:     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}"
                   13958:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13959:       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}"
                   13960:       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}"
                   13961:     fi
                   13962: 
                   13963:   else
                   13964:   ld_shlibs_CXX=no
                   13965:   fi
                   13966: 
                   13967:        ;;
                   13968: 
                   13969:       dgux*)
                   13970:         case $cc_basename in
                   13971:           ec++*)
                   13972:            # FIXME: insert proper C++ library support
                   13973:            ld_shlibs_CXX=no
                   13974:            ;;
                   13975:           ghcx*)
                   13976:            # Green Hills C++ Compiler
                   13977:            # FIXME: insert proper C++ library support
                   13978:            ld_shlibs_CXX=no
                   13979:            ;;
                   13980:           *)
                   13981:            # FIXME: insert proper C++ library support
                   13982:            ld_shlibs_CXX=no
                   13983:            ;;
                   13984:         esac
                   13985:         ;;
                   13986: 
                   13987:       freebsd2.*)
                   13988:         # C++ shared libraries reported to be fairly broken before
                   13989:        # switch to ELF
                   13990:         ld_shlibs_CXX=no
                   13991:         ;;
                   13992: 
                   13993:       freebsd-elf*)
                   13994:         archive_cmds_need_lc_CXX=no
                   13995:         ;;
                   13996: 
                   13997:       freebsd* | dragonfly*)
                   13998:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13999:         # conventions
                   14000:         ld_shlibs_CXX=yes
                   14001:         ;;
                   14002: 
                   14003:       gnu*)
                   14004:         ;;
                   14005: 
                   14006:       haiku*)
                   14007:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14008:         link_all_deplibs_CXX=yes
                   14009:         ;;
                   14010: 
                   14011:       hpux9*)
                   14012:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   14013:         hardcode_libdir_separator_CXX=:
                   14014:         export_dynamic_flag_spec_CXX='${wl}-E'
                   14015:         hardcode_direct_CXX=yes
                   14016:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   14017:                                             # but as the default
                   14018:                                             # location of the library.
                   14019: 
                   14020:         case $cc_basename in
                   14021:           CC*)
                   14022:             # FIXME: insert proper C++ library support
                   14023:             ld_shlibs_CXX=no
                   14024:             ;;
                   14025:           aCC*)
                   14026:             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'
                   14027:             # Commands to make compiler produce verbose output that lists
                   14028:             # what "hidden" libraries, object files and flags are used when
                   14029:             # linking a shared library.
                   14030:             #
                   14031:             # There doesn't appear to be a way to prevent this compiler from
                   14032:             # explicitly linking system object files so we need to strip them
                   14033:             # from the output so that they don't get included in the library
                   14034:             # dependencies.
                   14035:             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"'
                   14036:             ;;
                   14037:           *)
                   14038:             if test "$GXX" = yes; then
                   14039:               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'
                   14040:             else
                   14041:               # FIXME: insert proper C++ library support
                   14042:               ld_shlibs_CXX=no
                   14043:             fi
                   14044:             ;;
                   14045:         esac
                   14046:         ;;
                   14047: 
                   14048:       hpux10*|hpux11*)
                   14049:         if test $with_gnu_ld = no; then
                   14050:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   14051:          hardcode_libdir_separator_CXX=:
                   14052: 
                   14053:           case $host_cpu in
                   14054:             hppa*64*|ia64*)
                   14055:               ;;
                   14056:             *)
                   14057:              export_dynamic_flag_spec_CXX='${wl}-E'
                   14058:               ;;
                   14059:           esac
                   14060:         fi
                   14061:         case $host_cpu in
                   14062:           hppa*64*|ia64*)
                   14063:             hardcode_direct_CXX=no
                   14064:             hardcode_shlibpath_var_CXX=no
                   14065:             ;;
                   14066:           *)
                   14067:             hardcode_direct_CXX=yes
                   14068:             hardcode_direct_absolute_CXX=yes
                   14069:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   14070:                                                 # but as the default
                   14071:                                                 # location of the library.
                   14072:             ;;
                   14073:         esac
                   14074: 
                   14075:         case $cc_basename in
                   14076:           CC*)
                   14077:            # FIXME: insert proper C++ library support
                   14078:            ld_shlibs_CXX=no
                   14079:            ;;
                   14080:           aCC*)
                   14081:            case $host_cpu in
                   14082:              hppa*64*)
                   14083:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14084:                ;;
                   14085:              ia64*)
                   14086:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14087:                ;;
                   14088:              *)
                   14089:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14090:                ;;
                   14091:            esac
                   14092:            # Commands to make compiler produce verbose output that lists
                   14093:            # what "hidden" libraries, object files and flags are used when
                   14094:            # linking a shared library.
                   14095:            #
                   14096:            # There doesn't appear to be a way to prevent this compiler from
                   14097:            # explicitly linking system object files so we need to strip them
                   14098:            # from the output so that they don't get included in the library
                   14099:            # dependencies.
                   14100:            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"'
                   14101:            ;;
                   14102:           *)
                   14103:            if test "$GXX" = yes; then
                   14104:              if test $with_gnu_ld = no; then
                   14105:                case $host_cpu in
                   14106:                  hppa*64*)
                   14107:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14108:                    ;;
                   14109:                  ia64*)
                   14110:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14111:                    ;;
                   14112:                  *)
                   14113:                    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'
                   14114:                    ;;
                   14115:                esac
                   14116:              fi
                   14117:            else
                   14118:              # FIXME: insert proper C++ library support
                   14119:              ld_shlibs_CXX=no
                   14120:            fi
                   14121:            ;;
                   14122:         esac
                   14123:         ;;
                   14124: 
                   14125:       interix[3-9]*)
                   14126:        hardcode_direct_CXX=no
                   14127:        hardcode_shlibpath_var_CXX=no
                   14128:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14129:        export_dynamic_flag_spec_CXX='${wl}-E'
                   14130:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   14131:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   14132:        # default) and relocated if they conflict, which is a slow very memory
                   14133:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   14134:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   14135:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   14136:        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'
                   14137:        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'
                   14138:        ;;
                   14139:       irix5* | irix6*)
                   14140:         case $cc_basename in
                   14141:           CC*)
                   14142:            # SGI C++
                   14143:            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'
                   14144: 
                   14145:            # Archives containing C++ object files must be created using
                   14146:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   14147:            # necessary to make sure instantiated templates are included
                   14148:            # in the archive.
                   14149:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   14150:            ;;
                   14151:           *)
                   14152:            if test "$GXX" = yes; then
                   14153:              if test "$with_gnu_ld" = no; then
                   14154:                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'
                   14155:              else
                   14156:                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'
                   14157:              fi
                   14158:            fi
                   14159:            link_all_deplibs_CXX=yes
                   14160:            ;;
                   14161:         esac
                   14162:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14163:         hardcode_libdir_separator_CXX=:
                   14164:         inherit_rpath_CXX=yes
                   14165:         ;;
                   14166: 
                   14167:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14168:         case $cc_basename in
                   14169:           KCC*)
                   14170:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14171: 
                   14172:            # KCC will only create a shared library if the output file
                   14173:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14174:            # to its proper name (with version) after linking.
                   14175:            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'
                   14176:            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'
                   14177:            # Commands to make compiler produce verbose output that lists
                   14178:            # what "hidden" libraries, object files and flags are used when
                   14179:            # linking a shared library.
                   14180:            #
                   14181:            # There doesn't appear to be a way to prevent this compiler from
                   14182:            # explicitly linking system object files so we need to strip them
                   14183:            # from the output so that they don't get included in the library
                   14184:            # dependencies.
                   14185:            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"'
                   14186: 
                   14187:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14188:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14189: 
                   14190:            # Archives containing C++ object files must be created using
                   14191:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   14192:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   14193:            ;;
                   14194:          icpc* | ecpc* )
                   14195:            # Intel C++
                   14196:            with_gnu_ld=yes
                   14197:            # version 8.0 and above of icpc choke on multiply defined symbols
                   14198:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   14199:            # earlier do not add the objects themselves.
                   14200:            case `$CC -V 2>&1` in
                   14201:              *"Version 7."*)
                   14202:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14203:                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'
                   14204:                ;;
                   14205:              *)  # Version 8.0 or newer
                   14206:                tmp_idyn=
                   14207:                case $host_cpu in
                   14208:                  ia64*) tmp_idyn=' -i_dynamic';;
                   14209:                esac
                   14210:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14211:                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'
                   14212:                ;;
                   14213:            esac
                   14214:            archive_cmds_need_lc_CXX=no
                   14215:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14216:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14217:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   14218:            ;;
                   14219:           pgCC* | pgcpp*)
                   14220:             # Portland Group C++ compiler
                   14221:            case `$CC -V` in
                   14222:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   14223:              prelink_cmds_CXX='tpldir=Template.dir~
                   14224:                rm -rf $tpldir~
                   14225:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   14226:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   14227:              old_archive_cmds_CXX='tpldir=Template.dir~
                   14228:                rm -rf $tpldir~
                   14229:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   14230:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   14231:                $RANLIB $oldlib'
                   14232:              archive_cmds_CXX='tpldir=Template.dir~
                   14233:                rm -rf $tpldir~
                   14234:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   14235:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   14236:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   14237:                rm -rf $tpldir~
                   14238:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   14239:                $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'
                   14240:              ;;
                   14241:            *) # Version 6 and above use weak symbols
                   14242:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   14243:              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'
                   14244:              ;;
                   14245:            esac
                   14246: 
                   14247:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   14248:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14249:            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'
                   14250:             ;;
                   14251:          cxx*)
                   14252:            # Compaq C++
                   14253:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14254:            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'
                   14255: 
                   14256:            runpath_var=LD_RUN_PATH
                   14257:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14258:            hardcode_libdir_separator_CXX=:
                   14259: 
                   14260:            # Commands to make compiler produce verbose output that lists
                   14261:            # what "hidden" libraries, object files and flags are used when
                   14262:            # linking a shared library.
                   14263:            #
                   14264:            # There doesn't appear to be a way to prevent this compiler from
                   14265:            # explicitly linking system object files so we need to strip them
                   14266:            # from the output so that they don't get included in the library
                   14267:            # dependencies.
                   14268:            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'
                   14269:            ;;
                   14270:          xl* | mpixl* | bgxl*)
                   14271:            # IBM XL 8.0 on PPC, with GNU ld
                   14272:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14273:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14274:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14275:            if test "x$supports_anon_versioning" = xyes; then
                   14276:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   14277:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   14278:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   14279:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   14280:            fi
                   14281:            ;;
                   14282:          *)
                   14283:            case `$CC -V 2>&1 | sed 5q` in
                   14284:            *Sun\ C*)
                   14285:              # Sun C++ 5.9
                   14286:              no_undefined_flag_CXX=' -zdefs'
                   14287:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14288:              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'
                   14289:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14290:              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'
                   14291:              compiler_needs_object_CXX=yes
                   14292: 
                   14293:              # Not sure whether something based on
                   14294:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   14295:              # would be better.
                   14296:              output_verbose_link_cmd='func_echo_all'
                   14297: 
                   14298:              # Archives containing C++ object files must be created using
                   14299:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14300:              # necessary to make sure instantiated templates are included
                   14301:              # in the archive.
                   14302:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14303:              ;;
                   14304:            esac
                   14305:            ;;
                   14306:        esac
                   14307:        ;;
                   14308: 
                   14309:       lynxos*)
                   14310:         # FIXME: insert proper C++ library support
                   14311:        ld_shlibs_CXX=no
                   14312:        ;;
                   14313: 
                   14314:       m88k*)
                   14315:         # FIXME: insert proper C++ library support
                   14316:         ld_shlibs_CXX=no
                   14317:        ;;
                   14318: 
                   14319:       mvs*)
                   14320:         case $cc_basename in
                   14321:           cxx*)
                   14322:            # FIXME: insert proper C++ library support
                   14323:            ld_shlibs_CXX=no
                   14324:            ;;
                   14325:          *)
                   14326:            # FIXME: insert proper C++ library support
                   14327:            ld_shlibs_CXX=no
                   14328:            ;;
                   14329:        esac
                   14330:        ;;
                   14331: 
                   14332:       netbsd*)
                   14333:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   14334:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   14335:          wlarc=
                   14336:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14337:          hardcode_direct_CXX=yes
                   14338:          hardcode_shlibpath_var_CXX=no
                   14339:        fi
                   14340:        # Workaround some broken pre-1.5 toolchains
                   14341:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   14342:        ;;
                   14343: 
                   14344:       *nto* | *qnx*)
                   14345:         ld_shlibs_CXX=yes
                   14346:        ;;
                   14347: 
                   14348:       openbsd2*)
                   14349:         # C++ shared libraries are fairly broken
                   14350:        ld_shlibs_CXX=no
                   14351:        ;;
                   14352: 
                   14353:       openbsd*)
                   14354:        if test -f /usr/libexec/ld.so; then
                   14355:          hardcode_direct_CXX=yes
                   14356:          hardcode_shlibpath_var_CXX=no
                   14357:          hardcode_direct_absolute_CXX=yes
                   14358:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   14359:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14360:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   14361:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   14362:            export_dynamic_flag_spec_CXX='${wl}-E'
                   14363:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   14364:          fi
                   14365:          output_verbose_link_cmd=func_echo_all
                   14366:        else
                   14367:          ld_shlibs_CXX=no
                   14368:        fi
                   14369:        ;;
                   14370: 
                   14371:       osf3* | osf4* | osf5*)
                   14372:         case $cc_basename in
                   14373:           KCC*)
                   14374:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14375: 
                   14376:            # KCC will only create a shared library if the output file
                   14377:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14378:            # to its proper name (with version) after linking.
                   14379:            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'
                   14380: 
                   14381:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14382:            hardcode_libdir_separator_CXX=:
                   14383: 
                   14384:            # Archives containing C++ object files must be created using
                   14385:            # the KAI C++ compiler.
                   14386:            case $host in
                   14387:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   14388:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   14389:            esac
                   14390:            ;;
                   14391:           RCC*)
                   14392:            # Rational C++ 2.4.1
                   14393:            # FIXME: insert proper C++ library support
                   14394:            ld_shlibs_CXX=no
                   14395:            ;;
                   14396:           cxx*)
                   14397:            case $host in
                   14398:              osf3*)
                   14399:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14400:                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'
                   14401:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14402:                ;;
                   14403:              *)
                   14404:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   14405:                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'
                   14406:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   14407:                  echo "-hidden">> $lib.exp~
                   14408:                  $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~
                   14409:                  $RM $lib.exp'
                   14410:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14411:                ;;
                   14412:            esac
                   14413: 
                   14414:            hardcode_libdir_separator_CXX=:
                   14415: 
                   14416:            # Commands to make compiler produce verbose output that lists
                   14417:            # what "hidden" libraries, object files and flags are used when
                   14418:            # linking a shared library.
                   14419:            #
                   14420:            # There doesn't appear to be a way to prevent this compiler from
                   14421:            # explicitly linking system object files so we need to strip them
                   14422:            # from the output so that they don't get included in the library
                   14423:            # dependencies.
                   14424:            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"'
                   14425:            ;;
                   14426:          *)
                   14427:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14428:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14429:              case $host in
                   14430:                osf3*)
                   14431:                  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'
                   14432:                  ;;
                   14433:                *)
                   14434:                  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'
                   14435:                  ;;
                   14436:              esac
                   14437: 
                   14438:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14439:              hardcode_libdir_separator_CXX=:
                   14440: 
                   14441:              # Commands to make compiler produce verbose output that lists
                   14442:              # what "hidden" libraries, object files and flags are used when
                   14443:              # linking a shared library.
                   14444:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14445: 
                   14446:            else
                   14447:              # FIXME: insert proper C++ library support
                   14448:              ld_shlibs_CXX=no
                   14449:            fi
                   14450:            ;;
                   14451:         esac
                   14452:         ;;
                   14453: 
                   14454:       psos*)
                   14455:         # FIXME: insert proper C++ library support
                   14456:         ld_shlibs_CXX=no
                   14457:         ;;
                   14458: 
                   14459:       sunos4*)
                   14460:         case $cc_basename in
                   14461:           CC*)
                   14462:            # Sun C++ 4.x
                   14463:            # FIXME: insert proper C++ library support
                   14464:            ld_shlibs_CXX=no
                   14465:            ;;
                   14466:           lcc*)
                   14467:            # Lucid
                   14468:            # FIXME: insert proper C++ library support
                   14469:            ld_shlibs_CXX=no
                   14470:            ;;
                   14471:           *)
                   14472:            # FIXME: insert proper C++ library support
                   14473:            ld_shlibs_CXX=no
                   14474:            ;;
                   14475:         esac
                   14476:         ;;
                   14477: 
                   14478:       solaris*)
                   14479:         case $cc_basename in
                   14480:           CC* | sunCC*)
                   14481:            # Sun C++ 4.2, 5.x and Centerline C++
                   14482:             archive_cmds_need_lc_CXX=yes
                   14483:            no_undefined_flag_CXX=' -zdefs'
                   14484:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14485:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14486:              $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'
                   14487: 
                   14488:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14489:            hardcode_shlibpath_var_CXX=no
                   14490:            case $host_os in
                   14491:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14492:              *)
                   14493:                # The compiler driver will combine and reorder linker options,
                   14494:                # but understands `-z linker_flag'.
                   14495:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   14496:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   14497:                ;;
                   14498:            esac
                   14499:            link_all_deplibs_CXX=yes
                   14500: 
                   14501:            output_verbose_link_cmd='func_echo_all'
                   14502: 
                   14503:            # Archives containing C++ object files must be created using
                   14504:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14505:            # necessary to make sure instantiated templates are included
                   14506:            # in the archive.
                   14507:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14508:            ;;
                   14509:           gcx*)
                   14510:            # Green Hills C++ Compiler
                   14511:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14512: 
                   14513:            # The C++ compiler must be used to create the archive.
                   14514:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   14515:            ;;
                   14516:           *)
                   14517:            # GNU C++ compiler with Solaris linker
                   14518:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14519:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   14520:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   14521:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14522:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14523:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14524: 
                   14525:                # Commands to make compiler produce verbose output that lists
                   14526:                # what "hidden" libraries, object files and flags are used when
                   14527:                # linking a shared library.
                   14528:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14529:              else
                   14530:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   14531:                # platform.
                   14532:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14533:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14534:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14535: 
                   14536:                # Commands to make compiler produce verbose output that lists
                   14537:                # what "hidden" libraries, object files and flags are used when
                   14538:                # linking a shared library.
                   14539:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14540:              fi
                   14541: 
                   14542:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   14543:              case $host_os in
                   14544:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14545:                *)
                   14546:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   14547:                  ;;
                   14548:              esac
                   14549:            fi
                   14550:            ;;
                   14551:         esac
                   14552:         ;;
                   14553: 
                   14554:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   14555:       no_undefined_flag_CXX='${wl}-z,text'
                   14556:       archive_cmds_need_lc_CXX=no
                   14557:       hardcode_shlibpath_var_CXX=no
                   14558:       runpath_var='LD_RUN_PATH'
                   14559: 
                   14560:       case $cc_basename in
                   14561:         CC*)
                   14562:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14563:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14564:          ;;
                   14565:        *)
                   14566:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14567:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14568:          ;;
                   14569:       esac
                   14570:       ;;
                   14571: 
                   14572:       sysv5* | sco3.2v5* | sco5v6*)
                   14573:        # Note: We can NOT use -z defs as we might desire, because we do not
                   14574:        # link with -lc, and that would cause any symbols used from libc to
                   14575:        # always be unresolved, which means just about no library would
                   14576:        # ever link correctly.  If we're not using GNU ld we use -z text
                   14577:        # though, which does catch some bad symbols but isn't as heavy-handed
                   14578:        # as -z defs.
                   14579:        no_undefined_flag_CXX='${wl}-z,text'
                   14580:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   14581:        archive_cmds_need_lc_CXX=no
                   14582:        hardcode_shlibpath_var_CXX=no
                   14583:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   14584:        hardcode_libdir_separator_CXX=':'
                   14585:        link_all_deplibs_CXX=yes
                   14586:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   14587:        runpath_var='LD_RUN_PATH'
                   14588: 
                   14589:        case $cc_basename in
                   14590:           CC*)
                   14591:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14592:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14593:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   14594:              '"$old_archive_cmds_CXX"
                   14595:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   14596:              '"$reload_cmds_CXX"
                   14597:            ;;
                   14598:          *)
                   14599:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14600:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14601:            ;;
                   14602:        esac
                   14603:       ;;
                   14604: 
                   14605:       tandem*)
                   14606:         case $cc_basename in
                   14607:           NCC*)
                   14608:            # NonStop-UX NCC 3.20
                   14609:            # FIXME: insert proper C++ library support
                   14610:            ld_shlibs_CXX=no
                   14611:            ;;
                   14612:           *)
                   14613:            # FIXME: insert proper C++ library support
                   14614:            ld_shlibs_CXX=no
                   14615:            ;;
                   14616:         esac
                   14617:         ;;
                   14618: 
                   14619:       vxworks*)
                   14620:         # FIXME: insert proper C++ library support
                   14621:         ld_shlibs_CXX=no
                   14622:         ;;
                   14623: 
                   14624:       *)
                   14625:         # FIXME: insert proper C++ library support
                   14626:         ld_shlibs_CXX=no
                   14627:         ;;
                   14628:     esac
                   14629: 
1.150     moko     14630:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   14631: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     14632:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14633: 
                   14634:     GCC_CXX="$GXX"
                   14635:     LD_CXX="$LD"
                   14636: 
                   14637:     ## CAVEAT EMPTOR:
                   14638:     ## There is no encapsulation within the following macros, do not change
                   14639:     ## the running order or otherwise move them around unless you know exactly
                   14640:     ## what you are doing...
                   14641:     # Dependencies to place before and after the object being linked:
                   14642: predep_objects_CXX=
                   14643: postdep_objects_CXX=
                   14644: predeps_CXX=
                   14645: postdeps_CXX=
                   14646: compiler_lib_search_path_CXX=
                   14647: 
                   14648: cat > conftest.$ac_ext <<_LT_EOF
                   14649: class Foo
                   14650: {
                   14651: public:
                   14652:   Foo (void) { a = 0; }
                   14653: private:
                   14654:   int a;
                   14655: };
                   14656: _LT_EOF
                   14657: 
                   14658: 
                   14659: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14660: case "$CC $CFLAGS " in #(
                   14661: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14662: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14663: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14664: esac
                   14665: 
1.150     moko     14666: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     14667:   (eval $ac_compile) 2>&5
                   14668:   ac_status=$?
1.150     moko     14669:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14670:   test $ac_status = 0; }; then
1.128     moko     14671:   # Parse the compiler output and extract the necessary
                   14672:   # objects, libraries and library flags.
                   14673: 
                   14674:   # Sentinel used to keep track of whether or not we are before
                   14675:   # the conftest object file.
                   14676:   pre_test_object_deps_done=no
                   14677: 
                   14678:   for p in `eval "$output_verbose_link_cmd"`; do
                   14679:     case ${prev}${p} in
                   14680: 
                   14681:     -L* | -R* | -l*)
                   14682:        # Some compilers place space between "-{L,R}" and the path.
                   14683:        # Remove the space.
                   14684:        if test $p = "-L" ||
                   14685:           test $p = "-R"; then
                   14686:         prev=$p
                   14687:         continue
                   14688:        fi
                   14689: 
                   14690:        # Expand the sysroot to ease extracting the directories later.
                   14691:        if test -z "$prev"; then
                   14692:          case $p in
                   14693:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14694:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14695:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14696:          esac
                   14697:        fi
                   14698:        case $p in
                   14699:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14700:        esac
                   14701:        if test "$pre_test_object_deps_done" = no; then
                   14702:         case ${prev} in
                   14703:         -L | -R)
                   14704:           # Internal compiler library paths should come after those
                   14705:           # provided the user.  The postdeps already come after the
                   14706:           # user supplied libs so there is no need to process them.
                   14707:           if test -z "$compiler_lib_search_path_CXX"; then
                   14708:             compiler_lib_search_path_CXX="${prev}${p}"
                   14709:           else
                   14710:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14711:           fi
                   14712:           ;;
                   14713:         # The "-l" case would never come before the object being
                   14714:         # linked, so don't bother handling this case.
                   14715:         esac
                   14716:        else
                   14717:         if test -z "$postdeps_CXX"; then
                   14718:           postdeps_CXX="${prev}${p}"
                   14719:         else
                   14720:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14721:         fi
                   14722:        fi
                   14723:        prev=
                   14724:        ;;
                   14725: 
                   14726:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14727:     *.$objext)
                   14728:        # This assumes that the test object file only shows up
                   14729:        # once in the compiler output.
                   14730:        if test "$p" = "conftest.$objext"; then
                   14731:         pre_test_object_deps_done=yes
                   14732:         continue
                   14733:        fi
                   14734: 
                   14735:        if test "$pre_test_object_deps_done" = no; then
                   14736:         if test -z "$predep_objects_CXX"; then
                   14737:           predep_objects_CXX="$p"
                   14738:         else
                   14739:           predep_objects_CXX="$predep_objects_CXX $p"
                   14740:         fi
                   14741:        else
                   14742:         if test -z "$postdep_objects_CXX"; then
                   14743:           postdep_objects_CXX="$p"
                   14744:         else
                   14745:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14746:         fi
                   14747:        fi
                   14748:        ;;
                   14749: 
                   14750:     *) ;; # Ignore the rest.
                   14751: 
                   14752:     esac
                   14753:   done
                   14754: 
                   14755:   # Clean up.
                   14756:   rm -f a.out a.exe
                   14757: else
                   14758:   echo "libtool.m4: error: problem compiling CXX test program"
                   14759: fi
                   14760: 
                   14761: $RM -f confest.$objext
                   14762: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14763: 
                   14764: # PORTME: override above test on systems where it is broken
                   14765: case $host_os in
                   14766: interix[3-9]*)
                   14767:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14768:   # hack all around it, let's just trust "g++" to DTRT.
                   14769:   predep_objects_CXX=
                   14770:   postdep_objects_CXX=
                   14771:   postdeps_CXX=
                   14772:   ;;
                   14773: 
                   14774: linux*)
                   14775:   case `$CC -V 2>&1 | sed 5q` in
                   14776:   *Sun\ C*)
                   14777:     # Sun C++ 5.9
                   14778: 
                   14779:     # The more standards-conforming stlport4 library is
                   14780:     # incompatible with the Cstd library. Avoid specifying
                   14781:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14782:     # -library=stlport4 depends on it.
                   14783:     case " $CXX $CXXFLAGS " in
                   14784:     *" -library=stlport4 "*)
                   14785:       solaris_use_stlport4=yes
                   14786:       ;;
                   14787:     esac
                   14788: 
                   14789:     if test "$solaris_use_stlport4" != yes; then
                   14790:       postdeps_CXX='-library=Cstd -library=Crun'
                   14791:     fi
                   14792:     ;;
                   14793:   esac
                   14794:   ;;
                   14795: 
                   14796: solaris*)
                   14797:   case $cc_basename in
                   14798:   CC* | sunCC*)
                   14799:     # The more standards-conforming stlport4 library is
                   14800:     # incompatible with the Cstd library. Avoid specifying
                   14801:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14802:     # -library=stlport4 depends on it.
                   14803:     case " $CXX $CXXFLAGS " in
                   14804:     *" -library=stlport4 "*)
                   14805:       solaris_use_stlport4=yes
                   14806:       ;;
                   14807:     esac
                   14808: 
                   14809:     # Adding this requires a known-good setup of shared libraries for
                   14810:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14811:     # archive will be linked into the output, leading to subtle bugs.
                   14812:     if test "$solaris_use_stlport4" != yes; then
                   14813:       postdeps_CXX='-library=Cstd -library=Crun'
                   14814:     fi
                   14815:     ;;
                   14816:   esac
                   14817:   ;;
                   14818: esac
                   14819: 
                   14820: 
                   14821: case " $postdeps_CXX " in
                   14822: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14823: esac
                   14824:  compiler_lib_search_dirs_CXX=
                   14825: if test -n "${compiler_lib_search_path_CXX}"; then
                   14826:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14827: fi
                   14828: 
                   14829: 
                   14830: 
                   14831: 
                   14832: 
                   14833: 
                   14834: 
                   14835: 
                   14836: 
                   14837: 
                   14838: 
                   14839: 
                   14840: 
                   14841: 
                   14842: 
                   14843: 
                   14844: 
                   14845: 
                   14846: 
                   14847: 
                   14848: 
                   14849: 
                   14850: 
                   14851: 
                   14852: 
                   14853: 
                   14854: 
                   14855: 
                   14856: 
                   14857: 
                   14858: 
                   14859:     lt_prog_compiler_wl_CXX=
                   14860: lt_prog_compiler_pic_CXX=
                   14861: lt_prog_compiler_static_CXX=
                   14862: 
                   14863: 
                   14864:   # C++ specific cases for pic, static, wl, etc.
                   14865:   if test "$GXX" = yes; then
                   14866:     lt_prog_compiler_wl_CXX='-Wl,'
                   14867:     lt_prog_compiler_static_CXX='-static'
                   14868: 
                   14869:     case $host_os in
                   14870:     aix*)
                   14871:       # All AIX code is PIC.
                   14872:       if test "$host_cpu" = ia64; then
                   14873:        # AIX 5 now supports IA64 processor
                   14874:        lt_prog_compiler_static_CXX='-Bstatic'
                   14875:       fi
                   14876:       ;;
                   14877: 
                   14878:     amigaos*)
                   14879:       case $host_cpu in
                   14880:       powerpc)
                   14881:             # see comment about AmigaOS4 .so support
                   14882:             lt_prog_compiler_pic_CXX='-fPIC'
                   14883:         ;;
                   14884:       m68k)
                   14885:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14886:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14887:             # like `-m68040'.
                   14888:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14889:         ;;
                   14890:       esac
                   14891:       ;;
                   14892: 
                   14893:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14894:       # PIC is the default for these OSes.
                   14895:       ;;
                   14896:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14897:       # This hack is so that the source file can tell whether it is being
                   14898:       # built for inclusion in a dll (and should export symbols for example).
                   14899:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14900:       # (--disable-auto-import) libraries
                   14901:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14902:       ;;
                   14903:     darwin* | rhapsody*)
                   14904:       # PIC is the default on this platform
                   14905:       # Common symbols not allowed in MH_DYLIB files
                   14906:       lt_prog_compiler_pic_CXX='-fno-common'
                   14907:       ;;
                   14908:     *djgpp*)
                   14909:       # DJGPP does not support shared libraries at all
                   14910:       lt_prog_compiler_pic_CXX=
                   14911:       ;;
                   14912:     haiku*)
                   14913:       # PIC is the default for Haiku.
                   14914:       # The "-static" flag exists, but is broken.
                   14915:       lt_prog_compiler_static_CXX=
                   14916:       ;;
                   14917:     interix[3-9]*)
                   14918:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14919:       # Instead, we relocate shared libraries at runtime.
                   14920:       ;;
                   14921:     sysv4*MP*)
                   14922:       if test -d /usr/nec; then
                   14923:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14924:       fi
                   14925:       ;;
                   14926:     hpux*)
                   14927:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14928:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14929:       # sets the default TLS model and affects inlining.
                   14930:       case $host_cpu in
                   14931:       hppa*64*)
                   14932:        ;;
                   14933:       *)
                   14934:        lt_prog_compiler_pic_CXX='-fPIC'
                   14935:        ;;
                   14936:       esac
                   14937:       ;;
                   14938:     *qnx* | *nto*)
                   14939:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14940:       # it will coredump.
                   14941:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14942:       ;;
                   14943:     *)
                   14944:       lt_prog_compiler_pic_CXX='-fPIC'
                   14945:       ;;
                   14946:     esac
                   14947:   else
                   14948:     case $host_os in
                   14949:       aix[4-9]*)
                   14950:        # All AIX code is PIC.
                   14951:        if test "$host_cpu" = ia64; then
                   14952:          # AIX 5 now supports IA64 processor
                   14953:          lt_prog_compiler_static_CXX='-Bstatic'
                   14954:        else
                   14955:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14956:        fi
                   14957:        ;;
                   14958:       chorus*)
                   14959:        case $cc_basename in
                   14960:        cxch68*)
                   14961:          # Green Hills C++ Compiler
                   14962:          # _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"
                   14963:          ;;
                   14964:        esac
                   14965:        ;;
                   14966:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14967:        # This hack is so that the source file can tell whether it is being
                   14968:        # built for inclusion in a dll (and should export symbols for example).
                   14969:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14970:        ;;
                   14971:       dgux*)
                   14972:        case $cc_basename in
                   14973:          ec++*)
                   14974:            lt_prog_compiler_pic_CXX='-KPIC'
                   14975:            ;;
                   14976:          ghcx*)
                   14977:            # Green Hills C++ Compiler
                   14978:            lt_prog_compiler_pic_CXX='-pic'
                   14979:            ;;
                   14980:          *)
                   14981:            ;;
                   14982:        esac
                   14983:        ;;
                   14984:       freebsd* | dragonfly*)
                   14985:        # FreeBSD uses GNU C++
                   14986:        ;;
                   14987:       hpux9* | hpux10* | hpux11*)
                   14988:        case $cc_basename in
                   14989:          CC*)
                   14990:            lt_prog_compiler_wl_CXX='-Wl,'
                   14991:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14992:            if test "$host_cpu" != ia64; then
                   14993:              lt_prog_compiler_pic_CXX='+Z'
                   14994:            fi
                   14995:            ;;
                   14996:          aCC*)
                   14997:            lt_prog_compiler_wl_CXX='-Wl,'
                   14998:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14999:            case $host_cpu in
                   15000:            hppa*64*|ia64*)
                   15001:              # +Z the default
                   15002:              ;;
                   15003:            *)
                   15004:              lt_prog_compiler_pic_CXX='+Z'
                   15005:              ;;
                   15006:            esac
                   15007:            ;;
                   15008:          *)
                   15009:            ;;
                   15010:        esac
                   15011:        ;;
                   15012:       interix*)
                   15013:        # This is c89, which is MS Visual C++ (no shared libs)
                   15014:        # Anyone wants to do a port?
                   15015:        ;;
                   15016:       irix5* | irix6* | nonstopux*)
                   15017:        case $cc_basename in
                   15018:          CC*)
                   15019:            lt_prog_compiler_wl_CXX='-Wl,'
                   15020:            lt_prog_compiler_static_CXX='-non_shared'
                   15021:            # CC pic flag -KPIC is the default.
                   15022:            ;;
                   15023:          *)
                   15024:            ;;
                   15025:        esac
                   15026:        ;;
                   15027:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15028:        case $cc_basename in
                   15029:          KCC*)
                   15030:            # KAI C++ Compiler
                   15031:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   15032:            lt_prog_compiler_pic_CXX='-fPIC'
                   15033:            ;;
                   15034:          ecpc* )
                   15035:            # old Intel C++ for x86_64 which still supported -KPIC.
                   15036:            lt_prog_compiler_wl_CXX='-Wl,'
                   15037:            lt_prog_compiler_pic_CXX='-KPIC'
                   15038:            lt_prog_compiler_static_CXX='-static'
                   15039:            ;;
                   15040:          icpc* )
                   15041:            # Intel C++, used to be incompatible with GCC.
                   15042:            # ICC 10 doesn't accept -KPIC any more.
                   15043:            lt_prog_compiler_wl_CXX='-Wl,'
                   15044:            lt_prog_compiler_pic_CXX='-fPIC'
                   15045:            lt_prog_compiler_static_CXX='-static'
                   15046:            ;;
                   15047:          pgCC* | pgcpp*)
                   15048:            # Portland Group C++ compiler
                   15049:            lt_prog_compiler_wl_CXX='-Wl,'
                   15050:            lt_prog_compiler_pic_CXX='-fpic'
                   15051:            lt_prog_compiler_static_CXX='-Bstatic'
                   15052:            ;;
                   15053:          cxx*)
                   15054:            # Compaq C++
                   15055:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   15056:            # Linux and Compaq Tru64 Unix objects are PIC.
                   15057:            lt_prog_compiler_pic_CXX=
                   15058:            lt_prog_compiler_static_CXX='-non_shared'
                   15059:            ;;
                   15060:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   15061:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   15062:            lt_prog_compiler_wl_CXX='-Wl,'
                   15063:            lt_prog_compiler_pic_CXX='-qpic'
                   15064:            lt_prog_compiler_static_CXX='-qstaticlink'
                   15065:            ;;
                   15066:          *)
                   15067:            case `$CC -V 2>&1 | sed 5q` in
                   15068:            *Sun\ C*)
                   15069:              # Sun C++ 5.9
                   15070:              lt_prog_compiler_pic_CXX='-KPIC'
                   15071:              lt_prog_compiler_static_CXX='-Bstatic'
                   15072:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   15073:              ;;
                   15074:            esac
                   15075:            ;;
                   15076:        esac
                   15077:        ;;
                   15078:       lynxos*)
                   15079:        ;;
                   15080:       m88k*)
                   15081:        ;;
                   15082:       mvs*)
                   15083:        case $cc_basename in
                   15084:          cxx*)
                   15085:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   15086:            ;;
                   15087:          *)
                   15088:            ;;
                   15089:        esac
                   15090:        ;;
                   15091:       netbsd*)
                   15092:        ;;
                   15093:       *qnx* | *nto*)
                   15094:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   15095:         # it will coredump.
                   15096:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   15097:         ;;
                   15098:       osf3* | osf4* | osf5*)
                   15099:        case $cc_basename in
                   15100:          KCC*)
                   15101:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   15102:            ;;
                   15103:          RCC*)
                   15104:            # Rational C++ 2.4.1
                   15105:            lt_prog_compiler_pic_CXX='-pic'
                   15106:            ;;
                   15107:          cxx*)
                   15108:            # Digital/Compaq C++
                   15109:            lt_prog_compiler_wl_CXX='-Wl,'
                   15110:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   15111:            # Linux and Compaq Tru64 Unix objects are PIC.
                   15112:            lt_prog_compiler_pic_CXX=
                   15113:            lt_prog_compiler_static_CXX='-non_shared'
                   15114:            ;;
                   15115:          *)
                   15116:            ;;
                   15117:        esac
                   15118:        ;;
                   15119:       psos*)
                   15120:        ;;
                   15121:       solaris*)
                   15122:        case $cc_basename in
                   15123:          CC* | sunCC*)
                   15124:            # Sun C++ 4.2, 5.x and Centerline C++
                   15125:            lt_prog_compiler_pic_CXX='-KPIC'
                   15126:            lt_prog_compiler_static_CXX='-Bstatic'
                   15127:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   15128:            ;;
                   15129:          gcx*)
                   15130:            # Green Hills C++ Compiler
                   15131:            lt_prog_compiler_pic_CXX='-PIC'
                   15132:            ;;
                   15133:          *)
                   15134:            ;;
                   15135:        esac
                   15136:        ;;
                   15137:       sunos4*)
                   15138:        case $cc_basename in
                   15139:          CC*)
                   15140:            # Sun C++ 4.x
                   15141:            lt_prog_compiler_pic_CXX='-pic'
                   15142:            lt_prog_compiler_static_CXX='-Bstatic'
                   15143:            ;;
                   15144:          lcc*)
                   15145:            # Lucid
                   15146:            lt_prog_compiler_pic_CXX='-pic'
                   15147:            ;;
                   15148:          *)
                   15149:            ;;
                   15150:        esac
                   15151:        ;;
                   15152:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   15153:        case $cc_basename in
                   15154:          CC*)
                   15155:            lt_prog_compiler_wl_CXX='-Wl,'
                   15156:            lt_prog_compiler_pic_CXX='-KPIC'
                   15157:            lt_prog_compiler_static_CXX='-Bstatic'
                   15158:            ;;
                   15159:        esac
                   15160:        ;;
                   15161:       tandem*)
                   15162:        case $cc_basename in
                   15163:          NCC*)
                   15164:            # NonStop-UX NCC 3.20
                   15165:            lt_prog_compiler_pic_CXX='-KPIC'
                   15166:            ;;
                   15167:          *)
                   15168:            ;;
                   15169:        esac
                   15170:        ;;
                   15171:       vxworks*)
                   15172:        ;;
                   15173:       *)
                   15174:        lt_prog_compiler_can_build_shared_CXX=no
                   15175:        ;;
                   15176:     esac
                   15177:   fi
                   15178: 
                   15179: case $host_os in
                   15180:   # For platforms which do not support PIC, -DPIC is meaningless:
                   15181:   *djgpp*)
                   15182:     lt_prog_compiler_pic_CXX=
                   15183:     ;;
                   15184:   *)
                   15185:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   15186:     ;;
                   15187: esac
                   15188: 
1.150     moko     15189: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   15190: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   15191: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   15192:   $as_echo_n "(cached) " >&6
1.128     moko     15193: else
                   15194:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   15195: fi
1.150     moko     15196: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   15197: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     15198: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   15199: 
                   15200: #
                   15201: # Check to make sure the PIC flag actually works.
                   15202: #
                   15203: if test -n "$lt_prog_compiler_pic_CXX"; then
1.150     moko     15204:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   15205: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   15206: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   15207:   $as_echo_n "(cached) " >&6
1.128     moko     15208: else
                   15209:   lt_cv_prog_compiler_pic_works_CXX=no
                   15210:    ac_outfile=conftest.$ac_objext
                   15211:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15212:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   15213:    # Insert the option either (1) after the last *FLAGS variable, or
                   15214:    # (2) before a word containing "conftest.", or (3) at the end.
                   15215:    # Note that $ac_compile itself does not contain backslashes and begins
                   15216:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15217:    # The option is referenced via a variable to avoid confusing sed.
                   15218:    lt_compile=`echo "$ac_compile" | $SED \
                   15219:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15220:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15221:    -e 's:$: $lt_compiler_flag:'`
                   15222:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15223:    (eval "$lt_compile" 2>conftest.err)
                   15224:    ac_status=$?
                   15225:    cat conftest.err >&5
                   15226:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15227:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   15228:      # The compiler can only warn and ignore the option if not recognized
                   15229:      # So say no if there are warnings other than the usual output.
                   15230:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   15231:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15232:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   15233:        lt_cv_prog_compiler_pic_works_CXX=yes
                   15234:      fi
                   15235:    fi
                   15236:    $RM conftest*
                   15237: 
                   15238: fi
1.150     moko     15239: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   15240: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     15241: 
                   15242: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   15243:     case $lt_prog_compiler_pic_CXX in
                   15244:      "" | " "*) ;;
                   15245:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   15246:      esac
                   15247: else
                   15248:     lt_prog_compiler_pic_CXX=
                   15249:      lt_prog_compiler_can_build_shared_CXX=no
                   15250: fi
                   15251: 
                   15252: fi
                   15253: 
                   15254: 
                   15255: 
                   15256: 
                   15257: 
                   15258: #
                   15259: # Check to make sure the static flag actually works.
                   15260: #
                   15261: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.150     moko     15262: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   15263: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   15264: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   15265:   $as_echo_n "(cached) " >&6
1.128     moko     15266: else
                   15267:   lt_cv_prog_compiler_static_works_CXX=no
                   15268:    save_LDFLAGS="$LDFLAGS"
                   15269:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   15270:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   15271:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   15272:      # The linker can only warn and ignore the option if not recognized
                   15273:      # So say no if there are warnings
                   15274:      if test -s conftest.err; then
                   15275:        # Append any errors to the config.log.
                   15276:        cat conftest.err 1>&5
                   15277:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   15278:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15279:        if diff conftest.exp conftest.er2 >/dev/null; then
                   15280:          lt_cv_prog_compiler_static_works_CXX=yes
                   15281:        fi
                   15282:      else
                   15283:        lt_cv_prog_compiler_static_works_CXX=yes
                   15284:      fi
                   15285:    fi
                   15286:    $RM -r conftest*
                   15287:    LDFLAGS="$save_LDFLAGS"
                   15288: 
                   15289: fi
1.150     moko     15290: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   15291: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     15292: 
                   15293: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   15294:     :
                   15295: else
                   15296:     lt_prog_compiler_static_CXX=
                   15297: fi
                   15298: 
                   15299: 
                   15300: 
                   15301: 
1.150     moko     15302:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15303: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15304: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15305:   $as_echo_n "(cached) " >&6
1.128     moko     15306: else
                   15307:   lt_cv_prog_compiler_c_o_CXX=no
                   15308:    $RM -r conftest 2>/dev/null
                   15309:    mkdir conftest
                   15310:    cd conftest
                   15311:    mkdir out
                   15312:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15313: 
                   15314:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15315:    # Insert the option either (1) after the last *FLAGS variable, or
                   15316:    # (2) before a word containing "conftest.", or (3) at the end.
                   15317:    # Note that $ac_compile itself does not contain backslashes and begins
                   15318:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15319:    lt_compile=`echo "$ac_compile" | $SED \
                   15320:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15321:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15322:    -e 's:$: $lt_compiler_flag:'`
                   15323:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15324:    (eval "$lt_compile" 2>out/conftest.err)
                   15325:    ac_status=$?
                   15326:    cat out/conftest.err >&5
                   15327:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15328:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15329:    then
                   15330:      # The compiler can only warn and ignore the option if not recognized
                   15331:      # So say no if there are warnings
                   15332:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15333:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15334:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15335:        lt_cv_prog_compiler_c_o_CXX=yes
                   15336:      fi
                   15337:    fi
                   15338:    chmod u+w . 2>&5
                   15339:    $RM conftest*
                   15340:    # SGI C++ compiler will create directory out/ii_files/ for
                   15341:    # template instantiation
                   15342:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15343:    $RM out/* && rmdir out
                   15344:    cd ..
                   15345:    $RM -r conftest
                   15346:    $RM conftest*
                   15347: 
                   15348: fi
1.150     moko     15349: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15350: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15351: 
                   15352: 
                   15353: 
1.150     moko     15354:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15355: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15356: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15357:   $as_echo_n "(cached) " >&6
1.128     moko     15358: else
                   15359:   lt_cv_prog_compiler_c_o_CXX=no
                   15360:    $RM -r conftest 2>/dev/null
                   15361:    mkdir conftest
                   15362:    cd conftest
                   15363:    mkdir out
                   15364:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15365: 
                   15366:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15367:    # Insert the option either (1) after the last *FLAGS variable, or
                   15368:    # (2) before a word containing "conftest.", or (3) at the end.
                   15369:    # Note that $ac_compile itself does not contain backslashes and begins
                   15370:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15371:    lt_compile=`echo "$ac_compile" | $SED \
                   15372:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15373:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15374:    -e 's:$: $lt_compiler_flag:'`
                   15375:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15376:    (eval "$lt_compile" 2>out/conftest.err)
                   15377:    ac_status=$?
                   15378:    cat out/conftest.err >&5
                   15379:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15380:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15381:    then
                   15382:      # The compiler can only warn and ignore the option if not recognized
                   15383:      # So say no if there are warnings
                   15384:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15385:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15386:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15387:        lt_cv_prog_compiler_c_o_CXX=yes
                   15388:      fi
                   15389:    fi
                   15390:    chmod u+w . 2>&5
                   15391:    $RM conftest*
                   15392:    # SGI C++ compiler will create directory out/ii_files/ for
                   15393:    # template instantiation
                   15394:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15395:    $RM out/* && rmdir out
                   15396:    cd ..
                   15397:    $RM -r conftest
                   15398:    $RM conftest*
                   15399: 
                   15400: fi
1.150     moko     15401: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15402: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15403: 
                   15404: 
                   15405: 
                   15406: 
                   15407: hard_links="nottested"
                   15408: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   15409:   # do not overwrite the value of need_locks provided by the user
1.150     moko     15410:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   15411: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     15412:   hard_links=yes
                   15413:   $RM conftest*
                   15414:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   15415:   touch conftest.a
                   15416:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   15417:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     15418:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   15419: $as_echo "$hard_links" >&6; }
1.128     moko     15420:   if test "$hard_links" = no; then
1.150     moko     15421:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   15422: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     15423:     need_locks=warn
                   15424:   fi
                   15425: else
                   15426:   need_locks=no
                   15427: fi
                   15428: 
                   15429: 
                   15430: 
1.150     moko     15431:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   15432: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     15433: 
                   15434:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15435:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   15436:   case $host_os in
                   15437:   aix[4-9]*)
                   15438:     # If we're using GNU nm, then we don't want the "-C" option.
                   15439:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   15440:     # Also, AIX nm treats weak defined symbols like other global defined
                   15441:     # symbols, whereas GNU nm marks them as "W".
                   15442:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   15443:       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'
                   15444:     else
                   15445:       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'
                   15446:     fi
                   15447:     ;;
                   15448:   pw32*)
                   15449:     export_symbols_cmds_CXX="$ltdll_cmds"
                   15450:     ;;
                   15451:   cygwin* | mingw* | cegcc*)
                   15452:     case $cc_basename in
                   15453:     cl*)
                   15454:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   15455:       ;;
                   15456:     *)
                   15457:       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'
                   15458:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   15459:       ;;
                   15460:     esac
                   15461:     ;;
                   15462:   *)
                   15463:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15464:     ;;
                   15465:   esac
                   15466: 
1.150     moko     15467: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   15468: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     15469: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   15470: 
                   15471: with_gnu_ld_CXX=$with_gnu_ld
                   15472: 
                   15473: 
                   15474: 
                   15475: 
                   15476: 
                   15477: 
                   15478: #
                   15479: # Do we need to explicitly link libc?
                   15480: #
                   15481: case "x$archive_cmds_need_lc_CXX" in
                   15482: x|xyes)
                   15483:   # Assume -lc should be added
                   15484:   archive_cmds_need_lc_CXX=yes
                   15485: 
                   15486:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   15487:     case $archive_cmds_CXX in
                   15488:     *'~'*)
                   15489:       # FIXME: we may have to deal with multi-command sequences.
                   15490:       ;;
                   15491:     '$CC '*)
                   15492:       # Test whether the compiler implicitly links with -lc since on some
                   15493:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   15494:       # to ld, don't add -lc before -lgcc.
1.150     moko     15495:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   15496: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   15497: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   15498:   $as_echo_n "(cached) " >&6
1.128     moko     15499: else
                   15500:   $RM conftest*
                   15501:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15502: 
1.150     moko     15503:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     15504:   (eval $ac_compile) 2>&5
                   15505:   ac_status=$?
1.150     moko     15506:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15507:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     15508:          soname=conftest
                   15509:          lib=conftest
                   15510:          libobjs=conftest.$ac_objext
                   15511:          deplibs=
                   15512:          wl=$lt_prog_compiler_wl_CXX
                   15513:          pic_flag=$lt_prog_compiler_pic_CXX
                   15514:          compiler_flags=-v
                   15515:          linker_flags=-v
                   15516:          verstring=
                   15517:          output_objdir=.
                   15518:          libname=conftest
                   15519:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   15520:          allow_undefined_flag_CXX=
1.150     moko     15521:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     15522:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   15523:   ac_status=$?
1.150     moko     15524:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15525:   test $ac_status = 0; }
1.128     moko     15526:          then
                   15527:            lt_cv_archive_cmds_need_lc_CXX=no
                   15528:          else
                   15529:            lt_cv_archive_cmds_need_lc_CXX=yes
                   15530:          fi
                   15531:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   15532:        else
                   15533:          cat conftest.err 1>&5
                   15534:        fi
                   15535:        $RM conftest*
                   15536: 
                   15537: fi
1.150     moko     15538: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   15539: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     15540:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   15541:       ;;
                   15542:     esac
                   15543:   fi
                   15544:   ;;
                   15545: esac
                   15546: 
                   15547: 
                   15548: 
                   15549: 
                   15550: 
                   15551: 
                   15552: 
                   15553: 
                   15554: 
                   15555: 
                   15556: 
                   15557: 
                   15558: 
                   15559: 
                   15560: 
                   15561: 
                   15562: 
                   15563: 
                   15564: 
                   15565: 
                   15566: 
                   15567: 
                   15568: 
                   15569: 
                   15570: 
                   15571: 
                   15572: 
                   15573: 
                   15574: 
                   15575: 
                   15576: 
                   15577: 
                   15578: 
                   15579: 
                   15580: 
                   15581: 
                   15582: 
                   15583: 
                   15584: 
                   15585: 
                   15586: 
                   15587: 
                   15588: 
                   15589: 
                   15590: 
                   15591: 
                   15592: 
                   15593: 
                   15594: 
                   15595: 
                   15596: 
                   15597: 
                   15598: 
                   15599: 
                   15600: 
                   15601: 
                   15602: 
                   15603: 
                   15604: 
                   15605: 
                   15606: 
                   15607: 
1.150     moko     15608:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   15609: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     15610: 
                   15611: library_names_spec=
                   15612: libname_spec='lib$name'
                   15613: soname_spec=
                   15614: shrext_cmds=".so"
                   15615: postinstall_cmds=
                   15616: postuninstall_cmds=
                   15617: finish_cmds=
                   15618: finish_eval=
                   15619: shlibpath_var=
                   15620: shlibpath_overrides_runpath=unknown
                   15621: version_type=none
                   15622: dynamic_linker="$host_os ld.so"
                   15623: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15624: need_lib_prefix=unknown
                   15625: hardcode_into_libs=no
                   15626: 
                   15627: # when you set need_version to no, make sure it does not cause -set_version
                   15628: # flags to be left without arguments
                   15629: need_version=unknown
                   15630: 
                   15631: case $host_os in
                   15632: aix3*)
                   15633:   version_type=linux # correct to gnu/linux during the next big refactor
                   15634:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15635:   shlibpath_var=LIBPATH
                   15636: 
                   15637:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15638:   soname_spec='${libname}${release}${shared_ext}$major'
                   15639:   ;;
                   15640: 
                   15641: aix[4-9]*)
                   15642:   version_type=linux # correct to gnu/linux during the next big refactor
                   15643:   need_lib_prefix=no
                   15644:   need_version=no
                   15645:   hardcode_into_libs=yes
                   15646:   if test "$host_cpu" = ia64; then
                   15647:     # AIX 5 supports IA64
                   15648:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15649:     shlibpath_var=LD_LIBRARY_PATH
                   15650:   else
                   15651:     # With GCC up to 2.95.x, collect2 would create an import file
                   15652:     # for dependence libraries.  The import file would start with
                   15653:     # the line `#! .'.  This would cause the generated library to
                   15654:     # depend on `.', always an invalid library.  This was fixed in
                   15655:     # development snapshots of GCC prior to 3.0.
                   15656:     case $host_os in
                   15657:       aix4 | aix4.[01] | aix4.[01].*)
                   15658:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15659:           echo ' yes '
                   15660:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15661:        :
                   15662:       else
                   15663:        can_build_shared=no
                   15664:       fi
                   15665:       ;;
                   15666:     esac
                   15667:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15668:     # soname into executable. Probably we can add versioning support to
                   15669:     # collect2, so additional links can be useful in future.
                   15670:     if test "$aix_use_runtimelinking" = yes; then
                   15671:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15672:       # instead of lib<name>.a to let people know that these are not
                   15673:       # typical AIX shared libraries.
                   15674:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15675:     else
                   15676:       # We preserve .a as extension for shared libraries through AIX4.2
                   15677:       # and later when we are not doing run time linking.
                   15678:       library_names_spec='${libname}${release}.a $libname.a'
                   15679:       soname_spec='${libname}${release}${shared_ext}$major'
                   15680:     fi
                   15681:     shlibpath_var=LIBPATH
                   15682:   fi
                   15683:   ;;
                   15684: 
                   15685: amigaos*)
                   15686:   case $host_cpu in
                   15687:   powerpc)
                   15688:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15689:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15690:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15691:     ;;
                   15692:   m68k)
                   15693:     library_names_spec='$libname.ixlibrary $libname.a'
                   15694:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15695:     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'
                   15696:     ;;
                   15697:   esac
                   15698:   ;;
                   15699: 
                   15700: beos*)
                   15701:   library_names_spec='${libname}${shared_ext}'
                   15702:   dynamic_linker="$host_os ld.so"
                   15703:   shlibpath_var=LIBRARY_PATH
                   15704:   ;;
                   15705: 
                   15706: bsdi[45]*)
                   15707:   version_type=linux # correct to gnu/linux during the next big refactor
                   15708:   need_version=no
                   15709:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15710:   soname_spec='${libname}${release}${shared_ext}$major'
                   15711:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15712:   shlibpath_var=LD_LIBRARY_PATH
                   15713:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15714:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15715:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15716:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15717:   # libtool to hard-code these into programs
                   15718:   ;;
                   15719: 
                   15720: cygwin* | mingw* | pw32* | cegcc*)
                   15721:   version_type=windows
                   15722:   shrext_cmds=".dll"
                   15723:   need_version=no
                   15724:   need_lib_prefix=no
                   15725: 
                   15726:   case $GCC,$cc_basename in
                   15727:   yes,*)
                   15728:     # gcc
                   15729:     library_names_spec='$libname.dll.a'
                   15730:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15731:     postinstall_cmds='base_file=`basename \${file}`~
                   15732:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15733:       dldir=$destdir/`dirname \$dlpath`~
                   15734:       test -d \$dldir || mkdir -p \$dldir~
                   15735:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15736:       chmod a+x \$dldir/$dlname~
                   15737:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15738:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15739:       fi'
                   15740:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15741:       dlpath=$dir/\$dldll~
                   15742:        $RM \$dlpath'
                   15743:     shlibpath_overrides_runpath=yes
                   15744: 
                   15745:     case $host_os in
                   15746:     cygwin*)
                   15747:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15748:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15749: 
                   15750:       ;;
                   15751:     mingw* | cegcc*)
                   15752:       # MinGW DLLs use traditional 'lib' prefix
                   15753:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15754:       ;;
                   15755:     pw32*)
                   15756:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15757:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15758:       ;;
                   15759:     esac
                   15760:     dynamic_linker='Win32 ld.exe'
                   15761:     ;;
                   15762: 
                   15763:   *,cl*)
                   15764:     # Native MSVC
                   15765:     libname_spec='$name'
                   15766:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15767:     library_names_spec='${libname}.dll.lib'
                   15768: 
                   15769:     case $build_os in
                   15770:     mingw*)
                   15771:       sys_lib_search_path_spec=
                   15772:       lt_save_ifs=$IFS
                   15773:       IFS=';'
                   15774:       for lt_path in $LIB
                   15775:       do
                   15776:         IFS=$lt_save_ifs
                   15777:         # Let DOS variable expansion print the short 8.3 style file name.
                   15778:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15779:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15780:       done
                   15781:       IFS=$lt_save_ifs
                   15782:       # Convert to MSYS style.
                   15783:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15784:       ;;
                   15785:     cygwin*)
                   15786:       # Convert to unix form, then to dos form, then back to unix form
                   15787:       # but this time dos style (no spaces!) so that the unix form looks
                   15788:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15789:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15790:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15791:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15792:       ;;
                   15793:     *)
                   15794:       sys_lib_search_path_spec="$LIB"
                   15795:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15796:         # It is most probably a Windows format PATH.
                   15797:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15798:       else
                   15799:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15800:       fi
                   15801:       # FIXME: find the short name or the path components, as spaces are
                   15802:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15803:       ;;
                   15804:     esac
                   15805: 
                   15806:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15807:     postinstall_cmds='base_file=`basename \${file}`~
                   15808:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15809:       dldir=$destdir/`dirname \$dlpath`~
                   15810:       test -d \$dldir || mkdir -p \$dldir~
                   15811:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15812:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15813:       dlpath=$dir/\$dldll~
                   15814:        $RM \$dlpath'
                   15815:     shlibpath_overrides_runpath=yes
                   15816:     dynamic_linker='Win32 link.exe'
                   15817:     ;;
                   15818: 
                   15819:   *)
                   15820:     # Assume MSVC wrapper
                   15821:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15822:     dynamic_linker='Win32 ld.exe'
                   15823:     ;;
                   15824:   esac
                   15825:   # FIXME: first we should search . and the directory the executable is in
                   15826:   shlibpath_var=PATH
                   15827:   ;;
                   15828: 
                   15829: darwin* | rhapsody*)
                   15830:   dynamic_linker="$host_os dyld"
                   15831:   version_type=darwin
                   15832:   need_lib_prefix=no
                   15833:   need_version=no
                   15834:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15835:   soname_spec='${libname}${release}${major}$shared_ext'
                   15836:   shlibpath_overrides_runpath=yes
                   15837:   shlibpath_var=DYLD_LIBRARY_PATH
                   15838:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15839: 
                   15840:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15841:   ;;
                   15842: 
                   15843: dgux*)
                   15844:   version_type=linux # correct to gnu/linux during the next big refactor
                   15845:   need_lib_prefix=no
                   15846:   need_version=no
                   15847:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15848:   soname_spec='${libname}${release}${shared_ext}$major'
                   15849:   shlibpath_var=LD_LIBRARY_PATH
                   15850:   ;;
                   15851: 
                   15852: freebsd* | dragonfly*)
                   15853:   # DragonFly does not have aout.  When/if they implement a new
                   15854:   # versioning mechanism, adjust this.
                   15855:   if test -x /usr/bin/objformat; then
                   15856:     objformat=`/usr/bin/objformat`
                   15857:   else
                   15858:     case $host_os in
                   15859:     freebsd[23].*) objformat=aout ;;
                   15860:     *) objformat=elf ;;
                   15861:     esac
                   15862:   fi
                   15863:   version_type=freebsd-$objformat
                   15864:   case $version_type in
                   15865:     freebsd-elf*)
                   15866:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15867:       need_version=no
                   15868:       need_lib_prefix=no
                   15869:       ;;
                   15870:     freebsd-*)
                   15871:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15872:       need_version=yes
                   15873:       ;;
                   15874:   esac
                   15875:   shlibpath_var=LD_LIBRARY_PATH
                   15876:   case $host_os in
                   15877:   freebsd2.*)
                   15878:     shlibpath_overrides_runpath=yes
                   15879:     ;;
                   15880:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15881:     shlibpath_overrides_runpath=yes
                   15882:     hardcode_into_libs=yes
                   15883:     ;;
                   15884:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15885:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15886:     shlibpath_overrides_runpath=no
                   15887:     hardcode_into_libs=yes
                   15888:     ;;
                   15889:   *) # from 4.6 on, and DragonFly
                   15890:     shlibpath_overrides_runpath=yes
                   15891:     hardcode_into_libs=yes
                   15892:     ;;
                   15893:   esac
                   15894:   ;;
                   15895: 
                   15896: gnu*)
                   15897:   version_type=linux # correct to gnu/linux during the next big refactor
                   15898:   need_lib_prefix=no
                   15899:   need_version=no
                   15900:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15901:   soname_spec='${libname}${release}${shared_ext}$major'
                   15902:   shlibpath_var=LD_LIBRARY_PATH
                   15903:   shlibpath_overrides_runpath=no
                   15904:   hardcode_into_libs=yes
                   15905:   ;;
                   15906: 
                   15907: haiku*)
                   15908:   version_type=linux # correct to gnu/linux during the next big refactor
                   15909:   need_lib_prefix=no
                   15910:   need_version=no
                   15911:   dynamic_linker="$host_os runtime_loader"
                   15912:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15913:   soname_spec='${libname}${release}${shared_ext}$major'
                   15914:   shlibpath_var=LIBRARY_PATH
                   15915:   shlibpath_overrides_runpath=yes
                   15916:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15917:   hardcode_into_libs=yes
                   15918:   ;;
                   15919: 
                   15920: hpux9* | hpux10* | hpux11*)
                   15921:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15922:   # link against other versions.
                   15923:   version_type=sunos
                   15924:   need_lib_prefix=no
                   15925:   need_version=no
                   15926:   case $host_cpu in
                   15927:   ia64*)
                   15928:     shrext_cmds='.so'
                   15929:     hardcode_into_libs=yes
                   15930:     dynamic_linker="$host_os dld.so"
                   15931:     shlibpath_var=LD_LIBRARY_PATH
                   15932:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15933:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15934:     soname_spec='${libname}${release}${shared_ext}$major'
                   15935:     if test "X$HPUX_IA64_MODE" = X32; then
                   15936:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15937:     else
                   15938:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15939:     fi
                   15940:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15941:     ;;
                   15942:   hppa*64*)
                   15943:     shrext_cmds='.sl'
                   15944:     hardcode_into_libs=yes
                   15945:     dynamic_linker="$host_os dld.sl"
                   15946:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   15947:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15948:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15949:     soname_spec='${libname}${release}${shared_ext}$major'
                   15950:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15951:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15952:     ;;
                   15953:   *)
                   15954:     shrext_cmds='.sl'
                   15955:     dynamic_linker="$host_os dld.sl"
                   15956:     shlibpath_var=SHLIB_PATH
                   15957:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15958:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15959:     soname_spec='${libname}${release}${shared_ext}$major'
                   15960:     ;;
                   15961:   esac
                   15962:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15963:   postinstall_cmds='chmod 555 $lib'
                   15964:   # or fails outright, so override atomically:
                   15965:   install_override_mode=555
                   15966:   ;;
                   15967: 
                   15968: interix[3-9]*)
                   15969:   version_type=linux # correct to gnu/linux during the next big refactor
                   15970:   need_lib_prefix=no
                   15971:   need_version=no
                   15972:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15973:   soname_spec='${libname}${release}${shared_ext}$major'
                   15974:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15975:   shlibpath_var=LD_LIBRARY_PATH
                   15976:   shlibpath_overrides_runpath=no
                   15977:   hardcode_into_libs=yes
                   15978:   ;;
                   15979: 
                   15980: irix5* | irix6* | nonstopux*)
                   15981:   case $host_os in
                   15982:     nonstopux*) version_type=nonstopux ;;
                   15983:     *)
                   15984:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15985:                version_type=linux # correct to gnu/linux during the next big refactor
                   15986:        else
                   15987:                version_type=irix
                   15988:        fi ;;
                   15989:   esac
                   15990:   need_lib_prefix=no
                   15991:   need_version=no
                   15992:   soname_spec='${libname}${release}${shared_ext}$major'
                   15993:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15994:   case $host_os in
                   15995:   irix5* | nonstopux*)
                   15996:     libsuff= shlibsuff=
                   15997:     ;;
                   15998:   *)
                   15999:     case $LD in # libtool.m4 will add one of these switches to LD
                   16000:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   16001:       libsuff= shlibsuff= libmagic=32-bit;;
                   16002:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   16003:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   16004:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   16005:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   16006:     *) libsuff= shlibsuff= libmagic=never-match;;
                   16007:     esac
                   16008:     ;;
                   16009:   esac
                   16010:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   16011:   shlibpath_overrides_runpath=no
                   16012:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   16013:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   16014:   hardcode_into_libs=yes
                   16015:   ;;
                   16016: 
                   16017: # No shared lib support for Linux oldld, aout, or coff.
                   16018: linux*oldld* | linux*aout* | linux*coff*)
                   16019:   dynamic_linker=no
                   16020:   ;;
                   16021: 
                   16022: # This must be glibc/ELF.
                   16023: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16024:   version_type=linux # correct to gnu/linux during the next big refactor
                   16025:   need_lib_prefix=no
                   16026:   need_version=no
                   16027:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16028:   soname_spec='${libname}${release}${shared_ext}$major'
                   16029:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   16030:   shlibpath_var=LD_LIBRARY_PATH
                   16031:   shlibpath_overrides_runpath=no
                   16032: 
                   16033:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     16034:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   16035:   $as_echo_n "(cached) " >&6
1.128     moko     16036: else
                   16037:   lt_cv_shlibpath_overrides_runpath=no
                   16038:     save_LDFLAGS=$LDFLAGS
                   16039:     save_libdir=$libdir
                   16040:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   16041:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150     moko     16042:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16043: /* end confdefs.h.  */
                   16044: 
                   16045: int
                   16046: main ()
                   16047: {
                   16048: 
                   16049:   ;
                   16050:   return 0;
                   16051: }
                   16052: _ACEOF
1.150     moko     16053: if ac_fn_cxx_try_link "$LINENO"; then :
                   16054:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     16055:   lt_cv_shlibpath_overrides_runpath=yes
                   16056: fi
                   16057: fi
1.150     moko     16058: rm -f core conftest.err conftest.$ac_objext \
                   16059:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16060:     LDFLAGS=$save_LDFLAGS
                   16061:     libdir=$save_libdir
                   16062: 
                   16063: fi
                   16064: 
                   16065:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   16066: 
                   16067:   # This implies no fast_install, which is unacceptable.
                   16068:   # Some rework will be needed to allow for fast_install
                   16069:   # before this can be enabled.
                   16070:   hardcode_into_libs=yes
                   16071: 
                   16072:   # Append ld.so.conf contents to the search path
                   16073:   if test -f /etc/ld.so.conf; then
                   16074:     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' ' '`
                   16075:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   16076:   fi
                   16077: 
                   16078:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   16079:   # powerpc, because MkLinux only supported shared libraries with the
                   16080:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   16081:   # most powerpc-linux boxes support dynamic linking these days and
                   16082:   # people can always --disable-shared, the test was removed, and we
                   16083:   # assume the GNU/Linux dynamic linker is in use.
                   16084:   dynamic_linker='GNU/Linux ld.so'
                   16085:   ;;
                   16086: 
                   16087: netbsd*)
                   16088:   version_type=sunos
                   16089:   need_lib_prefix=no
                   16090:   need_version=no
                   16091:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   16092:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16093:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   16094:     dynamic_linker='NetBSD (a.out) ld.so'
                   16095:   else
                   16096:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   16097:     soname_spec='${libname}${release}${shared_ext}$major'
                   16098:     dynamic_linker='NetBSD ld.elf_so'
                   16099:   fi
                   16100:   shlibpath_var=LD_LIBRARY_PATH
                   16101:   shlibpath_overrides_runpath=yes
                   16102:   hardcode_into_libs=yes
                   16103:   ;;
                   16104: 
                   16105: newsos6)
                   16106:   version_type=linux # correct to gnu/linux during the next big refactor
                   16107:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16108:   shlibpath_var=LD_LIBRARY_PATH
                   16109:   shlibpath_overrides_runpath=yes
                   16110:   ;;
                   16111: 
                   16112: *nto* | *qnx*)
                   16113:   version_type=qnx
                   16114:   need_lib_prefix=no
                   16115:   need_version=no
                   16116:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16117:   soname_spec='${libname}${release}${shared_ext}$major'
                   16118:   shlibpath_var=LD_LIBRARY_PATH
                   16119:   shlibpath_overrides_runpath=no
                   16120:   hardcode_into_libs=yes
                   16121:   dynamic_linker='ldqnx.so'
                   16122:   ;;
                   16123: 
                   16124: openbsd*)
                   16125:   version_type=sunos
                   16126:   sys_lib_dlsearch_path_spec="/usr/lib"
                   16127:   need_lib_prefix=no
                   16128:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   16129:   case $host_os in
                   16130:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   16131:     *)                         need_version=no  ;;
                   16132:   esac
                   16133:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16134:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   16135:   shlibpath_var=LD_LIBRARY_PATH
                   16136:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   16137:     case $host_os in
                   16138:       openbsd2.[89] | openbsd2.[89].*)
                   16139:        shlibpath_overrides_runpath=no
                   16140:        ;;
                   16141:       *)
                   16142:        shlibpath_overrides_runpath=yes
                   16143:        ;;
                   16144:       esac
                   16145:   else
                   16146:     shlibpath_overrides_runpath=yes
                   16147:   fi
                   16148:   ;;
                   16149: 
                   16150: os2*)
                   16151:   libname_spec='$name'
                   16152:   shrext_cmds=".dll"
                   16153:   need_lib_prefix=no
                   16154:   library_names_spec='$libname${shared_ext} $libname.a'
                   16155:   dynamic_linker='OS/2 ld.exe'
                   16156:   shlibpath_var=LIBPATH
                   16157:   ;;
                   16158: 
                   16159: osf3* | osf4* | osf5*)
                   16160:   version_type=osf
                   16161:   need_lib_prefix=no
                   16162:   need_version=no
                   16163:   soname_spec='${libname}${release}${shared_ext}$major'
                   16164:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16165:   shlibpath_var=LD_LIBRARY_PATH
                   16166:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   16167:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   16168:   ;;
                   16169: 
                   16170: rdos*)
                   16171:   dynamic_linker=no
                   16172:   ;;
                   16173: 
                   16174: solaris*)
                   16175:   version_type=linux # correct to gnu/linux during the next big refactor
                   16176:   need_lib_prefix=no
                   16177:   need_version=no
                   16178:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16179:   soname_spec='${libname}${release}${shared_ext}$major'
                   16180:   shlibpath_var=LD_LIBRARY_PATH
                   16181:   shlibpath_overrides_runpath=yes
                   16182:   hardcode_into_libs=yes
                   16183:   # ldd complains unless libraries are executable
                   16184:   postinstall_cmds='chmod +x $lib'
                   16185:   ;;
                   16186: 
                   16187: sunos4*)
                   16188:   version_type=sunos
                   16189:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16190:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   16191:   shlibpath_var=LD_LIBRARY_PATH
                   16192:   shlibpath_overrides_runpath=yes
                   16193:   if test "$with_gnu_ld" = yes; then
                   16194:     need_lib_prefix=no
                   16195:   fi
                   16196:   need_version=yes
                   16197:   ;;
                   16198: 
                   16199: sysv4 | sysv4.3*)
                   16200:   version_type=linux # correct to gnu/linux during the next big refactor
                   16201:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16202:   soname_spec='${libname}${release}${shared_ext}$major'
                   16203:   shlibpath_var=LD_LIBRARY_PATH
                   16204:   case $host_vendor in
                   16205:     sni)
                   16206:       shlibpath_overrides_runpath=no
                   16207:       need_lib_prefix=no
                   16208:       runpath_var=LD_RUN_PATH
                   16209:       ;;
                   16210:     siemens)
                   16211:       need_lib_prefix=no
                   16212:       ;;
                   16213:     motorola)
                   16214:       need_lib_prefix=no
                   16215:       need_version=no
                   16216:       shlibpath_overrides_runpath=no
                   16217:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   16218:       ;;
                   16219:   esac
                   16220:   ;;
                   16221: 
                   16222: sysv4*MP*)
                   16223:   if test -d /usr/nec ;then
                   16224:     version_type=linux # correct to gnu/linux during the next big refactor
                   16225:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   16226:     soname_spec='$libname${shared_ext}.$major'
                   16227:     shlibpath_var=LD_LIBRARY_PATH
                   16228:   fi
                   16229:   ;;
                   16230: 
                   16231: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16232:   version_type=freebsd-elf
                   16233:   need_lib_prefix=no
                   16234:   need_version=no
                   16235:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   16236:   soname_spec='${libname}${release}${shared_ext}$major'
                   16237:   shlibpath_var=LD_LIBRARY_PATH
                   16238:   shlibpath_overrides_runpath=yes
                   16239:   hardcode_into_libs=yes
                   16240:   if test "$with_gnu_ld" = yes; then
                   16241:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   16242:   else
                   16243:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   16244:     case $host_os in
                   16245:       sco3.2v5*)
                   16246:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   16247:        ;;
                   16248:     esac
                   16249:   fi
                   16250:   sys_lib_dlsearch_path_spec='/usr/lib'
                   16251:   ;;
                   16252: 
                   16253: tpf*)
                   16254:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   16255:   version_type=linux # correct to gnu/linux during the next big refactor
                   16256:   need_lib_prefix=no
                   16257:   need_version=no
                   16258:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16259:   shlibpath_var=LD_LIBRARY_PATH
                   16260:   shlibpath_overrides_runpath=no
                   16261:   hardcode_into_libs=yes
                   16262:   ;;
                   16263: 
                   16264: uts4*)
                   16265:   version_type=linux # correct to gnu/linux during the next big refactor
                   16266:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16267:   soname_spec='${libname}${release}${shared_ext}$major'
                   16268:   shlibpath_var=LD_LIBRARY_PATH
                   16269:   ;;
                   16270: 
                   16271: *)
                   16272:   dynamic_linker=no
                   16273:   ;;
                   16274: esac
1.150     moko     16275: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   16276: $as_echo "$dynamic_linker" >&6; }
1.128     moko     16277: test "$dynamic_linker" = no && can_build_shared=no
                   16278: 
                   16279: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   16280: if test "$GCC" = yes; then
                   16281:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   16282: fi
                   16283: 
                   16284: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   16285:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   16286: fi
                   16287: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   16288:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   16289: fi
                   16290: 
                   16291: 
                   16292: 
                   16293: 
                   16294: 
                   16295: 
                   16296: 
                   16297: 
                   16298: 
                   16299: 
                   16300: 
                   16301: 
                   16302: 
                   16303: 
                   16304: 
                   16305: 
                   16306: 
                   16307: 
                   16308: 
                   16309: 
                   16310: 
                   16311: 
                   16312: 
                   16313: 
                   16314: 
                   16315: 
                   16316: 
                   16317: 
                   16318: 
                   16319: 
                   16320: 
                   16321: 
                   16322: 
                   16323: 
                   16324: 
                   16325: 
                   16326: 
                   16327: 
1.150     moko     16328:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   16329: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     16330: hardcode_action_CXX=
                   16331: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   16332:    test -n "$runpath_var_CXX" ||
                   16333:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   16334: 
                   16335:   # We can hardcode non-existent directories.
                   16336:   if test "$hardcode_direct_CXX" != no &&
                   16337:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   16338:      # have to relink, otherwise we might link with an installed library
                   16339:      # when we should be linking with a yet-to-be-installed one
                   16340:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   16341:      test "$hardcode_minus_L_CXX" != no; then
                   16342:     # Linking always hardcodes the temporary library directory.
                   16343:     hardcode_action_CXX=relink
                   16344:   else
                   16345:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   16346:     hardcode_action_CXX=immediate
                   16347:   fi
                   16348: else
                   16349:   # We cannot hardcode anything, or else we can only hardcode existing
                   16350:   # directories.
                   16351:   hardcode_action_CXX=unsupported
                   16352: fi
1.150     moko     16353: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   16354: $as_echo "$hardcode_action_CXX" >&6; }
1.128     moko     16355: 
                   16356: if test "$hardcode_action_CXX" = relink ||
                   16357:    test "$inherit_rpath_CXX" = yes; then
                   16358:   # Fast installation is not supported
                   16359:   enable_fast_install=no
                   16360: elif test "$shlibpath_overrides_runpath" = yes ||
                   16361:      test "$enable_shared" = no; then
                   16362:   # Fast installation is not necessary
                   16363:   enable_fast_install=needless
                   16364: fi
                   16365: 
                   16366: 
                   16367: 
                   16368: 
                   16369: 
                   16370: 
                   16371: 
                   16372:   fi # test -n "$compiler"
                   16373: 
                   16374:   CC=$lt_save_CC
                   16375:   CFLAGS=$lt_save_CFLAGS
                   16376:   LDCXX=$LD
                   16377:   LD=$lt_save_LD
                   16378:   GCC=$lt_save_GCC
                   16379:   with_gnu_ld=$lt_save_with_gnu_ld
                   16380:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   16381:   lt_cv_path_LD=$lt_save_path_LD
                   16382:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   16383:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   16384: fi # test "$_lt_caught_CXX_error" != yes
                   16385: 
                   16386: ac_ext=c
                   16387: ac_cpp='$CPP $CPPFLAGS'
                   16388: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16389: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16390: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16391: 
                   16392: 
                   16393: 
                   16394: 
                   16395: 
                   16396: 
                   16397: 
                   16398: 
                   16399: 
                   16400: 
                   16401: 
                   16402: 
                   16403: 
                   16404: 
                   16405: 
1.150     moko     16406:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     16407: 
                   16408: 
                   16409: 
                   16410: 
                   16411: # Only expand once:
                   16412: 
                   16413: 
1.150     moko     16414: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   16415: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   16416: if ${libltdl_cv_shlibext+:} false; then :
                   16417:   $as_echo_n "(cached) " >&6
1.128     moko     16418: else
                   16419: 
                   16420: module=yes
                   16421: eval libltdl_cv_shlibext=$shrext_cmds
                   16422: module=no
                   16423: eval libltdl_cv_shrext=$shrext_cmds
                   16424: 
                   16425: fi
1.150     moko     16426: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   16427: $as_echo "$libltdl_cv_shlibext" >&6; }
1.128     moko     16428: if test -n "$libltdl_cv_shlibext"; then
                   16429: 
                   16430: cat >>confdefs.h <<_ACEOF
                   16431: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   16432: _ACEOF
                   16433: 
                   16434: fi
                   16435: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   16436: 
                   16437: cat >>confdefs.h <<_ACEOF
                   16438: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   16439: _ACEOF
                   16440: 
                   16441: fi
                   16442: 
1.150     moko     16443: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   16444: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   16445: if ${lt_cv_module_path_var+:} false; then :
                   16446:   $as_echo_n "(cached) " >&6
1.128     moko     16447: else
                   16448:   lt_cv_module_path_var="$shlibpath_var"
                   16449: fi
1.150     moko     16450: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   16451: $as_echo "$lt_cv_module_path_var" >&6; }
1.128     moko     16452: if test -n "$lt_cv_module_path_var"; then
                   16453: 
                   16454: cat >>confdefs.h <<_ACEOF
                   16455: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   16456: _ACEOF
                   16457: 
                   16458: fi
                   16459: 
1.150     moko     16460: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   16461: $as_echo_n "checking for the default library search path... " >&6; }
                   16462: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   16463:   $as_echo_n "(cached) " >&6
1.128     moko     16464: else
                   16465:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   16466: fi
1.150     moko     16467: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   16468: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     16469: if test -n "$lt_cv_sys_dlsearch_path"; then
                   16470:   sys_dlsearch_path=
                   16471:   for dir in $lt_cv_sys_dlsearch_path; do
                   16472:     if test -z "$sys_dlsearch_path"; then
                   16473:       sys_dlsearch_path="$dir"
                   16474:     else
                   16475:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   16476:     fi
                   16477:   done
                   16478: 
                   16479: cat >>confdefs.h <<_ACEOF
                   16480: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   16481: _ACEOF
                   16482: 
                   16483: fi
                   16484: 
                   16485: 
                   16486: LT_DLLOADERS=
                   16487: 
                   16488: 
                   16489: ac_ext=c
                   16490: ac_cpp='$CPP $CPPFLAGS'
                   16491: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16492: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16493: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16494: 
                   16495: 
                   16496: LIBADD_DLOPEN=
1.150     moko     16497: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   16498: $as_echo_n "checking for library containing dlopen... " >&6; }
                   16499: if ${ac_cv_search_dlopen+:} false; then :
                   16500:   $as_echo_n "(cached) " >&6
1.128     moko     16501: else
                   16502:   ac_func_search_save_LIBS=$LIBS
1.150     moko     16503: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16504: /* end confdefs.h.  */
                   16505: 
1.150     moko     16506: /* Override any GCC internal prototype to avoid an error.
                   16507:    Use char because int might match the return type of a GCC
                   16508:    builtin and then its argument prototype would still apply.  */
1.128     moko     16509: #ifdef __cplusplus
                   16510: extern "C"
                   16511: #endif
                   16512: char dlopen ();
                   16513: int
                   16514: main ()
                   16515: {
1.150     moko     16516: return dlopen ();
1.128     moko     16517:   ;
                   16518:   return 0;
                   16519: }
                   16520: _ACEOF
1.150     moko     16521: for ac_lib in '' dl; do
                   16522:   if test -z "$ac_lib"; then
                   16523:     ac_res="none required"
                   16524:   else
                   16525:     ac_res=-l$ac_lib
                   16526:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   16527:   fi
                   16528:   if ac_fn_c_try_link "$LINENO"; then :
                   16529:   ac_cv_search_dlopen=$ac_res
                   16530: fi
                   16531: rm -f core conftest.err conftest.$ac_objext \
                   16532:     conftest$ac_exeext
                   16533:   if ${ac_cv_search_dlopen+:} false; then :
                   16534:   break
1.128     moko     16535: fi
1.150     moko     16536: done
                   16537: if ${ac_cv_search_dlopen+:} false; then :
1.128     moko     16538: 
                   16539: else
1.150     moko     16540:   ac_cv_search_dlopen=no
1.128     moko     16541: fi
1.150     moko     16542: rm conftest.$ac_ext
1.128     moko     16543: LIBS=$ac_func_search_save_LIBS
                   16544: fi
1.150     moko     16545: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   16546: $as_echo "$ac_cv_search_dlopen" >&6; }
                   16547: ac_res=$ac_cv_search_dlopen
                   16548: if test "$ac_res" != no; then :
                   16549:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     16550: 
1.150     moko     16551: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16552: 
                   16553:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16554:          LIBADD_DLOPEN="-ldl"
                   16555:        fi
                   16556:        libltdl_cv_lib_dl_dlopen="yes"
                   16557:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16558: else
1.150     moko     16559:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16560: /* end confdefs.h.  */
                   16561: #if HAVE_DLFCN_H
                   16562: #  include <dlfcn.h>
                   16563: #endif
                   16564: 
                   16565: int
                   16566: main ()
                   16567: {
                   16568: dlopen(0, 0);
                   16569:   ;
                   16570:   return 0;
                   16571: }
                   16572: _ACEOF
1.150     moko     16573: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16574: 
1.150     moko     16575: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16576: 
                   16577:            libltdl_cv_func_dlopen="yes"
                   16578:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16579: else
1.150     moko     16580:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   16581: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   16582: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   16583:   $as_echo_n "(cached) " >&6
1.128     moko     16584: else
                   16585:   ac_check_lib_save_LIBS=$LIBS
                   16586: LIBS="-lsvld  $LIBS"
1.150     moko     16587: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16588: /* end confdefs.h.  */
                   16589: 
1.150     moko     16590: /* Override any GCC internal prototype to avoid an error.
                   16591:    Use char because int might match the return type of a GCC
                   16592:    builtin and then its argument prototype would still apply.  */
1.128     moko     16593: #ifdef __cplusplus
                   16594: extern "C"
                   16595: #endif
                   16596: char dlopen ();
                   16597: int
                   16598: main ()
                   16599: {
1.150     moko     16600: return dlopen ();
1.128     moko     16601:   ;
                   16602:   return 0;
                   16603: }
                   16604: _ACEOF
1.150     moko     16605: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16606:   ac_cv_lib_svld_dlopen=yes
                   16607: else
1.150     moko     16608:   ac_cv_lib_svld_dlopen=no
1.128     moko     16609: fi
1.150     moko     16610: rm -f core conftest.err conftest.$ac_objext \
                   16611:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16612: LIBS=$ac_check_lib_save_LIBS
                   16613: fi
1.150     moko     16614: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   16615: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   16616: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     16617: 
1.150     moko     16618: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16619: 
                   16620:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16621:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16622: fi
                   16623: 
                   16624: fi
1.150     moko     16625: rm -f core conftest.err conftest.$ac_objext \
                   16626:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16627: fi
                   16628: 
                   16629: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16630: then
                   16631:   lt_save_LIBS="$LIBS"
                   16632:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150     moko     16633:   for ac_func in dlerror
                   16634: do :
                   16635:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   16636: if test "x$ac_cv_func_dlerror" = xyes; then :
1.128     moko     16637:   cat >>confdefs.h <<_ACEOF
1.150     moko     16638: #define HAVE_DLERROR 1
1.128     moko     16639: _ACEOF
                   16640: 
                   16641: fi
                   16642: done
                   16643: 
                   16644:   LIBS="$lt_save_LIBS"
                   16645: fi
                   16646: 
                   16647: 
                   16648: LIBADD_SHL_LOAD=
1.150     moko     16649: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   16650: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     16651: 
1.150     moko     16652: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     16653: 
                   16654:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16655: else
1.150     moko     16656:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   16657: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   16658: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   16659:   $as_echo_n "(cached) " >&6
1.66      paf      16660: else
                   16661:   ac_check_lib_save_LIBS=$LIBS
                   16662: LIBS="-ldld  $LIBS"
1.150     moko     16663: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16664: /* end confdefs.h.  */
1.10      paf      16665: 
1.150     moko     16666: /* Override any GCC internal prototype to avoid an error.
                   16667:    Use char because int might match the return type of a GCC
                   16668:    builtin and then its argument prototype would still apply.  */
1.66      paf      16669: #ifdef __cplusplus
                   16670: extern "C"
                   16671: #endif
                   16672: char shl_load ();
                   16673: int
                   16674: main ()
                   16675: {
1.150     moko     16676: return shl_load ();
1.66      paf      16677:   ;
                   16678:   return 0;
                   16679: }
                   16680: _ACEOF
1.150     moko     16681: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      16682:   ac_cv_lib_dld_shl_load=yes
                   16683: else
1.150     moko     16684:   ac_cv_lib_dld_shl_load=no
1.66      paf      16685: fi
1.150     moko     16686: rm -f core conftest.err conftest.$ac_objext \
                   16687:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      16688: LIBS=$ac_check_lib_save_LIBS
                   16689: fi
1.150     moko     16690: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   16691: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   16692: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1       paf      16693: 
1.150     moko     16694: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      16695: 
1.128     moko     16696:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16697:            LIBADD_SHL_LOAD="-ldld"
                   16698: fi
                   16699: 
                   16700: fi
                   16701: 
                   16702: 
                   16703: 
                   16704: case $host_os in
                   16705: darwin[1567].*)
                   16706: # We only want this for pre-Mac OS X 10.4.
1.150     moko     16707:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   16708: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
                   16709: 
                   16710: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     16711: 
1.150     moko     16712:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16713: fi
1.128     moko     16714: 
1.150     moko     16715:   ;;
                   16716: beos*)
1.128     moko     16717:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16718:   ;;
                   16719: cygwin* | mingw* | os2* | pw32*)
1.150     moko     16720:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   16721: "
                   16722: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   16723:   ac_have_decl=1
1.128     moko     16724: else
1.150     moko     16725:   ac_have_decl=0
1.128     moko     16726: fi
                   16727: 
                   16728: cat >>confdefs.h <<_ACEOF
1.150     moko     16729: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.128     moko     16730: _ACEOF
                   16731: 
                   16732:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16733:   ;;
                   16734: esac
                   16735: 
1.150     moko     16736: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   16737: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   16738: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   16739:   $as_echo_n "(cached) " >&6
1.66      paf      16740: else
                   16741:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16742: LIBS="-ldld  $LIBS"
1.150     moko     16743: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16744: /* end confdefs.h.  */
1.62      paf      16745: 
1.150     moko     16746: /* Override any GCC internal prototype to avoid an error.
                   16747:    Use char because int might match the return type of a GCC
                   16748:    builtin and then its argument prototype would still apply.  */
1.66      paf      16749: #ifdef __cplusplus
                   16750: extern "C"
                   16751: #endif
1.128     moko     16752: char dld_link ();
1.66      paf      16753: int
                   16754: main ()
                   16755: {
1.150     moko     16756: return dld_link ();
1.66      paf      16757:   ;
                   16758:   return 0;
                   16759: }
                   16760: _ACEOF
1.150     moko     16761: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16762:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16763: else
1.150     moko     16764:   ac_cv_lib_dld_dld_link=no
1.128     moko     16765: fi
1.150     moko     16766: rm -f core conftest.err conftest.$ac_objext \
                   16767:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16768: LIBS=$ac_check_lib_save_LIBS
                   16769: fi
1.150     moko     16770: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   16771: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   16772: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     16773: 
1.150     moko     16774: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     16775: 
                   16776:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16777: fi
                   16778: 
                   16779: 
                   16780: 
                   16781: 
                   16782: LT_DLPREOPEN=
                   16783: if test -n "$LT_DLLOADERS"
                   16784: then
                   16785:   for lt_loader in $LT_DLLOADERS; do
                   16786:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16787:   done
                   16788: 
1.150     moko     16789: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     16790: 
                   16791: fi
                   16792: 
                   16793: 
                   16794: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16795: 
                   16796: 
                   16797: ac_ext=c
                   16798: ac_cpp='$CPP $CPPFLAGS'
                   16799: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16800: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16801: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16802: 
                   16803: 
1.150     moko     16804: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   16805: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   16806: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   16807:   $as_echo_n "(cached) " >&6
1.128     moko     16808: else
                   16809:   lt_cv_sys_symbol_underscore=no
                   16810:   cat > conftest.$ac_ext <<_LT_EOF
                   16811: void nm_test_func(){}
                   16812: int main(){nm_test_func;return 0;}
                   16813: _LT_EOF
1.150     moko     16814:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     16815:   (eval $ac_compile) 2>&5
                   16816:   ac_status=$?
1.150     moko     16817:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16818:   test $ac_status = 0; }; then
1.128     moko     16819:     # Now try to grab the symbols.
                   16820:     ac_nlist=conftest.nm
1.150     moko     16821:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     16822:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16823:   ac_status=$?
1.150     moko     16824:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16825:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     16826:       # See whether the symbols have a leading underscore.
                   16827:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16828:         lt_cv_sys_symbol_underscore=yes
                   16829:       else
                   16830:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16831:          :
                   16832:         else
                   16833:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16834:         fi
                   16835:       fi
                   16836:     else
                   16837:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16838:     fi
                   16839:   else
                   16840:     echo "configure: failed program was:" >&5
                   16841:     cat conftest.c >&5
                   16842:   fi
                   16843:   rm -rf conftest*
1.29      paf      16844: 
1.66      paf      16845: fi
1.150     moko     16846: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   16847: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     16848:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16849: 
1.62      paf      16850: 
1.128     moko     16851: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16852:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16853:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.150     moko     16854:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   16855: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   16856: if ${libltdl_cv_need_uscore+:} false; then :
                   16857:   $as_echo_n "(cached) " >&6
1.66      paf      16858: else
1.128     moko     16859:   libltdl_cv_need_uscore=unknown
                   16860:           save_LIBS="$LIBS"
                   16861:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16862:          if test "$cross_compiling" = yes; then :
                   16863:   libltdl_cv_need_uscore=cross
                   16864: else
                   16865:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16866:   lt_status=$lt_dlunknown
                   16867:   cat > conftest.$ac_ext <<_LT_EOF
                   16868: #line $LINENO "configure"
                   16869: #include "confdefs.h"
                   16870: 
1.66      paf      16871: #if HAVE_DLFCN_H
1.128     moko     16872: #include <dlfcn.h>
                   16873: #endif
                   16874: 
                   16875: #include <stdio.h>
                   16876: 
                   16877: #ifdef RTLD_GLOBAL
                   16878: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16879: #else
                   16880: #  ifdef DL_GLOBAL
                   16881: #    define LT_DLGLOBAL                DL_GLOBAL
                   16882: #  else
                   16883: #    define LT_DLGLOBAL                0
                   16884: #  endif
                   16885: #endif
                   16886: 
                   16887: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16888:    find out it does not work in some platform. */
                   16889: #ifndef LT_DLLAZY_OR_NOW
                   16890: #  ifdef RTLD_LAZY
                   16891: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16892: #  else
                   16893: #    ifdef DL_LAZY
                   16894: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16895: #    else
                   16896: #      ifdef RTLD_NOW
                   16897: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16898: #      else
                   16899: #        ifdef DL_NOW
                   16900: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16901: #        else
                   16902: #          define LT_DLLAZY_OR_NOW     0
                   16903: #        endif
                   16904: #      endif
                   16905: #    endif
                   16906: #  endif
                   16907: #endif
                   16908: 
                   16909: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16910:    correspondingly for the symbols needed.  */
                   16911: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16912: int fnord () __attribute__((visibility("default")));
1.66      paf      16913: #endif
1.62      paf      16914: 
1.128     moko     16915: int fnord () { return 42; }
                   16916: int main ()
1.66      paf      16917: {
1.128     moko     16918:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16919:   int status = $lt_dlunknown;
                   16920: 
                   16921:   if (self)
                   16922:     {
                   16923:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16924:       else
                   16925:         {
                   16926:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16927:           else puts (dlerror ());
                   16928:        }
                   16929:       /* dlclose (self); */
                   16930:     }
                   16931:   else
                   16932:     puts (dlerror ());
                   16933: 
                   16934:   return status;
1.66      paf      16935: }
1.128     moko     16936: _LT_EOF
1.150     moko     16937:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     16938:   (eval $ac_link) 2>&5
1.66      paf      16939:   ac_status=$?
1.150     moko     16940:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16941:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     16942:     (./conftest; exit; ) >&5 2>/dev/null
                   16943:     lt_status=$?
                   16944:     case x$lt_status in
                   16945:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16946:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16947:       x$lt_dlunknown|x*)  ;;
                   16948:     esac
                   16949:   else :
                   16950:     # compilation failed
                   16951: 
                   16952:   fi
                   16953: fi
                   16954: rm -fr conftest*
                   16955: 
                   16956:          LIBS="$save_LIBS"
                   16957: 
                   16958: fi
1.150     moko     16959: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   16960: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.128     moko     16961:   fi
                   16962: fi
                   16963: 
                   16964: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16965: 
1.150     moko     16966: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      16967: 
1.128     moko     16968: fi
                   16969: 
1.150     moko     16970: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   16971: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   16972: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   16973:   $as_echo_n "(cached) " >&6
1.66      paf      16974: else
1.128     moko     16975:   # PORTME does your system automatically load deplibs for dlopen?
                   16976:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16977:   # For now, we just catch OSes we know something about -- in the
                   16978:   # future, we'll try test this programmatically.
                   16979:   lt_cv_sys_dlopen_deplibs=unknown
                   16980:   case $host_os in
                   16981:   aix3*|aix4.1.*|aix4.2.*)
                   16982:     # Unknown whether this is true for these versions of AIX, but
                   16983:     # we want this `case' here to explicitly catch those versions.
                   16984:     lt_cv_sys_dlopen_deplibs=unknown
                   16985:     ;;
                   16986:   aix[4-9]*)
                   16987:     lt_cv_sys_dlopen_deplibs=yes
                   16988:     ;;
                   16989:   amigaos*)
                   16990:     case $host_cpu in
                   16991:     powerpc)
                   16992:       lt_cv_sys_dlopen_deplibs=no
                   16993:       ;;
                   16994:     esac
                   16995:     ;;
                   16996:   darwin*)
                   16997:     # Assuming the user has installed a libdl from somewhere, this is true
                   16998:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16999:     lt_cv_sys_dlopen_deplibs=yes
                   17000:     ;;
                   17001:   freebsd* | dragonfly*)
                   17002:     lt_cv_sys_dlopen_deplibs=yes
                   17003:     ;;
                   17004:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   17005:     # GNU and its variants, using gnu ld.so (Glibc)
                   17006:     lt_cv_sys_dlopen_deplibs=yes
                   17007:     ;;
                   17008:   hpux10*|hpux11*)
                   17009:     lt_cv_sys_dlopen_deplibs=yes
                   17010:     ;;
                   17011:   interix*)
                   17012:     lt_cv_sys_dlopen_deplibs=yes
                   17013:     ;;
                   17014:   irix[12345]*|irix6.[01]*)
                   17015:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   17016:     # know how it worked for any of those versions.
                   17017:     lt_cv_sys_dlopen_deplibs=unknown
                   17018:     ;;
                   17019:   irix*)
                   17020:     # The case above catches anything before 6.2, and it's known that
                   17021:     # at 6.2 and later dlopen does load deplibs.
                   17022:     lt_cv_sys_dlopen_deplibs=yes
                   17023:     ;;
                   17024:   netbsd*)
                   17025:     lt_cv_sys_dlopen_deplibs=yes
                   17026:     ;;
                   17027:   openbsd*)
                   17028:     lt_cv_sys_dlopen_deplibs=yes
                   17029:     ;;
                   17030:   osf[1234]*)
                   17031:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   17032:     # it did *not* use an RPATH in a shared library to find objects the
                   17033:     # library depends on, so we explicitly say `no'.
                   17034:     lt_cv_sys_dlopen_deplibs=no
                   17035:     ;;
                   17036:   osf5.0|osf5.0a|osf5.1)
                   17037:     # dlopen *does* load deplibs and with the right loader patch applied
                   17038:     # it even uses RPATH in a shared library to search for shared objects
                   17039:     # that the library depends on, but there's no easy way to know if that
                   17040:     # patch is installed.  Since this is the case, all we can really
                   17041:     # say is unknown -- it depends on the patch being installed.  If
                   17042:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   17043:     lt_cv_sys_dlopen_deplibs=unknown
                   17044:     ;;
                   17045:   osf*)
                   17046:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   17047:     # the comments above for what we know about them.
                   17048:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   17049:     # is used to find them so we can finally say `yes'.
                   17050:     lt_cv_sys_dlopen_deplibs=yes
                   17051:     ;;
                   17052:   qnx*)
                   17053:     lt_cv_sys_dlopen_deplibs=yes
                   17054:     ;;
                   17055:   solaris*)
                   17056:     lt_cv_sys_dlopen_deplibs=yes
                   17057:     ;;
                   17058:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   17059:     libltdl_cv_sys_dlopen_deplibs=yes
                   17060:     ;;
                   17061:   esac
                   17062: 
                   17063: fi
1.150     moko     17064: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   17065: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.128     moko     17066: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   17067: 
1.150     moko     17068: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     17069: 
                   17070: fi
                   17071: 
                   17072: :
                   17073: 
                   17074: for ac_header in argz.h
1.150     moko     17075: do :
                   17076:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   17077: "
                   17078: if test "x$ac_cv_header_argz_h" = xyes; then :
1.128     moko     17079:   cat >>confdefs.h <<_ACEOF
1.150     moko     17080: #define HAVE_ARGZ_H 1
1.128     moko     17081: _ACEOF
                   17082: 
1.66      paf      17083: fi
1.62      paf      17084: 
1.128     moko     17085: done
                   17086: 
1.29      paf      17087: 
1.150     moko     17088: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
1.128     moko     17089: #  include <argz.h>
                   17090: #endif
1.150     moko     17091: "
                   17092: if test "x$ac_cv_type_error_t" = xyes; then :
1.29      paf      17093: 
1.128     moko     17094: cat >>confdefs.h <<_ACEOF
                   17095: #define HAVE_ERROR_T 1
1.62      paf      17096: _ACEOF
1.16      paf      17097: 
                   17098: 
1.128     moko     17099: else
1.16      paf      17100: 
1.150     moko     17101: $as_echo "#define error_t int" >>confdefs.h
1.16      paf      17102: 
1.12      paf      17103: 
1.150     moko     17104: $as_echo "#define __error_t_defined 1" >>confdefs.h
1.12      paf      17105: 
1.66      paf      17106: fi
1.12      paf      17107: 
1.128     moko     17108: 
                   17109: ARGZ_H=
                   17110: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   17111:        argz_next argz_stringify
1.150     moko     17112: do :
                   17113:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17114: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17115: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17116:   cat >>confdefs.h <<_ACEOF
1.150     moko     17117: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17118: _ACEOF
                   17119: 
                   17120: else
                   17121:   ARGZ_H=argz.h;
                   17122: 
                   17123:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17124: 
                   17125: fi
                   17126: done
                   17127: 
                   17128: 
1.150     moko     17129: if test -z "$ARGZ_H"; then :
                   17130:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   17131: $as_echo_n "checking if argz actually works... " >&6; }
                   17132: if ${lt_cv_sys_argz_works+:} false; then :
                   17133:   $as_echo_n "(cached) " >&6
1.128     moko     17134: else
                   17135:   case $host_os in #(
                   17136:         *cygwin*)
                   17137:           lt_cv_sys_argz_works=no
                   17138:           if test "$cross_compiling" != no; then
                   17139:             lt_cv_sys_argz_works="guessing no"
                   17140:           else
                   17141:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   17142:             save_IFS=$IFS
                   17143:             IFS=-.
                   17144:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   17145:             IFS=$save_IFS
                   17146:             lt_os_major=${2-0}
                   17147:             lt_os_minor=${3-0}
                   17148:             lt_os_micro=${4-0}
                   17149:             if test "$lt_os_major" -gt 1 \
                   17150:                || { test "$lt_os_major" -eq 1 \
                   17151:                  && { test "$lt_os_minor" -gt 5 \
                   17152:                    || { test "$lt_os_minor" -eq 5 \
                   17153:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   17154:               lt_cv_sys_argz_works=yes
                   17155:             fi
                   17156:           fi
                   17157:           ;; #(
                   17158:         *) lt_cv_sys_argz_works=yes ;;
                   17159:         esac
                   17160: fi
1.150     moko     17161: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   17162: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   17163:      if test "$lt_cv_sys_argz_works" = yes; then :
1.128     moko     17164: 
1.150     moko     17165: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     17166: 
1.62      paf      17167: else
1.128     moko     17168:   ARGZ_H=argz.h
                   17169: 
                   17170: 
                   17171:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17172: 
                   17173: fi
1.62      paf      17174: fi
1.128     moko     17175: 
                   17176: 
                   17177: 
1.150     moko     17178: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   17179: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   17180: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   17181:   $as_echo_n "(cached) " >&6
1.128     moko     17182: else
                   17183:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   17184:     libltdl_cv_preloaded_symbols=yes
                   17185:   else
                   17186:     libltdl_cv_preloaded_symbols=no
                   17187:   fi
                   17188: 
1.62      paf      17189: fi
1.150     moko     17190: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   17191: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.128     moko     17192: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   17193: 
1.150     moko     17194: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.66      paf      17195: 
                   17196: fi
                   17197: 
1.150     moko     17198: 
                   17199: 
1.128     moko     17200: # Set options
                   17201: 
                   17202: 
                   17203: 
                   17204: 
                   17205: 
                   17206: 
                   17207: 
                   17208: 
                   17209: 
                   17210: 
1.66      paf      17211: 
                   17212: 
1.150     moko     17213: # Check whether --with-included_ltdl was given.
                   17214: if test "${with_included_ltdl+set}" = set; then :
                   17215:   withval=$with_included_ltdl;
                   17216: fi
1.64      paf      17217: 
                   17218: 
1.128     moko     17219: if test "x$with_included_ltdl" != xyes; then
                   17220:   # We are not being forced to use the included libltdl sources, so
                   17221:   # decide whether there is a useful installed version we can use.
1.150     moko     17222:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     17223: 
1.150     moko     17224: "
                   17225: if test "x$ac_cv_header_ltdl_h" = xyes; then :
                   17226:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.128     moko     17227:            #include <ltdl.h>
1.150     moko     17228: "
                   17229: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
                   17230:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   17231: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   17232: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
                   17233:   $as_echo_n "(cached) " >&6
1.79      paf      17234: else
1.128     moko     17235:   ac_check_lib_save_LIBS=$LIBS
                   17236: LIBS="-lltdl  $LIBS"
1.150     moko     17237: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.79      paf      17238: /* end confdefs.h.  */
1.128     moko     17239: 
1.150     moko     17240: /* Override any GCC internal prototype to avoid an error.
                   17241:    Use char because int might match the return type of a GCC
                   17242:    builtin and then its argument prototype would still apply.  */
1.128     moko     17243: #ifdef __cplusplus
                   17244: extern "C"
                   17245: #endif
                   17246: char lt_dladvise_preload ();
1.79      paf      17247: int
                   17248: main ()
                   17249: {
1.150     moko     17250: return lt_dladvise_preload ();
1.79      paf      17251:   ;
                   17252:   return 0;
                   17253: }
                   17254: _ACEOF
1.150     moko     17255: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     17256:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      17257: else
1.150     moko     17258:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.128     moko     17259: fi
1.150     moko     17260: rm -f core conftest.err conftest.$ac_objext \
                   17261:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     17262: LIBS=$ac_check_lib_save_LIBS
1.79      paf      17263: fi
1.150     moko     17264: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   17265: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   17266: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.128     moko     17267:   with_included_ltdl=no
1.79      paf      17268: else
1.128     moko     17269:   with_included_ltdl=yes
                   17270: fi
                   17271: 
1.79      paf      17272: else
1.128     moko     17273:   with_included_ltdl=yes
                   17274: fi
1.79      paf      17275: 
1.128     moko     17276: else
                   17277:   with_included_ltdl=yes
1.79      paf      17278: fi
1.128     moko     17279: 
                   17280: 
1.79      paf      17281: fi
1.128     moko     17282: 
                   17283: 
                   17284: 
                   17285: 
1.150     moko     17286: # Check whether --with-ltdl_include was given.
                   17287: if test "${with_ltdl_include+set}" = set; then :
                   17288:   withval=$with_ltdl_include;
                   17289: fi
1.128     moko     17290: 
                   17291: 
                   17292: if test -n "$with_ltdl_include"; then
                   17293:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   17294:   else
1.150     moko     17295:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.128     moko     17296:   fi
                   17297: else
                   17298:   with_ltdl_include=no
1.79      paf      17299: fi
1.128     moko     17300: 
                   17301: 
1.150     moko     17302: # Check whether --with-ltdl_lib was given.
                   17303: if test "${with_ltdl_lib+set}" = set; then :
                   17304:   withval=$with_ltdl_lib;
                   17305: fi
1.128     moko     17306: 
                   17307: 
                   17308: if test -n "$with_ltdl_lib"; then
                   17309:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   17310:   else
1.150     moko     17311:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.128     moko     17312:   fi
                   17313: else
                   17314:   with_ltdl_lib=no
1.79      paf      17315: fi
                   17316: 
1.128     moko     17317: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   17318:   ,yes,no,no,)
                   17319:        case $enable_ltdl_convenience in
1.150     moko     17320:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.128     moko     17321:   "") enable_ltdl_convenience=yes
                   17322:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   17323: esac
1.150     moko     17324: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.128     moko     17325: LTDLDEPS=$LIBLTDL
                   17326: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   17327: 
                   17328: 
                   17329: 
                   17330: 
                   17331: 
                   17332: # For backwards non-gettext consistent compatibility...
                   17333: INCLTDL="$LTDLINCL"
                   17334: 
1.79      paf      17335: 
1.128     moko     17336:        ;;
                   17337:   ,no,no,no,)
                   17338:        # If the included ltdl is not to be used, then use the
                   17339:        # preinstalled libltdl we found.
1.79      paf      17340: 
1.150     moko     17341: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.79      paf      17342: 
1.128     moko     17343:        LIBLTDL=-lltdl
                   17344:        LTDLDEPS=
                   17345:        LTDLINCL=
                   17346:        ;;
                   17347:   ,no*,no,*)
1.150     moko     17348:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.128     moko     17349:        ;;
                   17350:   *)   with_included_ltdl=no
                   17351:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   17352:        LTDLDEPS=
                   17353:        LTDLINCL="-I$with_ltdl_include"
                   17354:        ;;
                   17355: esac
                   17356: INCLTDL="$LTDLINCL"
                   17357: 
                   17358: # Report our decision...
1.150     moko     17359: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   17360: $as_echo_n "checking where to find libltdl headers... " >&6; }
                   17361: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   17362: $as_echo "$LTDLINCL" >&6; }
                   17363: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   17364: $as_echo_n "checking where to find libltdl library... " >&6; }
                   17365: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   17366: $as_echo "$LIBLTDL" >&6; }
1.128     moko     17367: 
                   17368: 
                   17369: 
1.150     moko     17370: # Check whether --enable-ltdl-install was given.
                   17371: if test "${enable_ltdl_install+set}" = set; then :
                   17372:   enableval=$enable_ltdl_install;
                   17373: fi
1.128     moko     17374: 
                   17375: 
                   17376: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17377:   *yes*) ;;
                   17378:   *) enable_ltdl_convenience=yes ;;
                   17379: esac
                   17380: 
1.150     moko     17381:  if test x"${enable_ltdl_install-no}" != xno; then
1.128     moko     17382:   INSTALL_LTDL_TRUE=
                   17383:   INSTALL_LTDL_FALSE='#'
                   17384: else
                   17385:   INSTALL_LTDL_TRUE='#'
                   17386:   INSTALL_LTDL_FALSE=
                   17387: fi
                   17388: 
1.150     moko     17389:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.128     moko     17390:   CONVENIENCE_LTDL_TRUE=
                   17391:   CONVENIENCE_LTDL_FALSE='#'
                   17392: else
                   17393:   CONVENIENCE_LTDL_TRUE='#'
                   17394:   CONVENIENCE_LTDL_FALSE=
                   17395: fi
                   17396: 
                   17397: 
                   17398: 
1.150     moko     17399:     subdirs="$subdirs src/lib/ltdl"
1.128     moko     17400: 
                   17401: 
                   17402: 
                   17403: 
                   17404: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17405: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17406: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17407: # definitions required by ltdl.c.
                   17408: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17409: 
                   17410: 
                   17411: 
1.150     moko     17412: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17413: do :
                   17414:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17415: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   17416: "
                   17417: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17418:   cat >>confdefs.h <<_ACEOF
                   17419: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17420: _ACEOF
1.128     moko     17421: 
1.150     moko     17422: fi
1.128     moko     17423: 
1.150     moko     17424: done
1.128     moko     17425: 
                   17426: 
1.150     moko     17427: for ac_func in closedir opendir readdir
                   17428: do :
                   17429:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17430: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17431: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   17432:   cat >>confdefs.h <<_ACEOF
                   17433: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17434: _ACEOF
1.66      paf      17435: 
                   17436: else
1.64      paf      17437: 
1.66      paf      17438: 
1.128     moko     17439:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17440: 
1.66      paf      17441: fi
1.128     moko     17442: done
                   17443: 
                   17444: for ac_func in strlcat strlcpy
1.150     moko     17445: do :
                   17446:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17447: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17448: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17449:   cat >>confdefs.h <<_ACEOF
1.150     moko     17450: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17451: _ACEOF
                   17452: 
                   17453: else
                   17454: 
                   17455: 
                   17456:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17457: 
1.62      paf      17458: fi
1.128     moko     17459: done
                   17460: 
                   17461: 
1.64      paf      17462: 
1.128     moko     17463: cat >>confdefs.h <<_ACEOF
                   17464: #define LT_LIBEXT "$libext"
1.62      paf      17465: _ACEOF
1.64      paf      17466: 
1.128     moko     17467: 
                   17468: name=
                   17469: eval "lt_libprefix=\"$libname_spec\""
                   17470: 
                   17471: cat >>confdefs.h <<_ACEOF
                   17472: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      17473: _ACEOF
1.128     moko     17474: 
                   17475: 
                   17476: name=ltdl
                   17477: eval "LTDLOPEN=\"$libname_spec\""
                   17478: 
                   17479: 
                   17480: 
                   17481: 
                   17482: 
                   17483: 
                   17484: 
                   17485: 
                   17486: # Only expand once:
                   17487: 
                   17488: 
                   17489: 
                   17490: 
1.150     moko     17491:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   17492: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   17493: if ${ac_cv_c_bigendian+:} false; then :
                   17494:   $as_echo_n "(cached) " >&6
                   17495: else
                   17496:   ac_cv_c_bigendian=unknown
                   17497:     # See if we're dealing with a universal compiler.
                   17498:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17499: /* end confdefs.h.  */
                   17500: #ifndef __APPLE_CC__
                   17501:               not a universal capable compiler
                   17502:             #endif
                   17503:             typedef int dummy;
                   17504: 
                   17505: _ACEOF
                   17506: if ac_fn_c_try_compile "$LINENO"; then :
                   17507: 
                   17508:        # Check for potential -arch flags.  It is not universal unless
                   17509:        # there are at least two -arch flags with different values.
                   17510:        ac_arch=
                   17511:        ac_prev=
                   17512:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   17513:         if test -n "$ac_prev"; then
                   17514:           case $ac_word in
                   17515:             i?86 | x86_64 | ppc | ppc64)
                   17516:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   17517:                 ac_arch=$ac_word
                   17518:               else
                   17519:                 ac_cv_c_bigendian=universal
                   17520:                 break
                   17521:               fi
                   17522:               ;;
                   17523:           esac
                   17524:           ac_prev=
                   17525:         elif test "x$ac_word" = "x-arch"; then
                   17526:           ac_prev=arch
                   17527:         fi
                   17528:        done
                   17529: fi
                   17530: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17531:     if test $ac_cv_c_bigendian = unknown; then
                   17532:       # See if sys/param.h defines the BYTE_ORDER macro.
                   17533:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      17534: /* end confdefs.h.  */
1.128     moko     17535: #include <sys/types.h>
1.150     moko     17536:             #include <sys/param.h>
1.128     moko     17537: 
                   17538: int
                   17539: main ()
                   17540: {
1.150     moko     17541: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   17542:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   17543:                     && LITTLE_ENDIAN)
                   17544:              bogus endian macros
                   17545:             #endif
1.64      paf      17546: 
1.128     moko     17547:   ;
                   17548:   return 0;
                   17549: }
1.66      paf      17550: _ACEOF
1.150     moko     17551: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17552:   # It does; now see whether it defined to BIG_ENDIAN or not.
1.150     moko     17553:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.64      paf      17554: /* end confdefs.h.  */
1.128     moko     17555: #include <sys/types.h>
1.150     moko     17556:                #include <sys/param.h>
1.64      paf      17557: 
                   17558: int
                   17559: main ()
1.128     moko     17560: {
                   17561: #if BYTE_ORDER != BIG_ENDIAN
1.150     moko     17562:                 not big endian
                   17563:                #endif
1.128     moko     17564: 
                   17565:   ;
                   17566:   return 0;
1.64      paf      17567: }
                   17568: _ACEOF
1.150     moko     17569: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17570:   ac_cv_c_bigendian=yes
1.64      paf      17571: else
1.150     moko     17572:   ac_cv_c_bigendian=no
                   17573: fi
                   17574: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17575: fi
                   17576: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17577:     fi
                   17578:     if test $ac_cv_c_bigendian = unknown; then
                   17579:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   17580:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17581: /* end confdefs.h.  */
                   17582: #include <limits.h>
1.64      paf      17583: 
1.150     moko     17584: int
                   17585: main ()
                   17586: {
                   17587: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   17588:              bogus endian macros
                   17589:             #endif
1.66      paf      17590: 
1.150     moko     17591:   ;
                   17592:   return 0;
                   17593: }
1.62      paf      17594: _ACEOF
1.150     moko     17595: if ac_fn_c_try_compile "$LINENO"; then :
                   17596:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   17597:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17598: /* end confdefs.h.  */
1.150     moko     17599: #include <limits.h>
                   17600: 
1.128     moko     17601: int
                   17602: main ()
                   17603: {
1.150     moko     17604: #ifndef _BIG_ENDIAN
                   17605:                 not big endian
                   17606:                #endif
                   17607: 
1.128     moko     17608:   ;
                   17609:   return 0;
                   17610: }
1.62      paf      17611: _ACEOF
1.150     moko     17612: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17613:   ac_cv_c_bigendian=yes
1.150     moko     17614: else
                   17615:   ac_cv_c_bigendian=no
1.128     moko     17616: fi
1.150     moko     17617: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17618: fi
1.150     moko     17619: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17620:     fi
                   17621:     if test $ac_cv_c_bigendian = unknown; then
                   17622:       # Compile a test program.
                   17623:       if test "$cross_compiling" = yes; then :
                   17624:   # Try to guess by grepping values from an object file.
                   17625:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17626: /* end confdefs.h.  */
                   17627: short int ascii_mm[] =
                   17628:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   17629:                short int ascii_ii[] =
                   17630:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   17631:                int use_ascii (int i) {
                   17632:                  return ascii_mm[i] + ascii_ii[i];
                   17633:                }
                   17634:                short int ebcdic_ii[] =
                   17635:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   17636:                short int ebcdic_mm[] =
                   17637:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   17638:                int use_ebcdic (int i) {
                   17639:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   17640:                }
                   17641:                extern int foo;
1.62      paf      17642: 
1.150     moko     17643: int
                   17644: main ()
                   17645: {
                   17646: return use_ascii (foo) == use_ebcdic (foo);
                   17647:   ;
                   17648:   return 0;
                   17649: }
                   17650: _ACEOF
                   17651: if ac_fn_c_try_compile "$LINENO"; then :
                   17652:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   17653:              ac_cv_c_bigendian=yes
                   17654:            fi
                   17655:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   17656:              if test "$ac_cv_c_bigendian" = unknown; then
                   17657:                ac_cv_c_bigendian=no
                   17658:              else
                   17659:                # finding both strings is unlikely to happen, but who knows?
                   17660:                ac_cv_c_bigendian=unknown
                   17661:              fi
                   17662:            fi
1.128     moko     17663: fi
1.150     moko     17664: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17665: else
1.150     moko     17666:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17667: /* end confdefs.h.  */
1.150     moko     17668: $ac_includes_default
1.128     moko     17669: int
                   17670: main ()
                   17671: {
1.150     moko     17672: 
                   17673:             /* Are we little or big endian?  From Harbison&Steele.  */
                   17674:             union
                   17675:             {
                   17676:               long int l;
                   17677:               char c[sizeof (long int)];
                   17678:             } u;
                   17679:             u.l = 1;
                   17680:             return u.c[sizeof (long int) - 1] == 1;
                   17681: 
                   17682:   ;
                   17683:   return 0;
1.128     moko     17684: }
                   17685: _ACEOF
1.150     moko     17686: if ac_fn_c_try_run "$LINENO"; then :
1.128     moko     17687:   ac_cv_c_bigendian=no
                   17688: else
1.150     moko     17689:   ac_cv_c_bigendian=yes
1.128     moko     17690: fi
1.150     moko     17691: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17692:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     17693: fi
1.150     moko     17694: 
                   17695:     fi
1.66      paf      17696: fi
1.150     moko     17697: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   17698: $as_echo "$ac_cv_c_bigendian" >&6; }
                   17699:  case $ac_cv_c_bigendian in #(
                   17700:    yes)
                   17701: 
                   17702: $as_echo "#define PA_BIG_ENDIAN /**/" >>confdefs.h
                   17703: 
                   17704: ;; #(
                   17705:    no)
1.128     moko     17706: 
1.150     moko     17707: $as_echo "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.66      paf      17708: 
1.150     moko     17709:  ;; #(
                   17710:    universal)
1.128     moko     17711: 
1.150     moko     17712: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.1       paf      17713: 
1.150     moko     17714:      ;; #(
                   17715:    *)
                   17716:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
1.128     moko     17717:  ;;
1.150     moko     17718:  esac
1.66      paf      17719: 
                   17720: 
1.150     moko     17721: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   17722: if test "x$ac_cv_type_size_t" = xyes; then :
1.62      paf      17723: 
1.66      paf      17724: else
1.1       paf      17725: 
1.66      paf      17726: cat >>confdefs.h <<_ACEOF
1.150     moko     17727: #define size_t unsigned int
1.66      paf      17728: _ACEOF
1.62      paf      17729: 
                   17730: fi
1.66      paf      17731: 
1.156     moko     17732: ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
                   17733: if test "x$ac_cv_type_ssize_t" = xyes; then :
                   17734: 
                   17735: else
                   17736: 
                   17737: cat >>confdefs.h <<_ACEOF
                   17738: #define ssize_t int
                   17739: _ACEOF
                   17740: 
                   17741: fi
                   17742: 
1.159     moko     17743: ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
                   17744: case $ac_cv_c_uint8_t in #(
                   17745:   no|yes) ;; #(
                   17746:   *)
                   17747: 
                   17748: $as_echo "#define _UINT8_T 1" >>confdefs.h
                   17749: 
                   17750: 
                   17751: cat >>confdefs.h <<_ACEOF
                   17752: #define uint8_t $ac_cv_c_uint8_t
                   17753: _ACEOF
                   17754: ;;
                   17755:   esac
                   17756: 
1.165     moko     17757: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
                   17758: case $ac_cv_c_uint16_t in #(
                   17759:   no|yes) ;; #(
                   17760:   *)
                   17761: 
                   17762: 
                   17763: cat >>confdefs.h <<_ACEOF
                   17764: #define uint16_t $ac_cv_c_uint16_t
                   17765: _ACEOF
                   17766: ;;
                   17767:   esac
                   17768: 
1.156     moko     17769: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
                   17770: case $ac_cv_c_uint32_t in #(
                   17771:   no|yes) ;; #(
                   17772:   *)
                   17773: 
                   17774: $as_echo "#define _UINT32_T 1" >>confdefs.h
                   17775: 
                   17776: 
                   17777: cat >>confdefs.h <<_ACEOF
                   17778: #define uint32_t $ac_cv_c_uint32_t
                   17779: _ACEOF
                   17780: ;;
                   17781:   esac
1.128     moko     17782: 
1.159     moko     17783: ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
                   17784: case $ac_cv_c_uint64_t in #(
                   17785:   no|yes) ;; #(
                   17786:   *)
                   17787: 
                   17788: $as_echo "#define _UINT64_T 1" >>confdefs.h
                   17789: 
                   17790: 
                   17791: cat >>confdefs.h <<_ACEOF
                   17792: #define uint64_t $ac_cv_c_uint64_t
                   17793: _ACEOF
                   17794: ;;
                   17795:   esac
                   17796: 
                   17797: 
1.161     moko     17798: ac_header_dirent=no
                   17799: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   17800:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
                   17801: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
                   17802: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
                   17803: if eval \${$as_ac_Header+:} false; then :
                   17804:   $as_echo_n "(cached) " >&6
                   17805: else
                   17806:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17807: /* end confdefs.h.  */
                   17808: #include <sys/types.h>
                   17809: #include <$ac_hdr>
                   17810: 
                   17811: int
                   17812: main ()
                   17813: {
                   17814: if ((DIR *) 0)
                   17815: return 0;
                   17816:   ;
                   17817:   return 0;
                   17818: }
                   17819: _ACEOF
                   17820: if ac_fn_c_try_compile "$LINENO"; then :
                   17821:   eval "$as_ac_Header=yes"
                   17822: else
                   17823:   eval "$as_ac_Header=no"
                   17824: fi
                   17825: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17826: fi
                   17827: eval ac_res=\$$as_ac_Header
                   17828:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   17829: $as_echo "$ac_res" >&6; }
                   17830: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17831:   cat >>confdefs.h <<_ACEOF
                   17832: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
                   17833: _ACEOF
                   17834: 
                   17835: ac_header_dirent=$ac_hdr; break
                   17836: fi
                   17837: 
                   17838: done
                   17839: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   17840: if test $ac_header_dirent = dirent.h; then
                   17841:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   17842: $as_echo_n "checking for library containing opendir... " >&6; }
                   17843: if ${ac_cv_search_opendir+:} false; then :
                   17844:   $as_echo_n "(cached) " >&6
                   17845: else
                   17846:   ac_func_search_save_LIBS=$LIBS
                   17847: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17848: /* end confdefs.h.  */
                   17849: 
                   17850: /* Override any GCC internal prototype to avoid an error.
                   17851:    Use char because int might match the return type of a GCC
                   17852:    builtin and then its argument prototype would still apply.  */
                   17853: #ifdef __cplusplus
                   17854: extern "C"
                   17855: #endif
                   17856: char opendir ();
                   17857: int
                   17858: main ()
                   17859: {
                   17860: return opendir ();
                   17861:   ;
                   17862:   return 0;
                   17863: }
                   17864: _ACEOF
                   17865: for ac_lib in '' dir; do
                   17866:   if test -z "$ac_lib"; then
                   17867:     ac_res="none required"
                   17868:   else
                   17869:     ac_res=-l$ac_lib
                   17870:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   17871:   fi
                   17872:   if ac_fn_c_try_link "$LINENO"; then :
                   17873:   ac_cv_search_opendir=$ac_res
                   17874: fi
                   17875: rm -f core conftest.err conftest.$ac_objext \
                   17876:     conftest$ac_exeext
                   17877:   if ${ac_cv_search_opendir+:} false; then :
                   17878:   break
                   17879: fi
                   17880: done
                   17881: if ${ac_cv_search_opendir+:} false; then :
                   17882: 
                   17883: else
                   17884:   ac_cv_search_opendir=no
                   17885: fi
                   17886: rm conftest.$ac_ext
                   17887: LIBS=$ac_func_search_save_LIBS
                   17888: fi
                   17889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   17890: $as_echo "$ac_cv_search_opendir" >&6; }
                   17891: ac_res=$ac_cv_search_opendir
                   17892: if test "$ac_res" != no; then :
                   17893:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   17894: 
                   17895: fi
                   17896: 
                   17897: else
                   17898:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   17899: $as_echo_n "checking for library containing opendir... " >&6; }
                   17900: if ${ac_cv_search_opendir+:} false; then :
                   17901:   $as_echo_n "(cached) " >&6
                   17902: else
                   17903:   ac_func_search_save_LIBS=$LIBS
                   17904: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17905: /* end confdefs.h.  */
                   17906: 
                   17907: /* Override any GCC internal prototype to avoid an error.
                   17908:    Use char because int might match the return type of a GCC
                   17909:    builtin and then its argument prototype would still apply.  */
                   17910: #ifdef __cplusplus
                   17911: extern "C"
                   17912: #endif
                   17913: char opendir ();
                   17914: int
                   17915: main ()
                   17916: {
                   17917: return opendir ();
                   17918:   ;
                   17919:   return 0;
                   17920: }
                   17921: _ACEOF
                   17922: for ac_lib in '' x; do
                   17923:   if test -z "$ac_lib"; then
                   17924:     ac_res="none required"
                   17925:   else
                   17926:     ac_res=-l$ac_lib
                   17927:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   17928:   fi
                   17929:   if ac_fn_c_try_link "$LINENO"; then :
                   17930:   ac_cv_search_opendir=$ac_res
                   17931: fi
                   17932: rm -f core conftest.err conftest.$ac_objext \
                   17933:     conftest$ac_exeext
                   17934:   if ${ac_cv_search_opendir+:} false; then :
                   17935:   break
                   17936: fi
                   17937: done
                   17938: if ${ac_cv_search_opendir+:} false; then :
                   17939: 
                   17940: else
                   17941:   ac_cv_search_opendir=no
                   17942: fi
                   17943: rm conftest.$ac_ext
                   17944: LIBS=$ac_func_search_save_LIBS
                   17945: fi
                   17946: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   17947: $as_echo "$ac_cv_search_opendir" >&6; }
                   17948: ac_res=$ac_cv_search_opendir
                   17949: if test "$ac_res" != no; then :
                   17950:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   17951: 
                   17952: fi
                   17953: 
                   17954: fi
                   17955: 
                   17956: 
                   17957: 
                   17958:   ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
                   17959: #include <sys/types.h>
                   17960: #ifdef HAVE_DIRENT_H
                   17961: # include <dirent.h>
                   17962: #else
                   17963: # define dirent direct
                   17964: # ifdef HAVE_SYS_NDIR_H
                   17965: #  include <sys/ndir.h>
                   17966: # endif
                   17967: # ifdef HAVE_SYS_DIR_H
                   17968: #  include <sys/dir.h>
                   17969: # endif
                   17970: # ifdef HAVE_NDIR_H
                   17971: #  include <ndir.h>
                   17972: # endif
                   17973: #endif
                   17974: 
                   17975: "
                   17976: if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
                   17977: 
                   17978: cat >>confdefs.h <<_ACEOF
                   17979: #define HAVE_STRUCT_DIRENT_D_TYPE 1
                   17980: _ACEOF
                   17981: 
                   17982: 
                   17983: fi
                   17984: 
                   17985: 
1.159     moko     17986: 
1.171     moko     17987: # Check whether --enable-largefile was given.
                   17988: if test "${enable_largefile+set}" = set; then :
                   17989:   enableval=$enable_largefile;
                   17990: fi
                   17991: 
                   17992: if test "$enable_largefile" != no; then
                   17993: 
                   17994:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
                   17995: $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
                   17996: if ${ac_cv_sys_largefile_CC+:} false; then :
                   17997:   $as_echo_n "(cached) " >&6
                   17998: else
                   17999:   ac_cv_sys_largefile_CC=no
                   18000:      if test "$GCC" != yes; then
                   18001:        ac_save_CC=$CC
                   18002:        while :; do
                   18003:         # IRIX 6.2 and later do not support large files by default,
                   18004:         # so use the C compiler's -n32 option if that helps.
                   18005:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18006: /* end confdefs.h.  */
                   18007: #include <sys/types.h>
                   18008:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18009:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18010:     since some C++ compilers masquerading as C compilers
                   18011:     incorrectly reject 9223372036854775807.  */
1.191     moko     18012: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18013:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18014:                       && LARGE_OFF_T % 2147483647 == 1)
                   18015:                      ? 1 : -1];
                   18016: int
                   18017: main ()
                   18018: {
                   18019: 
                   18020:   ;
                   18021:   return 0;
                   18022: }
                   18023: _ACEOF
                   18024:         if ac_fn_c_try_compile "$LINENO"; then :
                   18025:   break
                   18026: fi
                   18027: rm -f core conftest.err conftest.$ac_objext
                   18028:         CC="$CC -n32"
                   18029:         if ac_fn_c_try_compile "$LINENO"; then :
                   18030:   ac_cv_sys_largefile_CC=' -n32'; break
                   18031: fi
                   18032: rm -f core conftest.err conftest.$ac_objext
                   18033:         break
                   18034:        done
                   18035:        CC=$ac_save_CC
                   18036:        rm -f conftest.$ac_ext
                   18037:     fi
                   18038: fi
                   18039: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
                   18040: $as_echo "$ac_cv_sys_largefile_CC" >&6; }
                   18041:   if test "$ac_cv_sys_largefile_CC" != no; then
                   18042:     CC=$CC$ac_cv_sys_largefile_CC
                   18043:   fi
                   18044: 
                   18045:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
                   18046: $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
                   18047: if ${ac_cv_sys_file_offset_bits+:} false; then :
                   18048:   $as_echo_n "(cached) " >&6
                   18049: else
                   18050:   while :; do
                   18051:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18052: /* end confdefs.h.  */
                   18053: #include <sys/types.h>
                   18054:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18055:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18056:     since some C++ compilers masquerading as C compilers
                   18057:     incorrectly reject 9223372036854775807.  */
1.191     moko     18058: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18059:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18060:                       && LARGE_OFF_T % 2147483647 == 1)
                   18061:                      ? 1 : -1];
                   18062: int
                   18063: main ()
                   18064: {
                   18065: 
                   18066:   ;
                   18067:   return 0;
                   18068: }
                   18069: _ACEOF
                   18070: if ac_fn_c_try_compile "$LINENO"; then :
                   18071:   ac_cv_sys_file_offset_bits=no; break
                   18072: fi
                   18073: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18074:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18075: /* end confdefs.h.  */
                   18076: #define _FILE_OFFSET_BITS 64
                   18077: #include <sys/types.h>
                   18078:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18079:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18080:     since some C++ compilers masquerading as C compilers
                   18081:     incorrectly reject 9223372036854775807.  */
1.191     moko     18082: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18083:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18084:                       && LARGE_OFF_T % 2147483647 == 1)
                   18085:                      ? 1 : -1];
                   18086: int
                   18087: main ()
                   18088: {
                   18089: 
                   18090:   ;
                   18091:   return 0;
                   18092: }
                   18093: _ACEOF
                   18094: if ac_fn_c_try_compile "$LINENO"; then :
                   18095:   ac_cv_sys_file_offset_bits=64; break
                   18096: fi
                   18097: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18098:   ac_cv_sys_file_offset_bits=unknown
                   18099:   break
                   18100: done
                   18101: fi
                   18102: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
                   18103: $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
                   18104: case $ac_cv_sys_file_offset_bits in #(
                   18105:   no | unknown) ;;
                   18106:   *)
                   18107: cat >>confdefs.h <<_ACEOF
                   18108: #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
                   18109: _ACEOF
                   18110: ;;
                   18111: esac
                   18112: rm -rf conftest*
                   18113:   if test $ac_cv_sys_file_offset_bits = unknown; then
                   18114:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
                   18115: $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
                   18116: if ${ac_cv_sys_large_files+:} false; then :
                   18117:   $as_echo_n "(cached) " >&6
                   18118: else
                   18119:   while :; do
                   18120:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18121: /* end confdefs.h.  */
                   18122: #include <sys/types.h>
                   18123:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18124:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18125:     since some C++ compilers masquerading as C compilers
                   18126:     incorrectly reject 9223372036854775807.  */
1.191     moko     18127: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18128:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18129:                       && LARGE_OFF_T % 2147483647 == 1)
                   18130:                      ? 1 : -1];
                   18131: int
                   18132: main ()
                   18133: {
                   18134: 
                   18135:   ;
                   18136:   return 0;
                   18137: }
                   18138: _ACEOF
                   18139: if ac_fn_c_try_compile "$LINENO"; then :
                   18140:   ac_cv_sys_large_files=no; break
                   18141: fi
                   18142: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18143:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18144: /* end confdefs.h.  */
                   18145: #define _LARGE_FILES 1
                   18146: #include <sys/types.h>
                   18147:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18148:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18149:     since some C++ compilers masquerading as C compilers
                   18150:     incorrectly reject 9223372036854775807.  */
1.191     moko     18151: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18152:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18153:                       && LARGE_OFF_T % 2147483647 == 1)
                   18154:                      ? 1 : -1];
                   18155: int
                   18156: main ()
                   18157: {
                   18158: 
                   18159:   ;
                   18160:   return 0;
                   18161: }
                   18162: _ACEOF
                   18163: if ac_fn_c_try_compile "$LINENO"; then :
                   18164:   ac_cv_sys_large_files=1; break
                   18165: fi
                   18166: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18167:   ac_cv_sys_large_files=unknown
                   18168:   break
                   18169: done
                   18170: fi
                   18171: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
                   18172: $as_echo "$ac_cv_sys_large_files" >&6; }
                   18173: case $ac_cv_sys_large_files in #(
                   18174:   no | unknown) ;;
                   18175:   *)
                   18176: cat >>confdefs.h <<_ACEOF
                   18177: #define _LARGE_FILES $ac_cv_sys_large_files
                   18178: _ACEOF
                   18179: ;;
                   18180: esac
                   18181: rm -rf conftest*
                   18182:   fi
                   18183: 
                   18184: 
                   18185: fi
                   18186: 
                   18187: 
1.159     moko     18188: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   18189: $as_echo_n "checking for ANSI C header files... " >&6; }
                   18190: if ${ac_cv_header_stdc+:} false; then :
                   18191:   $as_echo_n "(cached) " >&6
                   18192: else
                   18193:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18194: /* end confdefs.h.  */
                   18195: #include <stdlib.h>
                   18196: #include <stdarg.h>
                   18197: #include <string.h>
                   18198: #include <float.h>
                   18199: 
                   18200: int
                   18201: main ()
                   18202: {
                   18203: 
                   18204:   ;
                   18205:   return 0;
                   18206: }
                   18207: _ACEOF
                   18208: if ac_fn_c_try_compile "$LINENO"; then :
                   18209:   ac_cv_header_stdc=yes
                   18210: else
                   18211:   ac_cv_header_stdc=no
                   18212: fi
                   18213: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18214: 
                   18215: if test $ac_cv_header_stdc = yes; then
                   18216:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   18217:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18218: /* end confdefs.h.  */
                   18219: #include <string.h>
                   18220: 
                   18221: _ACEOF
                   18222: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   18223:   $EGREP "memchr" >/dev/null 2>&1; then :
                   18224: 
                   18225: else
                   18226:   ac_cv_header_stdc=no
                   18227: fi
                   18228: rm -f conftest*
                   18229: 
                   18230: fi
                   18231: 
                   18232: if test $ac_cv_header_stdc = yes; then
                   18233:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   18234:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18235: /* end confdefs.h.  */
                   18236: #include <stdlib.h>
                   18237: 
                   18238: _ACEOF
                   18239: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   18240:   $EGREP "free" >/dev/null 2>&1; then :
                   18241: 
                   18242: else
                   18243:   ac_cv_header_stdc=no
                   18244: fi
                   18245: rm -f conftest*
                   18246: 
                   18247: fi
                   18248: 
                   18249: if test $ac_cv_header_stdc = yes; then
                   18250:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   18251:   if test "$cross_compiling" = yes; then :
                   18252:   :
                   18253: else
                   18254:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18255: /* end confdefs.h.  */
                   18256: #include <ctype.h>
                   18257: #include <stdlib.h>
                   18258: #if ((' ' & 0x0FF) == 0x020)
                   18259: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   18260: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   18261: #else
                   18262: # define ISLOWER(c) \
                   18263:                   (('a' <= (c) && (c) <= 'i') \
                   18264:                     || ('j' <= (c) && (c) <= 'r') \
                   18265:                     || ('s' <= (c) && (c) <= 'z'))
                   18266: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   18267: #endif
                   18268: 
                   18269: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   18270: int
                   18271: main ()
                   18272: {
                   18273:   int i;
                   18274:   for (i = 0; i < 256; i++)
                   18275:     if (XOR (islower (i), ISLOWER (i))
                   18276:        || toupper (i) != TOUPPER (i))
                   18277:       return 2;
                   18278:   return 0;
                   18279: }
                   18280: _ACEOF
                   18281: if ac_fn_c_try_run "$LINENO"; then :
                   18282: 
                   18283: else
                   18284:   ac_cv_header_stdc=no
                   18285: fi
                   18286: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   18287:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   18288: fi
                   18289: 
                   18290: fi
                   18291: fi
                   18292: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   18293: $as_echo "$ac_cv_header_stdc" >&6; }
                   18294: if test $ac_cv_header_stdc = yes; then
                   18295: 
                   18296: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   18297: 
                   18298: fi
1.128     moko     18299: 
1.150     moko     18300: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   18301: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   18302: if ${ac_cv_header_time+:} false; then :
                   18303:   $as_echo_n "(cached) " >&6
1.62      paf      18304: else
1.150     moko     18305:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18306: /* end confdefs.h.  */
1.66      paf      18307: #include <sys/types.h>
                   18308: #include <sys/time.h>
                   18309: #include <time.h>
1.62      paf      18310: 
                   18311: int
                   18312: main ()
                   18313: {
1.66      paf      18314: if ((struct tm *) 0)
                   18315: return 0;
1.62      paf      18316:   ;
                   18317:   return 0;
                   18318: }
                   18319: _ACEOF
1.150     moko     18320: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      18321:   ac_cv_header_time=yes
1.1       paf      18322: else
1.150     moko     18323:   ac_cv_header_time=no
1.1       paf      18324: fi
1.150     moko     18325: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18326: fi
1.150     moko     18327: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   18328: $as_echo "$ac_cv_header_time" >&6; }
1.66      paf      18329: if test $ac_cv_header_time = yes; then
1.1       paf      18330: 
1.150     moko     18331: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
1.66      paf      18332: 
1.1       paf      18333: fi
1.66      paf      18334: 
1.1       paf      18335: 
1.159     moko     18336: 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
                   18337: do :
                   18338:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18339: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18340: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18341:   cat >>confdefs.h <<_ACEOF
                   18342: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18343: _ACEOF
                   18344: 
                   18345: fi
1.150     moko     18346: 
1.159     moko     18347: done
                   18348: 
1.207     moko     18349: for ac_header in assert.h limits.h ctype.h math.h process.h stdarg.h setjmp.h signal.h pthread.h
1.159     moko     18350: do :
                   18351:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18352: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18353: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18354:   cat >>confdefs.h <<_ACEOF
                   18355: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18356: _ACEOF
                   18357: 
                   18358: fi
                   18359: 
                   18360: done
                   18361: 
1.164     moko     18362: 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     18363: do :
                   18364:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18365: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18366: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18367:   cat >>confdefs.h <<_ACEOF
                   18368: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18369: _ACEOF
                   18370: 
                   18371: fi
                   18372: 
                   18373: done
                   18374: 
1.163     moko     18375: for ac_header in sys/socket.h netinet/in.h arpa/inet.h netdb.h
1.150     moko     18376: do :
                   18377:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18378: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18379: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.66      paf      18380:   cat >>confdefs.h <<_ACEOF
1.150     moko     18381: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      18382: _ACEOF
                   18383: 
                   18384: fi
                   18385: 
1.66      paf      18386: done
1.62      paf      18387: 
                   18388: 
                   18389: 
1.66      paf      18390: case "$host" in
1.107     misha    18391:   *-freebsd4*)
                   18392: 
1.150     moko     18393: $as_echo "#define FREEBSD4 /**/" >>confdefs.h
1.107     misha    18394: 
                   18395:   ;;
1.195     moko     18396:   *-freebsd1*)
                   18397: 
                   18398: $as_echo "#define FREEBSD1X /**/" >>confdefs.h
                   18399: 
                   18400:   ;;
1.66      paf      18401:   *-sunos5.6* | *-solaris2.6*)
1.150     moko     18402:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
                   18403: $as_echo_n "checking for main in -lxnet... " >&6; }
                   18404: if ${ac_cv_lib_xnet_main+:} false; then :
                   18405:   $as_echo_n "(cached) " >&6
1.62      paf      18406: else
1.66      paf      18407:   ac_check_lib_save_LIBS=$LIBS
                   18408: LIBS="-lxnet  $LIBS"
1.150     moko     18409: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18410: /* end confdefs.h.  */
                   18411: 
1.66      paf      18412: 
                   18413: int
                   18414: main ()
                   18415: {
1.150     moko     18416: return main ();
1.66      paf      18417:   ;
                   18418:   return 0;
                   18419: }
1.62      paf      18420: _ACEOF
1.150     moko     18421: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18422:   ac_cv_lib_xnet_main=yes
1.62      paf      18423: else
1.150     moko     18424:   ac_cv_lib_xnet_main=no
1.62      paf      18425: fi
1.150     moko     18426: rm -f core conftest.err conftest.$ac_objext \
                   18427:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18428: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18429: fi
1.150     moko     18430: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
                   18431: $as_echo "$ac_cv_lib_xnet_main" >&6; }
                   18432: if test "x$ac_cv_lib_xnet_main" = xyes; then :
1.62      paf      18433:   cat >>confdefs.h <<_ACEOF
1.66      paf      18434: #define HAVE_LIBXNET 1
1.62      paf      18435: _ACEOF
1.1       paf      18436: 
1.66      paf      18437:   LIBS="-lxnet $LIBS"
                   18438: 
1.1       paf      18439: fi
                   18440: 
1.66      paf      18441:   ;;
                   18442:   *-sunos5* | *-solaris2*)
1.150     moko     18443:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   18444: $as_echo_n "checking for main in -lsocket... " >&6; }
                   18445: if ${ac_cv_lib_socket_main+:} false; then :
                   18446:   $as_echo_n "(cached) " >&6
1.62      paf      18447: else
1.66      paf      18448:   ac_check_lib_save_LIBS=$LIBS
                   18449: LIBS="-lsocket  $LIBS"
1.150     moko     18450: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18451: /* end confdefs.h.  */
1.66      paf      18452: 
                   18453: 
1.62      paf      18454: int
                   18455: main ()
                   18456: {
1.150     moko     18457: return main ();
1.62      paf      18458:   ;
                   18459:   return 0;
                   18460: }
                   18461: _ACEOF
1.150     moko     18462: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18463:   ac_cv_lib_socket_main=yes
1.1       paf      18464: else
1.150     moko     18465:   ac_cv_lib_socket_main=no
1.1       paf      18466: fi
1.150     moko     18467: rm -f core conftest.err conftest.$ac_objext \
                   18468:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18469: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18470: fi
1.150     moko     18471: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   18472: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   18473: if test "x$ac_cv_lib_socket_main" = xyes; then :
1.66      paf      18474:   cat >>confdefs.h <<_ACEOF
                   18475: #define HAVE_LIBSOCKET 1
                   18476: _ACEOF
1.1       paf      18477: 
1.66      paf      18478:   LIBS="-lsocket $LIBS"
1.1       paf      18479: 
                   18480: fi
                   18481: 
1.150     moko     18482:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   18483: $as_echo_n "checking for main in -lnsl... " >&6; }
                   18484: if ${ac_cv_lib_nsl_main+:} false; then :
                   18485:   $as_echo_n "(cached) " >&6
1.62      paf      18486: else
1.66      paf      18487:   ac_check_lib_save_LIBS=$LIBS
                   18488: LIBS="-lnsl  $LIBS"
1.150     moko     18489: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18490: /* end confdefs.h.  */
1.66      paf      18491: 
                   18492: 
1.62      paf      18493: int
                   18494: main ()
                   18495: {
1.150     moko     18496: return main ();
1.62      paf      18497:   ;
                   18498:   return 0;
                   18499: }
                   18500: _ACEOF
1.150     moko     18501: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18502:   ac_cv_lib_nsl_main=yes
1.30      paf      18503: else
1.150     moko     18504:   ac_cv_lib_nsl_main=no
1.30      paf      18505: fi
1.150     moko     18506: rm -f core conftest.err conftest.$ac_objext \
                   18507:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18508: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18509: fi
1.150     moko     18510: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   18511: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   18512: if test "x$ac_cv_lib_nsl_main" = xyes; then :
1.66      paf      18513:   cat >>confdefs.h <<_ACEOF
                   18514: #define HAVE_LIBNSL 1
                   18515: _ACEOF
1.30      paf      18516: 
1.66      paf      18517:   LIBS="-lnsl $LIBS"
1.30      paf      18518: 
                   18519: fi
                   18520: 
1.66      paf      18521:   ;;
                   18522:   *-nec-sysv4*)
1.150     moko     18523:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   18524: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   18525: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   18526:   $as_echo_n "(cached) " >&6
1.62      paf      18527: else
1.66      paf      18528:   ac_check_lib_save_LIBS=$LIBS
                   18529: LIBS="-lnsl  $LIBS"
1.150     moko     18530: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18531: /* end confdefs.h.  */
1.66      paf      18532: 
1.150     moko     18533: /* Override any GCC internal prototype to avoid an error.
                   18534:    Use char because int might match the return type of a GCC
                   18535:    builtin and then its argument prototype would still apply.  */
1.66      paf      18536: #ifdef __cplusplus
                   18537: extern "C"
                   18538: #endif
                   18539: char gethostbyname ();
1.62      paf      18540: int
                   18541: main ()
                   18542: {
1.150     moko     18543: return gethostbyname ();
1.62      paf      18544:   ;
                   18545:   return 0;
                   18546: }
                   18547: _ACEOF
1.150     moko     18548: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18549:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      18550: else
1.150     moko     18551:   ac_cv_lib_nsl_gethostbyname=no
1.30      paf      18552: fi
1.150     moko     18553: rm -f core conftest.err conftest.$ac_objext \
                   18554:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18555: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18556: fi
1.150     moko     18557: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   18558: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   18559: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.66      paf      18560:   cat >>confdefs.h <<_ACEOF
                   18561: #define HAVE_LIBNSL 1
                   18562: _ACEOF
1.30      paf      18563: 
1.66      paf      18564:   LIBS="-lnsl $LIBS"
1.30      paf      18565: 
                   18566: fi
                   18567: 
1.150     moko     18568:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   18569: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   18570: if ${ac_cv_lib_socket_socket+:} false; then :
                   18571:   $as_echo_n "(cached) " >&6
1.8       paf      18572: else
1.66      paf      18573:   ac_check_lib_save_LIBS=$LIBS
                   18574: LIBS="-lsocket  $LIBS"
1.150     moko     18575: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18576: /* end confdefs.h.  */
                   18577: 
1.150     moko     18578: /* Override any GCC internal prototype to avoid an error.
                   18579:    Use char because int might match the return type of a GCC
                   18580:    builtin and then its argument prototype would still apply.  */
1.66      paf      18581: #ifdef __cplusplus
                   18582: extern "C"
                   18583: #endif
                   18584: char socket ();
1.62      paf      18585: int
                   18586: main ()
                   18587: {
1.150     moko     18588: return socket ();
1.62      paf      18589:   ;
                   18590:   return 0;
                   18591: }
                   18592: _ACEOF
1.150     moko     18593: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18594:   ac_cv_lib_socket_socket=yes
1.8       paf      18595: else
1.150     moko     18596:   ac_cv_lib_socket_socket=no
1.8       paf      18597: fi
1.150     moko     18598: rm -f core conftest.err conftest.$ac_objext \
                   18599:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18600: LIBS=$ac_check_lib_save_LIBS
1.8       paf      18601: fi
1.150     moko     18602: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   18603: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   18604: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.66      paf      18605:   cat >>confdefs.h <<_ACEOF
1.128     moko     18606: #define HAVE_LIBSOCKET 1
1.66      paf      18607: _ACEOF
                   18608: 
1.128     moko     18609:   LIBS="-lsocket $LIBS"
1.66      paf      18610: 
1.62      paf      18611: fi
                   18612: 
1.66      paf      18613:   ;;
1.128     moko     18614:   *-cygwin*)
                   18615: 
1.150     moko     18616: $as_echo "#define WIN32 /**/" >>confdefs.h
1.128     moko     18617: 
1.66      paf      18618:   ;;
                   18619: esac
1.1       paf      18620: 
1.150     moko     18621: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
                   18622: $as_echo_n "checking for sin in -lm... " >&6; }
                   18623: if ${ac_cv_lib_m_sin+:} false; then :
                   18624:   $as_echo_n "(cached) " >&6
1.1       paf      18625: else
1.62      paf      18626:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      18627: LIBS="-lm  $LIBS"
1.150     moko     18628: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18629: /* end confdefs.h.  */
                   18630: 
1.150     moko     18631: /* Override any GCC internal prototype to avoid an error.
                   18632:    Use char because int might match the return type of a GCC
                   18633:    builtin and then its argument prototype would still apply.  */
1.66      paf      18634: #ifdef __cplusplus
                   18635: extern "C"
                   18636: #endif
                   18637: char sin ();
1.62      paf      18638: int
                   18639: main ()
                   18640: {
1.150     moko     18641: return sin ();
1.62      paf      18642:   ;
                   18643:   return 0;
                   18644: }
                   18645: _ACEOF
1.150     moko     18646: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18647:   ac_cv_lib_m_sin=yes
1.62      paf      18648: else
1.150     moko     18649:   ac_cv_lib_m_sin=no
1.62      paf      18650: fi
1.150     moko     18651: rm -f core conftest.err conftest.$ac_objext \
                   18652:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      18653: LIBS=$ac_check_lib_save_LIBS
                   18654: fi
1.150     moko     18655: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
                   18656: $as_echo "$ac_cv_lib_m_sin" >&6; }
                   18657: if test "x$ac_cv_lib_m_sin" = xyes; then :
1.62      paf      18658:   cat >>confdefs.h <<_ACEOF
1.66      paf      18659: #define HAVE_LIBM 1
1.62      paf      18660: _ACEOF
1.1       paf      18661: 
1.66      paf      18662:   LIBS="-lm $LIBS"
1.1       paf      18663: 
                   18664: fi
                   18665: 
1.150     moko     18666: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
                   18667: $as_echo_n "checking for crypt in -lcrypt... " >&6; }
                   18668: if ${ac_cv_lib_crypt_crypt+:} false; then :
                   18669:   $as_echo_n "(cached) " >&6
1.1       paf      18670: else
1.62      paf      18671:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      18672: LIBS="-lcrypt  $LIBS"
1.150     moko     18673: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18674: /* end confdefs.h.  */
                   18675: 
1.150     moko     18676: /* Override any GCC internal prototype to avoid an error.
                   18677:    Use char because int might match the return type of a GCC
                   18678:    builtin and then its argument prototype would still apply.  */
1.66      paf      18679: #ifdef __cplusplus
                   18680: extern "C"
                   18681: #endif
                   18682: char crypt ();
1.62      paf      18683: int
                   18684: main ()
                   18685: {
1.150     moko     18686: return crypt ();
1.62      paf      18687:   ;
                   18688:   return 0;
                   18689: }
                   18690: _ACEOF
1.150     moko     18691: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18692:   ac_cv_lib_crypt_crypt=yes
1.62      paf      18693: else
1.150     moko     18694:   ac_cv_lib_crypt_crypt=no
1.62      paf      18695: fi
1.150     moko     18696: rm -f core conftest.err conftest.$ac_objext \
                   18697:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      18698: LIBS=$ac_check_lib_save_LIBS
                   18699: fi
1.150     moko     18700: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
                   18701: $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
                   18702: if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
1.62      paf      18703:   cat >>confdefs.h <<_ACEOF
1.66      paf      18704: #define HAVE_LIBCRYPT 1
1.62      paf      18705: _ACEOF
1.1       paf      18706: 
1.66      paf      18707:   LIBS="-lcrypt $LIBS"
                   18708: 
                   18709: fi
                   18710: 
                   18711: 
                   18712: 
1.221     moko     18713: for ac_func in flock fcntl lockf ftruncate fchmod
1.159     moko     18714: do :
                   18715:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   18716: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   18717: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   18718:   cat >>confdefs.h <<_ACEOF
                   18719: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   18720: _ACEOF
                   18721: 
                   18722: fi
                   18723: done
1.66      paf      18724: 
1.159     moko     18725: for ac_func in getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv
1.150     moko     18726: do :
                   18727:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   18728: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   18729: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.62      paf      18730:   cat >>confdefs.h <<_ACEOF
1.150     moko     18731: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      18732: _ACEOF
1.1       paf      18733: 
1.66      paf      18734: fi
                   18735: done
                   18736: 
1.1       paf      18737: 
                   18738: 
1.159     moko     18739: 
1.67      paf      18740: pa_func=sigsetjmp
1.150     moko     18741: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
                   18742: $as_echo_n "checking for (maybe built-in) function $pa_func... " >&6; }
                   18743: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      18744: /* end confdefs.h.  */
                   18745: 
                   18746: #ifdef HAVE_SETJMP_H
                   18747: #      include <setjmp.h>
                   18748: #endif
                   18749: 
                   18750: int
                   18751: main ()
                   18752: {
                   18753: 
                   18754:         $pa_func(0,0);
                   18755: 
                   18756:   ;
                   18757:   return 0;
                   18758: }
                   18759: _ACEOF
1.150     moko     18760: if ac_fn_c_try_compile "$LINENO"; then :
                   18761:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18762: $as_echo "yes" >&6; }
1.67      paf      18763: cat >>confdefs.h <<_ACEOF
1.150     moko     18764: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp` 1
1.67      paf      18765: _ACEOF
                   18766: 
                   18767: 
                   18768: else
1.150     moko     18769:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18770: $as_echo "no" >&6; }
1.67      paf      18771: 
                   18772: fi
1.150     moko     18773: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      18774: 
                   18775: 
                   18776: 
1.159     moko     18777: 
1.150     moko     18778: ac_ext=cpp
1.67      paf      18779: ac_cpp='$CXXCPP $CPPFLAGS'
                   18780: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18781: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18782: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   18783: 
                   18784: 
                   18785: 
1.188     moko     18786: for pa_func in trunc round sign isfinite
1.67      paf      18787: do
                   18788: 
1.150     moko     18789: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
                   18790: $as_echo_n "checking for (maybe built-in) math function $pa_func... " >&6; }
                   18791: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      18792: /* end confdefs.h.  */
                   18793: 
                   18794: #ifdef HAVE_MATH_H
                   18795: #       include <math.h>
                   18796: #endif
                   18797: 
                   18798: int
                   18799: main ()
                   18800: {
                   18801: 
                   18802:         double result=$pa_func(1.6);
                   18803: 
                   18804:   ;
                   18805:   return 0;
                   18806: }
                   18807: _ACEOF
1.150     moko     18808: if ac_fn_cxx_try_compile "$LINENO"; then :
                   18809:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18810: $as_echo "yes" >&6; }
1.67      paf      18811: cat >>confdefs.h <<_ACEOF
1.150     moko     18812: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp`  1
1.62      paf      18813: _ACEOF
1.66      paf      18814: 
1.62      paf      18815: else
1.150     moko     18816:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18817: $as_echo "no" >&6; }
1.62      paf      18818: 
                   18819: fi
1.150     moko     18820: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18821: 
                   18822: done
                   18823: 
                   18824: ac_ext=c
                   18825: ac_cpp='$CPP $CPPFLAGS'
                   18826: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18827: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18828: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18829: 
                   18830: 
                   18831: 
                   18832: for ac_func in qsort
                   18833: do :
                   18834:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
                   18835: if test "x$ac_cv_func_qsort" = xyes; then :
1.62      paf      18836:   cat >>confdefs.h <<_ACEOF
1.150     moko     18837: #define HAVE_QSORT 1
1.62      paf      18838: _ACEOF
1.1       paf      18839: 
1.66      paf      18840: else
1.150     moko     18841:   as_fn_error $? "No qsort library function." "$LINENO" 5
1.1       paf      18842: fi
1.66      paf      18843: done
1.1       paf      18844: 
                   18845: 
1.62      paf      18846: 
1.159     moko     18847: 
1.177     moko     18848: ac_ext=cpp
                   18849: ac_cpp='$CXXCPP $CPPFLAGS'
                   18850: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18851: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18852: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   18853: 
1.150     moko     18854: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
                   18855: $as_echo_n "checking for timezone variable... " >&6; }
                   18856: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18857: /* end confdefs.h.  */
1.66      paf      18858: #include <time.h>
1.62      paf      18859: int
                   18860: main ()
                   18861: {
1.177     moko     18862: int test=timezone;
1.62      paf      18863:   ;
                   18864:   return 0;
                   18865: }
                   18866: _ACEOF
1.177     moko     18867: if ac_fn_cxx_try_compile "$LINENO"; then :
1.150     moko     18868:   $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
1.158     moko     18869:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18870: $as_echo "yes" >&6; }
1.62      paf      18871: else
1.150     moko     18872:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18873: $as_echo "no" >&6; }
1.62      paf      18874: fi
1.150     moko     18875: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.177     moko     18876: ac_ext=c
                   18877: ac_cpp='$CPP $CPPFLAGS'
                   18878: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18879: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18880: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18881: 
1.1       paf      18882: 
1.176     moko     18883: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
                   18884: $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
1.150     moko     18885: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18886: /* end confdefs.h.  */
1.66      paf      18887: #include <time.h>
1.62      paf      18888: int
                   18889: main ()
                   18890: {
1.176     moko     18891: struct tm tm; tm.tm_gmtoff=0;
1.62      paf      18892:   ;
                   18893:   return 0;
                   18894: }
                   18895: _ACEOF
1.150     moko     18896: if ac_fn_c_try_compile "$LINENO"; then :
1.176     moko     18897:   $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
1.158     moko     18898:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18899: $as_echo "yes" >&6; }
1.62      paf      18900: else
1.150     moko     18901:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18902: $as_echo "no" >&6; }
1.62      paf      18903: fi
1.150     moko     18904: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18905: 
1.176     moko     18906: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
                   18907: $as_echo_n "checking for tm_tzadj in struct tm... " >&6; }
1.150     moko     18908: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18909: /* end confdefs.h.  */
1.66      paf      18910: #include <time.h>
1.62      paf      18911: int
                   18912: main ()
                   18913: {
1.176     moko     18914: struct tm tm; tm.tm_tzadj=0;
1.62      paf      18915:   ;
                   18916:   return 0;
                   18917: }
                   18918: _ACEOF
1.150     moko     18919: if ac_fn_c_try_compile "$LINENO"; then :
1.176     moko     18920:   $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h
1.158     moko     18921:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18922: $as_echo "yes" >&6; }
1.62      paf      18923: else
1.150     moko     18924:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18925: $as_echo "no" >&6; }
1.62      paf      18926: fi
1.150     moko     18927: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18928: 
1.206     moko     18929: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettid" >&5
                   18930: $as_echo_n "checking for gettid... " >&6; }
                   18931: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18932: /* end confdefs.h.  */
                   18933: 
                   18934: #include <sys/types.h>
                   18935: #include <sys/syscall.h>
                   18936: 
                   18937: int
                   18938: main ()
                   18939: {
                   18940: uint tid=syscall(__NR_gettid);
                   18941:   ;
                   18942:   return 0;
                   18943: }
                   18944: _ACEOF
                   18945: if ac_fn_c_try_compile "$LINENO"; then :
                   18946:   $as_echo "#define HAVE_GETTID 1" >>confdefs.h
                   18947:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18948: $as_echo "yes" >&6; }
                   18949: else
                   18950:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18951: $as_echo "no" >&6; }
                   18952: fi
                   18953: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18954: 
1.208     moko     18955: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5
                   18956: $as_echo_n "checking for TLS... " >&6; }
                   18957: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18958: /* end confdefs.h.  */
1.209     moko     18959: __thread int i=0;
1.208     moko     18960: int
                   18961: main ()
                   18962: {
1.209     moko     18963: 
1.208     moko     18964:   ;
                   18965:   return 0;
                   18966: }
                   18967: _ACEOF
                   18968: if ac_fn_c_try_compile "$LINENO"; then :
                   18969:   $as_echo "#define HAVE_TLS 1" >>confdefs.h
                   18970:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18971: $as_echo "yes" >&6; }
                   18972: else
                   18973:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18974: $as_echo "no" >&6; }
                   18975: fi
                   18976: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18977: 
1.176     moko     18978: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 0..9999 year date range support" >&5
                   18979: $as_echo_n "checking for 0..9999 year date range support... " >&6; }
                   18980: if test "$cross_compiling" = yes; then :
                   18981:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18982: $as_echo "no" >&6; }
                   18983: else
                   18984:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18985: /* end confdefs.h.  */
1.176     moko     18986: 
                   18987: #include <string.h>
1.66      paf      18988: #include <time.h>
1.176     moko     18989: 
                   18990: int main() {
                   18991:        struct tm tmL,tmH;
                   18992:        memset(&tmL, 0, sizeof(tmL));
                   18993:        memset(&tmH, 0, sizeof(tmH));
                   18994:        tmL.tm_year=-1900;
                   18995:        tmL.tm_mon=-1;
                   18996:        tmH.tm_year=9999-1900;
                   18997:        tmH.tm_mon=12-1;
                   18998:        tmH.tm_mday=31;
                   18999:        return mktime(&tmL)==-1 || mktime(&tmH)==-1;
1.62      paf      19000: }
1.176     moko     19001: 
1.62      paf      19002: _ACEOF
1.176     moko     19003: if ac_fn_c_try_run "$LINENO"; then :
                   19004:   $as_echo "#define PA_DATE64 1" >>confdefs.h
1.158     moko     19005:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     19006: $as_echo "yes" >&6; }
1.62      paf      19007: else
1.150     moko     19008:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   19009: $as_echo "no" >&6; }
1.62      paf      19010: fi
1.176     moko     19011: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   19012:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   19013: fi
1.31      paf      19014: 
1.1       paf      19015: 
                   19016: 
                   19017: 
1.62      paf      19018: 
                   19019: 
                   19020: 
1.206     moko     19021: 
1.208     moko     19022: 
1.150     moko     19023: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      19024: 
                   19025: 
1.200     moko     19026: 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      19027: 
                   19028: cat >confcache <<\_ACEOF
1.1       paf      19029: # This file is a shell script that caches the results of configure
                   19030: # tests run on this system so they can be shared between configure
1.62      paf      19031: # scripts and configure runs, see configure's option --config-cache.
                   19032: # It is not useful on other systems.  If it contains results you don't
                   19033: # want to keep, you may remove or edit it.
1.1       paf      19034: #
1.62      paf      19035: # config.status only pays attention to the cache file if you give it
                   19036: # the --recheck option to rerun configure.
1.1       paf      19037: #
1.62      paf      19038: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   19039: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   19040: # following values.
                   19041: 
                   19042: _ACEOF
                   19043: 
1.1       paf      19044: # The following way of writing the cache mishandles newlines in values,
                   19045: # but we know of no workaround that is simple, portable, and efficient.
1.150     moko     19046: # So, we kill variables containing newlines.
1.1       paf      19047: # Ultrix sh set writes to stderr and can't be redirected directly,
                   19048: # and sets the high bit in the cache file unless we assign to the vars.
1.150     moko     19049: (
                   19050:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   19051:     eval ac_val=\$$ac_var
                   19052:     case $ac_val in #(
                   19053:     *${as_nl}*)
                   19054:       case $ac_var in #(
                   19055:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   19056: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   19057:       esac
                   19058:       case $ac_var in #(
                   19059:       _ | IFS | as_nl) ;; #(
                   19060:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   19061:       *) { eval $ac_var=; unset $ac_var;} ;;
                   19062:       esac ;;
                   19063:     esac
                   19064:   done
                   19065: 
1.62      paf      19066:   (set) 2>&1 |
1.150     moko     19067:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   19068:     *${as_nl}ac_space=\ *)
                   19069:       # `set' does not quote correctly, so add quotes: double-quote
                   19070:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      19071:       sed -n \
1.86      paf      19072:        "s/'/'\\\\''/g;
                   19073:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150     moko     19074:       ;; #(
1.62      paf      19075:     *)
                   19076:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.150     moko     19077:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      19078:       ;;
1.150     moko     19079:     esac |
                   19080:     sort
                   19081: ) |
1.62      paf      19082:   sed '
1.150     moko     19083:      /^ac_cv_env_/b end
1.62      paf      19084:      t clear
1.150     moko     19085:      :clear
1.62      paf      19086:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   19087:      t end
1.150     moko     19088:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   19089:      :end' >>confcache
                   19090: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   19091:   if test -w "$cache_file"; then
                   19092:     if test "x$cache_file" != "x/dev/null"; then
                   19093:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   19094: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   19095:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   19096:        cat confcache >"$cache_file"
                   19097:       else
                   19098:         case $cache_file in #(
                   19099:         */* | ?:*)
                   19100:          mv -f confcache "$cache_file"$$ &&
                   19101:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   19102:         *)
                   19103:          mv -f confcache "$cache_file" ;;
                   19104:        esac
                   19105:       fi
                   19106:     fi
1.1       paf      19107:   else
1.150     moko     19108:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   19109: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      19110:   fi
                   19111: fi
                   19112: rm -f confcache
                   19113: 
                   19114: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   19115: # Let make expand exec_prefix.
                   19116: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   19117: 
1.62      paf      19118: DEFS=-DHAVE_CONFIG_H
                   19119: 
                   19120: ac_libobjs=
                   19121: ac_ltlibobjs=
                   19122: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   19123:   # 1. Remove the extension, and $U if already installed.
1.150     moko     19124:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   19125:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   19126:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   19127:   #    will be set to the directory where LIBOBJS objects are built.
                   19128:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   19129:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      19130: done
                   19131: LIBOBJS=$ac_libobjs
                   19132: 
                   19133: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      19134: 
                   19135: 
1.187     moko     19136: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
                   19137: $as_echo_n "checking that generated files are newer than configure... " >&6; }
                   19138:    if test -n "$am_sleep_pid"; then
                   19139:      # Hide warnings about reused PIDs.
                   19140:      wait $am_sleep_pid 2>/dev/null
                   19141:    fi
                   19142:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
                   19143: $as_echo "done" >&6; }
1.150     moko     19144:  if test -n "$EXEEXT"; then
                   19145:   am__EXEEXT_TRUE=
                   19146:   am__EXEEXT_FALSE='#'
                   19147: else
                   19148:   am__EXEEXT_TRUE='#'
                   19149:   am__EXEEXT_FALSE=
                   19150: fi
                   19151: 
1.62      paf      19152: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150     moko     19153:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   19154: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19155: fi
1.66      paf      19156: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150     moko     19157:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   19158: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19159: fi
1.66      paf      19160: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150     moko     19161:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   19162: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19163: fi
1.122     moko     19164: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150     moko     19165:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
                   19166: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19167: fi
1.128     moko     19168: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150     moko     19169:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   19170: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     19171: fi
                   19172: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150     moko     19173:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   19174: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     19175: fi
1.150     moko     19176: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     19177: 
                   19178:     _ltdl_libobjs=
                   19179:     _ltdl_ltlibobjs=
                   19180:     if test -n "$_LT_LIBOBJS"; then
                   19181:       # Remove the extension.
                   19182:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   19183:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   19184:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   19185:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   19186:       done
                   19187:     fi
                   19188:     ltdl_LIBOBJS=$_ltdl_libobjs
                   19189: 
                   19190:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   19191: 
                   19192: 
1.62      paf      19193: 
1.150     moko     19194: 
                   19195: : "${CONFIG_STATUS=./config.status}"
                   19196: ac_write_fail=0
1.62      paf      19197: ac_clean_files_save=$ac_clean_files
                   19198: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.150     moko     19199: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   19200: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   19201: as_write_fail=0
                   19202: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      19203: #! $SHELL
                   19204: # Generated by $as_me.
                   19205: # Run this file to recreate the current configuration.
                   19206: # Compiler output produced by configure, useful for debugging
                   19207: # configure, is in config.log if it exists.
                   19208: 
                   19209: debug=false
                   19210: ac_cs_recheck=false
                   19211: ac_cs_silent=false
1.150     moko     19212: 
1.62      paf      19213: SHELL=\${CONFIG_SHELL-$SHELL}
1.150     moko     19214: export SHELL
                   19215: _ASEOF
                   19216: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   19217: ## -------------------- ##
                   19218: ## M4sh Initialization. ##
                   19219: ## -------------------- ##
1.62      paf      19220: 
1.150     moko     19221: # Be more Bourne compatible
                   19222: DUALCASE=1; export DUALCASE # for MKS sh
                   19223: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf      19224:   emulate sh
                   19225:   NULLCMD=:
1.150     moko     19226:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      19227:   # is contrary to our usage.  Disable this feature.
                   19228:   alias -g '${1+"$@"}'='"$@"'
1.150     moko     19229:   setopt NO_GLOB_SUBST
                   19230: else
                   19231:   case `(set -o) 2>/dev/null` in #(
                   19232:   *posix*) :
                   19233:     set -o posix ;; #(
                   19234:   *) :
                   19235:      ;;
                   19236: esac
                   19237: fi
                   19238: 
                   19239: 
                   19240: as_nl='
                   19241: '
                   19242: export as_nl
                   19243: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   19244: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   19245: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   19246: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   19247: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   19248: # but without wasting forks for bash or zsh.
                   19249: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   19250:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   19251:   as_echo='print -r --'
                   19252:   as_echo_n='print -rn --'
                   19253: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   19254:   as_echo='printf %s\n'
                   19255:   as_echo_n='printf %s'
                   19256: else
                   19257:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   19258:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   19259:     as_echo_n='/usr/ucb/echo -n'
                   19260:   else
                   19261:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   19262:     as_echo_n_body='eval
                   19263:       arg=$1;
                   19264:       case $arg in #(
                   19265:       *"$as_nl"*)
                   19266:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   19267:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   19268:       esac;
                   19269:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   19270:     '
                   19271:     export as_echo_n_body
                   19272:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   19273:   fi
                   19274:   export as_echo_body
                   19275:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf      19276: fi
                   19277: 
1.150     moko     19278: # The user is always right.
                   19279: if test "${PATH_SEPARATOR+set}" != set; then
                   19280:   PATH_SEPARATOR=:
                   19281:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   19282:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   19283:       PATH_SEPARATOR=';'
                   19284:   }
1.62      paf      19285: fi
                   19286: 
                   19287: 
1.150     moko     19288: # IFS
                   19289: # We need space, tab and new line, in precisely that order.  Quoting is
                   19290: # there to prevent editors from complaining about space-tab.
                   19291: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   19292: # splitting by setting IFS to empty value.)
                   19293: IFS=" ""       $as_nl"
                   19294: 
                   19295: # Find who we are.  Look in the path if we contain no directory separator.
                   19296: as_myself=
                   19297: case $0 in #((
                   19298:   *[\\/]* ) as_myself=$0 ;;
                   19299:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   19300: for as_dir in $PATH
                   19301: do
                   19302:   IFS=$as_save_IFS
                   19303:   test -z "$as_dir" && as_dir=.
                   19304:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   19305:   done
                   19306: IFS=$as_save_IFS
                   19307: 
                   19308:      ;;
                   19309: esac
                   19310: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   19311: # in which case we are not to be found in the path.
                   19312: if test "x$as_myself" = x; then
                   19313:   as_myself=$0
                   19314: fi
                   19315: if test ! -f "$as_myself"; then
                   19316:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   19317:   exit 1
                   19318: fi
                   19319: 
                   19320: # Unset variables that we do not need and which cause bugs (e.g. in
                   19321: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   19322: # suppresses any "Segmentation fault" message there.  '((' could
                   19323: # trigger a bug in pdksh 5.2.14.
                   19324: for as_var in BASH_ENV ENV MAIL MAILPATH
                   19325: do eval test x\${$as_var+set} = xset \
                   19326:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   19327: done
1.62      paf      19328: PS1='$ '
                   19329: PS2='> '
                   19330: PS4='+ '
                   19331: 
                   19332: # NLS nuisances.
1.150     moko     19333: LC_ALL=C
                   19334: export LC_ALL
                   19335: LANGUAGE=C
                   19336: export LANGUAGE
                   19337: 
                   19338: # CDPATH.
                   19339: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   19340: 
                   19341: 
                   19342: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   19343: # ----------------------------------------
                   19344: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   19345: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   19346: # script with STATUS, using 1 if that was 0.
                   19347: as_fn_error ()
                   19348: {
                   19349:   as_status=$1; test $as_status -eq 0 && as_status=1
                   19350:   if test "$4"; then
                   19351:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   19352:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   19353:   fi
                   19354:   $as_echo "$as_me: error: $2" >&2
                   19355:   as_fn_exit $as_status
                   19356: } # as_fn_error
                   19357: 
                   19358: 
                   19359: # as_fn_set_status STATUS
                   19360: # -----------------------
                   19361: # Set $? to STATUS, without forking.
                   19362: as_fn_set_status ()
                   19363: {
                   19364:   return $1
                   19365: } # as_fn_set_status
                   19366: 
                   19367: # as_fn_exit STATUS
                   19368: # -----------------
                   19369: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   19370: as_fn_exit ()
                   19371: {
                   19372:   set +e
                   19373:   as_fn_set_status $1
                   19374:   exit $1
                   19375: } # as_fn_exit
                   19376: 
                   19377: # as_fn_unset VAR
                   19378: # ---------------
                   19379: # Portably unset VAR.
                   19380: as_fn_unset ()
                   19381: {
                   19382:   { eval $1=; unset $1;}
                   19383: }
                   19384: as_unset=as_fn_unset
                   19385: # as_fn_append VAR VALUE
                   19386: # ----------------------
                   19387: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   19388: # advantage of any shell optimizations that allow amortized linear growth over
                   19389: # repeated appends, instead of the typical quadratic growth present in naive
                   19390: # implementations.
                   19391: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   19392:   eval 'as_fn_append ()
                   19393:   {
                   19394:     eval $1+=\$2
                   19395:   }'
                   19396: else
                   19397:   as_fn_append ()
                   19398:   {
                   19399:     eval $1=\$$1\$2
                   19400:   }
                   19401: fi # as_fn_append
                   19402: 
                   19403: # as_fn_arith ARG...
                   19404: # ------------------
                   19405: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   19406: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   19407: # must be portable across $(()) and expr.
                   19408: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   19409:   eval 'as_fn_arith ()
                   19410:   {
                   19411:     as_val=$(( $* ))
                   19412:   }'
                   19413: else
                   19414:   as_fn_arith ()
                   19415:   {
                   19416:     as_val=`expr "$@" || test $? -eq 1`
                   19417:   }
                   19418: fi # as_fn_arith
                   19419: 
1.1       paf      19420: 
1.150     moko     19421: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   19422:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      19423:   as_expr=expr
                   19424: else
                   19425:   as_expr=false
                   19426: fi
                   19427: 
1.150     moko     19428: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      19429:   as_basename=basename
                   19430: else
                   19431:   as_basename=false
                   19432: fi
                   19433: 
1.150     moko     19434: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   19435:   as_dirname=dirname
                   19436: else
                   19437:   as_dirname=false
                   19438: fi
1.62      paf      19439: 
1.150     moko     19440: as_me=`$as_basename -- "$0" ||
1.62      paf      19441: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   19442:         X"$0" : 'X\(//\)$' \| \
1.150     moko     19443:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   19444: $as_echo X/"$0" |
                   19445:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   19446:            s//\1/
                   19447:            q
                   19448:          }
                   19449:          /^X\/\(\/\/\)$/{
                   19450:            s//\1/
                   19451:            q
                   19452:          }
                   19453:          /^X\/\(\/\).*/{
                   19454:            s//\1/
                   19455:            q
                   19456:          }
                   19457:          s/.*/./; q'`
1.62      paf      19458: 
                   19459: # Avoid depending upon Character Ranges.
                   19460: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   19461: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   19462: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   19463: as_cr_digits='0123456789'
                   19464: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   19465: 
1.150     moko     19466: ECHO_C= ECHO_N= ECHO_T=
                   19467: case `echo -n x` in #(((((
                   19468: -n*)
                   19469:   case `echo 'xy\c'` in
                   19470:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   19471:   xy)  ECHO_C='\c';;
                   19472:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   19473:        ECHO_T='        ';;
                   19474:   esac;;
                   19475: *)
                   19476:   ECHO_N='-n';;
1.62      paf      19477: esac
                   19478: 
1.150     moko     19479: rm -f conf$$ conf$$.exe conf$$.file
                   19480: if test -d conf$$.dir; then
                   19481:   rm -f conf$$.dir/conf$$.file
1.62      paf      19482: else
1.150     moko     19483:   rm -f conf$$.dir
                   19484:   mkdir conf$$.dir 2>/dev/null
1.62      paf      19485: fi
1.150     moko     19486: if (echo >conf$$.file) 2>/dev/null; then
                   19487:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   19488:     as_ln_s='ln -s'
                   19489:     # ... but there are two gotchas:
                   19490:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   19491:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.166     moko     19492:     # In both cases, we have to default to `cp -pR'.
1.150     moko     19493:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.166     moko     19494:       as_ln_s='cp -pR'
1.150     moko     19495:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   19496:     as_ln_s=ln
                   19497:   else
1.166     moko     19498:     as_ln_s='cp -pR'
1.62      paf      19499:   fi
                   19500: else
1.166     moko     19501:   as_ln_s='cp -pR'
1.62      paf      19502: fi
1.150     moko     19503: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   19504: rmdir conf$$.dir 2>/dev/null
                   19505: 
                   19506: 
                   19507: # as_fn_mkdir_p
                   19508: # -------------
                   19509: # Create "$as_dir" as a directory, including parents if necessary.
                   19510: as_fn_mkdir_p ()
                   19511: {
                   19512: 
                   19513:   case $as_dir in #(
                   19514:   -*) as_dir=./$as_dir;;
                   19515:   esac
                   19516:   test -d "$as_dir" || eval $as_mkdir_p || {
                   19517:     as_dirs=
                   19518:     while :; do
                   19519:       case $as_dir in #(
                   19520:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   19521:       *) as_qdir=$as_dir;;
                   19522:       esac
                   19523:       as_dirs="'$as_qdir' $as_dirs"
                   19524:       as_dir=`$as_dirname -- "$as_dir" ||
                   19525: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19526:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19527:         X"$as_dir" : 'X\(//\)$' \| \
                   19528:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   19529: $as_echo X"$as_dir" |
                   19530:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19531:            s//\1/
                   19532:            q
                   19533:          }
                   19534:          /^X\(\/\/\)[^/].*/{
                   19535:            s//\1/
                   19536:            q
                   19537:          }
                   19538:          /^X\(\/\/\)$/{
                   19539:            s//\1/
                   19540:            q
                   19541:          }
                   19542:          /^X\(\/\).*/{
                   19543:            s//\1/
                   19544:            q
                   19545:          }
                   19546:          s/.*/./; q'`
                   19547:       test -d "$as_dir" && break
                   19548:     done
                   19549:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   19550:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   19551: 
1.62      paf      19552: 
1.150     moko     19553: } # as_fn_mkdir_p
1.62      paf      19554: if mkdir -p . 2>/dev/null; then
1.150     moko     19555:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      19556: else
1.86      paf      19557:   test -d ./-p && rmdir ./-p
1.62      paf      19558:   as_mkdir_p=false
                   19559: fi
                   19560: 
1.166     moko     19561: 
                   19562: # as_fn_executable_p FILE
                   19563: # -----------------------
                   19564: # Test if FILE is an executable regular file.
                   19565: as_fn_executable_p ()
                   19566: {
                   19567:   test -f "$1" && test -x "$1"
                   19568: } # as_fn_executable_p
                   19569: as_test_x='test -x'
                   19570: as_executable_p=as_fn_executable_p
1.62      paf      19571: 
                   19572: # Sed expression to map a string onto a valid CPP name.
1.86      paf      19573: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      19574: 
                   19575: # Sed expression to map a string onto a valid variable name.
1.86      paf      19576: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      19577: 
                   19578: 
                   19579: exec 6>&1
1.150     moko     19580: ## ----------------------------------- ##
                   19581: ## Main body of $CONFIG_STATUS script. ##
                   19582: ## ----------------------------------- ##
                   19583: _ASEOF
                   19584: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      19585: 
1.150     moko     19586: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19587: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      19588: # report actual input values of CONFIG_FILES etc. instead of their
1.150     moko     19589: # values after options handling.
                   19590: ac_log="
1.223   ! moko     19591: This file was extended by parser $as_me 3.5.0rc, which was
1.166     moko     19592: generated by GNU Autoconf 2.69.  Invocation command line was
1.62      paf      19593: 
                   19594:   CONFIG_FILES    = $CONFIG_FILES
                   19595:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   19596:   CONFIG_LINKS    = $CONFIG_LINKS
                   19597:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   19598:   $ $0 $@
                   19599: 
1.150     moko     19600: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   19601: "
                   19602: 
1.62      paf      19603: _ACEOF
                   19604: 
1.150     moko     19605: case $ac_config_files in *"
                   19606: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   19607: esac
1.62      paf      19608: 
1.150     moko     19609: case $ac_config_headers in *"
                   19610: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   19611: esac
1.62      paf      19612: 
                   19613: 
1.150     moko     19614: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19615: # Files that config.status was made for.
                   19616: config_files="$ac_config_files"
                   19617: config_headers="$ac_config_headers"
                   19618: config_commands="$ac_config_commands"
1.62      paf      19619: 
1.150     moko     19620: _ACEOF
1.62      paf      19621: 
1.150     moko     19622: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19623: ac_cs_usage="\
1.150     moko     19624: \`$as_me' instantiates files and other configuration actions
                   19625: from templates according to the current configuration.  Unless the files
                   19626: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      19627: 
1.150     moko     19628: Usage: $0 [OPTION]... [TAG]...
1.62      paf      19629: 
                   19630:   -h, --help       print this help, then exit
1.150     moko     19631:   -V, --version    print version number and configuration settings, then exit
                   19632:       --config     print configuration, then exit
                   19633:   -q, --quiet, --silent
                   19634:                    do not print progress messages
1.62      paf      19635:   -d, --debug      don't remove temporary files
                   19636:       --recheck    update $as_me by reconfiguring in the same conditions
1.150     moko     19637:       --file=FILE[:TEMPLATE]
                   19638:                    instantiate the configuration file FILE
                   19639:       --header=FILE[:TEMPLATE]
                   19640:                    instantiate the configuration header FILE
1.62      paf      19641: 
                   19642: Configuration files:
                   19643: $config_files
                   19644: 
                   19645: Configuration headers:
                   19646: $config_headers
                   19647: 
                   19648: Configuration commands:
                   19649: $config_commands
                   19650: 
1.150     moko     19651: Report bugs to the package provider."
                   19652: 
1.62      paf      19653: _ACEOF
1.150     moko     19654: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19655: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.62      paf      19656: ac_cs_version="\\
1.223   ! moko     19657: parser config.status 3.5.0rc
1.166     moko     19658: configured by $0, generated by GNU Autoconf 2.69,
1.150     moko     19659:   with options \\"\$ac_cs_config\\"
1.62      paf      19660: 
1.166     moko     19661: Copyright (C) 2012 Free Software Foundation, Inc.
1.62      paf      19662: This config.status script is free software; the Free Software Foundation
                   19663: gives unlimited permission to copy, distribute and modify it."
1.150     moko     19664: 
                   19665: ac_pwd='$ac_pwd'
                   19666: srcdir='$srcdir'
                   19667: INSTALL='$INSTALL'
                   19668: MKDIR_P='$MKDIR_P'
                   19669: AWK='$AWK'
                   19670: test -n "\$AWK" || AWK=awk
1.62      paf      19671: _ACEOF
                   19672: 
1.150     moko     19673: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19674: # The default lists apply if the user does not specify any file.
1.62      paf      19675: ac_need_defaults=:
                   19676: while test $# != 0
                   19677: do
                   19678:   case $1 in
1.150     moko     19679:   --*=?*)
                   19680:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   19681:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      19682:     ac_shift=:
                   19683:     ;;
1.150     moko     19684:   --*=)
                   19685:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   19686:     ac_optarg=
                   19687:     ac_shift=:
                   19688:     ;;
                   19689:   *)
1.62      paf      19690:     ac_option=$1
                   19691:     ac_optarg=$2
                   19692:     ac_shift=shift
                   19693:     ;;
                   19694:   esac
                   19695: 
                   19696:   case $ac_option in
                   19697:   # Handling of the options.
                   19698:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   19699:     ac_cs_recheck=: ;;
1.150     moko     19700:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   19701:     $as_echo "$ac_cs_version"; exit ;;
                   19702:   --config | --confi | --conf | --con | --co | --c )
                   19703:     $as_echo "$ac_cs_config"; exit ;;
                   19704:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      19705:     debug=: ;;
                   19706:   --file | --fil | --fi | --f )
                   19707:     $ac_shift
1.150     moko     19708:     case $ac_optarg in
                   19709:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19710:     '') as_fn_error $? "missing file argument" ;;
                   19711:     esac
                   19712:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      19713:     ac_need_defaults=false;;
                   19714:   --header | --heade | --head | --hea )
                   19715:     $ac_shift
1.150     moko     19716:     case $ac_optarg in
                   19717:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19718:     esac
                   19719:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      19720:     ac_need_defaults=false;;
1.150     moko     19721:   --he | --h)
                   19722:     # Conflict between --help and --header
                   19723:     as_fn_error $? "ambiguous option: \`$1'
                   19724: Try \`$0 --help' for more information.";;
                   19725:   --help | --hel | -h )
                   19726:     $as_echo "$ac_cs_usage"; exit ;;
1.62      paf      19727:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   19728:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   19729:     ac_cs_silent=: ;;
                   19730: 
                   19731:   # This is an error.
1.150     moko     19732:   -*) as_fn_error $? "unrecognized option: \`$1'
                   19733: Try \`$0 --help' for more information." ;;
1.62      paf      19734: 
1.150     moko     19735:   *) as_fn_append ac_config_targets " $1"
                   19736:      ac_need_defaults=false ;;
1.62      paf      19737: 
                   19738:   esac
                   19739:   shift
                   19740: done
                   19741: 
                   19742: ac_configure_extra_args=
                   19743: 
                   19744: if $ac_cs_silent; then
                   19745:   exec 6>/dev/null
1.150     moko     19746:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   19747: fi
                   19748: 
                   19749: _ACEOF
                   19750: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19751: if \$ac_cs_recheck; then
1.166     moko     19752:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.150     moko     19753:   shift
                   19754:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   19755:   CONFIG_SHELL='$SHELL'
                   19756:   export CONFIG_SHELL
                   19757:   exec "\$@"
                   19758: fi
                   19759: 
                   19760: _ACEOF
                   19761: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19762: exec 5>>config.log
                   19763: {
                   19764:   echo
                   19765:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   19766: ## Running $as_me. ##
                   19767: _ASBOX
                   19768:   $as_echo "$ac_log"
                   19769: } >&5
1.62      paf      19770: 
                   19771: _ACEOF
1.150     moko     19772: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      19773: #
1.150     moko     19774: # INIT-COMMANDS
1.1       paf      19775: #
1.199     moko     19776: AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1.62      paf      19777: 
1.128     moko     19778: 
                   19779: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   19780: # if CDPATH is set.
                   19781: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   19782: 
                   19783: sed_quote_subst='$sed_quote_subst'
                   19784: double_quote_subst='$double_quote_subst'
                   19785: delay_variable_subst='$delay_variable_subst'
                   19786: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   19787: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   19788: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   19789: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   19790: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     19791: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     19792: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     19793: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     19794: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   19795: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   19796: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   19797: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   19798: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   19799: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   19800: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   19801: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   19802: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   19803: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   19804: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   19805: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   19806: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   19807: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   19808: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   19809: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   19810: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   19811: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   19812: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   19813: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   19814: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   19815: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   19816: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   19817: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   19818: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   19819: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   19820: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   19821: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   19822: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   19823: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   19824: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   19825: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   19826: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   19827: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   19828: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   19829: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   19830: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   19831: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   19832: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19833: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19834: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   19835: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   19836: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   19837: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   19838: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   19839: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   19840: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   19841: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   19842: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   19843: 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"`'
                   19844: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   19845: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   19846: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   19847: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   19848: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   19849: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   19850: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   19851: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   19852: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   19853: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   19854: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   19855: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   19856: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   19857: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   19858: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   19859: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   19860: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   19861: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   19862: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   19863: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   19864: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   19865: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19866: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19867: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   19868: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   19869: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   19870: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   19871: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   19872: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   19873: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   19874: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   19875: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   19876: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   19877: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19878: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   19879: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   19880: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   19881: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   19882: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   19883: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   19884: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   19885: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   19886: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   19887: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   19888: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   19889: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   19890: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   19891: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   19892: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   19893: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   19894: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   19895: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   19896: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   19897: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   19898: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   19899: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   19900: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   19901: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   19902: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   19903: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   19904: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19905: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19906: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   19907: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   19908: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   19909: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   19910: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   19911: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   19912: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   19913: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   19914: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   19915: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   19916: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   19917: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   19918: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   19919: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   19920: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   19921: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   19922: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   19923: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   19924: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19925: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19926: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19927: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   19928: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   19929: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19930: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   19931: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   19932: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   19933: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   19934: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   19935: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   19936: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19937: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19938: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   19939: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19940: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19941: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19942: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19943: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19944: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19945: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   19946: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19947: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19948: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19949: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   19950: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   19951: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   19952: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   19953: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   19954: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   19955: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   19956: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   19957: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   19958: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19959: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19960: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19961: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19962: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19963: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19964: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   19965: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   19966: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19967: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19968: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19969: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19970: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   19971: 
                   19972: LTCC='$LTCC'
                   19973: LTCFLAGS='$LTCFLAGS'
                   19974: compiler='$compiler_DEFAULT'
                   19975: 
                   19976: # A function that is used when there is no print builtin or printf.
                   19977: func_fallback_echo ()
                   19978: {
                   19979:   eval 'cat <<_LTECHO_EOF
                   19980: \$1
                   19981: _LTECHO_EOF'
                   19982: }
                   19983: 
                   19984: # Quote evaled strings.
                   19985: for var in AS \
                   19986: DLLTOOL \
                   19987: OBJDUMP \
                   19988: SHELL \
                   19989: ECHO \
                   19990: PATH_SEPARATOR \
                   19991: SED \
                   19992: GREP \
                   19993: EGREP \
                   19994: FGREP \
                   19995: LD \
                   19996: NM \
                   19997: LN_S \
                   19998: lt_SP2NL \
                   19999: lt_NL2SP \
                   20000: reload_flag \
                   20001: deplibs_check_method \
                   20002: file_magic_cmd \
                   20003: file_magic_glob \
                   20004: want_nocaseglob \
                   20005: sharedlib_from_linklib_cmd \
                   20006: AR \
                   20007: AR_FLAGS \
                   20008: archiver_list_spec \
                   20009: STRIP \
                   20010: RANLIB \
                   20011: CC \
                   20012: CFLAGS \
                   20013: compiler \
                   20014: lt_cv_sys_global_symbol_pipe \
                   20015: lt_cv_sys_global_symbol_to_cdecl \
                   20016: lt_cv_sys_global_symbol_to_c_name_address \
                   20017: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   20018: nm_file_list_spec \
                   20019: lt_prog_compiler_no_builtin_flag \
                   20020: lt_prog_compiler_pic \
                   20021: lt_prog_compiler_wl \
                   20022: lt_prog_compiler_static \
                   20023: lt_cv_prog_compiler_c_o \
                   20024: need_locks \
                   20025: MANIFEST_TOOL \
                   20026: DSYMUTIL \
                   20027: NMEDIT \
                   20028: LIPO \
                   20029: OTOOL \
                   20030: OTOOL64 \
                   20031: shrext_cmds \
                   20032: export_dynamic_flag_spec \
                   20033: whole_archive_flag_spec \
                   20034: compiler_needs_object \
                   20035: with_gnu_ld \
                   20036: allow_undefined_flag \
                   20037: no_undefined_flag \
                   20038: hardcode_libdir_flag_spec \
                   20039: hardcode_libdir_separator \
                   20040: exclude_expsyms \
                   20041: include_expsyms \
                   20042: file_list_spec \
                   20043: variables_saved_for_relink \
                   20044: libname_spec \
                   20045: library_names_spec \
                   20046: soname_spec \
                   20047: install_override_mode \
                   20048: finish_eval \
                   20049: old_striplib \
                   20050: striplib \
                   20051: compiler_lib_search_dirs \
                   20052: predep_objects \
                   20053: postdep_objects \
                   20054: predeps \
                   20055: postdeps \
                   20056: compiler_lib_search_path \
                   20057: LD_CXX \
                   20058: reload_flag_CXX \
                   20059: compiler_CXX \
                   20060: lt_prog_compiler_no_builtin_flag_CXX \
                   20061: lt_prog_compiler_pic_CXX \
                   20062: lt_prog_compiler_wl_CXX \
                   20063: lt_prog_compiler_static_CXX \
                   20064: lt_cv_prog_compiler_c_o_CXX \
                   20065: export_dynamic_flag_spec_CXX \
                   20066: whole_archive_flag_spec_CXX \
                   20067: compiler_needs_object_CXX \
                   20068: with_gnu_ld_CXX \
                   20069: allow_undefined_flag_CXX \
                   20070: no_undefined_flag_CXX \
                   20071: hardcode_libdir_flag_spec_CXX \
                   20072: hardcode_libdir_separator_CXX \
                   20073: exclude_expsyms_CXX \
                   20074: include_expsyms_CXX \
                   20075: file_list_spec_CXX \
                   20076: compiler_lib_search_dirs_CXX \
                   20077: predep_objects_CXX \
                   20078: postdep_objects_CXX \
                   20079: predeps_CXX \
                   20080: postdeps_CXX \
                   20081: compiler_lib_search_path_CXX; do
                   20082:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20083:     *[\\\\\\\`\\"\\\$]*)
                   20084:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   20085:       ;;
                   20086:     *)
                   20087:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20088:       ;;
                   20089:     esac
                   20090: done
                   20091: 
                   20092: # Double-quote double-evaled strings.
                   20093: for var in reload_cmds \
                   20094: old_postinstall_cmds \
                   20095: old_postuninstall_cmds \
                   20096: old_archive_cmds \
                   20097: extract_expsyms_cmds \
                   20098: old_archive_from_new_cmds \
                   20099: old_archive_from_expsyms_cmds \
                   20100: archive_cmds \
                   20101: archive_expsym_cmds \
                   20102: module_cmds \
                   20103: module_expsym_cmds \
                   20104: export_symbols_cmds \
                   20105: prelink_cmds \
                   20106: postlink_cmds \
                   20107: postinstall_cmds \
                   20108: postuninstall_cmds \
                   20109: finish_cmds \
                   20110: sys_lib_search_path_spec \
                   20111: sys_lib_dlsearch_path_spec \
                   20112: reload_cmds_CXX \
                   20113: old_archive_cmds_CXX \
                   20114: old_archive_from_new_cmds_CXX \
                   20115: old_archive_from_expsyms_cmds_CXX \
                   20116: archive_cmds_CXX \
                   20117: archive_expsym_cmds_CXX \
                   20118: module_cmds_CXX \
                   20119: module_expsym_cmds_CXX \
                   20120: export_symbols_cmds_CXX \
                   20121: prelink_cmds_CXX \
                   20122: postlink_cmds_CXX; do
                   20123:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20124:     *[\\\\\\\`\\"\\\$]*)
                   20125:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   20126:       ;;
                   20127:     *)
                   20128:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20129:       ;;
                   20130:     esac
                   20131: done
                   20132: 
                   20133: ac_aux_dir='$ac_aux_dir'
                   20134: xsi_shell='$xsi_shell'
                   20135: lt_shell_append='$lt_shell_append'
                   20136: 
                   20137: # See if we are running on zsh, and set the options which allow our
                   20138: # commands through without removal of \ escapes INIT.
                   20139: if test -n "\${ZSH_VERSION+set}" ; then
                   20140:    setopt NO_GLOB_SUBST
                   20141: fi
                   20142: 
                   20143: 
                   20144:     PACKAGE='$PACKAGE'
                   20145:     VERSION='$VERSION'
                   20146:     TIMESTAMP='$TIMESTAMP'
                   20147:     RM='$RM'
                   20148:     ofile='$ofile'
                   20149: 
                   20150: 
                   20151: 
                   20152: 
                   20153: 
                   20154: 
1.62      paf      20155: _ACEOF
                   20156: 
1.150     moko     20157: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      20158: 
1.150     moko     20159: # Handling of arguments.
1.62      paf      20160: for ac_config_target in $ac_config_targets
1.1       paf      20161: do
1.150     moko     20162:   case $ac_config_target in
                   20163:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   20164:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   20165:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   20166:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   20167:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   20168:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   20169:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   20170:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   20171:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   20172:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   20173:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   20174:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   20175:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
                   20176:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   20177:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   20178:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   20179:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   20180:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   20181:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
                   20182:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   20183:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   20184:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
                   20185:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.173     moko     20186:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
                   20187:     "src/lib/punycode/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/punycode/Makefile" ;;
1.150     moko     20188:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
                   20189:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   20190:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   20191:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
                   20192:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   20193:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   20194:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
1.200     moko     20195:     "etc/auto.p") CONFIG_FILES="$CONFIG_FILES etc/auto.p" ;;
1.150     moko     20196: 
                   20197:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       paf      20198:   esac
                   20199: done
                   20200: 
1.150     moko     20201: 
1.62      paf      20202: # If the user did not use the arguments to specify the items to instantiate,
                   20203: # then the envvar interface is used.  Set only those that are not.
                   20204: # We use the long form for the default assignment because of an extremely
                   20205: # bizarre bug on SunOS 4.1.3.
                   20206: if $ac_need_defaults; then
                   20207:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   20208:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   20209:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   20210: fi
                   20211: 
                   20212: # Have a temporary directory for convenience.  Make it in the build tree
1.150     moko     20213: # simply because there is no reason against having it here, and in addition,
1.62      paf      20214: # creating and moving files from /tmp can sometimes cause problems.
1.150     moko     20215: # Hook for its removal unless debugging.
                   20216: # Note that there is a small window in which the directory will not be cleaned:
                   20217: # after its creation but before its name has been assigned to `$tmp'.
1.62      paf      20218: $debug ||
                   20219: {
1.150     moko     20220:   tmp= ac_tmp=
                   20221:   trap 'exit_status=$?
                   20222:   : "${ac_tmp:=$tmp}"
                   20223:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   20224: ' 0
                   20225:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      20226: }
                   20227: # Create a (secure) tmp directory for tmp files.
                   20228: 
                   20229: {
1.150     moko     20230:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   20231:   test -d "$tmp"
1.62      paf      20232: }  ||
                   20233: {
1.150     moko     20234:   tmp=./conf$$-$RANDOM
                   20235:   (umask 077 && mkdir "$tmp")
                   20236: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   20237: ac_tmp=$tmp
                   20238: 
                   20239: # Set up the scripts for CONFIG_FILES section.
                   20240: # No need to generate them if there are no CONFIG_FILES.
                   20241: # This happens for instance with `./config.status config.h'.
                   20242: if test -n "$CONFIG_FILES"; then
                   20243: 
                   20244: 
                   20245: ac_cr=`echo X | tr X '\015'`
                   20246: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   20247: # But we know of no other shell where ac_cr would be empty at this
                   20248: # point, so we can use a bashism as a fallback.
                   20249: if test "x$ac_cr" = x; then
                   20250:   eval ac_cr=\$\'\\r\'
                   20251: fi
                   20252: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   20253: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   20254:   ac_cs_awk_cr='\\r'
                   20255: else
                   20256:   ac_cs_awk_cr=$ac_cr
                   20257: fi
                   20258: 
                   20259: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   20260: _ACEOF
                   20261: 
                   20262: 
1.62      paf      20263: {
1.150     moko     20264:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   20265:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   20266:   echo "_ACEOF"
                   20267: } >conf$$subs.sh ||
                   20268:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20269: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   20270: ac_delim='%!_!# '
                   20271: for ac_last_try in false false false false false :; do
                   20272:   . ./conf$$subs.sh ||
                   20273:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20274: 
                   20275:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   20276:   if test $ac_delim_n = $ac_delim_num; then
                   20277:     break
                   20278:   elif $ac_last_try; then
                   20279:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20280:   else
                   20281:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   20282:   fi
                   20283: done
                   20284: rm -f conf$$subs.sh
                   20285: 
                   20286: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20287: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   20288: _ACEOF
                   20289: sed -n '
                   20290: h
                   20291: s/^/S["/; s/!.*/"]=/
                   20292: p
                   20293: g
                   20294: s/^[^!]*!//
                   20295: :repl
                   20296: t repl
                   20297: s/'"$ac_delim"'$//
                   20298: t delim
                   20299: :nl
                   20300: h
                   20301: s/\(.\{148\}\)..*/\1/
                   20302: t more1
                   20303: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   20304: p
                   20305: n
                   20306: b repl
                   20307: :more1
                   20308: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   20309: p
                   20310: g
                   20311: s/.\{148\}//
                   20312: t nl
                   20313: :delim
                   20314: h
                   20315: s/\(.\{148\}\)..*/\1/
                   20316: t more2
                   20317: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   20318: p
                   20319: b
                   20320: :more2
                   20321: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   20322: p
                   20323: g
                   20324: s/.\{148\}//
                   20325: t delim
                   20326: ' <conf$$subs.awk | sed '
                   20327: /^[^""]/{
                   20328:   N
                   20329:   s/\n//
                   20330: }
                   20331: ' >>$CONFIG_STATUS || ac_write_fail=1
                   20332: rm -f conf$$subs.awk
                   20333: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20334: _ACAWK
                   20335: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   20336:   for (key in S) S_is_set[key] = 1
                   20337:   FS = ""
                   20338: 
                   20339: }
                   20340: {
                   20341:   line = $ 0
                   20342:   nfields = split(line, field, "@")
                   20343:   substed = 0
                   20344:   len = length(field[1])
                   20345:   for (i = 2; i < nfields; i++) {
                   20346:     key = field[i]
                   20347:     keylen = length(key)
                   20348:     if (S_is_set[key]) {
                   20349:       value = S[key]
                   20350:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   20351:       len += length(value) + length(field[++i])
                   20352:       substed = 1
                   20353:     } else
                   20354:       len += 1 + keylen
                   20355:   }
                   20356: 
                   20357:   print line
1.62      paf      20358: }
                   20359: 
1.150     moko     20360: _ACAWK
                   20361: _ACEOF
                   20362: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20363: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   20364:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   20365: else
                   20366:   cat
                   20367: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   20368:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      20369: _ACEOF
1.1       paf      20370: 
1.150     moko     20371: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   20372: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   20373: # trailing colons and then remove the whole line if VPATH becomes empty
                   20374: # (actually we leave an empty line to preserve line numbers).
                   20375: if test "x$srcdir" = x.; then
                   20376:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   20377: h
                   20378: s///
                   20379: s/^/:/
                   20380: s/[     ]*$/:/
                   20381: s/:\$(srcdir):/:/g
                   20382: s/:\${srcdir}:/:/g
                   20383: s/:@srcdir@:/:/g
                   20384: s/^:*//
                   20385: s/:*$//
                   20386: x
                   20387: s/\(=[  ]*\).*/\1/
                   20388: G
                   20389: s/\n//
                   20390: s/^[^=]*=[      ]*$//
                   20391: }'
                   20392: fi
1.62      paf      20393: 
1.150     moko     20394: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20395: fi # test -n "$CONFIG_FILES"
1.1       paf      20396: 
1.150     moko     20397: # Set up the scripts for CONFIG_HEADERS section.
                   20398: # No need to generate them if there are no CONFIG_HEADERS.
                   20399: # This happens for instance with `./config.status Makefile'.
                   20400: if test -n "$CONFIG_HEADERS"; then
                   20401: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   20402: BEGIN {
                   20403: _ACEOF
                   20404: 
                   20405: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   20406: # here-document in config.status, that substitutes the proper values into
                   20407: # config.h.in to produce config.h.
                   20408: 
                   20409: # Create a delimiter string that does not exist in confdefs.h, to ease
                   20410: # handling of long lines.
                   20411: ac_delim='%!_!# '
                   20412: for ac_last_try in false false :; do
                   20413:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   20414:   if test -z "$ac_tt"; then
                   20415:     break
                   20416:   elif $ac_last_try; then
                   20417:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   20418:   else
                   20419:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      20420:   fi
1.150     moko     20421: done
1.1       paf      20422: 
1.150     moko     20423: # For the awk script, D is an array of macro values keyed by name,
                   20424: # likewise P contains macro parameters if any.  Preserve backslash
                   20425: # newline sequences.
                   20426: 
                   20427: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   20428: sed -n '
                   20429: s/.\{148\}/&'"$ac_delim"'/g
                   20430: t rset
                   20431: :rset
                   20432: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   20433: t def
                   20434: d
                   20435: :def
                   20436: s/\\$//
                   20437: t bsnl
                   20438: s/["\\]/\\&/g
                   20439: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   20440: D["\1"]=" \3"/p
                   20441: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   20442: d
                   20443: :bsnl
                   20444: s/["\\]/\\&/g
                   20445: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   20446: D["\1"]=" \3\\\\\\n"\\/p
                   20447: t cont
                   20448: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   20449: t cont
                   20450: d
                   20451: :cont
                   20452: n
                   20453: s/.\{148\}/&'"$ac_delim"'/g
                   20454: t clear
                   20455: :clear
                   20456: s/\\$//
                   20457: t bsnlc
                   20458: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   20459: d
                   20460: :bsnlc
                   20461: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   20462: b cont
                   20463: ' <confdefs.h | sed '
                   20464: s/'"$ac_delim"'/"\\\
                   20465: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   20466: 
                   20467: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20468:   for (key in D) D_is_set[key] = 1
                   20469:   FS = ""
                   20470: }
                   20471: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   20472:   line = \$ 0
                   20473:   split(line, arg, " ")
                   20474:   if (arg[1] == "#") {
                   20475:     defundef = arg[2]
                   20476:     mac1 = arg[3]
                   20477:   } else {
                   20478:     defundef = substr(arg[1], 2)
                   20479:     mac1 = arg[2]
                   20480:   }
                   20481:   split(mac1, mac2, "(") #)
                   20482:   macro = mac2[1]
                   20483:   prefix = substr(line, 1, index(line, defundef) - 1)
                   20484:   if (D_is_set[macro]) {
                   20485:     # Preserve the white space surrounding the "#".
                   20486:     print prefix "define", macro P[macro] D[macro]
                   20487:     next
                   20488:   } else {
                   20489:     # Replace #undef with comments.  This is necessary, for example,
                   20490:     # in the case of _POSIX_SOURCE, which is predefined and required
                   20491:     # on some systems where configure will not decide to define it.
                   20492:     if (defundef == "undef") {
                   20493:       print "/*", prefix defundef, macro, "*/"
                   20494:       next
                   20495:     }
                   20496:   }
                   20497: }
                   20498: { print }
                   20499: _ACAWK
1.62      paf      20500: _ACEOF
1.150     moko     20501: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20502:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   20503: fi # test -n "$CONFIG_HEADERS"
                   20504: 
                   20505: 
                   20506: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   20507: shift
                   20508: for ac_tag
                   20509: do
                   20510:   case $ac_tag in
                   20511:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   20512:   esac
                   20513:   case $ac_mode$ac_tag in
                   20514:   :[FHL]*:*);;
                   20515:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   20516:   :[FH]-) ac_tag=-:-;;
                   20517:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   20518:   esac
                   20519:   ac_save_IFS=$IFS
                   20520:   IFS=:
                   20521:   set x $ac_tag
                   20522:   IFS=$ac_save_IFS
                   20523:   shift
                   20524:   ac_file=$1
                   20525:   shift
                   20526: 
                   20527:   case $ac_mode in
                   20528:   :L) ac_source=$1;;
                   20529:   :[FH])
                   20530:     ac_file_inputs=
                   20531:     for ac_f
                   20532:     do
                   20533:       case $ac_f in
                   20534:       -) ac_f="$ac_tmp/stdin";;
                   20535:       *) # Look for the file first in the build tree, then in the source tree
                   20536:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   20537:         # because $ac_f cannot contain `:'.
                   20538:         test -f "$ac_f" ||
                   20539:           case $ac_f in
                   20540:           [\\/$]*) false;;
                   20541:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   20542:           esac ||
                   20543:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   20544:       esac
                   20545:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   20546:       as_fn_append ac_file_inputs " '$ac_f'"
                   20547:     done
                   20548: 
                   20549:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   20550:     # use $as_me), people would be surprised to read:
                   20551:     #    /* config.h.  Generated by config.status.  */
                   20552:     configure_input='Generated from '`
                   20553:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   20554:        `' by configure.'
                   20555:     if test x"$ac_file" != x-; then
                   20556:       configure_input="$ac_file.  $configure_input"
                   20557:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   20558: $as_echo "$as_me: creating $ac_file" >&6;}
                   20559:     fi
                   20560:     # Neutralize special characters interpreted by sed in replacement strings.
                   20561:     case $configure_input in #(
                   20562:     *\&* | *\|* | *\\* )
                   20563:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   20564:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   20565:     *) ac_sed_conf_input=$configure_input;;
                   20566:     esac
                   20567: 
                   20568:     case $ac_tag in
                   20569:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   20570:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   20571:     esac
                   20572:     ;;
1.1       paf      20573:   esac
                   20574: 
1.150     moko     20575:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      20576: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      20577:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   20578:         X"$ac_file" : 'X\(//\)$' \| \
1.150     moko     20579:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   20580: $as_echo X"$ac_file" |
                   20581:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20582:            s//\1/
                   20583:            q
                   20584:          }
                   20585:          /^X\(\/\/\)[^/].*/{
                   20586:            s//\1/
                   20587:            q
                   20588:          }
                   20589:          /^X\(\/\/\)$/{
                   20590:            s//\1/
                   20591:            q
                   20592:          }
                   20593:          /^X\(\/\).*/{
                   20594:            s//\1/
                   20595:            q
                   20596:          }
                   20597:          s/.*/./; q'`
                   20598:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      20599:   ac_builddir=.
                   20600: 
1.150     moko     20601: case "$ac_dir" in
                   20602: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20603: *)
                   20604:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   20605:   # A ".." for each directory in $ac_dir_suffix.
                   20606:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   20607:   case $ac_top_builddir_sub in
                   20608:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20609:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   20610:   esac ;;
                   20611: esac
                   20612: ac_abs_top_builddir=$ac_pwd
                   20613: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   20614: # for backward compatibility:
                   20615: ac_top_builddir=$ac_top_build_prefix
1.62      paf      20616: 
                   20617: case $srcdir in
1.150     moko     20618:   .)  # We are building in place.
1.62      paf      20619:     ac_srcdir=.
1.150     moko     20620:     ac_top_srcdir=$ac_top_builddir_sub
                   20621:     ac_abs_top_srcdir=$ac_pwd ;;
                   20622:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      20623:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     20624:     ac_top_srcdir=$srcdir
                   20625:     ac_abs_top_srcdir=$srcdir ;;
                   20626:   *) # Relative name.
                   20627:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   20628:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   20629:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      20630: esac
1.150     moko     20631: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      20632: 
1.62      paf      20633: 
1.150     moko     20634:   case $ac_mode in
                   20635:   :F)
                   20636:   #
                   20637:   # CONFIG_FILE
                   20638:   #
1.1       paf      20639: 
1.62      paf      20640:   case $INSTALL in
                   20641:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150     moko     20642:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      20643:   esac
1.150     moko     20644:   ac_MKDIR_P=$MKDIR_P
                   20645:   case $MKDIR_P in
                   20646:   [\\/$]* | ?:[\\/]* ) ;;
                   20647:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   20648:   esac
                   20649: _ACEOF
1.1       paf      20650: 
1.150     moko     20651: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20652: # If the template does not know about datarootdir, expand it.
                   20653: # FIXME: This hack should be removed a few years after 2.60.
                   20654: ac_datarootdir_hack=; ac_datarootdir_seen=
                   20655: ac_sed_dataroot='
                   20656: /datarootdir/ {
                   20657:   p
                   20658:   q
                   20659: }
                   20660: /@datadir@/p
                   20661: /@docdir@/p
                   20662: /@infodir@/p
                   20663: /@localedir@/p
                   20664: /@mandir@/p'
                   20665: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   20666: *datarootdir*) ac_datarootdir_seen=yes;;
                   20667: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   20668:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   20669: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   20670: _ACEOF
                   20671: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20672:   ac_datarootdir_hack='
                   20673:   s&@datadir@&$datadir&g
                   20674:   s&@docdir@&$docdir&g
                   20675:   s&@infodir@&$infodir&g
                   20676:   s&@localedir@&$localedir&g
                   20677:   s&@mandir@&$mandir&g
                   20678:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   20679: esac
                   20680: _ACEOF
1.62      paf      20681: 
1.150     moko     20682: # Neutralize VPATH when `$srcdir' = `.'.
                   20683: # Shell code in configure.ac might set extrasub.
                   20684: # FIXME: do we really want to maintain this feature?
                   20685: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20686: ac_sed_extra="$ac_vpsub
1.62      paf      20687: $extrasub
                   20688: _ACEOF
1.150     moko     20689: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      20690: :t
                   20691: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150     moko     20692: s|@configure_input@|$ac_sed_conf_input|;t t
                   20693: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   20694: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   20695: s&@srcdir@&$ac_srcdir&;t t
                   20696: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   20697: s&@top_srcdir@&$ac_top_srcdir&;t t
                   20698: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   20699: s&@builddir@&$ac_builddir&;t t
                   20700: s&@abs_builddir@&$ac_abs_builddir&;t t
                   20701: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   20702: s&@INSTALL@&$ac_INSTALL&;t t
                   20703: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   20704: $ac_datarootdir_hack
                   20705: "
                   20706: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   20707:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20708: 
                   20709: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   20710:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   20711:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   20712:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   20713:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   20714: which seems to be undefined.  Please make sure it is defined" >&5
                   20715: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   20716: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      20717: 
1.150     moko     20718:   rm -f "$ac_tmp/stdin"
1.62      paf      20719:   case $ac_file in
1.150     moko     20720:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   20721:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   20722:   esac \
                   20723:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20724:  ;;
                   20725:   :H)
                   20726:   #
                   20727:   # CONFIG_HEADER
                   20728:   #
1.62      paf      20729:   if test x"$ac_file" != x-; then
1.150     moko     20730:     {
                   20731:       $as_echo "/* $configure_input  */" \
                   20732:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   20733:     } >"$ac_tmp/config.h" \
                   20734:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20735:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   20736:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   20737: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      20738:     else
1.150     moko     20739:       rm -f "$ac_file"
                   20740:       mv "$ac_tmp/config.h" "$ac_file" \
                   20741:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      20742:     fi
                   20743:   else
1.150     moko     20744:     $as_echo "/* $configure_input  */" \
                   20745:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   20746:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      20747:   fi
1.150     moko     20748: # Compute "$ac_file"'s index in $config_headers.
                   20749: _am_arg="$ac_file"
1.86      paf      20750: _am_stamp_count=1
                   20751: for _am_header in $config_headers :; do
                   20752:   case $_am_header in
1.150     moko     20753:     $_am_arg | $_am_arg:* )
1.86      paf      20754:       break ;;
                   20755:     * )
                   20756:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   20757:   esac
                   20758: done
1.150     moko     20759: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   20760: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   20761:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   20762:         X"$_am_arg" : 'X\(//\)$' \| \
                   20763:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   20764: $as_echo X"$_am_arg" |
                   20765:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20766:            s//\1/
                   20767:            q
                   20768:          }
                   20769:          /^X\(\/\/\)[^/].*/{
                   20770:            s//\1/
                   20771:            q
                   20772:          }
                   20773:          /^X\(\/\/\)$/{
                   20774:            s//\1/
                   20775:            q
                   20776:          }
                   20777:          /^X\(\/\).*/{
                   20778:            s//\1/
                   20779:            q
                   20780:          }
                   20781:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   20782:  ;;
1.62      paf      20783: 
1.150     moko     20784:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   20785: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   20786:  ;;
                   20787:   esac
1.86      paf      20788: 
1.62      paf      20789: 
1.150     moko     20790:   case $ac_file$ac_mode in
                   20791:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.187     moko     20792:   # Older Autoconf quotes --file arguments for eval, but not when files
1.150     moko     20793:   # are listed without --file.  Let's play safe and only enable the eval
                   20794:   # if we detect the quoting.
1.199     moko     20795:   # TODO: see whether this extra hack can be removed once we start
                   20796:   # requiring Autoconf 2.70 or later.
                   20797:   case $CONFIG_FILES in #(
                   20798:   *\'*) :
                   20799:     eval set x "$CONFIG_FILES" ;; #(
                   20800:   *) :
                   20801:     set x $CONFIG_FILES ;; #(
                   20802:   *) :
                   20803:      ;;
                   20804: esac
1.150     moko     20805:   shift
1.199     moko     20806:   # Used to flag and report bootstrapping failures.
                   20807:   am_rc=0
                   20808:   for am_mf
1.150     moko     20809:   do
                   20810:     # Strip MF so we end up with the name of the file.
1.199     moko     20811:     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
                   20812:     # Check whether this is an Automake generated Makefile which includes
                   20813:     # dependency-tracking related rules and includes.
                   20814:     # Grep'ing the whole file directly is not great: AIX grep has a line
1.150     moko     20815:     # limit of 2048, but all sed's we know have understand at least 4000.
1.199     moko     20816:     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
                   20817:       || continue
                   20818:     am_dirpart=`$as_dirname -- "$am_mf" ||
                   20819: $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   20820:         X"$am_mf" : 'X\(//\)[^/]' \| \
                   20821:         X"$am_mf" : 'X\(//\)$' \| \
                   20822:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
                   20823: $as_echo X"$am_mf" |
1.150     moko     20824:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20825:            s//\1/
                   20826:            q
                   20827:          }
                   20828:          /^X\(\/\/\)[^/].*/{
                   20829:            s//\1/
                   20830:            q
                   20831:          }
                   20832:          /^X\(\/\/\)$/{
                   20833:            s//\1/
                   20834:            q
                   20835:          }
                   20836:          /^X\(\/\).*/{
                   20837:            s//\1/
                   20838:            q
                   20839:          }
                   20840:          s/.*/./; q'`
1.199     moko     20841:     am_filepart=`$as_basename -- "$am_mf" ||
                   20842: $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
                   20843:         X"$am_mf" : 'X\(//\)$' \| \
                   20844:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
                   20845: $as_echo X/"$am_mf" |
                   20846:     sed '/^.*\/\([^/][^/]*\)\/*$/{
1.150     moko     20847:            s//\1/
                   20848:            q
                   20849:          }
1.199     moko     20850:          /^X\/\(\/\/\)$/{
1.150     moko     20851:            s//\1/
                   20852:            q
                   20853:          }
1.199     moko     20854:          /^X\/\(\/\).*/{
1.150     moko     20855:            s//\1/
                   20856:            q
                   20857:          }
                   20858:          s/.*/./; q'`
1.199     moko     20859:     { echo "$as_me:$LINENO: cd "$am_dirpart" \
                   20860:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   20861:         | $MAKE -f - am--depfiles" >&5
                   20862:    (cd "$am_dirpart" \
                   20863:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   20864:         | $MAKE -f - am--depfiles) >&5 2>&5
                   20865:    ac_status=$?
                   20866:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   20867:    (exit $ac_status); } || am_rc=$?
1.62      paf      20868:   done
1.199     moko     20869:   if test $am_rc -ne 0; then
                   20870:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   20871: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   20872: as_fn_error $? "Something went wrong bootstrapping makefile fragments
1.216     moko     20873:     for automatic dependency tracking.  If GNU make was not used, consider
                   20874:     re-running the configure script with MAKE=\"gmake\" (or whatever is
                   20875:     necessary).  You can also try re-running configure with the
1.199     moko     20876:     '--disable-dependency-tracking' option to at least be able to build
                   20877:     the package (albeit without support for automatic dependency tracking).
                   20878: See \`config.log' for more details" "$LINENO" 5; }
                   20879:   fi
                   20880:   { am_dirpart=; unset am_dirpart;}
                   20881:   { am_filepart=; unset am_filepart;}
                   20882:   { am_mf=; unset am_mf;}
                   20883:   { am_rc=; unset am_rc;}
                   20884:   rm -f conftest-deps.mk
1.150     moko     20885: }
1.62      paf      20886:  ;;
1.150     moko     20887:     "libtool":C)
1.128     moko     20888: 
                   20889:     # See if we are running on zsh, and set the options which allow our
                   20890:     # commands through without removal of \ escapes.
                   20891:     if test -n "${ZSH_VERSION+set}" ; then
                   20892:       setopt NO_GLOB_SUBST
                   20893:     fi
                   20894: 
                   20895:     cfgfile="${ofile}T"
                   20896:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   20897:     $RM "$cfgfile"
                   20898: 
                   20899:     cat <<_LT_EOF >> "$cfgfile"
                   20900: #! $SHELL
                   20901: 
                   20902: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   20903: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   20904: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   20905: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   20906: #
                   20907: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   20908: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   20909: #                 Foundation, Inc.
                   20910: #   Written by Gordon Matzigkeit, 1996
                   20911: #
                   20912: #   This file is part of GNU Libtool.
                   20913: #
                   20914: # GNU Libtool is free software; you can redistribute it and/or
                   20915: # modify it under the terms of the GNU General Public License as
                   20916: # published by the Free Software Foundation; either version 2 of
                   20917: # the License, or (at your option) any later version.
                   20918: #
                   20919: # As a special exception to the GNU General Public License,
                   20920: # if you distribute this file as part of a program or library that
                   20921: # is built using GNU Libtool, you may include this file under the
                   20922: # same distribution terms that you use for the rest of that program.
                   20923: #
                   20924: # GNU Libtool is distributed in the hope that it will be useful,
                   20925: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   20926: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   20927: # GNU General Public License for more details.
                   20928: #
                   20929: # You should have received a copy of the GNU General Public License
                   20930: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   20931: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   20932: # obtained by writing to the Free Software Foundation, Inc.,
                   20933: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   20934: 
                   20935: 
                   20936: # The names of the tagged configurations supported by this script.
                   20937: available_tags="CXX "
                   20938: 
                   20939: # ### BEGIN LIBTOOL CONFIG
                   20940: 
                   20941: # Which release of libtool.m4 was used?
                   20942: macro_version=$macro_version
                   20943: macro_revision=$macro_revision
                   20944: 
                   20945: # Assembler program.
                   20946: AS=$lt_AS
                   20947: 
                   20948: # DLL creation program.
                   20949: DLLTOOL=$lt_DLLTOOL
                   20950: 
                   20951: # Object dumper program.
                   20952: OBJDUMP=$lt_OBJDUMP
                   20953: 
1.145     moko     20954: # What type of objects to build.
                   20955: pic_mode=$pic_mode
                   20956: 
1.128     moko     20957: # Whether or not to build shared libraries.
                   20958: build_libtool_libs=$enable_shared
                   20959: 
1.138     moko     20960: # Whether or not to build static libraries.
                   20961: build_old_libs=$enable_static
                   20962: 
1.128     moko     20963: # Whether or not to optimize for fast installation.
                   20964: fast_install=$enable_fast_install
                   20965: 
                   20966: # Shell to use when invoking shell scripts.
                   20967: SHELL=$lt_SHELL
                   20968: 
                   20969: # An echo program that protects backslashes.
                   20970: ECHO=$lt_ECHO
                   20971: 
                   20972: # The PATH separator for the build system.
                   20973: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   20974: 
                   20975: # The host system.
                   20976: host_alias=$host_alias
                   20977: host=$host
                   20978: host_os=$host_os
                   20979: 
                   20980: # The build system.
                   20981: build_alias=$build_alias
                   20982: build=$build
                   20983: build_os=$build_os
                   20984: 
                   20985: # A sed program that does not truncate output.
                   20986: SED=$lt_SED
                   20987: 
                   20988: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   20989: Xsed="\$SED -e 1s/^X//"
                   20990: 
                   20991: # A grep program that handles long lines.
                   20992: GREP=$lt_GREP
                   20993: 
                   20994: # An ERE matcher.
                   20995: EGREP=$lt_EGREP
                   20996: 
                   20997: # A literal string matcher.
                   20998: FGREP=$lt_FGREP
                   20999: 
                   21000: # A BSD- or MS-compatible name lister.
                   21001: NM=$lt_NM
                   21002: 
                   21003: # Whether we need soft or hard links.
                   21004: LN_S=$lt_LN_S
                   21005: 
                   21006: # What is the maximum length of a command?
                   21007: max_cmd_len=$max_cmd_len
                   21008: 
                   21009: # Object file suffix (normally "o").
                   21010: objext=$ac_objext
                   21011: 
                   21012: # Executable file suffix (normally "").
                   21013: exeext=$exeext
                   21014: 
                   21015: # whether the shell understands "unset".
                   21016: lt_unset=$lt_unset
                   21017: 
                   21018: # turn spaces into newlines.
                   21019: SP2NL=$lt_lt_SP2NL
                   21020: 
                   21021: # turn newlines into spaces.
                   21022: NL2SP=$lt_lt_NL2SP
                   21023: 
                   21024: # convert \$build file names to \$host format.
                   21025: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   21026: 
                   21027: # convert \$build files to toolchain format.
                   21028: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   21029: 
                   21030: # Method to check whether dependent libraries are shared objects.
                   21031: deplibs_check_method=$lt_deplibs_check_method
                   21032: 
                   21033: # Command to use when deplibs_check_method = "file_magic".
                   21034: file_magic_cmd=$lt_file_magic_cmd
                   21035: 
                   21036: # How to find potential files when deplibs_check_method = "file_magic".
                   21037: file_magic_glob=$lt_file_magic_glob
                   21038: 
                   21039: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   21040: want_nocaseglob=$lt_want_nocaseglob
                   21041: 
                   21042: # Command to associate shared and link libraries.
                   21043: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   21044: 
                   21045: # The archiver.
                   21046: AR=$lt_AR
                   21047: 
                   21048: # Flags to create an archive.
                   21049: AR_FLAGS=$lt_AR_FLAGS
                   21050: 
                   21051: # How to feed a file listing to the archiver.
                   21052: archiver_list_spec=$lt_archiver_list_spec
                   21053: 
                   21054: # A symbol stripping program.
                   21055: STRIP=$lt_STRIP
                   21056: 
                   21057: # Commands used to install an old-style archive.
                   21058: RANLIB=$lt_RANLIB
                   21059: old_postinstall_cmds=$lt_old_postinstall_cmds
                   21060: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   21061: 
                   21062: # Whether to use a lock for old archive extraction.
                   21063: lock_old_archive_extraction=$lock_old_archive_extraction
                   21064: 
                   21065: # A C compiler.
                   21066: LTCC=$lt_CC
                   21067: 
                   21068: # LTCC compiler flags.
                   21069: LTCFLAGS=$lt_CFLAGS
                   21070: 
                   21071: # Take the output of nm and produce a listing of raw symbols and C names.
                   21072: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   21073: 
                   21074: # Transform the output of nm in a proper C declaration.
                   21075: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   21076: 
                   21077: # Transform the output of nm in a C name address pair.
                   21078: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   21079: 
                   21080: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   21081: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   21082: 
                   21083: # Specify filename containing input files for \$NM.
                   21084: nm_file_list_spec=$lt_nm_file_list_spec
                   21085: 
                   21086: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   21087: lt_sysroot=$lt_sysroot
                   21088: 
                   21089: # The name of the directory that contains temporary libtool files.
                   21090: objdir=$objdir
                   21091: 
                   21092: # Used to examine libraries when file_magic_cmd begins with "file".
                   21093: MAGIC_CMD=$MAGIC_CMD
                   21094: 
                   21095: # Must we lock files when doing compilation?
                   21096: need_locks=$lt_need_locks
                   21097: 
                   21098: # Manifest tool.
                   21099: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   21100: 
                   21101: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   21102: DSYMUTIL=$lt_DSYMUTIL
                   21103: 
                   21104: # Tool to change global to local symbols on Mac OS X.
                   21105: NMEDIT=$lt_NMEDIT
                   21106: 
                   21107: # Tool to manipulate fat objects and archives on Mac OS X.
                   21108: LIPO=$lt_LIPO
                   21109: 
                   21110: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   21111: OTOOL=$lt_OTOOL
                   21112: 
                   21113: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   21114: OTOOL64=$lt_OTOOL64
                   21115: 
                   21116: # Old archive suffix (normally "a").
                   21117: libext=$libext
                   21118: 
                   21119: # Shared library suffix (normally ".so").
                   21120: shrext_cmds=$lt_shrext_cmds
                   21121: 
                   21122: # The commands to extract the exported symbol list from a shared archive.
                   21123: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   21124: 
                   21125: # Variables whose values should be saved in libtool wrapper scripts and
                   21126: # restored at link time.
                   21127: variables_saved_for_relink=$lt_variables_saved_for_relink
                   21128: 
                   21129: # Do we need the "lib" prefix for modules?
                   21130: need_lib_prefix=$need_lib_prefix
                   21131: 
                   21132: # Do we need a version for libraries?
                   21133: need_version=$need_version
                   21134: 
                   21135: # Library versioning type.
                   21136: version_type=$version_type
                   21137: 
                   21138: # Shared library runtime path variable.
                   21139: runpath_var=$runpath_var
                   21140: 
                   21141: # Shared library path variable.
                   21142: shlibpath_var=$shlibpath_var
                   21143: 
                   21144: # Is shlibpath searched before the hard-coded library search path?
                   21145: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   21146: 
                   21147: # Format of library name prefix.
                   21148: libname_spec=$lt_libname_spec
                   21149: 
                   21150: # List of archive names.  First name is the real one, the rest are links.
                   21151: # The last name is the one that the linker finds with -lNAME
                   21152: library_names_spec=$lt_library_names_spec
                   21153: 
                   21154: # The coded name of the library, if different from the real name.
                   21155: soname_spec=$lt_soname_spec
                   21156: 
                   21157: # Permission mode override for installation of shared libraries.
                   21158: install_override_mode=$lt_install_override_mode
                   21159: 
                   21160: # Command to use after installation of a shared archive.
                   21161: postinstall_cmds=$lt_postinstall_cmds
                   21162: 
                   21163: # Command to use after uninstallation of a shared archive.
                   21164: postuninstall_cmds=$lt_postuninstall_cmds
                   21165: 
                   21166: # Commands used to finish a libtool library installation in a directory.
                   21167: finish_cmds=$lt_finish_cmds
                   21168: 
                   21169: # As "finish_cmds", except a single script fragment to be evaled but
                   21170: # not shown.
                   21171: finish_eval=$lt_finish_eval
                   21172: 
                   21173: # Whether we should hardcode library paths into libraries.
                   21174: hardcode_into_libs=$hardcode_into_libs
                   21175: 
                   21176: # Compile-time system search path for libraries.
                   21177: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   21178: 
                   21179: # Run-time system search path for libraries.
                   21180: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   21181: 
                   21182: # Whether dlopen is supported.
                   21183: dlopen_support=$enable_dlopen
                   21184: 
                   21185: # Whether dlopen of programs is supported.
                   21186: dlopen_self=$enable_dlopen_self
                   21187: 
                   21188: # Whether dlopen of statically linked programs is supported.
                   21189: dlopen_self_static=$enable_dlopen_self_static
                   21190: 
                   21191: # Commands to strip libraries.
                   21192: old_striplib=$lt_old_striplib
                   21193: striplib=$lt_striplib
                   21194: 
                   21195: 
                   21196: # The linker used to build libraries.
                   21197: LD=$lt_LD
                   21198: 
                   21199: # How to create reloadable object files.
                   21200: reload_flag=$lt_reload_flag
                   21201: reload_cmds=$lt_reload_cmds
                   21202: 
                   21203: # Commands used to build an old-style archive.
                   21204: old_archive_cmds=$lt_old_archive_cmds
                   21205: 
                   21206: # A language specific compiler.
                   21207: CC=$lt_compiler
                   21208: 
                   21209: # Is the compiler the GNU compiler?
                   21210: with_gcc=$GCC
                   21211: 
                   21212: # Compiler flag to turn off builtin functions.
                   21213: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   21214: 
                   21215: # Additional compiler flags for building library objects.
                   21216: pic_flag=$lt_lt_prog_compiler_pic
                   21217: 
                   21218: # How to pass a linker flag through the compiler.
                   21219: wl=$lt_lt_prog_compiler_wl
                   21220: 
                   21221: # Compiler flag to prevent dynamic linking.
                   21222: link_static_flag=$lt_lt_prog_compiler_static
                   21223: 
                   21224: # Does compiler simultaneously support -c and -o options?
                   21225: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   21226: 
                   21227: # Whether or not to add -lc for building shared libraries.
                   21228: build_libtool_need_lc=$archive_cmds_need_lc
                   21229: 
                   21230: # Whether or not to disallow shared libs when runtime libs are static.
                   21231: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   21232: 
                   21233: # Compiler flag to allow reflexive dlopens.
                   21234: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   21235: 
                   21236: # Compiler flag to generate shared objects directly from archives.
                   21237: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   21238: 
                   21239: # Whether the compiler copes with passing no objects directly.
                   21240: compiler_needs_object=$lt_compiler_needs_object
                   21241: 
                   21242: # Create an old-style archive from a shared archive.
                   21243: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   21244: 
                   21245: # Create a temporary old-style archive to link instead of a shared archive.
                   21246: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   21247: 
                   21248: # Commands used to build a shared archive.
                   21249: archive_cmds=$lt_archive_cmds
                   21250: archive_expsym_cmds=$lt_archive_expsym_cmds
                   21251: 
                   21252: # Commands used to build a loadable module if different from building
                   21253: # a shared archive.
                   21254: module_cmds=$lt_module_cmds
                   21255: module_expsym_cmds=$lt_module_expsym_cmds
                   21256: 
                   21257: # Whether we are building with GNU ld or not.
                   21258: with_gnu_ld=$lt_with_gnu_ld
                   21259: 
                   21260: # Flag that allows shared libraries with undefined symbols to be built.
                   21261: allow_undefined_flag=$lt_allow_undefined_flag
                   21262: 
                   21263: # Flag that enforces no undefined symbols.
                   21264: no_undefined_flag=$lt_no_undefined_flag
                   21265: 
                   21266: # Flag to hardcode \$libdir into a binary during linking.
                   21267: # This must work even if \$libdir does not exist
                   21268: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   21269: 
                   21270: # Whether we need a single "-rpath" flag with a separated argument.
                   21271: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   21272: 
                   21273: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21274: # DIR into the resulting binary.
                   21275: hardcode_direct=$hardcode_direct
                   21276: 
                   21277: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21278: # DIR into the resulting binary and the resulting library dependency is
                   21279: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   21280: # library is relocated.
                   21281: hardcode_direct_absolute=$hardcode_direct_absolute
                   21282: 
                   21283: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   21284: # into the resulting binary.
                   21285: hardcode_minus_L=$hardcode_minus_L
                   21286: 
                   21287: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   21288: # into the resulting binary.
                   21289: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   21290: 
                   21291: # Set to "yes" if building a shared library automatically hardcodes DIR
                   21292: # into the library and all subsequent libraries and executables linked
                   21293: # against it.
                   21294: hardcode_automatic=$hardcode_automatic
                   21295: 
                   21296: # Set to yes if linker adds runtime paths of dependent libraries
                   21297: # to runtime path list.
                   21298: inherit_rpath=$inherit_rpath
                   21299: 
                   21300: # Whether libtool must link a program against all its dependency libraries.
                   21301: link_all_deplibs=$link_all_deplibs
                   21302: 
                   21303: # Set to "yes" if exported symbols are required.
                   21304: always_export_symbols=$always_export_symbols
                   21305: 
                   21306: # The commands to list exported symbols.
                   21307: export_symbols_cmds=$lt_export_symbols_cmds
                   21308: 
                   21309: # Symbols that should not be listed in the preloaded symbols.
                   21310: exclude_expsyms=$lt_exclude_expsyms
                   21311: 
                   21312: # Symbols that must always be exported.
                   21313: include_expsyms=$lt_include_expsyms
                   21314: 
                   21315: # Commands necessary for linking programs (against libraries) with templates.
                   21316: prelink_cmds=$lt_prelink_cmds
                   21317: 
                   21318: # Commands necessary for finishing linking programs.
                   21319: postlink_cmds=$lt_postlink_cmds
                   21320: 
                   21321: # Specify filename containing input files.
                   21322: file_list_spec=$lt_file_list_spec
                   21323: 
                   21324: # How to hardcode a shared library path into an executable.
                   21325: hardcode_action=$hardcode_action
                   21326: 
                   21327: # The directories searched by this compiler when creating a shared library.
                   21328: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   21329: 
                   21330: # Dependencies to place before and after the objects being linked to
                   21331: # create a shared library.
                   21332: predep_objects=$lt_predep_objects
                   21333: postdep_objects=$lt_postdep_objects
                   21334: predeps=$lt_predeps
                   21335: postdeps=$lt_postdeps
                   21336: 
                   21337: # The library search path used internally by the compiler when linking
                   21338: # a shared library.
                   21339: compiler_lib_search_path=$lt_compiler_lib_search_path
                   21340: 
                   21341: # ### END LIBTOOL CONFIG
                   21342: 
                   21343: _LT_EOF
                   21344: 
                   21345:   case $host_os in
                   21346:   aix3*)
                   21347:     cat <<\_LT_EOF >> "$cfgfile"
                   21348: # AIX sometimes has problems with the GCC collect2 program.  For some
                   21349: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   21350: # vanish in a puff of smoke.
                   21351: if test "X${COLLECT_NAMES+set}" != Xset; then
                   21352:   COLLECT_NAMES=
                   21353:   export COLLECT_NAMES
                   21354: fi
                   21355: _LT_EOF
                   21356:     ;;
                   21357:   esac
                   21358: 
                   21359: 
                   21360: ltmain="$ac_aux_dir/ltmain.sh"
                   21361: 
                   21362: 
                   21363:   # We use sed instead of cat because bash on DJGPP gets confused if
                   21364:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   21365:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   21366:   # is reportedly fixed, but why not run on old versions too?
                   21367:   sed '$q' "$ltmain" >> "$cfgfile" \
                   21368:      || (rm -f "$cfgfile"; exit 1)
                   21369: 
                   21370:   if test x"$xsi_shell" = xyes; then
                   21371:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   21372: func_dirname ()\
                   21373: {\
                   21374: \    case ${1} in\
                   21375: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   21376: \      *  ) func_dirname_result="${3}" ;;\
                   21377: \    esac\
                   21378: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   21379:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21380:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21381: test 0 -eq $? || _lt_function_replace_fail=:
                   21382: 
                   21383: 
                   21384:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   21385: func_basename ()\
                   21386: {\
                   21387: \    func_basename_result="${1##*/}"\
                   21388: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   21389:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21390:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21391: test 0 -eq $? || _lt_function_replace_fail=:
                   21392: 
                   21393: 
                   21394:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   21395: func_dirname_and_basename ()\
                   21396: {\
                   21397: \    case ${1} in\
                   21398: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   21399: \      *  ) func_dirname_result="${3}" ;;\
                   21400: \    esac\
                   21401: \    func_basename_result="${1##*/}"\
                   21402: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   21403:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21404:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21405: test 0 -eq $? || _lt_function_replace_fail=:
                   21406: 
                   21407: 
                   21408:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   21409: func_stripname ()\
                   21410: {\
                   21411: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   21412: \    # positional parameters, so assign one to ordinary parameter first.\
                   21413: \    func_stripname_result=${3}\
                   21414: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   21415: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   21416: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   21417:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21418:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21419: test 0 -eq $? || _lt_function_replace_fail=:
                   21420: 
                   21421: 
                   21422:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   21423: func_split_long_opt ()\
                   21424: {\
                   21425: \    func_split_long_opt_name=${1%%=*}\
                   21426: \    func_split_long_opt_arg=${1#*=}\
                   21427: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   21428:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21429:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21430: test 0 -eq $? || _lt_function_replace_fail=:
                   21431: 
                   21432: 
                   21433:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   21434: func_split_short_opt ()\
                   21435: {\
                   21436: \    func_split_short_opt_arg=${1#??}\
                   21437: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   21438: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   21439:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21440:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21441: test 0 -eq $? || _lt_function_replace_fail=:
                   21442: 
                   21443: 
                   21444:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   21445: func_lo2o ()\
                   21446: {\
                   21447: \    case ${1} in\
                   21448: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   21449: \      *)    func_lo2o_result=${1} ;;\
                   21450: \    esac\
                   21451: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   21452:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21453:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21454: test 0 -eq $? || _lt_function_replace_fail=:
                   21455: 
                   21456: 
                   21457:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   21458: func_xform ()\
                   21459: {\
                   21460:     func_xform_result=${1%.*}.lo\
                   21461: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   21462:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21463:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21464: test 0 -eq $? || _lt_function_replace_fail=:
                   21465: 
                   21466: 
                   21467:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   21468: func_arith ()\
                   21469: {\
                   21470:     func_arith_result=$(( $* ))\
                   21471: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   21472:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21473:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21474: test 0 -eq $? || _lt_function_replace_fail=:
                   21475: 
                   21476: 
                   21477:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   21478: func_len ()\
                   21479: {\
                   21480:     func_len_result=${#1}\
                   21481: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   21482:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21483:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21484: test 0 -eq $? || _lt_function_replace_fail=:
                   21485: 
                   21486: fi
                   21487: 
                   21488: if test x"$lt_shell_append" = xyes; then
                   21489:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   21490: func_append ()\
                   21491: {\
                   21492:     eval "${1}+=\\${2}"\
                   21493: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   21494:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21495:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21496: test 0 -eq $? || _lt_function_replace_fail=:
                   21497: 
                   21498: 
                   21499:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   21500: func_append_quoted ()\
                   21501: {\
                   21502: \    func_quote_for_eval "${2}"\
                   21503: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   21504: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   21505:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21506:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21507: test 0 -eq $? || _lt_function_replace_fail=:
                   21508: 
                   21509: 
                   21510:   # Save a `func_append' function call where possible by direct use of '+='
                   21511:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   21512:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21513:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21514:   test 0 -eq $? || _lt_function_replace_fail=:
                   21515: else
                   21516:   # Save a `func_append' function call even when '+=' is not available
                   21517:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   21518:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21519:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21520:   test 0 -eq $? || _lt_function_replace_fail=:
                   21521: fi
                   21522: 
                   21523: if test x"$_lt_function_replace_fail" = x":"; then
1.150     moko     21524:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   21525: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.128     moko     21526: fi
                   21527: 
                   21528: 
                   21529:    mv -f "$cfgfile" "$ofile" ||
                   21530:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   21531:   chmod +x "$ofile"
                   21532: 
                   21533: 
                   21534:     cat <<_LT_EOF >> "$ofile"
                   21535: 
                   21536: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   21537: 
                   21538: # The linker used to build libraries.
                   21539: LD=$lt_LD_CXX
                   21540: 
                   21541: # How to create reloadable object files.
                   21542: reload_flag=$lt_reload_flag_CXX
                   21543: reload_cmds=$lt_reload_cmds_CXX
                   21544: 
                   21545: # Commands used to build an old-style archive.
                   21546: old_archive_cmds=$lt_old_archive_cmds_CXX
                   21547: 
                   21548: # A language specific compiler.
                   21549: CC=$lt_compiler_CXX
                   21550: 
                   21551: # Is the compiler the GNU compiler?
                   21552: with_gcc=$GCC_CXX
                   21553: 
                   21554: # Compiler flag to turn off builtin functions.
                   21555: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   21556: 
                   21557: # Additional compiler flags for building library objects.
                   21558: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   21559: 
                   21560: # How to pass a linker flag through the compiler.
                   21561: wl=$lt_lt_prog_compiler_wl_CXX
                   21562: 
                   21563: # Compiler flag to prevent dynamic linking.
                   21564: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   21565: 
                   21566: # Does compiler simultaneously support -c and -o options?
                   21567: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   21568: 
                   21569: # Whether or not to add -lc for building shared libraries.
                   21570: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   21571: 
                   21572: # Whether or not to disallow shared libs when runtime libs are static.
                   21573: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   21574: 
                   21575: # Compiler flag to allow reflexive dlopens.
                   21576: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   21577: 
                   21578: # Compiler flag to generate shared objects directly from archives.
                   21579: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   21580: 
                   21581: # Whether the compiler copes with passing no objects directly.
                   21582: compiler_needs_object=$lt_compiler_needs_object_CXX
                   21583: 
                   21584: # Create an old-style archive from a shared archive.
                   21585: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   21586: 
                   21587: # Create a temporary old-style archive to link instead of a shared archive.
                   21588: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   21589: 
                   21590: # Commands used to build a shared archive.
                   21591: archive_cmds=$lt_archive_cmds_CXX
                   21592: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   21593: 
                   21594: # Commands used to build a loadable module if different from building
                   21595: # a shared archive.
                   21596: module_cmds=$lt_module_cmds_CXX
                   21597: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   21598: 
                   21599: # Whether we are building with GNU ld or not.
                   21600: with_gnu_ld=$lt_with_gnu_ld_CXX
                   21601: 
                   21602: # Flag that allows shared libraries with undefined symbols to be built.
                   21603: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   21604: 
                   21605: # Flag that enforces no undefined symbols.
                   21606: no_undefined_flag=$lt_no_undefined_flag_CXX
                   21607: 
                   21608: # Flag to hardcode \$libdir into a binary during linking.
                   21609: # This must work even if \$libdir does not exist
                   21610: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   21611: 
                   21612: # Whether we need a single "-rpath" flag with a separated argument.
                   21613: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   21614: 
                   21615: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21616: # DIR into the resulting binary.
                   21617: hardcode_direct=$hardcode_direct_CXX
                   21618: 
                   21619: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21620: # DIR into the resulting binary and the resulting library dependency is
                   21621: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   21622: # library is relocated.
                   21623: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   21624: 
                   21625: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   21626: # into the resulting binary.
                   21627: hardcode_minus_L=$hardcode_minus_L_CXX
                   21628: 
                   21629: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   21630: # into the resulting binary.
                   21631: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   21632: 
                   21633: # Set to "yes" if building a shared library automatically hardcodes DIR
                   21634: # into the library and all subsequent libraries and executables linked
                   21635: # against it.
                   21636: hardcode_automatic=$hardcode_automatic_CXX
                   21637: 
                   21638: # Set to yes if linker adds runtime paths of dependent libraries
                   21639: # to runtime path list.
                   21640: inherit_rpath=$inherit_rpath_CXX
                   21641: 
                   21642: # Whether libtool must link a program against all its dependency libraries.
                   21643: link_all_deplibs=$link_all_deplibs_CXX
                   21644: 
                   21645: # Set to "yes" if exported symbols are required.
                   21646: always_export_symbols=$always_export_symbols_CXX
                   21647: 
                   21648: # The commands to list exported symbols.
                   21649: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   21650: 
                   21651: # Symbols that should not be listed in the preloaded symbols.
                   21652: exclude_expsyms=$lt_exclude_expsyms_CXX
                   21653: 
                   21654: # Symbols that must always be exported.
                   21655: include_expsyms=$lt_include_expsyms_CXX
                   21656: 
                   21657: # Commands necessary for linking programs (against libraries) with templates.
                   21658: prelink_cmds=$lt_prelink_cmds_CXX
                   21659: 
                   21660: # Commands necessary for finishing linking programs.
                   21661: postlink_cmds=$lt_postlink_cmds_CXX
                   21662: 
                   21663: # Specify filename containing input files.
                   21664: file_list_spec=$lt_file_list_spec_CXX
                   21665: 
                   21666: # How to hardcode a shared library path into an executable.
                   21667: hardcode_action=$hardcode_action_CXX
                   21668: 
                   21669: # The directories searched by this compiler when creating a shared library.
                   21670: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   21671: 
                   21672: # Dependencies to place before and after the objects being linked to
                   21673: # create a shared library.
                   21674: predep_objects=$lt_predep_objects_CXX
                   21675: postdep_objects=$lt_postdep_objects_CXX
                   21676: predeps=$lt_predeps_CXX
                   21677: postdeps=$lt_postdeps_CXX
                   21678: 
                   21679: # The library search path used internally by the compiler when linking
                   21680: # a shared library.
                   21681: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   21682: 
                   21683: # ### END LIBTOOL TAG CONFIG: CXX
                   21684: _LT_EOF
                   21685: 
                   21686:  ;;
1.150     moko     21687: 
1.62      paf      21688:   esac
1.150     moko     21689: done # for ac_tag
1.62      paf      21690: 
                   21691: 
1.150     moko     21692: as_fn_exit 0
1.62      paf      21693: _ACEOF
                   21694: ac_clean_files=$ac_clean_files_save
                   21695: 
1.150     moko     21696: test $ac_write_fail = 0 ||
                   21697:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   21698: 
1.1       paf      21699: 
1.62      paf      21700: # configure is writing to config.log, and then calls config.status.
                   21701: # config.status does its own redirection, appending to config.log.
                   21702: # Unfortunately, on DOS this fails, as config.log is still kept open
                   21703: # by configure, so config.status won't be able to write to it; its
                   21704: # output is simply discarded.  So we exec the FD to /dev/null,
                   21705: # effectively closing config.log, so it can be properly (re)opened and
                   21706: # appended to by config.status.  When coming back to configure, we
                   21707: # need to make the FD available again.
                   21708: if test "$no_create" != yes; then
                   21709:   ac_cs_success=:
                   21710:   ac_config_status_args=
                   21711:   test "$silent" = yes &&
                   21712:     ac_config_status_args="$ac_config_status_args --quiet"
                   21713:   exec 5>/dev/null
                   21714:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   21715:   exec 5>>config.log
                   21716:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   21717:   # would make configure fail if this is the last instruction.
1.150     moko     21718:   $ac_cs_success || as_fn_exit 1
1.62      paf      21719: fi
                   21720: 
                   21721: #
                   21722: # CONFIG_SUBDIRS section.
                   21723: #
1.1       paf      21724: if test "$no_recursion" != yes; then
                   21725: 
1.150     moko     21726:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   21727:   # so they do not pile up.
1.1       paf      21728:   ac_sub_configure_args=
                   21729:   ac_prev=
1.150     moko     21730:   eval "set x $ac_configure_args"
                   21731:   shift
                   21732:   for ac_arg
                   21733:   do
1.1       paf      21734:     if test -n "$ac_prev"; then
                   21735:       ac_prev=
                   21736:       continue
                   21737:     fi
1.62      paf      21738:     case $ac_arg in
1.1       paf      21739:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   21740:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   21741:       ac_prev=cache_file ;;
                   21742:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      21743:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   21744:     | --c=*)
                   21745:       ;;
                   21746:     --config-cache | -C)
1.1       paf      21747:       ;;
                   21748:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   21749:       ac_prev=srcdir ;;
                   21750:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   21751:       ;;
1.62      paf      21752:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   21753:       ac_prev=prefix ;;
                   21754:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   21755:       ;;
1.150     moko     21756:     --disable-option-checking)
                   21757:       ;;
                   21758:     *)
                   21759:       case $ac_arg in
                   21760:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21761:       esac
                   21762:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      21763:     esac
                   21764:   done
                   21765: 
1.62      paf      21766:   # Always prepend --prefix to ensure using the same prefix
                   21767:   # in subdir configurations.
1.150     moko     21768:   ac_arg="--prefix=$prefix"
                   21769:   case $ac_arg in
                   21770:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21771:   esac
                   21772:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   21773: 
                   21774:   # Pass --silent
                   21775:   if test "$silent" = yes; then
                   21776:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   21777:   fi
                   21778: 
                   21779:   # Always prepend --disable-option-checking to silence warnings, since
                   21780:   # different subdirs can have different --enable and --with options.
                   21781:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      21782: 
                   21783:   ac_popdir=`pwd`
                   21784:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      21785: 
                   21786:     # Do not complain, so a configure script can configure whichever
                   21787:     # parts of a large source tree are present.
1.150     moko     21788:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      21789: 
1.150     moko     21790:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   21791:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   21792:     $as_echo "$ac_msg" >&6
                   21793:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      21794:     ac_builddir=.
                   21795: 
1.150     moko     21796: case "$ac_dir" in
                   21797: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21798: *)
                   21799:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   21800:   # A ".." for each directory in $ac_dir_suffix.
                   21801:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   21802:   case $ac_top_builddir_sub in
                   21803:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21804:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   21805:   esac ;;
                   21806: esac
                   21807: ac_abs_top_builddir=$ac_pwd
                   21808: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   21809: # for backward compatibility:
                   21810: ac_top_builddir=$ac_top_build_prefix
1.62      paf      21811: 
                   21812: case $srcdir in
1.150     moko     21813:   .)  # We are building in place.
1.62      paf      21814:     ac_srcdir=.
1.150     moko     21815:     ac_top_srcdir=$ac_top_builddir_sub
                   21816:     ac_abs_top_srcdir=$ac_pwd ;;
                   21817:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      21818:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     21819:     ac_top_srcdir=$srcdir
                   21820:     ac_abs_top_srcdir=$srcdir ;;
                   21821:   *) # Relative name.
                   21822:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   21823:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   21824:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      21825: esac
1.150     moko     21826: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      21827: 
                   21828: 
1.150     moko     21829:     cd "$ac_dir"
1.1       paf      21830: 
                   21831:     # Check for guested configure; otherwise get Cygnus style configure.
1.150     moko     21832:     if test -f "$ac_srcdir/configure.gnu"; then
                   21833:       ac_sub_configure=$ac_srcdir/configure.gnu
                   21834:     elif test -f "$ac_srcdir/configure"; then
                   21835:       ac_sub_configure=$ac_srcdir/configure
                   21836:     elif test -f "$ac_srcdir/configure.in"; then
                   21837:       # This should be Cygnus configure.
                   21838:       ac_sub_configure=$ac_aux_dir/configure
1.1       paf      21839:     else
1.150     moko     21840:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   21841: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      21842:       ac_sub_configure=
                   21843:     fi
                   21844: 
                   21845:     # The recursion is here.
                   21846:     if test -n "$ac_sub_configure"; then
                   21847:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      21848:       case $cache_file in
                   21849:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150     moko     21850:       *) # Relative name.
                   21851:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      21852:       esac
                   21853: 
1.150     moko     21854:       { $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
                   21855: $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      21856:       # The eval makes quoting arguments work.
1.150     moko     21857:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   21858:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   21859:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      21860:     fi
                   21861: 
1.150     moko     21862:     cd "$ac_popdir"
1.1       paf      21863:   done
                   21864: fi
1.150     moko     21865: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   21866:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   21867: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   21868: fi
1.1       paf      21869: 

E-mail: