Annotation of parser3/configure, revision 1.243

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.237     moko        3: # Generated by GNU Autoconf 2.72 for parser 3.5.2b.
1.150     moko        4: #
                      5: #
1.237     moko        6: # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
                      7: # Inc.
1.150     moko        8: #
1.1       paf         9: #
                     10: # This configure script is free software; the Free Software Foundation
                     11: # gives unlimited permission to copy, distribute and modify it.
1.150     moko       12: ## -------------------- ##
                     13: ## M4sh Initialization. ##
                     14: ## -------------------- ##
1.62      paf        15: 
1.150     moko       16: # Be more Bourne compatible
                     17: DUALCASE=1; export DUALCASE # for MKS sh
1.237     moko       18: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
                     19: then :
1.62      paf        20:   emulate sh
                     21:   NULLCMD=:
1.150     moko       22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf        23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
1.150     moko       25:   setopt NO_GLOB_SUBST
1.237     moko       26: else case e in #(
                     27:   e) case `(set -o) 2>/dev/null` in #(
1.150     moko       28:   *posix*) :
                     29:     set -o posix ;; #(
                     30:   *) :
                     31:      ;;
1.237     moko       32: esac ;;
1.150     moko       33: esac
                     34: fi
                     35: 
                     36: 
1.237     moko       37: 
                     38: # Reset variables that may have inherited troublesome values from
                     39: # the environment.
                     40: 
                     41: # IFS needs to be set, to space, tab, and newline, in precisely that order.
                     42: # (If _AS_PATH_WALK were called with IFS unset, it would have the
                     43: # side effect of setting IFS to empty, thus disabling word splitting.)
                     44: # Quoting is to prevent editors from complaining about space-tab.
1.150     moko       45: as_nl='
                     46: '
                     47: export as_nl
1.237     moko       48: IFS=" ""       $as_nl"
                     49: 
                     50: PS1='$ '
                     51: PS2='> '
                     52: PS4='+ '
                     53: 
                     54: # Ensure predictable behavior from utilities with locale-dependent output.
                     55: LC_ALL=C
                     56: export LC_ALL
                     57: LANGUAGE=C
                     58: export LANGUAGE
                     59: 
                     60: # We cannot yet rely on "unset" to work, but we need these variables
                     61: # to be unset--not just set to an empty or harmless value--now, to
                     62: # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
                     63: # also avoids known problems related to "unset" and subshell syntax
                     64: # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
                     65: for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
                     66: do eval test \${$as_var+y} \
                     67:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                     68: done
                     69: 
                     70: # Ensure that fds 0, 1, and 2 are open.
                     71: if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
                     72: if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
                     73: if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
1.62      paf        74: 
1.150     moko       75: # The user is always right.
1.237     moko       76: if ${PATH_SEPARATOR+false} :; then
1.150     moko       77:   PATH_SEPARATOR=:
                     78:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     79:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     80:       PATH_SEPARATOR=';'
                     81:   }
1.62      paf        82: fi
                     83: 
                     84: 
1.150     moko       85: # Find who we are.  Look in the path if we contain no directory separator.
                     86: as_myself=
                     87: case $0 in #((
                     88:   *[\\/]* ) as_myself=$0 ;;
                     89:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     90: for as_dir in $PATH
                     91: do
                     92:   IFS=$as_save_IFS
1.237     moko       93:   case $as_dir in #(((
                     94:     '') as_dir=./ ;;
                     95:     */) ;;
                     96:     *) as_dir=$as_dir/ ;;
                     97:   esac
                     98:     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1.150     moko       99:   done
                    100: IFS=$as_save_IFS
                    101: 
                    102:      ;;
                    103: esac
1.237     moko      104: # We did not find ourselves, most probably we were run as 'sh COMMAND'
1.150     moko      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
1.237     moko      110:   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.150     moko      111:   exit 1
                    112: fi
                    113: 
                    114: 
1.166     moko      115: # Use a proper internal environment variable to ensure we don't fall
                    116:   # into an infinite loop, continuously re-executing ourselves.
                    117:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
                    118:     _as_can_reexec=no; export _as_can_reexec;
                    119:     # We cannot yet assume a decent shell, so we have to provide a
                    120: # neutralization value for shells without unset; and this also
                    121: # works around shells that cannot unset nonexistent variables.
                    122: # Preserve -v and -x to the replacement shell.
                    123: BASH_ENV=/dev/null
                    124: ENV=/dev/null
                    125: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    126: case $- in # ((((
                    127:   *v*x* | *x*v* ) as_opts=-vx ;;
                    128:   *v* ) as_opts=-v ;;
                    129:   *x* ) as_opts=-x ;;
                    130:   * ) as_opts= ;;
                    131: esac
                    132: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    133: # Admittedly, this is quite paranoid, since all the known shells bail
1.237     moko      134: # out after a failed 'exec'.
                    135: printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
                    136: exit 255
1.166     moko      137:   fi
                    138:   # We don't want this to propagate to other subprocesses.
                    139:           { _as_can_reexec=; unset _as_can_reexec;}
1.150     moko      140: if test "x$CONFIG_SHELL" = x; then
1.237     moko      141:   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
                    142: then :
1.150     moko      143:   emulate sh
                    144:   NULLCMD=:
                    145:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    146:   # is contrary to our usage.  Disable this feature.
                    147:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    148:   setopt NO_GLOB_SUBST
1.237     moko      149: else case e in #(
                    150:   e) case \`(set -o) 2>/dev/null\` in #(
1.150     moko      151:   *posix*) :
                    152:     set -o posix ;; #(
                    153:   *) :
                    154:      ;;
1.237     moko      155: esac ;;
1.150     moko      156: esac
                    157: fi
                    158: "
                    159:   as_required="as_fn_return () { (exit \$1); }
                    160: as_fn_success () { as_fn_return 0; }
                    161: as_fn_failure () { as_fn_return 1; }
                    162: as_fn_ret_success () { return 0; }
                    163: as_fn_ret_failure () { return 1; }
                    164: 
                    165: exitcode=0
                    166: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    167: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    168: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    169: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
1.237     moko      170: if ( set x; as_fn_ret_success y && test x = \"\$1\" )
                    171: then :
1.150     moko      172: 
1.237     moko      173: else case e in #(
                    174:   e) exitcode=1; echo positional parameters were not saved. ;;
                    175: esac
1.150     moko      176: fi
1.166     moko      177: test x\$exitcode = x0 || exit 1
1.237     moko      178: blah=\$(echo \$(echo blah))
                    179: test x\"\$blah\" = xblah || exit 1
1.166     moko      180: test -x / || exit 1"
1.150     moko      181:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    182:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    183:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    184:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    185: 
                    186:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
                    187:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                    188:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    189:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    190:     PATH=/empty FPATH=/empty; export PATH FPATH
                    191:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
                    192:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
                    193: test \$(( 1 + 1 )) = 2 || exit 1"
1.237     moko      194:   if (eval "$as_required") 2>/dev/null
                    195: then :
1.150     moko      196:   as_have_required=yes
1.237     moko      197: else case e in #(
                    198:   e) as_have_required=no ;;
                    199: esac
1.150     moko      200: fi
1.237     moko      201:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
                    202: then :
1.150     moko      203: 
1.237     moko      204: else case e in #(
                    205:   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.150     moko      206: as_found=false
                    207: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.62      paf       208: do
1.150     moko      209:   IFS=$as_save_IFS
1.237     moko      210:   case $as_dir in #(((
                    211:     '') as_dir=./ ;;
                    212:     */) ;;
                    213:     *) as_dir=$as_dir/ ;;
                    214:   esac
1.150     moko      215:   as_found=:
                    216:   case $as_dir in #(
                    217:         /*)
                    218:           for as_base in sh bash ksh sh5; do
                    219:             # Try only shells that exist, to save several forks.
1.237     moko      220:             as_shell=$as_dir$as_base
1.150     moko      221:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
1.237     moko      222:                    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
                    223: then :
1.150     moko      224:   CONFIG_SHELL=$as_shell as_have_required=yes
1.237     moko      225:                   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
                    226: then :
1.150     moko      227:   break 2
                    228: fi
                    229: fi
                    230:           done;;
                    231:        esac
                    232:   as_found=false
                    233: done
1.237     moko      234: IFS=$as_save_IFS
                    235: if $as_found
                    236: then :
                    237: 
                    238: else case e in #(
                    239:   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    240:              as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
                    241: then :
1.150     moko      242:   CONFIG_SHELL=$SHELL as_have_required=yes
1.237     moko      243: fi ;;
                    244: esac
                    245: fi
1.150     moko      246: 
                    247: 
1.237     moko      248:       if test "x$CONFIG_SHELL" != x
                    249: then :
1.166     moko      250:   export CONFIG_SHELL
                    251:              # We cannot yet assume a decent shell, so we have to provide a
                    252: # neutralization value for shells without unset; and this also
                    253: # works around shells that cannot unset nonexistent variables.
                    254: # Preserve -v and -x to the replacement shell.
                    255: BASH_ENV=/dev/null
                    256: ENV=/dev/null
                    257: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    258: case $- in # ((((
                    259:   *v*x* | *x*v* ) as_opts=-vx ;;
                    260:   *v* ) as_opts=-v ;;
                    261:   *x* ) as_opts=-x ;;
                    262:   * ) as_opts= ;;
                    263: esac
                    264: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    265: # Admittedly, this is quite paranoid, since all the known shells bail
1.237     moko      266: # out after a failed 'exec'.
                    267: printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
1.166     moko      268: exit 255
1.150     moko      269: fi
                    270: 
1.237     moko      271:     if test x$as_have_required = xno
                    272: then :
                    273:   printf "%s\n" "$0: This script requires a shell more modern than all"
                    274:   printf "%s\n" "$0: the shells that I found on your system."
                    275:   if test ${ZSH_VERSION+y} ; then
                    276:     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    277:     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
1.62      paf       278:   else
1.237     moko      279:     printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
1.150     moko      280: $0: including any error possibly output before this
                    281: $0: message. Then install a modern shell, or manually run
                    282: $0: the script under such a shell if you do have one."
1.62      paf       283:   fi
1.150     moko      284:   exit 1
1.237     moko      285: fi ;;
                    286: esac
1.150     moko      287: fi
                    288: fi
                    289: SHELL=${CONFIG_SHELL-/bin/sh}
                    290: export SHELL
                    291: # Unset more variables known to interfere with behavior of common tools.
                    292: CLICOLOR_FORCE= GREP_OPTIONS=
                    293: unset CLICOLOR_FORCE GREP_OPTIONS
                    294: 
                    295: ## --------------------- ##
                    296: ## M4sh Shell Functions. ##
                    297: ## --------------------- ##
                    298: # as_fn_unset VAR
                    299: # ---------------
                    300: # Portably unset VAR.
                    301: as_fn_unset ()
                    302: {
                    303:   { eval $1=; unset $1;}
                    304: }
                    305: as_unset=as_fn_unset
                    306: 
1.237     moko      307: 
1.150     moko      308: # as_fn_set_status STATUS
                    309: # -----------------------
                    310: # Set $? to STATUS, without forking.
                    311: as_fn_set_status ()
                    312: {
                    313:   return $1
                    314: } # as_fn_set_status
                    315: 
                    316: # as_fn_exit STATUS
                    317: # -----------------
                    318: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    319: as_fn_exit ()
                    320: {
                    321:   set +e
                    322:   as_fn_set_status $1
                    323:   exit $1
                    324: } # as_fn_exit
                    325: 
                    326: # as_fn_mkdir_p
                    327: # -------------
                    328: # Create "$as_dir" as a directory, including parents if necessary.
                    329: as_fn_mkdir_p ()
                    330: {
                    331: 
                    332:   case $as_dir in #(
                    333:   -*) as_dir=./$as_dir;;
                    334:   esac
                    335:   test -d "$as_dir" || eval $as_mkdir_p || {
                    336:     as_dirs=
                    337:     while :; do
                    338:       case $as_dir in #(
1.237     moko      339:       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.150     moko      340:       *) as_qdir=$as_dir;;
                    341:       esac
                    342:       as_dirs="'$as_qdir' $as_dirs"
                    343:       as_dir=`$as_dirname -- "$as_dir" ||
                    344: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    345:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    346:         X"$as_dir" : 'X\(//\)$' \| \
                    347:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko      348: printf "%s\n" X"$as_dir" |
1.150     moko      349:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    350:            s//\1/
                    351:            q
                    352:          }
                    353:          /^X\(\/\/\)[^/].*/{
                    354:            s//\1/
                    355:            q
                    356:          }
                    357:          /^X\(\/\/\)$/{
                    358:            s//\1/
                    359:            q
                    360:          }
                    361:          /^X\(\/\).*/{
                    362:            s//\1/
                    363:            q
                    364:          }
                    365:          s/.*/./; q'`
                    366:       test -d "$as_dir" && break
                    367:     done
                    368:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    369:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    370: 
                    371: 
                    372: } # as_fn_mkdir_p
1.166     moko      373: 
                    374: # as_fn_executable_p FILE
                    375: # -----------------------
                    376: # Test if FILE is an executable regular file.
                    377: as_fn_executable_p ()
                    378: {
                    379:   test -f "$1" && test -x "$1"
                    380: } # as_fn_executable_p
1.150     moko      381: # as_fn_append VAR VALUE
                    382: # ----------------------
                    383: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    384: # advantage of any shell optimizations that allow amortized linear growth over
                    385: # repeated appends, instead of the typical quadratic growth present in naive
                    386: # implementations.
1.237     moko      387: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
                    388: then :
1.150     moko      389:   eval 'as_fn_append ()
                    390:   {
                    391:     eval $1+=\$2
                    392:   }'
1.237     moko      393: else case e in #(
                    394:   e) as_fn_append ()
1.150     moko      395:   {
                    396:     eval $1=\$$1\$2
1.237     moko      397:   } ;;
                    398: esac
1.150     moko      399: fi # as_fn_append
                    400: 
                    401: # as_fn_arith ARG...
                    402: # ------------------
                    403: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    404: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    405: # must be portable across $(()) and expr.
1.237     moko      406: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
                    407: then :
1.150     moko      408:   eval 'as_fn_arith ()
                    409:   {
                    410:     as_val=$(( $* ))
                    411:   }'
1.237     moko      412: else case e in #(
                    413:   e) as_fn_arith ()
1.150     moko      414:   {
                    415:     as_val=`expr "$@" || test $? -eq 1`
1.237     moko      416:   } ;;
                    417: esac
1.150     moko      418: fi # as_fn_arith
                    419: 
                    420: 
                    421: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    422: # ----------------------------------------
                    423: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    424: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    425: # script with STATUS, using 1 if that was 0.
                    426: as_fn_error ()
                    427: {
                    428:   as_status=$1; test $as_status -eq 0 && as_status=1
                    429:   if test "$4"; then
                    430:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.237     moko      431:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.150     moko      432:   fi
1.237     moko      433:   printf "%s\n" "$as_me: error: $2" >&2
1.150     moko      434:   as_fn_exit $as_status
                    435: } # as_fn_error
1.62      paf       436: 
1.150     moko      437: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    438:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf       439:   as_expr=expr
                    440: else
                    441:   as_expr=false
                    442: fi
                    443: 
1.150     moko      444: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf       445:   as_basename=basename
                    446: else
                    447:   as_basename=false
                    448: fi
                    449: 
1.150     moko      450: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    451:   as_dirname=dirname
                    452: else
                    453:   as_dirname=false
                    454: fi
1.62      paf       455: 
1.150     moko      456: as_me=`$as_basename -- "$0" ||
1.62      paf       457: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    458:         X"$0" : 'X\(//\)$' \| \
1.150     moko      459:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko      460: printf "%s\n" X/"$0" |
1.150     moko      461:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    462:            s//\1/
                    463:            q
                    464:          }
                    465:          /^X\/\(\/\/\)$/{
                    466:            s//\1/
                    467:            q
                    468:          }
                    469:          /^X\/\(\/\).*/{
                    470:            s//\1/
                    471:            q
                    472:          }
                    473:          s/.*/./; q'`
1.62      paf       474: 
                    475: # Avoid depending upon Character Ranges.
                    476: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    477: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    478: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    479: as_cr_digits='0123456789'
                    480: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    481: 
                    482: 
1.150     moko      483:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    484:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    485:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    486:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    487:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    488:   sed -n '
                    489:     p
                    490:     /[$]LINENO/=
                    491:   ' <$as_myself |
1.62      paf       492:     sed '
1.237     moko      493:       t clear
                    494:       :clear
1.150     moko      495:       s/[$]LINENO.*/&-/
                    496:       t lineno
                    497:       b
                    498:       :lineno
1.62      paf       499:       N
1.150     moko      500:       :loop
                    501:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.62      paf       502:       t loop
1.150     moko      503:       s/-\n.*//
1.62      paf       504:     ' >$as_me.lineno &&
1.150     moko      505:   chmod +x "$as_me.lineno" ||
1.237     moko      506:     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.62      paf       507: 
1.166     moko      508:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
                    509:   # already done that, so ensure we don't try to do so again and fall
                    510:   # in an infinite loop.  This has already happened in practice.
                    511:   _as_can_reexec=no; export _as_can_reexec
1.62      paf       512:   # Don't try to exec as it changes $[0], causing all sort of problems
                    513:   # (the dirname of $[0] is not the place where we might find the
1.150     moko      514:   # original and so on.  Autoconf is especially sensitive to this).
                    515:   . "./$as_me.lineno"
1.62      paf       516:   # Exit status is that of the last command.
                    517:   exit
                    518: }
                    519: 
1.237     moko      520: 
                    521: # Determine whether it's possible to make 'echo' print without a newline.
                    522: # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
                    523: # for compatibility with existing Makefiles.
1.150     moko      524: ECHO_C= ECHO_N= ECHO_T=
                    525: case `echo -n x` in #(((((
                    526: -n*)
                    527:   case `echo 'xy\c'` in
                    528:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    529:   xy)  ECHO_C='\c';;
                    530:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    531:        ECHO_T='        ';;
                    532:   esac;;
                    533: *)
                    534:   ECHO_N='-n';;
1.62      paf       535: esac
                    536: 
1.237     moko      537: # For backward compatibility with old third-party macros, we provide
                    538: # the shell variables $as_echo and $as_echo_n.  New code should use
                    539: # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
                    540: as_echo='printf %s\n'
                    541: as_echo_n='printf %s'
                    542: 
1.150     moko      543: rm -f conf$$ conf$$.exe conf$$.file
                    544: if test -d conf$$.dir; then
                    545:   rm -f conf$$.dir/conf$$.file
1.62      paf       546: else
1.150     moko      547:   rm -f conf$$.dir
                    548:   mkdir conf$$.dir 2>/dev/null
1.62      paf       549: fi
1.150     moko      550: if (echo >conf$$.file) 2>/dev/null; then
                    551:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    552:     as_ln_s='ln -s'
                    553:     # ... but there are two gotchas:
1.237     moko      554:     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
                    555:     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
                    556:     # In both cases, we have to default to 'cp -pR'.
1.150     moko      557:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.166     moko      558:       as_ln_s='cp -pR'
1.150     moko      559:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    560:     as_ln_s=ln
                    561:   else
1.166     moko      562:     as_ln_s='cp -pR'
1.62      paf       563:   fi
                    564: else
1.166     moko      565:   as_ln_s='cp -pR'
1.62      paf       566: fi
1.150     moko      567: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    568: rmdir conf$$.dir 2>/dev/null
1.62      paf       569: 
                    570: if mkdir -p . 2>/dev/null; then
1.150     moko      571:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf       572: else
1.86      paf       573:   test -d ./-p && rmdir ./-p
1.62      paf       574:   as_mkdir_p=false
                    575: fi
                    576: 
1.166     moko      577: as_test_x='test -x'
                    578: as_executable_p=as_fn_executable_p
1.62      paf       579: 
                    580: # Sed expression to map a string onto a valid CPP name.
1.237     moko      581: as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                    582: as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
1.62      paf       583: 
                    584: # Sed expression to map a string onto a valid variable name.
1.237     moko      585: as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                    586: as_tr_sh="eval sed '$as_sed_sh'" # deprecated
1.62      paf       587: 
1.128     moko      588: lt_ltdl_dir='src/lib/ltdl'
                    589: 
                    590: SHELL=${CONFIG_SHELL-/bin/sh}
                    591: 
1.237     moko      592: lt_dlopen_dir=$lt_ltdl_dir
1.128     moko      593: 
1.1       paf       594: 
1.150     moko      595: test -n "$DJDIR" || exec 7<&0 </dev/null
                    596: exec 6>&1
                    597: 
1.62      paf       598: # Name of the host.
1.150     moko      599: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.62      paf       600: # so uname gets run too.
                    601: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    602: 
                    603: #
                    604: # Initializations.
                    605: #
1.1       paf       606: ac_default_prefix=/usr/local
1.150     moko      607: ac_clean_files=
1.62      paf       608: ac_config_libobj_dir=.
1.150     moko      609: LIBOBJS=
1.62      paf       610: cross_compiling=no
                    611: subdirs=
                    612: MFLAGS=
                    613: MAKEFLAGS=
                    614: 
                    615: # Identity of this package.
1.128     moko      616: PACKAGE_NAME='parser'
                    617: PACKAGE_TARNAME='parser'
1.230     moko      618: PACKAGE_VERSION='3.5.2b'
                    619: PACKAGE_STRING='parser 3.5.2b'
1.128     moko      620: PACKAGE_BUGREPORT=''
1.150     moko      621: PACKAGE_URL=''
1.62      paf       622: 
                    623: ac_unique_file="README"
                    624: # Factoring default headers for most tests.
                    625: ac_includes_default="\
1.237     moko      626: #include <stddef.h>
                    627: #ifdef HAVE_STDIO_H
                    628: # include <stdio.h>
1.62      paf       629: #endif
1.237     moko      630: #ifdef HAVE_STDLIB_H
1.62      paf       631: # include <stdlib.h>
                    632: #endif
1.150     moko      633: #ifdef HAVE_STRING_H
1.62      paf       634: # include <string.h>
                    635: #endif
1.150     moko      636: #ifdef HAVE_INTTYPES_H
1.62      paf       637: # include <inttypes.h>
                    638: #endif
1.150     moko      639: #ifdef HAVE_STDINT_H
                    640: # include <stdint.h>
                    641: #endif
1.237     moko      642: #ifdef HAVE_STRINGS_H
                    643: # include <strings.h>
                    644: #endif
                    645: #ifdef HAVE_SYS_TYPES_H
                    646: # include <sys/types.h>
                    647: #endif
                    648: #ifdef HAVE_SYS_STAT_H
                    649: # include <sys/stat.h>
                    650: #endif
1.150     moko      651: #ifdef HAVE_UNISTD_H
1.62      paf       652: # include <unistd.h>
                    653: #endif"
                    654: 
1.237     moko      655: ac_header_c_list=
1.150     moko      656: enable_option_checking=no
1.237     moko      657: enable_year2038=no
1.150     moko      658: ac_subst_vars='ltdl_LTLIBOBJS
                    659: ltdl_LIBOBJS
                    660: am__EXEEXT_FALSE
                    661: am__EXEEXT_TRUE
                    662: LTLIBOBJS
                    663: LIBOBJS
                    664: LTDLOPEN
                    665: LT_CONFIG_H
                    666: subdirs
1.237     moko      667: LTARGZH_EXISTS_FALSE
                    668: LTARGZH_EXISTS_TRUE
1.150     moko      669: CONVENIENCE_LTDL_FALSE
                    670: CONVENIENCE_LTDL_TRUE
                    671: INSTALL_LTDL_FALSE
                    672: INSTALL_LTDL_TRUE
1.237     moko      673: LT_ARGZ_H
1.150     moko      674: sys_symbol_underscore
                    675: LIBADD_DL
                    676: LT_DLPREOPEN
                    677: LIBADD_DLD_LINK
                    678: LIBADD_SHL_LOAD
                    679: LIBADD_DLOPEN
                    680: LT_DLLOADERS
                    681: INCLTDL
                    682: LTDLINCL
                    683: LTDLDEPS
                    684: LIBLTDL
                    685: CXXCPP
1.237     moko      686: LT_SYS_LIBRARY_PATH
1.150     moko      687: OTOOL64
                    688: OTOOL
                    689: LIPO
                    690: NMEDIT
                    691: DSYMUTIL
                    692: MANIFEST_TOOL
                    693: RANLIB
                    694: ac_ct_AR
                    695: AR
1.237     moko      696: FILECMD
1.150     moko      697: LN_S
                    698: NM
                    699: ac_ct_DUMPBIN
                    700: DUMPBIN
                    701: LD
                    702: FGREP
                    703: EGREP
                    704: GREP
                    705: SED
                    706: LIBTOOL
                    707: OBJDUMP
                    708: DLLTOOL
                    709: AS
                    710: COMPILE_APACHE_MODULE_FALSE
                    711: COMPILE_APACHE_MODULE_TRUE
                    712: APACHE_CFLAGS
                    713: APACHE_INC
                    714: APACHE
1.239     moko      715: REDIS_LIBS
                    716: REDIS_INCLUDES
1.232     moko      717: AMQP_LIBS
                    718: AMQP_INCLUDES
1.150     moko      719: MIME_LIBS
                    720: MIME_INCLUDES
                    721: XML_LIBS
                    722: XML_INCLUDES
                    723: PCRE_LIBS
                    724: PCRE_INCLUDES
                    725: GC_LIBS
                    726: dll_extension
                    727: am__fastdepCC_FALSE
                    728: am__fastdepCC_TRUE
                    729: CCDEPMODE
                    730: ac_ct_CC
                    731: CFLAGS
                    732: CC
                    733: am__fastdepCXX_FALSE
                    734: am__fastdepCXX_TRUE
                    735: CXXDEPMODE
1.187     moko      736: am__nodep
1.150     moko      737: AMDEPBACKSLASH
                    738: AMDEP_FALSE
                    739: AMDEP_TRUE
                    740: am__include
                    741: DEPDIR
                    742: OBJEXT
                    743: EXEEXT
                    744: ac_ct_CXX
                    745: CPPFLAGS
                    746: LDFLAGS
                    747: CXXFLAGS
                    748: CXX
                    749: YFLAGS
                    750: YACC
                    751: host_os
                    752: host_vendor
                    753: host_cpu
                    754: host
                    755: build_os
                    756: build_vendor
                    757: build_cpu
                    758: build
                    759: P3S
1.237     moko      760: am__xargs_n
                    761: am__rm_f_notfound
1.187     moko      762: AM_BACKSLASH
                    763: AM_DEFAULT_VERBOSITY
                    764: AM_DEFAULT_V
                    765: AM_V
1.237     moko      766: CSCOPE
                    767: ETAGS
                    768: CTAGS
1.150     moko      769: am__untar
                    770: am__tar
                    771: AMTAR
                    772: am__leading_dot
                    773: SET_MAKE
                    774: AWK
                    775: mkdir_p
                    776: MKDIR_P
                    777: INSTALL_STRIP_PROGRAM
                    778: STRIP
                    779: install_sh
                    780: MAKEINFO
                    781: AUTOHEADER
                    782: AUTOMAKE
                    783: AUTOCONF
                    784: ACLOCAL
                    785: VERSION
                    786: PACKAGE
                    787: CYGPATH_W
                    788: am__isrc
                    789: INSTALL_DATA
                    790: INSTALL_SCRIPT
                    791: INSTALL_PROGRAM
                    792: target_alias
                    793: host_alias
                    794: build_alias
                    795: LIBS
                    796: ECHO_T
                    797: ECHO_N
                    798: ECHO_C
                    799: DEFS
                    800: mandir
                    801: localedir
                    802: libdir
                    803: psdir
                    804: pdfdir
                    805: dvidir
                    806: htmldir
                    807: infodir
                    808: docdir
                    809: oldincludedir
                    810: includedir
1.191     moko      811: runstatedir
1.150     moko      812: localstatedir
                    813: sharedstatedir
                    814: sysconfdir
                    815: datadir
                    816: datarootdir
                    817: libexecdir
                    818: sbindir
                    819: bindir
                    820: program_transform_name
                    821: prefix
                    822: exec_prefix
                    823: PACKAGE_URL
                    824: PACKAGE_BUGREPORT
                    825: PACKAGE_STRING
                    826: PACKAGE_VERSION
                    827: PACKAGE_TARNAME
                    828: PACKAGE_NAME
                    829: PATH_SEPARATOR
1.199     moko      830: SHELL
                    831: am__quote'
1.62      paf       832: ac_subst_files=''
1.150     moko      833: ac_user_opts='
                    834: enable_option_checking
1.187     moko      835: enable_silent_rules
1.150     moko      836: enable_dependency_tracking
                    837: with_build_warnings
1.182     moko      838: with_coverage
                    839: with_profiler
1.150     moko      840: with_assertions
                    841: with_sjlj_exceptions
1.203     moko      842: with_system_cfg
1.150     moko      843: enable_safe_mode
                    844: enable_execs
                    845: enable_stringstream
                    846: with_gc
                    847: with_pcre
                    848: with_xml
1.154     moko      849: with_mailreceive
1.232     moko      850: with_amqp
1.239     moko      851: with_redis
1.150     moko      852: with_sendmail
                    853: with_apache
1.237     moko      854: enable_pic
1.150     moko      855: with_pic
                    856: enable_shared
                    857: enable_static
                    858: enable_fast_install
1.237     moko      859: enable_aix_soname
                    860: with_aix_soname
1.150     moko      861: with_gnu_ld
                    862: with_sysroot
                    863: enable_libtool_lock
                    864: with_included_ltdl
                    865: with_ltdl_include
                    866: with_ltdl_lib
                    867: enable_ltdl_install
1.171     moko      868: enable_largefile
1.237     moko      869: enable_year2038
1.150     moko      870: '
                    871:       ac_precious_vars='build_alias
                    872: host_alias
                    873: target_alias
                    874: YACC
                    875: YFLAGS
                    876: CXX
                    877: CXXFLAGS
                    878: LDFLAGS
                    879: LIBS
                    880: CPPFLAGS
                    881: CCC
                    882: CC
                    883: CFLAGS
1.237     moko      884: LT_SYS_LIBRARY_PATH
1.150     moko      885: CXXCPP'
                    886: ac_subdirs_all='src/lib/ltdl'
1.1       paf       887: 
                    888: # Initialize some variables set by options.
1.62      paf       889: ac_init_help=
                    890: ac_init_version=false
1.150     moko      891: ac_unrecognized_opts=
                    892: ac_unrecognized_sep=
1.1       paf       893: # The variables have the same names as the options, with
                    894: # dashes changed to underlines.
1.62      paf       895: cache_file=/dev/null
1.1       paf       896: exec_prefix=NONE
                    897: no_create=
                    898: no_recursion=
                    899: prefix=NONE
                    900: program_prefix=NONE
                    901: program_suffix=NONE
                    902: program_transform_name=s,x,x,
                    903: silent=
                    904: site=
                    905: srcdir=
                    906: verbose=
                    907: x_includes=NONE
                    908: x_libraries=NONE
1.62      paf       909: 
                    910: # Installation directory options.
                    911: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    912: # and all the variables that are supposed to be based on exec_prefix
                    913: # by default will actually change.
                    914: # Use braces instead of parens because sh, perl, etc. also accept them.
1.150     moko      915: # (The list follows the same order as the GNU Coding Standards.)
1.1       paf       916: bindir='${exec_prefix}/bin'
                    917: sbindir='${exec_prefix}/sbin'
                    918: libexecdir='${exec_prefix}/libexec'
1.150     moko      919: datarootdir='${prefix}/share'
                    920: datadir='${datarootdir}'
1.1       paf       921: sysconfdir='${prefix}/etc'
                    922: sharedstatedir='${prefix}/com'
                    923: localstatedir='${prefix}/var'
1.191     moko      924: runstatedir='${localstatedir}/run'
1.1       paf       925: includedir='${prefix}/include'
                    926: oldincludedir='/usr/include'
1.150     moko      927: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    928: infodir='${datarootdir}/info'
                    929: htmldir='${docdir}'
                    930: dvidir='${docdir}'
                    931: pdfdir='${docdir}'
                    932: psdir='${docdir}'
                    933: libdir='${exec_prefix}/lib'
                    934: localedir='${datarootdir}/locale'
                    935: mandir='${datarootdir}/man'
1.1       paf       936: 
                    937: ac_prev=
1.150     moko      938: ac_dashdash=
1.1       paf       939: for ac_option
                    940: do
                    941:   # If the previous option needs an argument, assign it.
                    942:   if test -n "$ac_prev"; then
1.150     moko      943:     eval $ac_prev=\$ac_option
1.1       paf       944:     ac_prev=
                    945:     continue
                    946:   fi
                    947: 
1.150     moko      948:   case $ac_option in
                    949:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    950:   *=)   ac_optarg= ;;
                    951:   *)    ac_optarg=yes ;;
                    952:   esac
1.1       paf       953: 
1.150     moko      954:   case $ac_dashdash$ac_option in
                    955:   --)
                    956:     ac_dashdash=yes ;;
1.1       paf       957: 
                    958:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    959:     ac_prev=bindir ;;
                    960:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62      paf       961:     bindir=$ac_optarg ;;
1.1       paf       962: 
                    963:   -build | --build | --buil | --bui | --bu)
1.62      paf       964:     ac_prev=build_alias ;;
1.1       paf       965:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62      paf       966:     build_alias=$ac_optarg ;;
1.1       paf       967: 
                    968:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    969:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    970:     ac_prev=cache_file ;;
                    971:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    972:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62      paf       973:     cache_file=$ac_optarg ;;
                    974: 
                    975:   --config-cache | -C)
                    976:     cache_file=config.cache ;;
1.1       paf       977: 
1.150     moko      978:   -datadir | --datadir | --datadi | --datad)
1.1       paf       979:     ac_prev=datadir ;;
1.150     moko      980:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.62      paf       981:     datadir=$ac_optarg ;;
1.1       paf       982: 
1.150     moko      983:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    984:   | --dataroo | --dataro | --datar)
                    985:     ac_prev=datarootdir ;;
                    986:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    987:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    988:     datarootdir=$ac_optarg ;;
                    989: 
1.1       paf       990:   -disable-* | --disable-*)
1.150     moko      991:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       992:     # Reject names that are not valid shell variable names.
1.150     moko      993:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.237     moko      994:       as_fn_error $? "invalid feature name: '$ac_useropt'"
1.150     moko      995:     ac_useropt_orig=$ac_useropt
1.237     moko      996:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.150     moko      997:     case $ac_user_opts in
                    998:       *"
                    999: "enable_$ac_useropt"
                   1000: "*) ;;
                   1001:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                   1002:         ac_unrecognized_sep=', ';;
                   1003:     esac
                   1004:     eval enable_$ac_useropt=no ;;
                   1005: 
                   1006:   -docdir | --docdir | --docdi | --doc | --do)
                   1007:     ac_prev=docdir ;;
                   1008:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                   1009:     docdir=$ac_optarg ;;
                   1010: 
                   1011:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                   1012:     ac_prev=dvidir ;;
                   1013:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                   1014:     dvidir=$ac_optarg ;;
1.1       paf      1015: 
                   1016:   -enable-* | --enable-*)
1.150     moko     1017:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf      1018:     # Reject names that are not valid shell variable names.
1.150     moko     1019:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.237     moko     1020:       as_fn_error $? "invalid feature name: '$ac_useropt'"
1.150     moko     1021:     ac_useropt_orig=$ac_useropt
1.237     moko     1022:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.150     moko     1023:     case $ac_user_opts in
                   1024:       *"
                   1025: "enable_$ac_useropt"
                   1026: "*) ;;
                   1027:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                   1028:         ac_unrecognized_sep=', ';;
1.1       paf      1029:     esac
1.150     moko     1030:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       paf      1031: 
                   1032:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                   1033:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                   1034:   | --exec | --exe | --ex)
                   1035:     ac_prev=exec_prefix ;;
                   1036:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                   1037:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                   1038:   | --exec=* | --exe=* | --ex=*)
1.62      paf      1039:     exec_prefix=$ac_optarg ;;
1.1       paf      1040: 
                   1041:   -gas | --gas | --ga | --g)
                   1042:     # Obsolete; use --with-gas.
                   1043:     with_gas=yes ;;
                   1044: 
1.62      paf      1045:   -help | --help | --hel | --he | -h)
                   1046:     ac_init_help=long ;;
                   1047:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1048:     ac_init_help=recursive ;;
                   1049:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1050:     ac_init_help=short ;;
1.1       paf      1051: 
                   1052:   -host | --host | --hos | --ho)
1.62      paf      1053:     ac_prev=host_alias ;;
1.1       paf      1054:   -host=* | --host=* | --hos=* | --ho=*)
1.62      paf      1055:     host_alias=$ac_optarg ;;
1.1       paf      1056: 
1.150     moko     1057:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1058:     ac_prev=htmldir ;;
                   1059:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1060:   | --ht=*)
                   1061:     htmldir=$ac_optarg ;;
                   1062: 
1.1       paf      1063:   -includedir | --includedir | --includedi | --included | --include \
                   1064:   | --includ | --inclu | --incl | --inc)
                   1065:     ac_prev=includedir ;;
                   1066:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1067:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62      paf      1068:     includedir=$ac_optarg ;;
1.1       paf      1069: 
                   1070:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1071:     ac_prev=infodir ;;
                   1072:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62      paf      1073:     infodir=$ac_optarg ;;
1.1       paf      1074: 
                   1075:   -libdir | --libdir | --libdi | --libd)
                   1076:     ac_prev=libdir ;;
                   1077:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62      paf      1078:     libdir=$ac_optarg ;;
1.1       paf      1079: 
                   1080:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1081:   | --libexe | --libex | --libe)
                   1082:     ac_prev=libexecdir ;;
                   1083:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1084:   | --libexe=* | --libex=* | --libe=*)
1.62      paf      1085:     libexecdir=$ac_optarg ;;
1.1       paf      1086: 
1.150     moko     1087:   -localedir | --localedir | --localedi | --localed | --locale)
                   1088:     ac_prev=localedir ;;
                   1089:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1090:     localedir=$ac_optarg ;;
                   1091: 
1.1       paf      1092:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.150     moko     1093:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       paf      1094:     ac_prev=localstatedir ;;
                   1095:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.150     moko     1096:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.62      paf      1097:     localstatedir=$ac_optarg ;;
1.1       paf      1098: 
                   1099:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1100:     ac_prev=mandir ;;
                   1101:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62      paf      1102:     mandir=$ac_optarg ;;
1.1       paf      1103: 
                   1104:   -nfp | --nfp | --nf)
                   1105:     # Obsolete; use --without-fp.
                   1106:     with_fp=no ;;
                   1107: 
                   1108:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62      paf      1109:   | --no-cr | --no-c | -n)
1.1       paf      1110:     no_create=yes ;;
                   1111: 
                   1112:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1113:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1114:     no_recursion=yes ;;
                   1115: 
                   1116:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1117:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1118:   | --oldin | --oldi | --old | --ol | --o)
                   1119:     ac_prev=oldincludedir ;;
                   1120:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1121:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1122:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62      paf      1123:     oldincludedir=$ac_optarg ;;
1.1       paf      1124: 
                   1125:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1126:     ac_prev=prefix ;;
                   1127:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62      paf      1128:     prefix=$ac_optarg ;;
1.1       paf      1129: 
                   1130:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1131:   | --program-pre | --program-pr | --program-p)
                   1132:     ac_prev=program_prefix ;;
                   1133:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1134:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62      paf      1135:     program_prefix=$ac_optarg ;;
1.1       paf      1136: 
                   1137:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1138:   | --program-suf | --program-su | --program-s)
                   1139:     ac_prev=program_suffix ;;
                   1140:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1141:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62      paf      1142:     program_suffix=$ac_optarg ;;
1.1       paf      1143: 
                   1144:   -program-transform-name | --program-transform-name \
                   1145:   | --program-transform-nam | --program-transform-na \
                   1146:   | --program-transform-n | --program-transform- \
                   1147:   | --program-transform | --program-transfor \
                   1148:   | --program-transfo | --program-transf \
                   1149:   | --program-trans | --program-tran \
                   1150:   | --progr-tra | --program-tr | --program-t)
                   1151:     ac_prev=program_transform_name ;;
                   1152:   -program-transform-name=* | --program-transform-name=* \
                   1153:   | --program-transform-nam=* | --program-transform-na=* \
                   1154:   | --program-transform-n=* | --program-transform-=* \
                   1155:   | --program-transform=* | --program-transfor=* \
                   1156:   | --program-transfo=* | --program-transf=* \
                   1157:   | --program-trans=* | --program-tran=* \
                   1158:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.62      paf      1159:     program_transform_name=$ac_optarg ;;
1.1       paf      1160: 
1.150     moko     1161:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1162:     ac_prev=pdfdir ;;
                   1163:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1164:     pdfdir=$ac_optarg ;;
                   1165: 
                   1166:   -psdir | --psdir | --psdi | --psd | --ps)
                   1167:     ac_prev=psdir ;;
                   1168:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1169:     psdir=$ac_optarg ;;
                   1170: 
1.1       paf      1171:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1172:   | -silent | --silent | --silen | --sile | --sil)
                   1173:     silent=yes ;;
                   1174: 
1.191     moko     1175:   -runstatedir | --runstatedir | --runstatedi | --runstated \
                   1176:   | --runstate | --runstat | --runsta | --runst | --runs \
                   1177:   | --run | --ru | --r)
                   1178:     ac_prev=runstatedir ;;
                   1179:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
                   1180:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
                   1181:   | --run=* | --ru=* | --r=*)
                   1182:     runstatedir=$ac_optarg ;;
                   1183: 
1.1       paf      1184:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1185:     ac_prev=sbindir ;;
                   1186:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1187:   | --sbi=* | --sb=*)
1.62      paf      1188:     sbindir=$ac_optarg ;;
1.1       paf      1189: 
                   1190:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1191:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1192:   | --sharedst | --shareds | --shared | --share | --shar \
                   1193:   | --sha | --sh)
                   1194:     ac_prev=sharedstatedir ;;
                   1195:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1196:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1197:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1198:   | --sha=* | --sh=*)
1.62      paf      1199:     sharedstatedir=$ac_optarg ;;
1.1       paf      1200: 
                   1201:   -site | --site | --sit)
                   1202:     ac_prev=site ;;
                   1203:   -site=* | --site=* | --sit=*)
1.62      paf      1204:     site=$ac_optarg ;;
1.1       paf      1205: 
                   1206:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1207:     ac_prev=srcdir ;;
                   1208:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62      paf      1209:     srcdir=$ac_optarg ;;
1.1       paf      1210: 
                   1211:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1212:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1213:     ac_prev=sysconfdir ;;
                   1214:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1215:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62      paf      1216:     sysconfdir=$ac_optarg ;;
1.1       paf      1217: 
                   1218:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.62      paf      1219:     ac_prev=target_alias ;;
1.1       paf      1220:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62      paf      1221:     target_alias=$ac_optarg ;;
1.1       paf      1222: 
                   1223:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1224:     verbose=yes ;;
                   1225: 
1.62      paf      1226:   -version | --version | --versio | --versi | --vers | -V)
                   1227:     ac_init_version=: ;;
1.1       paf      1228: 
                   1229:   -with-* | --with-*)
1.150     moko     1230:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf      1231:     # Reject names that are not valid shell variable names.
1.150     moko     1232:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.237     moko     1233:       as_fn_error $? "invalid package name: '$ac_useropt'"
1.150     moko     1234:     ac_useropt_orig=$ac_useropt
1.237     moko     1235:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.150     moko     1236:     case $ac_user_opts in
                   1237:       *"
                   1238: "with_$ac_useropt"
                   1239: "*) ;;
                   1240:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1241:         ac_unrecognized_sep=', ';;
1.1       paf      1242:     esac
1.150     moko     1243:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       paf      1244: 
                   1245:   -without-* | --without-*)
1.150     moko     1246:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf      1247:     # Reject names that are not valid shell variable names.
1.150     moko     1248:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.237     moko     1249:       as_fn_error $? "invalid package name: '$ac_useropt'"
1.150     moko     1250:     ac_useropt_orig=$ac_useropt
1.237     moko     1251:     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1.150     moko     1252:     case $ac_user_opts in
                   1253:       *"
                   1254: "with_$ac_useropt"
                   1255: "*) ;;
                   1256:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1257:         ac_unrecognized_sep=', ';;
                   1258:     esac
                   1259:     eval with_$ac_useropt=no ;;
1.1       paf      1260: 
                   1261:   --x)
                   1262:     # Obsolete; use --with-x.
                   1263:     with_x=yes ;;
                   1264: 
                   1265:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1266:   | --x-incl | --x-inc | --x-in | --x-i)
                   1267:     ac_prev=x_includes ;;
                   1268:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1269:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62      paf      1270:     x_includes=$ac_optarg ;;
1.1       paf      1271: 
                   1272:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1273:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1274:     ac_prev=x_libraries ;;
                   1275:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1276:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62      paf      1277:     x_libraries=$ac_optarg ;;
1.1       paf      1278: 
1.237     moko     1279:   -*) as_fn_error $? "unrecognized option: '$ac_option'
                   1280: Try '$0 --help' for more information"
1.1       paf      1281:     ;;
                   1282: 
1.62      paf      1283:   *=*)
                   1284:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1285:     # Reject names that are not valid shell variable names.
1.150     moko     1286:     case $ac_envvar in #(
                   1287:       '' | [0-9]* | *[!_$as_cr_alnum]* )
1.237     moko     1288:       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1.150     moko     1289:     esac
                   1290:     eval $ac_envvar=\$ac_optarg
1.62      paf      1291:     export $ac_envvar ;;
                   1292: 
1.1       paf      1293:   *)
1.62      paf      1294:     # FIXME: should be removed in autoconf 3.0.
1.237     moko     1295:     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1.62      paf      1296:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.237     moko     1297:       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1.150     moko     1298:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       paf      1299:     ;;
                   1300: 
                   1301:   esac
                   1302: done
                   1303: 
                   1304: if test -n "$ac_prev"; then
1.62      paf      1305:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.150     moko     1306:   as_fn_error $? "missing argument to $ac_option"
1.1       paf      1307: fi
                   1308: 
1.150     moko     1309: if test -n "$ac_unrecognized_opts"; then
                   1310:   case $enable_option_checking in
                   1311:     no) ;;
                   1312:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1.237     moko     1313:     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1.150     moko     1314:   esac
                   1315: fi
                   1316: 
                   1317: # Check all directory arguments for consistency.
                   1318: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1319:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1320:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.191     moko     1321:                libdir localedir mandir runstatedir
1.62      paf      1322: do
1.150     moko     1323:   eval ac_val=\$$ac_var
                   1324:   # Remove trailing slashes.
1.62      paf      1325:   case $ac_val in
1.150     moko     1326:     */ )
                   1327:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1328:       eval $ac_var=\$ac_val;;
1.62      paf      1329:   esac
1.150     moko     1330:   # Be sure to have absolute directory names.
1.62      paf      1331:   case $ac_val in
1.150     moko     1332:     [\\/$]* | ?:[\\/]* )  continue;;
                   1333:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       paf      1334:   esac
1.150     moko     1335:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       paf      1336: done
                   1337: 
1.237     moko     1338: # There might be people who depend on the old broken behavior: '$host'
1.62      paf      1339: # used to hold the argument of --host etc.
                   1340: # FIXME: To remove some day.
                   1341: build=$build_alias
                   1342: host=$host_alias
                   1343: target=$target_alias
                   1344: 
                   1345: # FIXME: To remove some day.
                   1346: if test "x$host_alias" != x; then
                   1347:   if test "x$build_alias" = x; then
                   1348:     cross_compiling=maybe
                   1349:   elif test "x$build_alias" != "x$host_alias"; then
                   1350:     cross_compiling=yes
                   1351:   fi
                   1352: fi
                   1353: 
                   1354: ac_tool_prefix=
                   1355: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf      1356: 
1.62      paf      1357: test "$silent" = yes && exec 6>/dev/null
1.1       paf      1358: 
                   1359: 
1.150     moko     1360: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1361: ac_ls_di=`ls -di .` &&
                   1362: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1363:   as_fn_error $? "working directory cannot be determined"
                   1364: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1365:   as_fn_error $? "pwd does not report name of working directory"
                   1366: 
                   1367: 
1.1       paf      1368: # Find the source files, if location was not specified.
                   1369: if test -z "$srcdir"; then
                   1370:   ac_srcdir_defaulted=yes
1.150     moko     1371:   # Try the directory containing this script, then the parent directory.
                   1372:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1373: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1374:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1375:         X"$as_myself" : 'X\(//\)$' \| \
                   1376:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     1377: printf "%s\n" X"$as_myself" |
1.150     moko     1378:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1379:            s//\1/
                   1380:            q
                   1381:          }
                   1382:          /^X\(\/\/\)[^/].*/{
                   1383:            s//\1/
                   1384:            q
                   1385:          }
                   1386:          /^X\(\/\/\)$/{
                   1387:            s//\1/
                   1388:            q
                   1389:          }
                   1390:          /^X\(\/\).*/{
                   1391:            s//\1/
                   1392:            q
                   1393:          }
                   1394:          s/.*/./; q'`
1.1       paf      1395:   srcdir=$ac_confdir
1.150     moko     1396:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       paf      1397:     srcdir=..
                   1398:   fi
                   1399: else
                   1400:   ac_srcdir_defaulted=no
                   1401: fi
1.150     moko     1402: if test ! -r "$srcdir/$ac_unique_file"; then
                   1403:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1404:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1405: fi
1.237     moko     1406: ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1.150     moko     1407: ac_abs_confdir=`(
                   1408:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1409:        pwd)`
                   1410: # When building in place, set srcdir=.
                   1411: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1412:   srcdir=.
                   1413: fi
                   1414: # Remove unnecessary trailing slashes from srcdir.
                   1415: # Double slashes in file names in object file debugging info
                   1416: # mess up M-x gdb in Emacs.
                   1417: case $srcdir in
                   1418: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1419: esac
                   1420: for ac_var in $ac_precious_vars; do
                   1421:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1422:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1423:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1424:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1425: done
1.62      paf      1426: 
                   1427: #
                   1428: # Report the --help message.
                   1429: #
                   1430: if test "$ac_init_help" = "long"; then
                   1431:   # Omit some internal or obsolete options to make the list less imposing.
                   1432:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1433:   cat <<_ACEOF
1.237     moko     1434: 'configure' configures parser 3.5.2b to adapt to many kinds of systems.
1.62      paf      1435: 
                   1436: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1437: 
                   1438: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1439: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1440: 
                   1441: Defaults for the options are specified in brackets.
                   1442: 
                   1443: Configuration:
                   1444:   -h, --help              display this help and exit
                   1445:       --help=short        display options specific to this package
                   1446:       --help=recursive    display the short help of all the included packages
                   1447:   -V, --version           display version information and exit
1.237     moko     1448:   -q, --quiet, --silent   do not print 'checking ...' messages
1.62      paf      1449:       --cache-file=FILE   cache test results in FILE [disabled]
1.237     moko     1450:   -C, --config-cache      alias for '--cache-file=config.cache'
1.62      paf      1451:   -n, --no-create         do not create output files
1.237     moko     1452:       --srcdir=DIR        find the sources in DIR [configure dir or '..']
1.62      paf      1453: 
                   1454: Installation directories:
                   1455:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.150     moko     1456:                           [$ac_default_prefix]
1.62      paf      1457:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.150     moko     1458:                           [PREFIX]
1.62      paf      1459: 
1.237     moko     1460: By default, 'make install' will install all the files in
                   1461: '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
                   1462: an installation prefix other than '$ac_default_prefix' using '--prefix',
                   1463: for instance '--prefix=\$HOME'.
1.62      paf      1464: 
                   1465: For better control, use the options below.
                   1466: 
                   1467: Fine tuning of the installation directories:
1.150     moko     1468:   --bindir=DIR            user executables [EPREFIX/bin]
                   1469:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1470:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1471:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1472:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1473:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1.191     moko     1474:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1.150     moko     1475:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1476:   --includedir=DIR        C header files [PREFIX/include]
                   1477:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1478:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1479:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1480:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1481:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1482:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1483:   --docdir=DIR            documentation root [DATAROOTDIR/doc/parser]
                   1484:   --htmldir=DIR           html documentation [DOCDIR]
                   1485:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1486:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1487:   --psdir=DIR             ps documentation [DOCDIR]
1.62      paf      1488: _ACEOF
                   1489: 
                   1490:   cat <<\_ACEOF
                   1491: 
                   1492: Program names:
                   1493:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1494:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1495:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1496: 
                   1497: System types:
                   1498:   --build=BUILD     configure for building on BUILD [guessed]
                   1499:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1500: _ACEOF
                   1501: fi
                   1502: 
                   1503: if test -n "$ac_init_help"; then
1.128     moko     1504:   case $ac_init_help in
1.230     moko     1505:      short | recursive ) echo "Configuration of parser 3.5.2b:";;
1.128     moko     1506:    esac
1.62      paf      1507:   cat <<\_ACEOF
                   1508: 
                   1509: Optional Features:
1.150     moko     1510:   --disable-option-checking  ignore unrecognized --enable/--with options
1.62      paf      1511:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1512:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.187     moko     1513:   --enable-silent-rules   less verbose build output (undo: "make V=1")
                   1514:   --disable-silent-rules  verbose build output (undo: "make V=0")
                   1515:   --enable-dependency-tracking
                   1516:                           do not reject slow dependency extractors
                   1517:   --disable-dependency-tracking
                   1518:                           speeds up one-time build
1.67      paf      1519:   --disable-safe-mode    to enable reading and executing
1.62      paf      1520:                           files belonging to group+user other then effective
1.146     moko     1521:   --disable-execs        to disable any execs
1.62      paf      1522:                           (file::exec, file::cgi, unix mail:send)
1.195     moko     1523:   --disable-stringstream to disable stringstream usage.
                   1524:                           when disabled table.save uses more memory, but more compilers are supported
1.237     moko     1525:   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
                   1526:                           both]
1.150     moko     1527:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1528:   --enable-static[=PKGS]  build static libraries [default=yes]
1.128     moko     1529:   --enable-fast-install[=PKGS]
                   1530:                           optimize for fast installation [default=yes]
1.237     moko     1531:   --enable-aix-soname=aix|svr4|both
                   1532:                           shared library versioning (aka "SONAME") variant to
                   1533:                           provide on AIX, [default=aix].
1.128     moko     1534:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1535:   --enable-ltdl-install   install libltdl
1.171     moko     1536:   --disable-largefile     omit support for large files
1.237     moko     1537:   --enable-year2038       support timestamps after 2038
1.62      paf      1538: 
                   1539: Optional Packages:
                   1540:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1541:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.71      paf      1542:   --with-build-warnings   to enable build-time compiler warnings if gcc is used
1.185     moko     1543:   --with-coverage         to enable gcov code coverage support
                   1544:   --with-profiler         to enable gprof code profiler support
1.67      paf      1545:   --with-assertions       to enable assertions
1.201     moko     1546:   --with-sjlj-exceptions  to enable simple 'throw' from dynamic library
                   1547:   --with-system-cfg=FILE  to specify system-wide auto.p
                   1548:   --with-gc=DIR           DIR is the directory where
1.142     moko     1549:                           Boehm garbage collecting library is installed
1.201     moko     1550:   --with-pcre=DIR         DIR is the directory where
1.142     moko     1551:                           PCRE library is installed
1.201     moko     1552:   --with-xml=DIR          DIR is the directory where
1.142     moko     1553:                           Gnome XML libraries are installed
1.201     moko     1554:   --with-mailreceive=DIR  is the directory where
1.154     moko     1555:                           Gnome MIME library is installed
1.232     moko     1556:   --with-amqp=DIR         DIR is the directory where
                   1557:                           RabbitMQ C library (librabbitmq) is installed
1.239     moko     1558:   --with-redis=DIR        DIR is the directory where
                   1559:                           Redis C library (hiredis) is installed
1.62      paf      1560:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                   1561:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                   1562:                           (makes parser ignore user-defined sendmail commands)
1.146     moko     1563:   --with-apache=FILE      FILE is the full path for APXS
1.122     moko     1564:                           builds apache DSO module using apxs
1.128     moko     1565:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1.237     moko     1566:   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
                   1567:                           compiler's sysroot if not specified).
1.128     moko     1568:   --with-included-ltdl    use the GNU ltdl sources included here
                   1569:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                   1570:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.62      paf      1571: 
                   1572: Some influential environment variables:
1.237     moko     1573:   YACC        The 'Yet Another Compiler Compiler' implementation to use.
                   1574:               Defaults to the first program found out of: 'bison -y', 'byacc',
                   1575:               'yacc'.
1.150     moko     1576:   YFLAGS      The list of arguments that will be passed by default to $YACC.
                   1577:               This script will default YFLAGS to the empty string to avoid a
1.237     moko     1578:               default value of '-d' given by some make applications.
1.66      paf      1579:   CXX         C++ compiler command
                   1580:   CXXFLAGS    C++ compiler flags
1.62      paf      1581:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1582:               nonstandard directory <lib dir>
1.150     moko     1583:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1584:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1585:               you have headers in a nonstandard directory <include dir>
1.66      paf      1586:   CC          C compiler command
                   1587:   CFLAGS      C compiler flags
1.237     moko     1588:   LT_SYS_LIBRARY_PATH
                   1589:               User-defined run-time library search path.
1.128     moko     1590:   CXXCPP      C++ preprocessor
1.62      paf      1591: 
1.237     moko     1592: Use these variables to override the choices made by 'configure' or to help
1.62      paf      1593: it to find libraries and programs with nonstandard names/locations.
                   1594: 
1.150     moko     1595: Report bugs to the package provider.
1.62      paf      1596: _ACEOF
1.150     moko     1597: ac_status=$?
1.62      paf      1598: fi
                   1599: 
                   1600: if test "$ac_init_help" = "recursive"; then
                   1601:   # If there are subdirs, report their specific --help.
                   1602:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.150     moko     1603:     test -d "$ac_dir" ||
                   1604:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1605:       continue
1.62      paf      1606:     ac_builddir=.
                   1607: 
1.150     moko     1608: case "$ac_dir" in
                   1609: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1610: *)
1.237     moko     1611:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.150     moko     1612:   # A ".." for each directory in $ac_dir_suffix.
1.237     moko     1613:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.150     moko     1614:   case $ac_top_builddir_sub in
                   1615:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1616:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1617:   esac ;;
                   1618: esac
                   1619: ac_abs_top_builddir=$ac_pwd
                   1620: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1621: # for backward compatibility:
                   1622: ac_top_builddir=$ac_top_build_prefix
1.62      paf      1623: 
                   1624: case $srcdir in
1.150     moko     1625:   .)  # We are building in place.
1.62      paf      1626:     ac_srcdir=.
1.150     moko     1627:     ac_top_srcdir=$ac_top_builddir_sub
                   1628:     ac_abs_top_srcdir=$ac_pwd ;;
                   1629:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      1630:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     1631:     ac_top_srcdir=$srcdir
                   1632:     ac_abs_top_srcdir=$srcdir ;;
                   1633:   *) # Relative name.
                   1634:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1635:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1636:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      1637: esac
1.150     moko     1638: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.62      paf      1639: 
1.150     moko     1640:     cd "$ac_dir" || { ac_status=$?; continue; }
1.237     moko     1641:     # Check for configure.gnu first; this name is used for a wrapper for
                   1642:     # Metaconfig's "Configure" on case-insensitive file systems.
1.150     moko     1643:     if test -f "$ac_srcdir/configure.gnu"; then
                   1644:       echo &&
                   1645:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1646:     elif test -f "$ac_srcdir/configure"; then
                   1647:       echo &&
                   1648:       $SHELL "$ac_srcdir/configure" --help=recursive
1.62      paf      1649:     else
1.237     moko     1650:       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.150     moko     1651:     fi || ac_status=$?
                   1652:     cd "$ac_pwd" || { ac_status=$?; break; }
1.62      paf      1653:   done
                   1654: fi
                   1655: 
1.150     moko     1656: test -n "$ac_init_help" && exit $ac_status
1.62      paf      1657: if $ac_init_version; then
                   1658:   cat <<\_ACEOF
1.230     moko     1659: parser configure 3.5.2b
1.237     moko     1660: generated by GNU Autoconf 2.72
1.62      paf      1661: 
1.237     moko     1662: Copyright (C) 2023 Free Software Foundation, Inc.
1.62      paf      1663: This configure script is free software; the Free Software Foundation
                   1664: gives unlimited permission to copy, distribute and modify it.
                   1665: _ACEOF
1.150     moko     1666:   exit
1.62      paf      1667: fi
                   1668: 
1.150     moko     1669: ## ------------------------ ##
                   1670: ## Autoconf initialization. ##
                   1671: ## ------------------------ ##
                   1672: 
                   1673: # ac_fn_cxx_try_compile LINENO
                   1674: # ----------------------------
                   1675: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1676: ac_fn_cxx_try_compile ()
1.62      paf      1677: {
1.150     moko     1678:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.237     moko     1679:   rm -f conftest.$ac_objext conftest.beam
1.150     moko     1680:   if { { ac_try="$ac_compile"
                   1681: case "(($ac_try" in
                   1682:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1683:   *) ac_try_echo=$ac_try;;
                   1684: esac
                   1685: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.237     moko     1686: printf "%s\n" "$ac_try_echo"; } >&5
1.150     moko     1687:   (eval "$ac_compile") 2>conftest.err
                   1688:   ac_status=$?
                   1689:   if test -s conftest.err; then
                   1690:     grep -v '^ *+' conftest.err >conftest.er1
                   1691:     cat conftest.er1 >&5
                   1692:     mv -f conftest.er1 conftest.err
                   1693:   fi
1.237     moko     1694:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     1695:   test $ac_status = 0; } && {
                   1696:         test -z "$ac_cxx_werror_flag" ||
                   1697:         test ! -s conftest.err
1.237     moko     1698:        } && test -s conftest.$ac_objext
                   1699: then :
1.150     moko     1700:   ac_retval=0
1.237     moko     1701: else case e in #(
                   1702:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.150     moko     1703: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      1704: 
1.237     moko     1705:        ac_retval=1 ;;
                   1706: esac
1.150     moko     1707: fi
                   1708:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1709:   as_fn_set_status $ac_retval
1.62      paf      1710: 
1.150     moko     1711: } # ac_fn_cxx_try_compile
                   1712: 
                   1713: # ac_fn_c_try_compile LINENO
                   1714: # --------------------------
                   1715: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1716: ac_fn_c_try_compile ()
                   1717: {
                   1718:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.237     moko     1719:   rm -f conftest.$ac_objext conftest.beam
1.150     moko     1720:   if { { ac_try="$ac_compile"
                   1721: case "(($ac_try" in
                   1722:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1723:   *) ac_try_echo=$ac_try;;
                   1724: esac
                   1725: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.237     moko     1726: printf "%s\n" "$ac_try_echo"; } >&5
1.150     moko     1727:   (eval "$ac_compile") 2>conftest.err
                   1728:   ac_status=$?
                   1729:   if test -s conftest.err; then
                   1730:     grep -v '^ *+' conftest.err >conftest.er1
                   1731:     cat conftest.er1 >&5
                   1732:     mv -f conftest.er1 conftest.err
                   1733:   fi
1.237     moko     1734:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     1735:   test $ac_status = 0; } && {
                   1736:         test -z "$ac_c_werror_flag" ||
                   1737:         test ! -s conftest.err
1.237     moko     1738:        } && test -s conftest.$ac_objext
                   1739: then :
1.150     moko     1740:   ac_retval=0
1.237     moko     1741: else case e in #(
                   1742:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.150     moko     1743: sed 's/^/| /' conftest.$ac_ext >&5
                   1744: 
1.237     moko     1745:        ac_retval=1 ;;
                   1746: esac
1.150     moko     1747: fi
                   1748:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1749:   as_fn_set_status $ac_retval
                   1750: 
                   1751: } # ac_fn_c_try_compile
                   1752: 
                   1753: # ac_fn_c_try_link LINENO
                   1754: # -----------------------
                   1755: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1756: ac_fn_c_try_link ()
                   1757: {
                   1758:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.237     moko     1759:   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1.150     moko     1760:   if { { ac_try="$ac_link"
                   1761: case "(($ac_try" in
                   1762:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1763:   *) ac_try_echo=$ac_try;;
                   1764: esac
                   1765: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.237     moko     1766: printf "%s\n" "$ac_try_echo"; } >&5
1.150     moko     1767:   (eval "$ac_link") 2>conftest.err
                   1768:   ac_status=$?
                   1769:   if test -s conftest.err; then
                   1770:     grep -v '^ *+' conftest.err >conftest.er1
                   1771:     cat conftest.er1 >&5
                   1772:     mv -f conftest.er1 conftest.err
                   1773:   fi
1.237     moko     1774:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     1775:   test $ac_status = 0; } && {
                   1776:         test -z "$ac_c_werror_flag" ||
                   1777:         test ! -s conftest.err
                   1778:        } && test -s conftest$ac_exeext && {
                   1779:         test "$cross_compiling" = yes ||
1.166     moko     1780:         test -x conftest$ac_exeext
1.237     moko     1781:        }
                   1782: then :
1.150     moko     1783:   ac_retval=0
1.237     moko     1784: else case e in #(
                   1785:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.150     moko     1786: sed 's/^/| /' conftest.$ac_ext >&5
                   1787: 
1.237     moko     1788:        ac_retval=1 ;;
                   1789: esac
1.150     moko     1790: fi
                   1791:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1792:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1793:   # interfere with the next link command; also delete a directory that is
                   1794:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1795:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1796:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1797:   as_fn_set_status $ac_retval
                   1798: 
                   1799: } # ac_fn_c_try_link
                   1800: 
                   1801: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1802: # -------------------------------------------------------
                   1803: # Tests whether HEADER exists and can be compiled using the include files in
                   1804: # INCLUDES, setting the cache variable VAR accordingly.
                   1805: ac_fn_c_check_header_compile ()
                   1806: {
                   1807:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.237     moko     1808:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1809: printf %s "checking for $2... " >&6; }
                   1810: if eval test \${$3+y}
                   1811: then :
                   1812:   printf %s "(cached) " >&6
                   1813: else case e in #(
                   1814:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.150     moko     1815: /* end confdefs.h.  */
                   1816: $4
                   1817: #include <$2>
                   1818: _ACEOF
1.237     moko     1819: if ac_fn_c_try_compile "$LINENO"
                   1820: then :
1.150     moko     1821:   eval "$3=yes"
1.237     moko     1822: else case e in #(
                   1823:   e) eval "$3=no" ;;
                   1824: esac
1.150     moko     1825: fi
1.237     moko     1826: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   1827: esac
1.150     moko     1828: fi
                   1829: eval ac_res=\$$3
1.237     moko     1830:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1831: printf "%s\n" "$ac_res" >&6; }
1.150     moko     1832:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1833: 
                   1834: } # ac_fn_c_check_header_compile
                   1835: 
                   1836: # ac_fn_c_check_func LINENO FUNC VAR
                   1837: # ----------------------------------
                   1838: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1839: ac_fn_c_check_func ()
                   1840: {
                   1841:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.237     moko     1842:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1843: printf %s "checking for $2... " >&6; }
                   1844: if eval test \${$3+y}
                   1845: then :
                   1846:   printf %s "(cached) " >&6
                   1847: else case e in #(
                   1848:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.150     moko     1849: /* end confdefs.h.  */
                   1850: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1851:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1852: #define $2 innocuous_$2
                   1853: 
                   1854: /* System header to define __stub macros and hopefully few prototypes,
1.237     moko     1855:    which can conflict with char $2 (void); below.  */
1.150     moko     1856: 
1.237     moko     1857: #include <limits.h>
1.150     moko     1858: #undef $2
                   1859: 
                   1860: /* Override any GCC internal prototype to avoid an error.
                   1861:    Use char because int might match the return type of a GCC
                   1862:    builtin and then its argument prototype would still apply.  */
                   1863: #ifdef __cplusplus
                   1864: extern "C"
                   1865: #endif
1.237     moko     1866: char $2 (void);
1.150     moko     1867: /* The GNU C library defines this for functions which it implements
                   1868:     to always fail with ENOSYS.  Some functions are actually named
                   1869:     something starting with __ and the normal name is an alias.  */
                   1870: #if defined __stub_$2 || defined __stub___$2
                   1871: choke me
                   1872: #endif
                   1873: 
                   1874: int
1.237     moko     1875: main (void)
1.150     moko     1876: {
                   1877: return $2 ();
                   1878:   ;
                   1879:   return 0;
                   1880: }
                   1881: _ACEOF
1.237     moko     1882: if ac_fn_c_try_link "$LINENO"
                   1883: then :
1.150     moko     1884:   eval "$3=yes"
1.237     moko     1885: else case e in #(
                   1886:   e) eval "$3=no" ;;
                   1887: esac
1.150     moko     1888: fi
1.237     moko     1889: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   1890:     conftest$ac_exeext conftest.$ac_ext ;;
                   1891: esac
1.150     moko     1892: fi
                   1893: eval ac_res=\$$3
1.237     moko     1894:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1895: printf "%s\n" "$ac_res" >&6; }
1.150     moko     1896:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1897: 
                   1898: } # ac_fn_c_check_func
                   1899: 
                   1900: # ac_fn_cxx_try_cpp LINENO
                   1901: # ------------------------
                   1902: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1903: ac_fn_cxx_try_cpp ()
                   1904: {
                   1905:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1906:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1907: case "(($ac_try" in
                   1908:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1909:   *) ac_try_echo=$ac_try;;
                   1910: esac
                   1911: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.237     moko     1912: printf "%s\n" "$ac_try_echo"; } >&5
1.150     moko     1913:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1914:   ac_status=$?
                   1915:   if test -s conftest.err; then
                   1916:     grep -v '^ *+' conftest.err >conftest.er1
                   1917:     cat conftest.er1 >&5
                   1918:     mv -f conftest.er1 conftest.err
                   1919:   fi
1.237     moko     1920:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     1921:   test $ac_status = 0; } > conftest.i && {
                   1922:         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
                   1923:         test ! -s conftest.err
1.237     moko     1924:        }
                   1925: then :
1.150     moko     1926:   ac_retval=0
1.237     moko     1927: else case e in #(
                   1928:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.150     moko     1929: sed 's/^/| /' conftest.$ac_ext >&5
                   1930: 
1.237     moko     1931:     ac_retval=1 ;;
                   1932: esac
1.150     moko     1933: fi
                   1934:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1935:   as_fn_set_status $ac_retval
                   1936: 
                   1937: } # ac_fn_cxx_try_cpp
                   1938: 
                   1939: # ac_fn_cxx_try_link LINENO
                   1940: # -------------------------
                   1941: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1942: ac_fn_cxx_try_link ()
                   1943: {
                   1944:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.237     moko     1945:   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1.150     moko     1946:   if { { ac_try="$ac_link"
                   1947: case "(($ac_try" in
                   1948:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1949:   *) ac_try_echo=$ac_try;;
                   1950: esac
                   1951: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.237     moko     1952: printf "%s\n" "$ac_try_echo"; } >&5
1.150     moko     1953:   (eval "$ac_link") 2>conftest.err
                   1954:   ac_status=$?
                   1955:   if test -s conftest.err; then
                   1956:     grep -v '^ *+' conftest.err >conftest.er1
                   1957:     cat conftest.er1 >&5
                   1958:     mv -f conftest.er1 conftest.err
                   1959:   fi
1.237     moko     1960:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     1961:   test $ac_status = 0; } && {
                   1962:         test -z "$ac_cxx_werror_flag" ||
                   1963:         test ! -s conftest.err
                   1964:        } && test -s conftest$ac_exeext && {
                   1965:         test "$cross_compiling" = yes ||
1.166     moko     1966:         test -x conftest$ac_exeext
1.237     moko     1967:        }
                   1968: then :
1.150     moko     1969:   ac_retval=0
1.237     moko     1970: else case e in #(
                   1971:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.150     moko     1972: sed 's/^/| /' conftest.$ac_ext >&5
                   1973: 
1.237     moko     1974:        ac_retval=1 ;;
                   1975: esac
1.150     moko     1976: fi
                   1977:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1978:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1979:   # interfere with the next link command; also delete a directory that is
                   1980:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1981:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1982:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1983:   as_fn_set_status $ac_retval
                   1984: 
                   1985: } # ac_fn_cxx_try_link
                   1986: 
1.237     moko     1987: # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
                   1988: # ------------------------------------------------------------------
1.150     moko     1989: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1.237     moko     1990: # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
                   1991: ac_fn_check_decl ()
1.150     moko     1992: {
                   1993:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1994:   as_decl_name=`echo $2|sed 's/ *(.*//'`
1.237     moko     1995:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   1996: printf %s "checking whether $as_decl_name is declared... " >&6; }
                   1997: if eval test \${$3+y}
                   1998: then :
                   1999:   printf %s "(cached) " >&6
                   2000: else case e in #(
                   2001:   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   2002:   eval ac_save_FLAGS=\$$6
                   2003:   as_fn_append $6 " $5"
1.150     moko     2004:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2005: /* end confdefs.h.  */
                   2006: $4
                   2007: int
1.237     moko     2008: main (void)
1.150     moko     2009: {
                   2010: #ifndef $as_decl_name
                   2011: #ifdef __cplusplus
                   2012:   (void) $as_decl_use;
                   2013: #else
                   2014:   (void) $as_decl_name;
                   2015: #endif
                   2016: #endif
                   2017: 
                   2018:   ;
                   2019:   return 0;
                   2020: }
                   2021: _ACEOF
1.237     moko     2022: if ac_fn_c_try_compile "$LINENO"
                   2023: then :
1.150     moko     2024:   eval "$3=yes"
1.237     moko     2025: else case e in #(
                   2026:   e) eval "$3=no" ;;
                   2027: esac
1.150     moko     2028: fi
1.237     moko     2029: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   2030:   eval $6=\$ac_save_FLAGS
                   2031:  ;;
                   2032: esac
1.150     moko     2033: fi
                   2034: eval ac_res=\$$3
1.237     moko     2035:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2036: printf "%s\n" "$ac_res" >&6; }
1.150     moko     2037:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2038: 
1.237     moko     2039: } # ac_fn_check_decl
1.150     moko     2040: 
                   2041: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   2042: # -------------------------------------------
                   2043: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2044: # variable VAR accordingly.
                   2045: ac_fn_c_check_type ()
                   2046: {
                   2047:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.237     moko     2048:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2049: printf %s "checking for $2... " >&6; }
                   2050: if eval test \${$3+y}
                   2051: then :
                   2052:   printf %s "(cached) " >&6
                   2053: else case e in #(
                   2054:   e) eval "$3=no"
1.150     moko     2055:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2056: /* end confdefs.h.  */
                   2057: $4
                   2058: int
1.237     moko     2059: main (void)
1.150     moko     2060: {
                   2061: if (sizeof ($2))
                   2062:         return 0;
                   2063:   ;
                   2064:   return 0;
                   2065: }
                   2066: _ACEOF
1.237     moko     2067: if ac_fn_c_try_compile "$LINENO"
                   2068: then :
1.150     moko     2069:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2070: /* end confdefs.h.  */
                   2071: $4
                   2072: int
1.237     moko     2073: main (void)
1.150     moko     2074: {
                   2075: if (sizeof (($2)))
                   2076:            return 0;
                   2077:   ;
                   2078:   return 0;
                   2079: }
                   2080: _ACEOF
1.237     moko     2081: if ac_fn_c_try_compile "$LINENO"
                   2082: then :
1.150     moko     2083: 
1.237     moko     2084: else case e in #(
                   2085:   e) eval "$3=yes" ;;
                   2086: esac
1.150     moko     2087: fi
1.237     moko     2088: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.150     moko     2089: fi
1.237     moko     2090: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   2091: esac
1.150     moko     2092: fi
                   2093: eval ac_res=\$$3
1.237     moko     2094:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2095: printf "%s\n" "$ac_res" >&6; }
1.150     moko     2096:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2097: 
                   2098: } # ac_fn_c_check_type
                   2099: 
1.237     moko     2100: # ac_fn_c_try_run LINENO
                   2101: # ----------------------
                   2102: # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
                   2103: # executables *can* be run.
                   2104: ac_fn_c_try_run ()
                   2105: {
                   2106:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2107:   if { { ac_try="$ac_link"
                   2108: case "(($ac_try" in
                   2109:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2110:   *) ac_try_echo=$ac_try;;
                   2111: esac
                   2112: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2113: printf "%s\n" "$ac_try_echo"; } >&5
                   2114:   (eval "$ac_link") 2>&5
                   2115:   ac_status=$?
                   2116:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2117:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   2118:   { { case "(($ac_try" in
                   2119:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2120:   *) ac_try_echo=$ac_try;;
                   2121: esac
                   2122: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2123: printf "%s\n" "$ac_try_echo"; } >&5
                   2124:   (eval "$ac_try") 2>&5
                   2125:   ac_status=$?
                   2126:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2127:   test $ac_status = 0; }; }
                   2128: then :
                   2129:   ac_retval=0
                   2130: else case e in #(
                   2131:   e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
                   2132:        printf "%s\n" "$as_me: failed program was:" >&5
                   2133: sed 's/^/| /' conftest.$ac_ext >&5
                   2134: 
                   2135:        ac_retval=$ac_status ;;
                   2136: esac
                   2137: fi
                   2138:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   2139:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2140:   as_fn_set_status $ac_retval
                   2141: 
                   2142: } # ac_fn_c_try_run
                   2143: 
1.156     moko     2144: # ac_fn_c_find_uintX_t LINENO BITS VAR
                   2145: # ------------------------------------
                   2146: # Finds an unsigned integer type with width BITS, setting cache variable VAR
                   2147: # accordingly.
                   2148: ac_fn_c_find_uintX_t ()
                   2149: {
                   2150:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.237     moko     2151:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
                   2152: printf %s "checking for uint$2_t... " >&6; }
                   2153: if eval test \${$3+y}
                   2154: then :
                   2155:   printf %s "(cached) " >&6
                   2156: else case e in #(
                   2157:   e) eval "$3=no"
1.156     moko     2158:      # Order is important - never check a type that is potentially smaller
                   2159:      # than half of the expected target width.
                   2160:      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
                   2161:         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
                   2162:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2163: /* end confdefs.h.  */
                   2164: $ac_includes_default
                   2165: int
1.237     moko     2166: main (void)
1.156     moko     2167: {
                   2168: static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1.166     moko     2169: test_array [0] = 0;
                   2170: return test_array [0];
1.156     moko     2171: 
                   2172:   ;
                   2173:   return 0;
                   2174: }
                   2175: _ACEOF
1.237     moko     2176: if ac_fn_c_try_compile "$LINENO"
                   2177: then :
1.156     moko     2178:   case $ac_type in #(
                   2179:   uint$2_t) :
                   2180:     eval "$3=yes" ;; #(
                   2181:   *) :
                   2182:     eval "$3=\$ac_type" ;;
                   2183: esac
                   2184: fi
1.237     moko     2185: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   2186:        if eval test \"x\$"$3"\" = x"no"
                   2187: then :
1.156     moko     2188: 
1.237     moko     2189: else case e in #(
                   2190:   e) break ;;
                   2191: esac
1.156     moko     2192: fi
1.237     moko     2193:      done ;;
                   2194: esac
1.156     moko     2195: fi
                   2196: eval ac_res=\$$3
1.237     moko     2197:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2198: printf "%s\n" "$ac_res" >&6; }
1.156     moko     2199:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2200: 
                   2201: } # ac_fn_c_find_uintX_t
                   2202: 
1.234     moko     2203: # ac_fn_c_find_intX_t LINENO BITS VAR
                   2204: # -----------------------------------
                   2205: # Finds a signed integer type with width BITS, setting cache variable VAR
                   2206: # accordingly.
                   2207: ac_fn_c_find_intX_t ()
                   2208: {
                   2209:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.237     moko     2210:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
                   2211: printf %s "checking for int$2_t... " >&6; }
                   2212: if eval test \${$3+y}
                   2213: then :
                   2214:   printf %s "(cached) " >&6
                   2215: else case e in #(
                   2216:   e) eval "$3=no"
1.234     moko     2217:      # Order is important - never check a type that is potentially smaller
                   2218:      # than half of the expected target width.
                   2219:      for ac_type in int$2_t 'int' 'long int' \
                   2220:         'long long int' 'short int' 'signed char'; do
                   2221:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2222: /* end confdefs.h.  */
                   2223: $ac_includes_default
                   2224:             enum { N = $2 / 2 - 1 };
                   2225: int
1.237     moko     2226: main (void)
1.234     moko     2227: {
                   2228: static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
                   2229: test_array [0] = 0;
                   2230: return test_array [0];
                   2231: 
                   2232:   ;
                   2233:   return 0;
                   2234: }
                   2235: _ACEOF
1.237     moko     2236: if ac_fn_c_try_compile "$LINENO"
                   2237: then :
1.234     moko     2238:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2239: /* end confdefs.h.  */
                   2240: $ac_includes_default
                   2241:                enum { N = $2 / 2 - 1 };
                   2242: int
1.237     moko     2243: main (void)
1.234     moko     2244: {
                   2245: static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
                   2246:                 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
                   2247: test_array [0] = 0;
                   2248: return test_array [0];
                   2249: 
                   2250:   ;
                   2251:   return 0;
                   2252: }
                   2253: _ACEOF
1.237     moko     2254: if ac_fn_c_try_compile "$LINENO"
                   2255: then :
1.234     moko     2256: 
1.237     moko     2257: else case e in #(
                   2258:   e) case $ac_type in #(
1.234     moko     2259:   int$2_t) :
                   2260:     eval "$3=yes" ;; #(
                   2261:   *) :
                   2262:     eval "$3=\$ac_type" ;;
1.237     moko     2263: esac ;;
1.234     moko     2264: esac
                   2265: fi
1.237     moko     2266: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.234     moko     2267: fi
1.237     moko     2268: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   2269:        if eval test \"x\$"$3"\" = x"no"
                   2270: then :
1.234     moko     2271: 
1.237     moko     2272: else case e in #(
                   2273:   e) break ;;
                   2274: esac
1.234     moko     2275: fi
1.237     moko     2276:      done ;;
                   2277: esac
1.234     moko     2278: fi
                   2279: eval ac_res=\$$3
1.237     moko     2280:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2281: printf "%s\n" "$ac_res" >&6; }
1.234     moko     2282:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2283: 
                   2284: } # ac_fn_c_find_intX_t
                   2285: 
1.161     moko     2286: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
                   2287: # ----------------------------------------------------
                   2288: # Tries to find if the field MEMBER exists in type AGGR, after including
                   2289: # INCLUDES, setting cache variable VAR accordingly.
                   2290: ac_fn_c_check_member ()
                   2291: {
                   2292:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.237     moko     2293:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   2294: printf %s "checking for $2.$3... " >&6; }
                   2295: if eval test \${$4+y}
                   2296: then :
                   2297:   printf %s "(cached) " >&6
                   2298: else case e in #(
                   2299:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.161     moko     2300: /* end confdefs.h.  */
                   2301: $5
                   2302: int
1.237     moko     2303: main (void)
1.161     moko     2304: {
                   2305: static $2 ac_aggr;
                   2306: if (ac_aggr.$3)
                   2307: return 0;
                   2308:   ;
                   2309:   return 0;
                   2310: }
                   2311: _ACEOF
1.237     moko     2312: if ac_fn_c_try_compile "$LINENO"
                   2313: then :
1.161     moko     2314:   eval "$4=yes"
1.237     moko     2315: else case e in #(
                   2316:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.161     moko     2317: /* end confdefs.h.  */
                   2318: $5
                   2319: int
1.237     moko     2320: main (void)
1.161     moko     2321: {
                   2322: static $2 ac_aggr;
                   2323: if (sizeof ac_aggr.$3)
                   2324: return 0;
                   2325:   ;
                   2326:   return 0;
                   2327: }
                   2328: _ACEOF
1.237     moko     2329: if ac_fn_c_try_compile "$LINENO"
                   2330: then :
1.161     moko     2331:   eval "$4=yes"
1.237     moko     2332: else case e in #(
                   2333:   e) eval "$4=no" ;;
                   2334: esac
1.161     moko     2335: fi
1.237     moko     2336: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   2337: esac
1.161     moko     2338: fi
1.237     moko     2339: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   2340: esac
1.161     moko     2341: fi
                   2342: eval ac_res=\$$4
1.237     moko     2343:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2344: printf "%s\n" "$ac_res" >&6; }
1.161     moko     2345:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2346: 
                   2347: } # ac_fn_c_check_member
1.237     moko     2348: ac_configure_args_raw=
                   2349: for ac_arg
                   2350: do
                   2351:   case $ac_arg in
                   2352:   *\'*)
                   2353:     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2354:   esac
                   2355:   as_fn_append ac_configure_args_raw " '$ac_arg'"
                   2356: done
                   2357: 
                   2358: case $ac_configure_args_raw in
                   2359:   *$as_nl*)
                   2360:     ac_safe_unquote= ;;
                   2361:   *)
                   2362:     ac_unsafe_z='|&;<>()$`\\"*?[ ''    ' # This string ends in space, tab.
                   2363:     ac_unsafe_a="$ac_unsafe_z#~"
                   2364:     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
                   2365:     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
                   2366: esac
                   2367: 
                   2368: cat >config.log <<_ACEOF
                   2369: This file contains any messages produced by compilers while
                   2370: running configure, to aid debugging if configure makes a mistake.
                   2371: 
                   2372: It was created by parser $as_me 3.5.2b, which was
                   2373: generated by GNU Autoconf 2.72.  Invocation command line was
                   2374: 
                   2375:   $ $0$ac_configure_args_raw
1.161     moko     2376: 
1.237     moko     2377: _ACEOF
                   2378: exec 5>>config.log
1.150     moko     2379: {
1.237     moko     2380: cat <<_ASUNAME
                   2381: ## --------- ##
                   2382: ## Platform. ##
                   2383: ## --------- ##
1.150     moko     2384: 
                   2385: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2386: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2387: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2388: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2389: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2390: 
                   2391: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2392: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.62      paf      2393: 
                   2394: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2395: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2396: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.150     moko     2397: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.62      paf      2398: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2399: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2400: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2401: 
                   2402: _ASUNAME
                   2403: 
                   2404: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2405: for as_dir in $PATH
                   2406: do
                   2407:   IFS=$as_save_IFS
1.237     moko     2408:   case $as_dir in #(((
                   2409:     '') as_dir=./ ;;
                   2410:     */) ;;
                   2411:     *) as_dir=$as_dir/ ;;
                   2412:   esac
                   2413:     printf "%s\n" "PATH: $as_dir"
1.150     moko     2414:   done
                   2415: IFS=$as_save_IFS
1.1       paf      2416: 
1.62      paf      2417: } >&5
                   2418: 
                   2419: cat >&5 <<_ACEOF
                   2420: 
                   2421: 
                   2422: ## ----------- ##
                   2423: ## Core tests. ##
                   2424: ## ----------- ##
                   2425: 
                   2426: _ACEOF
                   2427: 
                   2428: 
                   2429: # Keep a trace of the command line.
                   2430: # Strip out --no-create and --no-recursion so they do not pile up.
                   2431: # Strip out --silent because we don't want to record it for future runs.
                   2432: # Also quote any args containing shell meta-characters.
                   2433: # Make two passes to allow for proper duplicate-argument suppression.
                   2434: ac_configure_args=
                   2435: ac_configure_args0=
                   2436: ac_configure_args1=
                   2437: ac_must_keep_next=false
                   2438: for ac_pass in 1 2
                   2439: do
                   2440:   for ac_arg
                   2441:   do
                   2442:     case $ac_arg in
                   2443:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2444:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2445:     | -silent | --silent | --silen | --sile | --sil)
                   2446:       continue ;;
1.150     moko     2447:     *\'*)
1.237     moko     2448:       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2449:     esac
                   2450:     case $ac_pass in
1.150     moko     2451:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.62      paf      2452:     2)
1.150     moko     2453:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.62      paf      2454:       if test $ac_must_keep_next = true; then
1.86      paf      2455:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      2456:       else
1.86      paf      2457:        case $ac_arg in
                   2458:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2459:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2460:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2461:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2462:            case "$ac_configure_args0 " in
                   2463:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2464:            esac
                   2465:            ;;
                   2466:          -* ) ac_must_keep_next=true ;;
                   2467:        esac
1.62      paf      2468:       fi
1.150     moko     2469:       as_fn_append ac_configure_args " '$ac_arg'"
1.62      paf      2470:       ;;
                   2471:     esac
                   2472:   done
                   2473: done
1.150     moko     2474: { ac_configure_args0=; unset ac_configure_args0;}
                   2475: { ac_configure_args1=; unset ac_configure_args1;}
1.62      paf      2476: 
                   2477: # When interrupted or exit'd, cleanup temporary files, and complete
                   2478: # config.log.  We remove comments because anyway the quotes in there
                   2479: # would cause problems or look ugly.
1.150     moko     2480: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2481: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.62      paf      2482: trap 'exit_status=$?
1.237     moko     2483:   # Sanitize IFS.
                   2484:   IFS=" ""     $as_nl"
1.62      paf      2485:   # Save into config.log some information that might help in debugging.
                   2486:   {
                   2487:     echo
                   2488: 
1.237     moko     2489:     printf "%s\n" "## ---------------- ##
1.62      paf      2490: ## Cache variables. ##
1.150     moko     2491: ## ---------------- ##"
1.62      paf      2492:     echo
                   2493:     # The following way of writing the cache mishandles newlines in values,
1.150     moko     2494: (
                   2495:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2496:     eval ac_val=\$$ac_var
                   2497:     case $ac_val in #(
                   2498:     *${as_nl}*)
                   2499:       case $ac_var in #(
1.237     moko     2500:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2501: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.150     moko     2502:       esac
                   2503:       case $ac_var in #(
                   2504:       _ | IFS | as_nl) ;; #(
                   2505:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2506:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2507:       esac ;;
                   2508:     esac
                   2509:   done
1.62      paf      2510:   (set) 2>&1 |
1.150     moko     2511:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2512:     *${as_nl}ac_space=\ *)
1.62      paf      2513:       sed -n \
1.150     moko     2514:        "s/'\''/'\''\\\\'\'''\''/g;
                   2515:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2516:       ;; #(
1.62      paf      2517:     *)
1.150     moko     2518:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      2519:       ;;
1.150     moko     2520:     esac |
                   2521:     sort
                   2522: )
1.62      paf      2523:     echo
                   2524: 
1.237     moko     2525:     printf "%s\n" "## ----------------- ##
1.62      paf      2526: ## Output variables. ##
1.150     moko     2527: ## ----------------- ##"
1.62      paf      2528:     echo
                   2529:     for ac_var in $ac_subst_vars
                   2530:     do
1.150     moko     2531:       eval ac_val=\$$ac_var
                   2532:       case $ac_val in
1.237     moko     2533:       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.150     moko     2534:       esac
1.237     moko     2535:       printf "%s\n" "$ac_var='\''$ac_val'\''"
1.62      paf      2536:     done | sort
                   2537:     echo
                   2538: 
                   2539:     if test -n "$ac_subst_files"; then
1.237     moko     2540:       printf "%s\n" "## ------------------- ##
1.150     moko     2541: ## File substitutions. ##
                   2542: ## ------------------- ##"
1.62      paf      2543:       echo
                   2544:       for ac_var in $ac_subst_files
                   2545:       do
1.150     moko     2546:        eval ac_val=\$$ac_var
                   2547:        case $ac_val in
1.237     moko     2548:        *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.150     moko     2549:        esac
1.237     moko     2550:        printf "%s\n" "$ac_var='\''$ac_val'\''"
1.62      paf      2551:       done | sort
                   2552:       echo
                   2553:     fi
                   2554: 
                   2555:     if test -s confdefs.h; then
1.237     moko     2556:       printf "%s\n" "## ----------- ##
1.62      paf      2557: ## confdefs.h. ##
1.150     moko     2558: ## ----------- ##"
1.62      paf      2559:       echo
1.150     moko     2560:       cat confdefs.h
1.62      paf      2561:       echo
                   2562:     fi
                   2563:     test "$ac_signal" != 0 &&
1.237     moko     2564:       printf "%s\n" "$as_me: caught signal $ac_signal"
                   2565:     printf "%s\n" "$as_me: exit $exit_status"
1.62      paf      2566:   } >&5
1.150     moko     2567:   rm -f core *.core core.conftest.* &&
                   2568:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.62      paf      2569:     exit $exit_status
1.150     moko     2570: ' 0
1.62      paf      2571: for ac_signal in 1 2 13 15; do
1.150     moko     2572:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.62      paf      2573: done
                   2574: ac_signal=0
                   2575: 
                   2576: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.150     moko     2577: rm -f -r conftest* confdefs.h
                   2578: 
1.237     moko     2579: printf "%s\n" "/* confdefs.h */" > confdefs.h
1.62      paf      2580: 
                   2581: # Predefined preprocessor variables.
                   2582: 
1.237     moko     2583: printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1.62      paf      2584: 
1.237     moko     2585: printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1.62      paf      2586: 
1.237     moko     2587: printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1.62      paf      2588: 
1.237     moko     2589: printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1.62      paf      2590: 
1.237     moko     2591: printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1.62      paf      2592: 
1.237     moko     2593: printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1.62      paf      2594: 
                   2595: 
                   2596: # Let the site file select an alternate cache file if it wants to.
1.150     moko     2597: # Prefer an explicitly selected file to automatically selected ones.
                   2598: if test -n "$CONFIG_SITE"; then
1.237     moko     2599:   ac_site_files="$CONFIG_SITE"
1.150     moko     2600: elif test "x$prefix" != xNONE; then
1.237     moko     2601:   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1.150     moko     2602: else
1.237     moko     2603:   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1.150     moko     2604: fi
1.237     moko     2605: 
                   2606: for ac_site_file in $ac_site_files
1.150     moko     2607: do
1.237     moko     2608:   case $ac_site_file in #(
                   2609:   */*) :
                   2610:      ;; #(
                   2611:   *) :
                   2612:     ac_site_file=./$ac_site_file ;;
                   2613: esac
                   2614:   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
                   2615:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2616: printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1.62      paf      2617:     sed 's/^/| /' "$ac_site_file" >&5
1.150     moko     2618:     . "$ac_site_file" \
1.237     moko     2619:       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   2620: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.150     moko     2621: as_fn_error $? "failed to load site script $ac_site_file
1.237     moko     2622: See 'config.log' for more details" "$LINENO" 5; }
1.1       paf      2623:   fi
                   2624: done
                   2625: 
                   2626: if test -r "$cache_file"; then
1.150     moko     2627:   # Some versions of bash will fail to source /dev/null (special files
                   2628:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2629:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1.237     moko     2630:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2631: printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1.62      paf      2632:     case $cache_file in
1.150     moko     2633:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2634:       *)                      . "./$cache_file";;
1.62      paf      2635:     esac
                   2636:   fi
1.1       paf      2637: else
1.237     moko     2638:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2639: printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1.62      paf      2640:   >$cache_file
                   2641: fi
                   2642: 
1.237     moko     2643: # Test code for whether the C++ compiler supports C++98 (global declarations)
                   2644: ac_cxx_conftest_cxx98_globals='
                   2645: // Does the compiler advertise C++98 conformance?
                   2646: #if !defined __cplusplus || __cplusplus < 199711L
                   2647: # error "Compiler does not advertise C++98 conformance"
                   2648: #endif
                   2649: 
                   2650: // These inclusions are to reject old compilers that
                   2651: // lack the unsuffixed header files.
                   2652: #include <cstdlib>
                   2653: #include <exception>
                   2654: 
                   2655: // <cassert> and <cstring> are *not* freestanding headers in C++98.
                   2656: extern void assert (int);
                   2657: namespace std {
                   2658:   extern int strcmp (const char *, const char *);
                   2659: }
                   2660: 
                   2661: // Namespaces, exceptions, and templates were all added after "C++ 2.0".
                   2662: using std::exception;
                   2663: using std::strcmp;
                   2664: 
                   2665: namespace {
                   2666: 
                   2667: void test_exception_syntax()
                   2668: {
                   2669:   try {
                   2670:     throw "test";
                   2671:   } catch (const char *s) {
                   2672:     // Extra parentheses suppress a warning when building autoconf itself,
                   2673:     // due to lint rules shared with more typical C programs.
                   2674:     assert (!(strcmp) (s, "test"));
                   2675:   }
                   2676: }
                   2677: 
                   2678: template <typename T> struct test_template
                   2679: {
                   2680:   T const val;
                   2681:   explicit test_template(T t) : val(t) {}
                   2682:   template <typename U> T add(U u) { return static_cast<T>(u) + val; }
                   2683: };
                   2684: 
                   2685: } // anonymous namespace
                   2686: '
                   2687: 
                   2688: # Test code for whether the C++ compiler supports C++98 (body of main)
                   2689: ac_cxx_conftest_cxx98_main='
                   2690:   assert (argc);
                   2691:   assert (! argv[0]);
                   2692: {
                   2693:   test_exception_syntax ();
                   2694:   test_template<double> tt (2.0);
                   2695:   assert (tt.add (4) == 6.0);
                   2696:   assert (true && !false);
                   2697: }
                   2698: '
                   2699: 
                   2700: # Test code for whether the C++ compiler supports C++11 (global declarations)
                   2701: ac_cxx_conftest_cxx11_globals='
                   2702: // Does the compiler advertise C++ 2011 conformance?
                   2703: #if !defined __cplusplus || __cplusplus < 201103L
                   2704: # error "Compiler does not advertise C++11 conformance"
                   2705: #endif
                   2706: 
                   2707: namespace cxx11test
                   2708: {
                   2709:   constexpr int get_val() { return 20; }
                   2710: 
                   2711:   struct testinit
                   2712:   {
                   2713:     int i;
                   2714:     double d;
                   2715:   };
                   2716: 
                   2717:   class delegate
                   2718:   {
                   2719:   public:
                   2720:     delegate(int n) : n(n) {}
                   2721:     delegate(): delegate(2354) {}
                   2722: 
                   2723:     virtual int getval() { return this->n; };
                   2724:   protected:
                   2725:     int n;
                   2726:   };
                   2727: 
                   2728:   class overridden : public delegate
                   2729:   {
                   2730:   public:
                   2731:     overridden(int n): delegate(n) {}
                   2732:     virtual int getval() override final { return this->n * 2; }
                   2733:   };
                   2734: 
                   2735:   class nocopy
                   2736:   {
                   2737:   public:
                   2738:     nocopy(int i): i(i) {}
                   2739:     nocopy() = default;
                   2740:     nocopy(const nocopy&) = delete;
                   2741:     nocopy & operator=(const nocopy&) = delete;
                   2742:   private:
                   2743:     int i;
                   2744:   };
                   2745: 
                   2746:   // for testing lambda expressions
                   2747:   template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
                   2748:   {
                   2749:     return f(v);
                   2750:   }
                   2751: 
                   2752:   // for testing variadic templates and trailing return types
                   2753:   template <typename V> auto sum(V first) -> V
                   2754:   {
                   2755:     return first;
                   2756:   }
                   2757:   template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
                   2758:   {
                   2759:     return first + sum(rest...);
                   2760:   }
                   2761: }
                   2762: '
                   2763: 
                   2764: # Test code for whether the C++ compiler supports C++11 (body of main)
                   2765: ac_cxx_conftest_cxx11_main='
                   2766: {
                   2767:   // Test auto and decltype
                   2768:   auto a1 = 6538;
                   2769:   auto a2 = 48573953.4;
                   2770:   auto a3 = "String literal";
                   2771: 
                   2772:   int total = 0;
                   2773:   for (auto i = a3; *i; ++i) { total += *i; }
                   2774: 
                   2775:   decltype(a2) a4 = 34895.034;
                   2776: }
                   2777: {
                   2778:   // Test constexpr
                   2779:   short sa[cxx11test::get_val()] = { 0 };
                   2780: }
                   2781: {
                   2782:   // Test initializer lists
                   2783:   cxx11test::testinit il = { 4323, 435234.23544 };
                   2784: }
                   2785: {
                   2786:   // Test range-based for
                   2787:   int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
                   2788:                  14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
                   2789:   for (auto &x : array) { x += 23; }
                   2790: }
                   2791: {
                   2792:   // Test lambda expressions
                   2793:   using cxx11test::eval;
                   2794:   assert (eval ([](int x) { return x*2; }, 21) == 42);
                   2795:   double d = 2.0;
                   2796:   assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
                   2797:   assert (d == 5.0);
                   2798:   assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
                   2799:   assert (d == 5.0);
                   2800: }
                   2801: {
                   2802:   // Test use of variadic templates
                   2803:   using cxx11test::sum;
                   2804:   auto a = sum(1);
                   2805:   auto b = sum(1, 2);
                   2806:   auto c = sum(1.0, 2.0, 3.0);
                   2807: }
                   2808: {
                   2809:   // Test constructor delegation
                   2810:   cxx11test::delegate d1;
                   2811:   cxx11test::delegate d2();
                   2812:   cxx11test::delegate d3(45);
                   2813: }
                   2814: {
                   2815:   // Test override and final
                   2816:   cxx11test::overridden o1(55464);
                   2817: }
                   2818: {
                   2819:   // Test nullptr
                   2820:   char *c = nullptr;
                   2821: }
                   2822: {
                   2823:   // Test template brackets
                   2824:   test_template<::test_template<int>> v(test_template<int>(12));
                   2825: }
                   2826: {
                   2827:   // Unicode literals
                   2828:   char const *utf8 = u8"UTF-8 string \u2500";
                   2829:   char16_t const *utf16 = u"UTF-8 string \u2500";
                   2830:   char32_t const *utf32 = U"UTF-32 string \u2500";
                   2831: }
                   2832: '
                   2833: 
                   2834: # Test code for whether the C compiler supports C++11 (complete).
                   2835: ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
                   2836: ${ac_cxx_conftest_cxx11_globals}
                   2837: 
                   2838: int
                   2839: main (int argc, char **argv)
                   2840: {
                   2841:   int ok = 0;
                   2842:   ${ac_cxx_conftest_cxx98_main}
                   2843:   ${ac_cxx_conftest_cxx11_main}
                   2844:   return ok;
                   2845: }
                   2846: "
                   2847: 
                   2848: # Test code for whether the C compiler supports C++98 (complete).
                   2849: ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
                   2850: int
                   2851: main (int argc, char **argv)
                   2852: {
                   2853:   int ok = 0;
                   2854:   ${ac_cxx_conftest_cxx98_main}
                   2855:   return ok;
                   2856: }
                   2857: "
                   2858: 
                   2859: # Test code for whether the C compiler supports C89 (global declarations)
                   2860: ac_c_conftest_c89_globals='
                   2861: /* Does the compiler advertise C89 conformance?
                   2862:    Do not test the value of __STDC__, because some compilers set it to 0
                   2863:    while being otherwise adequately conformant. */
                   2864: #if !defined __STDC__
                   2865: # error "Compiler does not advertise C89 conformance"
                   2866: #endif
                   2867: 
                   2868: #include <stddef.h>
                   2869: #include <stdarg.h>
                   2870: struct stat;
                   2871: /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
                   2872: struct buf { int x; };
                   2873: struct buf * (*rcsopen) (struct buf *, struct stat *, int);
                   2874: static char *e (char **p, int i)
                   2875: {
                   2876:   return p[i];
                   2877: }
                   2878: static char *f (char * (*g) (char **, int), char **p, ...)
                   2879: {
                   2880:   char *s;
                   2881:   va_list v;
                   2882:   va_start (v,p);
                   2883:   s = g (p, va_arg (v,int));
                   2884:   va_end (v);
                   2885:   return s;
                   2886: }
                   2887: 
                   2888: /* C89 style stringification. */
                   2889: #define noexpand_stringify(a) #a
                   2890: const char *stringified = noexpand_stringify(arbitrary+token=sequence);
                   2891: 
                   2892: /* C89 style token pasting.  Exercises some of the corner cases that
                   2893:    e.g. old MSVC gets wrong, but not very hard. */
                   2894: #define noexpand_concat(a,b) a##b
                   2895: #define expand_concat(a,b) noexpand_concat(a,b)
                   2896: extern int vA;
                   2897: extern int vbee;
                   2898: #define aye A
                   2899: #define bee B
                   2900: int *pvA = &expand_concat(v,aye);
                   2901: int *pvbee = &noexpand_concat(v,bee);
                   2902: 
                   2903: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   2904:    function prototypes and stuff, but not \xHH hex character constants.
                   2905:    These do not provoke an error unfortunately, instead are silently treated
                   2906:    as an "x".  The following induces an error, until -std is added to get
                   2907:    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
                   2908:    array size at least.  It is necessary to write \x00 == 0 to get something
                   2909:    that is true only with -std.  */
                   2910: int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
                   2911: 
                   2912: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   2913:    inside strings and character constants.  */
                   2914: #define FOO(x) '\''x'\''
                   2915: int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
                   2916: 
                   2917: int test (int i, double x);
                   2918: struct s1 {int (*f) (int a);};
                   2919: struct s2 {int (*f) (double a);};
                   2920: int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
                   2921:                int, int);'
                   2922: 
                   2923: # Test code for whether the C compiler supports C89 (body of main).
                   2924: ac_c_conftest_c89_main='
                   2925: ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
                   2926: '
                   2927: 
                   2928: # Test code for whether the C compiler supports C99 (global declarations)
                   2929: ac_c_conftest_c99_globals='
                   2930: /* Does the compiler advertise C99 conformance? */
                   2931: #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
                   2932: # error "Compiler does not advertise C99 conformance"
                   2933: #endif
                   2934: 
                   2935: // See if C++-style comments work.
                   2936: 
                   2937: #include <stdbool.h>
                   2938: extern int puts (const char *);
                   2939: extern int printf (const char *, ...);
                   2940: extern int dprintf (int, const char *, ...);
                   2941: extern void *malloc (size_t);
                   2942: extern void free (void *);
                   2943: 
                   2944: // Check varargs macros.  These examples are taken from C99 6.10.3.5.
                   2945: // dprintf is used instead of fprintf to avoid needing to declare
                   2946: // FILE and stderr.
                   2947: #define debug(...) dprintf (2, __VA_ARGS__)
                   2948: #define showlist(...) puts (#__VA_ARGS__)
                   2949: #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
                   2950: static void
                   2951: test_varargs_macros (void)
                   2952: {
                   2953:   int x = 1234;
                   2954:   int y = 5678;
                   2955:   debug ("Flag");
                   2956:   debug ("X = %d\n", x);
                   2957:   showlist (The first, second, and third items.);
                   2958:   report (x>y, "x is %d but y is %d", x, y);
                   2959: }
                   2960: 
                   2961: // Check long long types.
                   2962: #define BIG64 18446744073709551615ull
                   2963: #define BIG32 4294967295ul
                   2964: #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
                   2965: #if !BIG_OK
                   2966:   #error "your preprocessor is broken"
                   2967: #endif
                   2968: #if BIG_OK
                   2969: #else
                   2970:   #error "your preprocessor is broken"
                   2971: #endif
                   2972: static long long int bignum = -9223372036854775807LL;
                   2973: static unsigned long long int ubignum = BIG64;
                   2974: 
                   2975: struct incomplete_array
                   2976: {
                   2977:   int datasize;
                   2978:   double data[];
                   2979: };
                   2980: 
                   2981: struct named_init {
                   2982:   int number;
                   2983:   const wchar_t *name;
                   2984:   double average;
                   2985: };
                   2986: 
                   2987: typedef const char *ccp;
                   2988: 
                   2989: static inline int
                   2990: test_restrict (ccp restrict text)
                   2991: {
                   2992:   // Iterate through items via the restricted pointer.
                   2993:   // Also check for declarations in for loops.
                   2994:   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
                   2995:     continue;
                   2996:   return 0;
                   2997: }
                   2998: 
                   2999: // Check varargs and va_copy.
                   3000: static bool
                   3001: test_varargs (const char *format, ...)
                   3002: {
                   3003:   va_list args;
                   3004:   va_start (args, format);
                   3005:   va_list args_copy;
                   3006:   va_copy (args_copy, args);
                   3007: 
                   3008:   const char *str = "";
                   3009:   int number = 0;
                   3010:   float fnumber = 0;
                   3011: 
                   3012:   while (*format)
                   3013:     {
                   3014:       switch (*format++)
                   3015:        {
                   3016:        case '\''s'\'': // string
                   3017:          str = va_arg (args_copy, const char *);
                   3018:          break;
                   3019:        case '\''d'\'': // int
                   3020:          number = va_arg (args_copy, int);
                   3021:          break;
                   3022:        case '\''f'\'': // float
                   3023:          fnumber = va_arg (args_copy, double);
                   3024:          break;
                   3025:        default:
                   3026:          break;
                   3027:        }
                   3028:     }
                   3029:   va_end (args_copy);
                   3030:   va_end (args);
                   3031: 
                   3032:   return *str && number && fnumber;
                   3033: }
                   3034: '
                   3035: 
                   3036: # Test code for whether the C compiler supports C99 (body of main).
                   3037: ac_c_conftest_c99_main='
                   3038:   // Check bool.
                   3039:   _Bool success = false;
                   3040:   success |= (argc != 0);
                   3041: 
                   3042:   // Check restrict.
                   3043:   if (test_restrict ("String literal") == 0)
                   3044:     success = true;
                   3045:   char *restrict newvar = "Another string";
                   3046: 
                   3047:   // Check varargs.
                   3048:   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
                   3049:   test_varargs_macros ();
                   3050: 
                   3051:   // Check flexible array members.
                   3052:   struct incomplete_array *ia =
                   3053:     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
                   3054:   ia->datasize = 10;
                   3055:   for (int i = 0; i < ia->datasize; ++i)
                   3056:     ia->data[i] = i * 1.234;
                   3057:   // Work around memory leak warnings.
                   3058:   free (ia);
                   3059: 
                   3060:   // Check named initializers.
                   3061:   struct named_init ni = {
                   3062:     .number = 34,
                   3063:     .name = L"Test wide string",
                   3064:     .average = 543.34343,
                   3065:   };
                   3066: 
                   3067:   ni.number = 58;
                   3068: 
                   3069:   int dynamic_array[ni.number];
                   3070:   dynamic_array[0] = argv[0][0];
                   3071:   dynamic_array[ni.number - 1] = 543;
                   3072: 
                   3073:   // work around unused variable warnings
                   3074:   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
                   3075:         || dynamic_array[ni.number - 1] != 543);
                   3076: '
                   3077: 
                   3078: # Test code for whether the C compiler supports C11 (global declarations)
                   3079: ac_c_conftest_c11_globals='
                   3080: /* Does the compiler advertise C11 conformance? */
                   3081: #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
                   3082: # error "Compiler does not advertise C11 conformance"
                   3083: #endif
                   3084: 
                   3085: // Check _Alignas.
                   3086: char _Alignas (double) aligned_as_double;
                   3087: char _Alignas (0) no_special_alignment;
                   3088: extern char aligned_as_int;
                   3089: char _Alignas (0) _Alignas (int) aligned_as_int;
                   3090: 
                   3091: // Check _Alignof.
                   3092: enum
                   3093: {
                   3094:   int_alignment = _Alignof (int),
                   3095:   int_array_alignment = _Alignof (int[100]),
                   3096:   char_alignment = _Alignof (char)
                   3097: };
                   3098: _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
                   3099: 
                   3100: // Check _Noreturn.
                   3101: int _Noreturn does_not_return (void) { for (;;) continue; }
                   3102: 
                   3103: // Check _Static_assert.
                   3104: struct test_static_assert
                   3105: {
                   3106:   int x;
                   3107:   _Static_assert (sizeof (int) <= sizeof (long int),
                   3108:                   "_Static_assert does not work in struct");
                   3109:   long int y;
                   3110: };
                   3111: 
                   3112: // Check UTF-8 literals.
                   3113: #define u8 syntax error!
                   3114: char const utf8_literal[] = u8"happens to be ASCII" "another string";
                   3115: 
                   3116: // Check duplicate typedefs.
                   3117: typedef long *long_ptr;
                   3118: typedef long int *long_ptr;
                   3119: typedef long_ptr long_ptr;
                   3120: 
                   3121: // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
                   3122: struct anonymous
                   3123: {
                   3124:   union {
                   3125:     struct { int i; int j; };
                   3126:     struct { int k; long int l; } w;
                   3127:   };
                   3128:   int m;
                   3129: } v1;
                   3130: '
                   3131: 
                   3132: # Test code for whether the C compiler supports C11 (body of main).
                   3133: ac_c_conftest_c11_main='
                   3134:   _Static_assert ((offsetof (struct anonymous, i)
                   3135:                   == offsetof (struct anonymous, w.k)),
                   3136:                  "Anonymous union alignment botch");
                   3137:   v1.i = 2;
                   3138:   v1.w.k = 5;
                   3139:   ok |= v1.i != 5;
                   3140: '
                   3141: 
                   3142: # Test code for whether the C compiler supports C11 (complete).
                   3143: ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
                   3144: ${ac_c_conftest_c99_globals}
                   3145: ${ac_c_conftest_c11_globals}
                   3146: 
                   3147: int
                   3148: main (int argc, char **argv)
                   3149: {
                   3150:   int ok = 0;
                   3151:   ${ac_c_conftest_c89_main}
                   3152:   ${ac_c_conftest_c99_main}
                   3153:   ${ac_c_conftest_c11_main}
                   3154:   return ok;
                   3155: }
                   3156: "
                   3157: 
                   3158: # Test code for whether the C compiler supports C99 (complete).
                   3159: ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
                   3160: ${ac_c_conftest_c99_globals}
                   3161: 
                   3162: int
                   3163: main (int argc, char **argv)
                   3164: {
                   3165:   int ok = 0;
                   3166:   ${ac_c_conftest_c89_main}
                   3167:   ${ac_c_conftest_c99_main}
                   3168:   return ok;
                   3169: }
                   3170: "
                   3171: 
                   3172: # Test code for whether the C compiler supports C89 (complete).
                   3173: ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
                   3174: 
                   3175: int
                   3176: main (int argc, char **argv)
                   3177: {
                   3178:   int ok = 0;
                   3179:   ${ac_c_conftest_c89_main}
                   3180:   return ok;
                   3181: }
                   3182: "
                   3183: 
                   3184: as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
                   3185: as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
                   3186: as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
                   3187: as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
                   3188: as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
                   3189: as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
                   3190: as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
                   3191: as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
                   3192: as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
                   3193: 
                   3194: # Auxiliary files required by this configure script.
                   3195: ac_aux_files="ltmain.sh compile config.guess config.sub missing install-sh"
                   3196: 
                   3197: # Locations in which to look for auxiliary files.
                   3198: ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
                   3199: 
                   3200: # Search for a directory containing all of the required auxiliary files,
                   3201: # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
                   3202: # If we don't find one directory that contains all the files we need,
                   3203: # we report the set of missing files from the *first* directory in
                   3204: # $ac_aux_dir_candidates and give up.
                   3205: ac_missing_aux_files=""
                   3206: ac_first_candidate=:
                   3207: printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
                   3208: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3209: as_found=false
                   3210: for as_dir in $ac_aux_dir_candidates
                   3211: do
                   3212:   IFS=$as_save_IFS
                   3213:   case $as_dir in #(((
                   3214:     '') as_dir=./ ;;
                   3215:     */) ;;
                   3216:     *) as_dir=$as_dir/ ;;
                   3217:   esac
                   3218:   as_found=:
                   3219: 
                   3220:   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
                   3221:   ac_aux_dir_found=yes
                   3222:   ac_install_sh=
                   3223:   for ac_aux in $ac_aux_files
                   3224:   do
                   3225:     # As a special case, if "install-sh" is required, that requirement
                   3226:     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
                   3227:     # and $ac_install_sh is set appropriately for whichever one is found.
                   3228:     if test x"$ac_aux" = x"install-sh"
                   3229:     then
                   3230:       if test -f "${as_dir}install-sh"; then
                   3231:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
                   3232:         ac_install_sh="${as_dir}install-sh -c"
                   3233:       elif test -f "${as_dir}install.sh"; then
                   3234:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
                   3235:         ac_install_sh="${as_dir}install.sh -c"
                   3236:       elif test -f "${as_dir}shtool"; then
                   3237:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
                   3238:         ac_install_sh="${as_dir}shtool install -c"
                   3239:       else
                   3240:         ac_aux_dir_found=no
                   3241:         if $ac_first_candidate; then
                   3242:           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
                   3243:         else
                   3244:           break
                   3245:         fi
                   3246:       fi
                   3247:     else
                   3248:       if test -f "${as_dir}${ac_aux}"; then
                   3249:         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
                   3250:       else
                   3251:         ac_aux_dir_found=no
                   3252:         if $ac_first_candidate; then
                   3253:           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
                   3254:         else
                   3255:           break
                   3256:         fi
                   3257:       fi
                   3258:     fi
                   3259:   done
                   3260:   if test "$ac_aux_dir_found" = yes; then
                   3261:     ac_aux_dir="$as_dir"
                   3262:     break
                   3263:   fi
                   3264:   ac_first_candidate=false
                   3265: 
                   3266:   as_found=false
                   3267: done
                   3268: IFS=$as_save_IFS
                   3269: if $as_found
                   3270: then :
                   3271: 
                   3272: else case e in #(
                   3273:   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
                   3274: esac
                   3275: fi
                   3276: 
                   3277: 
                   3278: # These three variables are undocumented and unsupported,
                   3279: # and are intended to be withdrawn in a future Autoconf release.
                   3280: # They can cause serious problems if a builder's source tree is in a directory
                   3281: # whose full name contains unusual characters.
                   3282: if test -f "${ac_aux_dir}config.guess"; then
                   3283:   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
                   3284: fi
                   3285: if test -f "${ac_aux_dir}config.sub"; then
                   3286:   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
                   3287: fi
                   3288: if test -f "$ac_aux_dir/configure"; then
                   3289:   ac_configure="$SHELL ${ac_aux_dir}configure"
                   3290: fi
                   3291: 
1.62      paf      3292: # Check that the precious variables saved in the cache have kept the same
                   3293: # value.
                   3294: ac_cache_corrupted=false
1.150     moko     3295: for ac_var in $ac_precious_vars; do
1.62      paf      3296:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   3297:   eval ac_new_set=\$ac_env_${ac_var}_set
1.150     moko     3298:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   3299:   eval ac_new_val=\$ac_env_${ac_var}_value
1.62      paf      3300:   case $ac_old_set,$ac_new_set in
                   3301:     set,)
1.237     moko     3302:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
                   3303: printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
1.62      paf      3304:       ac_cache_corrupted=: ;;
                   3305:     ,set)
1.237     moko     3306:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
                   3307: printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
1.62      paf      3308:       ac_cache_corrupted=: ;;
                   3309:     ,);;
                   3310:     *)
                   3311:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.150     moko     3312:        # differences in whitespace do not lead to failure.
                   3313:        ac_old_val_w=`echo x $ac_old_val`
                   3314:        ac_new_val_w=`echo x $ac_new_val`
                   3315:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1.237     moko     3316:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
                   3317: printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
1.150     moko     3318:          ac_cache_corrupted=:
                   3319:        else
1.237     moko     3320:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
                   3321: printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
1.150     moko     3322:          eval $ac_var=\$ac_old_val
                   3323:        fi
1.237     moko     3324:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
                   3325: printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
                   3326:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
                   3327: printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
1.62      paf      3328:       fi;;
                   3329:   esac
                   3330:   # Pass precious variables to config.status.
                   3331:   if test "$ac_new_set" = set; then
                   3332:     case $ac_new_val in
1.237     moko     3333:     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      3334:     *) ac_arg=$ac_var=$ac_new_val ;;
                   3335:     esac
                   3336:     case " $ac_configure_args " in
                   3337:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.150     moko     3338:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.62      paf      3339:     esac
                   3340:   fi
                   3341: done
                   3342: if $ac_cache_corrupted; then
1.237     moko     3343:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   3344: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
                   3345:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   3346: printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
                   3347:   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
                   3348:            and start over" "$LINENO" 5
1.150     moko     3349: fi
                   3350: ## -------------------- ##
                   3351: ## Main body of script. ##
                   3352: ## -------------------- ##
1.1       paf      3353: 
                   3354: ac_ext=c
                   3355: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      3356: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3357: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3358: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3359: 
                   3360: 
                   3361: 
                   3362: 
                   3363: 
1.229     moko     3364: 
1.237     moko     3365: am__api_version='1.17'
                   3366: 
1.150     moko     3367: 
1.1       paf      3368: 
1.237     moko     3369:   # Find a good install program.  We prefer a C program (faster),
1.1       paf      3370: # so one script is as good as another.  But avoid the broken or
                   3371: # incompatible versions:
                   3372: # SysV /etc/install, /usr/sbin/install
                   3373: # SunOS /usr/etc/install
                   3374: # IRIX /sbin/install
                   3375: # AIX /bin/install
1.62      paf      3376: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      3377: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   3378: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   3379: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      3380: # OS/2's system install, which has a completely different semantic
1.1       paf      3381: # ./install, which can be erroneously created by make from ./install.sh.
1.150     moko     3382: # Reject install programs that cannot install multiple files.
1.237     moko     3383: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   3384: printf %s "checking for a BSD-compatible install... " >&6; }
1.1       paf      3385: if test -z "$INSTALL"; then
1.237     moko     3386: if test ${ac_cv_path_install+y}
                   3387: then :
                   3388:   printf %s "(cached) " >&6
                   3389: else case e in #(
                   3390:   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.62      paf      3391: for as_dir in $PATH
                   3392: do
                   3393:   IFS=$as_save_IFS
1.237     moko     3394:   case $as_dir in #(((
                   3395:     '') as_dir=./ ;;
                   3396:     */) ;;
                   3397:     *) as_dir=$as_dir/ ;;
                   3398:   esac
                   3399:     # Account for fact that we put trailing slashes in our PATH walk.
                   3400: case $as_dir in #((
                   3401:   ./ | /[cC]/* | \
1.62      paf      3402:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.150     moko     3403:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.62      paf      3404:   /usr/ucb/* ) ;;
                   3405:   *)
                   3406:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   3407:     # Don't use installbsd from OSF since it installs stuff as root
                   3408:     # by default.
                   3409:     for ac_prog in ginstall scoinst install; do
                   3410:       for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     3411:        if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1.86      paf      3412:          if test $ac_prog = install &&
1.237     moko     3413:            grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.86      paf      3414:            # AIX install.  It has an incompatible calling convention.
                   3415:            :
                   3416:          elif test $ac_prog = install &&
1.237     moko     3417:            grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1.86      paf      3418:            # program-specific install script used by HP pwplus--don't use.
                   3419:            :
                   3420:          else
1.150     moko     3421:            rm -rf conftest.one conftest.two conftest.dir
                   3422:            echo one > conftest.one
                   3423:            echo two > conftest.two
                   3424:            mkdir conftest.dir
1.237     moko     3425:            if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1.150     moko     3426:              test -s conftest.one && test -s conftest.two &&
                   3427:              test -s conftest.dir/conftest.one &&
                   3428:              test -s conftest.dir/conftest.two
                   3429:            then
1.237     moko     3430:              ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1.150     moko     3431:              break 3
                   3432:            fi
1.86      paf      3433:          fi
                   3434:        fi
1.1       paf      3435:       done
1.62      paf      3436:     done
                   3437:     ;;
                   3438: esac
                   3439: 
1.150     moko     3440:   done
                   3441: IFS=$as_save_IFS
                   3442: 
                   3443: rm -rf conftest.one conftest.two conftest.dir
1.237     moko     3444:  ;;
                   3445: esac
1.1       paf      3446: fi
1.237     moko     3447:   if test ${ac_cv_path_install+y}; then
1.62      paf      3448:     INSTALL=$ac_cv_path_install
1.1       paf      3449:   else
1.150     moko     3450:     # As a last resort, use the slow shell script.  Don't cache a
                   3451:     # value for INSTALL within a source directory, because that will
1.1       paf      3452:     # break other packages using the cache if that directory is
1.150     moko     3453:     # removed, or if the value is a relative name.
1.62      paf      3454:     INSTALL=$ac_install_sh
1.1       paf      3455:   fi
                   3456: fi
1.237     moko     3457: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   3458: printf "%s\n" "$INSTALL" >&6; }
1.1       paf      3459: 
                   3460: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   3461: # It thinks the first close brace ends the variable substitution.
                   3462: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   3463: 
1.62      paf      3464: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      3465: 
                   3466: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   3467: 
1.237     moko     3468: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
                   3469: printf %s "checking whether sleep supports fractional seconds... " >&6; }
                   3470: if test ${am_cv_sleep_fractional_seconds+y}
                   3471: then :
                   3472:   printf %s "(cached) " >&6
                   3473: else case e in #(
                   3474:   e) if sleep 0.001 2>/dev/null
                   3475: then :
                   3476:   am_cv_sleep_fractional_seconds=yes
                   3477: else case e in #(
                   3478:   e) am_cv_sleep_fractional_seconds=no ;;
                   3479: esac
                   3480: fi
                   3481:  ;;
                   3482: esac
                   3483: fi
                   3484: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
                   3485: printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
                   3486: 
                   3487: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
                   3488: printf %s "checking filesystem timestamp resolution... " >&6; }
                   3489: if test ${am_cv_filesystem_timestamp_resolution+y}
                   3490: then :
                   3491:   printf %s "(cached) " >&6
                   3492: else case e in #(
                   3493:   e) # Default to the worst case.
                   3494: am_cv_filesystem_timestamp_resolution=2
                   3495: 
                   3496: # Only try to go finer than 1 sec if sleep can do it.
                   3497: # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
                   3498: # - 1 sec is not much of a win compared to 2 sec, and
                   3499: # - it takes 2 seconds to perform the test whether 1 sec works.
                   3500: #
                   3501: # Instead, just use the default 2s on platforms that have 1s resolution,
                   3502: # accept the extra 1s delay when using $sleep in the Automake tests, in
                   3503: # exchange for not incurring the 2s delay for running the test for all
                   3504: # packages.
                   3505: #
                   3506: am_try_resolutions=
                   3507: if test "$am_cv_sleep_fractional_seconds" = yes; then
                   3508:   # Even a millisecond often causes a bunch of false positives,
                   3509:   # so just try a hundredth of a second. The time saved between .001 and
                   3510:   # .01 is not terribly consequential.
                   3511:   am_try_resolutions="0.01 0.1 $am_try_resolutions"
                   3512: fi
                   3513: 
                   3514: # In order to catch current-generation FAT out, we must *modify* files
                   3515: # that already exist; the *creation* timestamp is finer.  Use names
                   3516: # that make ls -t sort them differently when they have equal
                   3517: # timestamps than when they have distinct timestamps, keeping
                   3518: # in mind that ls -t prints the *newest* file first.
                   3519: rm -f conftest.ts?
                   3520: : > conftest.ts1
                   3521: : > conftest.ts2
                   3522: : > conftest.ts3
                   3523: 
                   3524: # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
                   3525: # clobber the current shell's arguments. (Outer-level square brackets
                   3526: # are removed by m4; they're present so that m4 does not expand
                   3527: # <dollar><star>; be careful, easy to get confused.)
                   3528: if (
                   3529:      set X `ls -t conftest.ts[12]` &&
                   3530:      {
                   3531:        test "$*" != "X conftest.ts1 conftest.ts2" ||
                   3532:        test "$*" != "X conftest.ts2 conftest.ts1";
                   3533:      }
                   3534: ); then :; else
                   3535:   # If neither matched, then we have a broken ls.  This can happen
                   3536:   # if, for instance, CONFIG_SHELL is bash and it inherits a
                   3537:   # broken ls alias from the environment.  This has actually
                   3538:   # happened.  Such a system could not be considered "sane".
                   3539:   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
                   3540:   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   3541: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
                   3542: as_fn_error $? "ls -t produces unexpected output.
                   3543: Make sure there is not a broken ls alias in your environment.
                   3544: See 'config.log' for more details" "$LINENO" 5; }
                   3545: fi
                   3546: 
                   3547: for am_try_res in $am_try_resolutions; do
                   3548:   # Any one fine-grained sleep might happen to cross the boundary
                   3549:   # between two values of a coarser actual resolution, but if we do
                   3550:   # two fine-grained sleeps in a row, at least one of them will fall
                   3551:   # entirely within a coarse interval.
                   3552:   echo alpha > conftest.ts1
                   3553:   sleep $am_try_res
                   3554:   echo beta > conftest.ts2
                   3555:   sleep $am_try_res
                   3556:   echo gamma > conftest.ts3
                   3557: 
                   3558:   # We assume that 'ls -t' will make use of high-resolution
                   3559:   # timestamps if the operating system supports them at all.
                   3560:   if (set X `ls -t conftest.ts?` &&
                   3561:       test "$2" = conftest.ts3 &&
                   3562:       test "$3" = conftest.ts2 &&
                   3563:       test "$4" = conftest.ts1); then
                   3564:     #
                   3565:     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
                   3566:     # because we don't need to test make.
                   3567:     make_ok=true
                   3568:     if test $am_try_res != 1; then
                   3569:       # But if we've succeeded so far with a subsecond resolution, we
                   3570:       # have one more thing to check: make. It can happen that
                   3571:       # everything else supports the subsecond mtimes, but make doesn't;
                   3572:       # notably on macOS, which ships make 3.81 from 2006 (the last one
                   3573:       # released under GPLv2). https://bugs.gnu.org/68808
                   3574:       #
                   3575:       # We test $MAKE if it is defined in the environment, else "make".
                   3576:       # It might get overridden later, but our hope is that in practice
                   3577:       # it does not matter: it is the system "make" which is (by far)
                   3578:       # the most likely to be broken, whereas if the user overrides it,
                   3579:       # probably they did so with a better, or at least not worse, make.
                   3580:       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
                   3581:       #
                   3582:       # Create a Makefile (real tab character here):
                   3583:       rm -f conftest.mk
                   3584:       echo 'conftest.ts1: conftest.ts2' >conftest.mk
                   3585:       echo '   touch conftest.ts2' >>conftest.mk
                   3586:       #
                   3587:       # Now, running
                   3588:       #   touch conftest.ts1; touch conftest.ts2; make
                   3589:       # should touch ts1 because ts2 is newer. This could happen by luck,
                   3590:       # but most often, it will fail if make's support is insufficient. So
                   3591:       # test for several consecutive successes.
                   3592:       #
                   3593:       # (We reuse conftest.ts[12] because we still want to modify existing
                   3594:       # files, not create new ones, per above.)
                   3595:       n=0
                   3596:       make=${MAKE-make}
                   3597:       until test $n -eq 3; do
                   3598:         echo one > conftest.ts1
                   3599:         sleep $am_try_res
                   3600:         echo two > conftest.ts2 # ts2 should now be newer than ts1
                   3601:         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
                   3602:           make_ok=false
                   3603:           break # out of $n loop
                   3604:         fi
                   3605:         n=`expr $n + 1`
                   3606:       done
                   3607:     fi
                   3608:     #
                   3609:     if $make_ok; then
                   3610:       # Everything we know to check worked out, so call this resolution good.
                   3611:       am_cv_filesystem_timestamp_resolution=$am_try_res
                   3612:       break # out of $am_try_res loop
                   3613:     fi
                   3614:     # Otherwise, we'll go on to check the next resolution.
                   3615:   fi
                   3616: done
                   3617: rm -f conftest.ts?
                   3618: # (end _am_filesystem_timestamp_resolution)
                   3619:  ;;
                   3620: esac
                   3621: fi
                   3622: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
                   3623: printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
                   3624: 
                   3625: # This check should not be cached, as it may vary across builds of
                   3626: # different projects.
                   3627: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   3628: printf %s "checking whether build environment is sane... " >&6; }
1.150     moko     3629: # Reject unsafe characters in $srcdir or the absolute working directory
                   3630: # name.  Accept space and tab only in the latter.
                   3631: am_lf='
                   3632: '
                   3633: case `pwd` in
                   3634:   *[\\\"\#\$\&\'\`$am_lf]*)
                   3635:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   3636: esac
                   3637: case $srcdir in
                   3638:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.187     moko     3639:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.150     moko     3640: esac
                   3641: 
1.187     moko     3642: # Do 'set' in a subshell so we don't clobber the current shell's
1.1       paf      3643: # arguments.  Must try -L first in case configure is actually a
                   3644: # symlink; some systems play weird games with the mod time of symlinks
                   3645: # (eg FreeBSD returns the mod time of the symlink's containing
                   3646: # directory).
1.237     moko     3647: am_build_env_is_sane=no
                   3648: am_has_slept=no
                   3649: rm -f conftest.file
                   3650: for am_try in 1 2; do
                   3651:   echo "timestamp, slept: $am_has_slept" > conftest.file
                   3652:   if (
                   3653:     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   3654:     if test "$*" = "X"; then
                   3655:       # -L didn't work.
                   3656:       set X `ls -t "$srcdir/configure" conftest.file`
                   3657:     fi
                   3658:     test "$2" = conftest.file
                   3659:   ); then
                   3660:     am_build_env_is_sane=yes
                   3661:     break
                   3662:   fi
                   3663:   # Just in case.
                   3664:   sleep "$am_cv_filesystem_timestamp_resolution"
                   3665:   am_has_slept=yes
                   3666: done
1.1       paf      3667: 
1.237     moko     3668: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
                   3669: printf "%s\n" "$am_build_env_is_sane" >&6; }
                   3670: if test "$am_build_env_is_sane" = no; then
                   3671:   as_fn_error $? "newly created file is older than distributed files!
1.150     moko     3672: Check your system clock" "$LINENO" 5
1.1       paf      3673: fi
1.237     moko     3674: 
1.187     moko     3675: # If we didn't sleep, we still need to ensure time stamps of config.status and
                   3676: # generated files are strictly newer.
                   3677: am_sleep_pid=
1.237     moko     3678: if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
                   3679: then :
                   3680: 
                   3681: else case e in #(
                   3682:   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
1.187     moko     3683:   am_sleep_pid=$!
1.237     moko     3684:  ;;
                   3685: esac
1.187     moko     3686: fi
                   3687: 
                   3688: rm -f conftest.file
                   3689: 
1.1       paf      3690: test "$program_prefix" != NONE &&
1.150     moko     3691:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       paf      3692: # Use a double $ so make ignores it.
                   3693: test "$program_suffix" != NONE &&
1.150     moko     3694:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   3695: # Double any \ or $.
1.237     moko     3696: # By default was 's,x,x', remove it if useless.
1.150     moko     3697: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1.237     moko     3698: program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
                   3699: 
1.62      paf      3700: 
1.187     moko     3701: # Expand $ac_aux_dir to an absolute path.
                   3702: am_aux_dir=`cd "$ac_aux_dir" && pwd`
1.62      paf      3703: 
1.237     moko     3704: 
                   3705:   if test x"${MISSING+set}" != xset; then
1.216     moko     3706:   MISSING="\${SHELL} '$am_aux_dir/missing'"
1.150     moko     3707: fi
1.62      paf      3708: # Use eval to expand $SHELL
1.187     moko     3709: if eval "$MISSING --is-lightweight"; then
                   3710:   am_missing_run="$MISSING "
1.62      paf      3711: else
                   3712:   am_missing_run=
1.237     moko     3713:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
                   3714: printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.62      paf      3715: fi
                   3716: 
1.187     moko     3717: if test x"${install_sh+set}" != xset; then
1.150     moko     3718:   case $am_aux_dir in
                   3719:   *\ * | *\    *)
                   3720:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   3721:   *)
                   3722:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   3723:   esac
1.86      paf      3724: fi
                   3725: 
1.187     moko     3726: # Installed binaries are usually stripped using 'strip' when the user
                   3727: # run "make install-strip".  However 'strip' might not be the right
1.150     moko     3728: # tool to use in cross-compilation environments, therefore Automake
1.187     moko     3729: # will honor the 'STRIP' environment variable to overrule this program.
1.150     moko     3730: if test "$cross_compiling" != no; then
                   3731:   if test -n "$ac_tool_prefix"; then
                   3732:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   3733: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.237     moko     3734: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3735: printf %s "checking for $ac_word... " >&6; }
                   3736: if test ${ac_cv_prog_STRIP+y}
                   3737: then :
                   3738:   printf %s "(cached) " >&6
                   3739: else case e in #(
                   3740:   e) if test -n "$STRIP"; then
1.150     moko     3741:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   3742: else
                   3743: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3744: for as_dir in $PATH
                   3745: do
                   3746:   IFS=$as_save_IFS
1.237     moko     3747:   case $as_dir in #(((
                   3748:     '') as_dir=./ ;;
                   3749:     */) ;;
                   3750:     *) as_dir=$as_dir/ ;;
                   3751:   esac
1.150     moko     3752:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     3753:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.150     moko     3754:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.237     moko     3755:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.150     moko     3756:     break 2
                   3757:   fi
                   3758: done
                   3759:   done
                   3760: IFS=$as_save_IFS
                   3761: 
1.237     moko     3762: fi ;;
                   3763: esac
1.150     moko     3764: fi
                   3765: STRIP=$ac_cv_prog_STRIP
                   3766: if test -n "$STRIP"; then
1.237     moko     3767:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   3768: printf "%s\n" "$STRIP" >&6; }
1.150     moko     3769: else
1.237     moko     3770:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3771: printf "%s\n" "no" >&6; }
1.150     moko     3772: fi
                   3773: 
                   3774: 
                   3775: fi
                   3776: if test -z "$ac_cv_prog_STRIP"; then
                   3777:   ac_ct_STRIP=$STRIP
                   3778:   # Extract the first word of "strip", so it can be a program name with args.
                   3779: set dummy strip; ac_word=$2
1.237     moko     3780: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3781: printf %s "checking for $ac_word... " >&6; }
                   3782: if test ${ac_cv_prog_ac_ct_STRIP+y}
                   3783: then :
                   3784:   printf %s "(cached) " >&6
                   3785: else case e in #(
                   3786:   e) if test -n "$ac_ct_STRIP"; then
1.150     moko     3787:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   3788: else
                   3789: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3790: for as_dir in $PATH
                   3791: do
                   3792:   IFS=$as_save_IFS
1.237     moko     3793:   case $as_dir in #(((
                   3794:     '') as_dir=./ ;;
                   3795:     */) ;;
                   3796:     *) as_dir=$as_dir/ ;;
                   3797:   esac
1.150     moko     3798:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     3799:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.150     moko     3800:     ac_cv_prog_ac_ct_STRIP="strip"
1.237     moko     3801:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.150     moko     3802:     break 2
                   3803:   fi
                   3804: done
                   3805:   done
                   3806: IFS=$as_save_IFS
                   3807: 
1.237     moko     3808: fi ;;
                   3809: esac
1.150     moko     3810: fi
                   3811: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   3812: if test -n "$ac_ct_STRIP"; then
1.237     moko     3813:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   3814: printf "%s\n" "$ac_ct_STRIP" >&6; }
1.150     moko     3815: else
1.237     moko     3816:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3817: printf "%s\n" "no" >&6; }
1.150     moko     3818: fi
                   3819: 
                   3820:   if test "x$ac_ct_STRIP" = x; then
                   3821:     STRIP=":"
                   3822:   else
                   3823:     case $cross_compiling:$ac_tool_warned in
                   3824: yes:)
1.237     moko     3825: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3826: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     3827: ac_tool_warned=yes ;;
                   3828: esac
                   3829:     STRIP=$ac_ct_STRIP
                   3830:   fi
                   3831: else
                   3832:   STRIP="$ac_cv_prog_STRIP"
                   3833: fi
                   3834: 
                   3835: fi
                   3836: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   3837: 
1.237     moko     3838: 
                   3839:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
                   3840: printf %s "checking for a race-free mkdir -p... " >&6; }
1.150     moko     3841: if test -z "$MKDIR_P"; then
1.237     moko     3842:   if test ${ac_cv_path_mkdir+y}
                   3843: then :
                   3844:   printf %s "(cached) " >&6
                   3845: else case e in #(
                   3846:   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.150     moko     3847: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   3848: do
                   3849:   IFS=$as_save_IFS
1.237     moko     3850:   case $as_dir in #(((
                   3851:     '') as_dir=./ ;;
                   3852:     */) ;;
                   3853:     *) as_dir=$as_dir/ ;;
                   3854:   esac
1.150     moko     3855:     for ac_prog in mkdir gmkdir; do
                   3856:         for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     3857:           as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
                   3858:           case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   3859:             'mkdir ('*'coreutils) '* | \
                   3860:             *'BusyBox '* | \
1.150     moko     3861:             'mkdir (fileutils) '4.1*)
1.237     moko     3862:               ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
1.150     moko     3863:               break 3;;
                   3864:           esac
                   3865:         done
                   3866:        done
                   3867:   done
                   3868: IFS=$as_save_IFS
1.237     moko     3869:  ;;
                   3870: esac
1.150     moko     3871: fi
                   3872: 
                   3873:   test -d ./--version && rmdir ./--version
1.237     moko     3874:   if test ${ac_cv_path_mkdir+y}; then
1.150     moko     3875:     MKDIR_P="$ac_cv_path_mkdir -p"
                   3876:   else
1.237     moko     3877:     # As a last resort, use plain mkdir -p,
                   3878:     # in the hope it doesn't have the bugs of ancient mkdir.
                   3879:     MKDIR_P='mkdir -p'
1.150     moko     3880:   fi
                   3881: fi
1.237     moko     3882: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   3883: printf "%s\n" "$MKDIR_P" >&6; }
1.150     moko     3884: 
                   3885: for ac_prog in gawk mawk nawk awk
1.62      paf      3886: do
                   3887:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3888: set dummy $ac_prog; ac_word=$2
1.237     moko     3889: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3890: printf %s "checking for $ac_word... " >&6; }
                   3891: if test ${ac_cv_prog_AWK+y}
                   3892: then :
                   3893:   printf %s "(cached) " >&6
                   3894: else case e in #(
                   3895:   e) if test -n "$AWK"; then
1.62      paf      3896:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3897: else
                   3898: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3899: for as_dir in $PATH
                   3900: do
                   3901:   IFS=$as_save_IFS
1.237     moko     3902:   case $as_dir in #(((
                   3903:     '') as_dir=./ ;;
                   3904:     */) ;;
                   3905:     *) as_dir=$as_dir/ ;;
                   3906:   esac
1.150     moko     3907:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     3908:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.62      paf      3909:     ac_cv_prog_AWK="$ac_prog"
1.237     moko     3910:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.62      paf      3911:     break 2
                   3912:   fi
                   3913: done
1.150     moko     3914:   done
                   3915: IFS=$as_save_IFS
1.62      paf      3916: 
1.237     moko     3917: fi ;;
                   3918: esac
1.62      paf      3919: fi
                   3920: AWK=$ac_cv_prog_AWK
                   3921: if test -n "$AWK"; then
1.237     moko     3922:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3923: printf "%s\n" "$AWK" >&6; }
1.62      paf      3924: else
1.237     moko     3925:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3926: printf "%s\n" "no" >&6; }
1.62      paf      3927: fi
1.1       paf      3928: 
1.150     moko     3929: 
1.62      paf      3930:   test -n "$AWK" && break
                   3931: done
1.1       paf      3932: 
1.237     moko     3933: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3934: printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1.150     moko     3935: set x ${MAKE-make}
1.237     moko     3936: ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   3937: if eval test \${ac_cv_prog_make_${ac_make}_set+y}
                   3938: then :
                   3939:   printf %s "(cached) " >&6
                   3940: else case e in #(
                   3941:   e) cat >conftest.make <<\_ACEOF
1.150     moko     3942: SHELL = /bin/sh
1.1       paf      3943: all:
1.150     moko     3944:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.62      paf      3945: _ACEOF
1.150     moko     3946: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   3947: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3948:   *@@@%%%=?*=@@@%%%*)
                   3949:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3950:   *)
                   3951:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3952: esac
1.237     moko     3953: rm -f conftest.make ;;
                   3954: esac
1.1       paf      3955: fi
1.150     moko     3956: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1.237     moko     3957:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3958: printf "%s\n" "yes" >&6; }
1.1       paf      3959:   SET_MAKE=
                   3960: else
1.237     moko     3961:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3962: printf "%s\n" "no" >&6; }
1.1       paf      3963:   SET_MAKE="MAKE=${MAKE-make}"
                   3964: fi
                   3965: 
1.86      paf      3966: rm -rf .tst 2>/dev/null
                   3967: mkdir .tst 2>/dev/null
                   3968: if test -d .tst; then
                   3969:   am__leading_dot=.
                   3970: else
                   3971:   am__leading_dot=_
                   3972: fi
                   3973: rmdir .tst 2>/dev/null
                   3974: 
1.237     moko     3975: AM_DEFAULT_VERBOSITY=1
1.187     moko     3976: # Check whether --enable-silent-rules was given.
1.237     moko     3977: if test ${enable_silent_rules+y}
                   3978: then :
1.187     moko     3979:   enableval=$enable_silent_rules;
                   3980: fi
                   3981: 
                   3982: am_make=${MAKE-make}
1.237     moko     3983: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
                   3984: printf %s "checking whether $am_make supports nested variables... " >&6; }
                   3985: if test ${am_cv_make_support_nested_variables+y}
                   3986: then :
                   3987:   printf %s "(cached) " >&6
                   3988: else case e in #(
                   3989:   e) if printf "%s\n" 'TRUE=$(BAR$(V))
1.187     moko     3990: BAR0=false
                   3991: BAR1=true
                   3992: V=1
                   3993: am__doit:
                   3994:        @$(TRUE)
                   3995: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
                   3996:   am_cv_make_support_nested_variables=yes
                   3997: else
                   3998:   am_cv_make_support_nested_variables=no
1.237     moko     3999: fi ;;
                   4000: esac
1.187     moko     4001: fi
1.237     moko     4002: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
                   4003: printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
                   4004: AM_BACKSLASH='\'
                   4005: 
                   4006: am__rm_f_notfound=
                   4007: if (rm -f && rm -fr && rm -rf) 2>/dev/null
                   4008: then :
                   4009: 
                   4010: else case e in #(
                   4011:   e) am__rm_f_notfound='""' ;;
                   4012: esac
1.187     moko     4013: fi
1.237     moko     4014: 
                   4015: 
                   4016: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
                   4017: printf %s "checking xargs -n works... " >&6; }
                   4018: if test ${am_cv_xargs_n_works+y}
                   4019: then :
                   4020:   printf %s "(cached) " >&6
                   4021: else case e in #(
                   4022:   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
                   4023: 3"
                   4024: then :
                   4025:   am_cv_xargs_n_works=yes
                   4026: else case e in #(
                   4027:   e) am_cv_xargs_n_works=no ;;
                   4028: esac
                   4029: fi ;;
                   4030: esac
                   4031: fi
                   4032: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
                   4033: printf "%s\n" "$am_cv_xargs_n_works" >&6; }
                   4034: if test "$am_cv_xargs_n_works" = yes
                   4035: then :
                   4036:   am__xargs_n='xargs -n'
                   4037: else case e in #(
                   4038:   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
                   4039:  ;;
                   4040: esac
1.187     moko     4041: fi
                   4042: 
1.150     moko     4043: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   4044:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   4045:   # is not polluted with repeated "-I."
                   4046:   am__isrc=' -I$(srcdir)'
                   4047:   # test to see if srcdir already configured
                   4048:   if test -f $srcdir/config.status; then
                   4049:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   4050:   fi
1.62      paf      4051: fi
                   4052: 
                   4053: # test whether we have cygpath
                   4054: if test -z "$CYGPATH_W"; then
                   4055:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   4056:     CYGPATH_W='cygpath -w'
                   4057:   else
                   4058:     CYGPATH_W=echo
                   4059:   fi
                   4060: fi
                   4061: 
                   4062: 
                   4063: # Define the identity of the package.
1.128     moko     4064:  PACKAGE='parser'
1.230     moko     4065:  VERSION='3.5.2b'
1.128     moko     4066: 
                   4067: 
1.237     moko     4068: printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
1.1       paf      4069: 
                   4070: 
1.237     moko     4071: printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
1.128     moko     4072: 
1.62      paf      4073: # Some tools Automake needs.
                   4074: 
                   4075: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   4076: 
                   4077: 
                   4078: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   4079: 
                   4080: 
                   4081: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   4082: 
                   4083: 
                   4084: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   4085: 
                   4086: 
                   4087: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      4088: 
1.187     moko     4089: # For better backward compatibility.  To be removed once Automake 1.9.x
                   4090: # dies out for good.  For more background, see:
1.199     moko     4091: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
                   4092: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1.187     moko     4093: mkdir_p='$(MKDIR_P)'
                   4094: 
                   4095: # We need awk for the "check" target (and possibly the TAP driver).  The
                   4096: # system "awk" is bad on some platforms.
                   4097: # Always define AMTAR for backward compatibility.  Yes, it's still used
                   4098: # in the wild :-(  We should find a proper way to deprecate it ...
                   4099: AMTAR='$${TAR-tar}'
                   4100: 
                   4101: 
                   4102: # We'll loop over all known methods to create a tar archive until one works.
                   4103: _am_tools='gnutar  pax cpio none'
                   4104: 
                   4105: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
                   4106: 
1.86      paf      4107: 
                   4108: 
                   4109: 
                   4110: 
1.237     moko     4111: # Variables for tags utilities; see am/tags.am
                   4112: if test -z "$CTAGS"; then
                   4113:   CTAGS=ctags
                   4114: fi
                   4115: 
                   4116: if test -z "$ETAGS"; then
                   4117:   ETAGS=etags
                   4118: fi
                   4119: 
                   4120: if test -z "$CSCOPE"; then
                   4121:   CSCOPE=cscope
                   4122: fi
                   4123: 
1.62      paf      4124: 
1.187     moko     4125: 
                   4126: 
                   4127: 
                   4128: 
1.1       paf      4129: 
                   4130: 
1.128     moko     4131: 
1.12      paf      4132: P3S=`cd $srcdir/src ; pwd`
1.1       paf      4133: 
                   4134: 
1.128     moko     4135: 
1.237     moko     4136: 
                   4137: 
                   4138:   # Make sure we can run config.sub.
                   4139: $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
                   4140:   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
                   4141: 
                   4142: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   4143: printf %s "checking build system type... " >&6; }
                   4144: if test ${ac_cv_build+y}
                   4145: then :
                   4146:   printf %s "(cached) " >&6
                   4147: else case e in #(
                   4148:   e) ac_build_alias=$build_alias
1.150     moko     4149: test "x$ac_build_alias" = x &&
1.237     moko     4150:   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
1.150     moko     4151: test "x$ac_build_alias" = x &&
                   4152:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1.237     moko     4153: ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
                   4154:   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
                   4155:  ;;
                   4156: esac
1.150     moko     4157: fi
1.237     moko     4158: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   4159: printf "%s\n" "$ac_cv_build" >&6; }
1.150     moko     4160: case $ac_cv_build in
                   4161: *-*-*) ;;
                   4162: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   4163: esac
                   4164: build=$ac_cv_build
                   4165: ac_save_IFS=$IFS; IFS='-'
                   4166: set x $ac_cv_build
                   4167: shift
                   4168: build_cpu=$1
                   4169: build_vendor=$2
                   4170: shift; shift
                   4171: # Remember, the first character of IFS is used to create $*,
                   4172: # except with old shells:
                   4173: build_os=$*
                   4174: IFS=$ac_save_IFS
                   4175: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   4176: 
                   4177: 
1.237     moko     4178: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   4179: printf %s "checking host system type... " >&6; }
                   4180: if test ${ac_cv_host+y}
                   4181: then :
                   4182:   printf %s "(cached) " >&6
                   4183: else case e in #(
                   4184:   e) if test "x$host_alias" = x; then
1.150     moko     4185:   ac_cv_host=$ac_cv_build
                   4186: else
1.237     moko     4187:   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
                   4188:     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
1.62      paf      4189: fi
1.237     moko     4190:  ;;
                   4191: esac
1.62      paf      4192: fi
1.237     moko     4193: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   4194: printf "%s\n" "$ac_cv_host" >&6; }
1.150     moko     4195: case $ac_cv_host in
                   4196: *-*-*) ;;
                   4197: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   4198: esac
1.62      paf      4199: host=$ac_cv_host
1.150     moko     4200: ac_save_IFS=$IFS; IFS='-'
                   4201: set x $ac_cv_host
                   4202: shift
                   4203: host_cpu=$1
                   4204: host_vendor=$2
                   4205: shift; shift
                   4206: # Remember, the first character of IFS is used to create $*,
                   4207: # except with old shells:
                   4208: host_os=$*
                   4209: IFS=$ac_save_IFS
                   4210: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.81      paf      4211: 
                   4212: 
                   4213: 
1.237     moko     4214: printf "%s\n" "#define PARSER_VERSION \"$VERSION (compiled on $host)\"" >>confdefs.h
1.147     moko     4215: 
                   4216: 
1.41      paf      4217: 
1.67      paf      4218: case $host_os in
                   4219:   *cygwin* )
1.237     moko     4220: printf "%s\n" "#define CYGWIN /**/" >>confdefs.h
1.67      paf      4221: ;;
                   4222: esac
1.41      paf      4223: 
1.128     moko     4224: 
1.1       paf      4225: 
1.62      paf      4226: for ac_prog in gawk mawk nawk awk
1.41      paf      4227: do
1.62      paf      4228:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      4229: set dummy $ac_prog; ac_word=$2
1.237     moko     4230: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4231: printf %s "checking for $ac_word... " >&6; }
                   4232: if test ${ac_cv_prog_AWK+y}
                   4233: then :
                   4234:   printf %s "(cached) " >&6
                   4235: else case e in #(
                   4236:   e) if test -n "$AWK"; then
1.41      paf      4237:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   4238: else
1.62      paf      4239: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4240: for as_dir in $PATH
                   4241: do
                   4242:   IFS=$as_save_IFS
1.237     moko     4243:   case $as_dir in #(((
                   4244:     '') as_dir=./ ;;
                   4245:     */) ;;
                   4246:     *) as_dir=$as_dir/ ;;
                   4247:   esac
1.150     moko     4248:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     4249:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.62      paf      4250:     ac_cv_prog_AWK="$ac_prog"
1.237     moko     4251:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.62      paf      4252:     break 2
                   4253:   fi
                   4254: done
1.150     moko     4255:   done
                   4256: IFS=$as_save_IFS
1.62      paf      4257: 
1.237     moko     4258: fi ;;
                   4259: esac
1.41      paf      4260: fi
1.62      paf      4261: AWK=$ac_cv_prog_AWK
1.41      paf      4262: if test -n "$AWK"; then
1.237     moko     4263:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   4264: printf "%s\n" "$AWK" >&6; }
1.41      paf      4265: else
1.237     moko     4266:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4267: printf "%s\n" "no" >&6; }
1.41      paf      4268: fi
                   4269: 
1.150     moko     4270: 
1.62      paf      4271:   test -n "$AWK" && break
1.41      paf      4272: done
                   4273: 
                   4274: 
                   4275: for ac_prog in 'bison -y' byacc
                   4276: do
1.62      paf      4277:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      4278: set dummy $ac_prog; ac_word=$2
1.237     moko     4279: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4280: printf %s "checking for $ac_word... " >&6; }
                   4281: if test ${ac_cv_prog_YACC+y}
                   4282: then :
                   4283:   printf %s "(cached) " >&6
                   4284: else case e in #(
                   4285:   e) if test -n "$YACC"; then
1.41      paf      4286:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   4287: else
1.62      paf      4288: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4289: for as_dir in $PATH
                   4290: do
                   4291:   IFS=$as_save_IFS
1.237     moko     4292:   case $as_dir in #(((
                   4293:     '') as_dir=./ ;;
                   4294:     */) ;;
                   4295:     *) as_dir=$as_dir/ ;;
                   4296:   esac
1.150     moko     4297:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     4298:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.62      paf      4299:     ac_cv_prog_YACC="$ac_prog"
1.237     moko     4300:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.62      paf      4301:     break 2
                   4302:   fi
                   4303: done
1.150     moko     4304:   done
                   4305: IFS=$as_save_IFS
1.62      paf      4306: 
1.237     moko     4307: fi ;;
                   4308: esac
1.41      paf      4309: fi
1.62      paf      4310: YACC=$ac_cv_prog_YACC
1.41      paf      4311: if test -n "$YACC"; then
1.237     moko     4312:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
                   4313: printf "%s\n" "$YACC" >&6; }
1.41      paf      4314: else
1.237     moko     4315:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4316: printf "%s\n" "no" >&6; }
1.41      paf      4317: fi
                   4318: 
1.150     moko     4319: 
1.62      paf      4320:   test -n "$YACC" && break
1.41      paf      4321: done
                   4322: test -n "$YACC" || YACC="yacc"
                   4323: 
                   4324: if test "$YACC" != "bison -y"; then
1.237     moko     4325:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
                   4326: printf "%s\n" "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      4327: else
1.237     moko     4328:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking bison version" >&5
                   4329: printf %s "checking bison version... " >&6; }
1.67      paf      4330:        oldIFS=$IFS; IFS=.
                   4331:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   4332:        IFS=$oldIFS
                   4333:        if test "$1" = "1" -a "$2" -lt "25"; then
1.237     moko     4334:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
                   4335: printf "%s\n" "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      4336:        fi
1.237     moko     4337:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $1.$2 (ok)" >&5
                   4338: printf "%s\n" "$1.$2 (ok)" >&6; }
1.62      paf      4339: fi
                   4340: 
1.237     moko     4341: 
                   4342: 
                   4343: 
                   4344: 
                   4345: 
                   4346: 
1.150     moko     4347: ac_ext=cpp
1.66      paf      4348: ac_cpp='$CXXCPP $CPPFLAGS'
                   4349: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4350: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4351: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     4352: if test -z "$CXX"; then
                   4353:   if test -n "$CCC"; then
                   4354:     CXX=$CCC
                   4355:   else
                   4356:     if test -n "$ac_tool_prefix"; then
1.237     moko     4357:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
1.66      paf      4358:   do
                   4359:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4360: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.237     moko     4361: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4362: printf %s "checking for $ac_word... " >&6; }
                   4363: if test ${ac_cv_prog_CXX+y}
                   4364: then :
                   4365:   printf %s "(cached) " >&6
                   4366: else case e in #(
                   4367:   e) if test -n "$CXX"; then
1.66      paf      4368:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      4369: else
                   4370: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4371: for as_dir in $PATH
                   4372: do
                   4373:   IFS=$as_save_IFS
1.237     moko     4374:   case $as_dir in #(((
                   4375:     '') as_dir=./ ;;
                   4376:     */) ;;
                   4377:     *) as_dir=$as_dir/ ;;
                   4378:   esac
1.150     moko     4379:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     4380:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.66      paf      4381:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.237     moko     4382:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.62      paf      4383:     break 2
                   4384:   fi
                   4385: done
1.150     moko     4386:   done
                   4387: IFS=$as_save_IFS
1.62      paf      4388: 
1.237     moko     4389: fi ;;
                   4390: esac
1.62      paf      4391: fi
1.66      paf      4392: CXX=$ac_cv_prog_CXX
                   4393: if test -n "$CXX"; then
1.237     moko     4394:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   4395: printf "%s\n" "$CXX" >&6; }
1.62      paf      4396: else
1.237     moko     4397:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4398: printf "%s\n" "no" >&6; }
1.41      paf      4399: fi
                   4400: 
1.150     moko     4401: 
1.66      paf      4402:     test -n "$CXX" && break
                   4403:   done
1.62      paf      4404: fi
1.66      paf      4405: if test -z "$CXX"; then
                   4406:   ac_ct_CXX=$CXX
1.237     moko     4407:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
1.66      paf      4408: do
                   4409:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4410: set dummy $ac_prog; ac_word=$2
1.237     moko     4411: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4412: printf %s "checking for $ac_word... " >&6; }
                   4413: if test ${ac_cv_prog_ac_ct_CXX+y}
                   4414: then :
                   4415:   printf %s "(cached) " >&6
                   4416: else case e in #(
                   4417:   e) if test -n "$ac_ct_CXX"; then
1.66      paf      4418:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      4419: else
                   4420: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4421: for as_dir in $PATH
                   4422: do
                   4423:   IFS=$as_save_IFS
1.237     moko     4424:   case $as_dir in #(((
                   4425:     '') as_dir=./ ;;
                   4426:     */) ;;
                   4427:     *) as_dir=$as_dir/ ;;
                   4428:   esac
1.150     moko     4429:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     4430:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.66      paf      4431:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.237     moko     4432:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.62      paf      4433:     break 2
                   4434:   fi
                   4435: done
1.150     moko     4436:   done
                   4437: IFS=$as_save_IFS
1.62      paf      4438: 
1.237     moko     4439: fi ;;
                   4440: esac
1.62      paf      4441: fi
1.66      paf      4442: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   4443: if test -n "$ac_ct_CXX"; then
1.237     moko     4444:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   4445: printf "%s\n" "$ac_ct_CXX" >&6; }
1.62      paf      4446: else
1.237     moko     4447:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4448: printf "%s\n" "no" >&6; }
1.62      paf      4449: fi
                   4450: 
1.150     moko     4451: 
1.66      paf      4452:   test -n "$ac_ct_CXX" && break
                   4453: done
                   4454: 
1.150     moko     4455:   if test "x$ac_ct_CXX" = x; then
                   4456:     CXX="g++"
                   4457:   else
                   4458:     case $cross_compiling:$ac_tool_warned in
                   4459: yes:)
1.237     moko     4460: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4461: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     4462: ac_tool_warned=yes ;;
                   4463: esac
                   4464:     CXX=$ac_ct_CXX
                   4465:   fi
1.62      paf      4466: fi
                   4467: 
1.150     moko     4468:   fi
                   4469: fi
1.66      paf      4470: # Provide some information about the compiler.
1.237     moko     4471: printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
1.150     moko     4472: set X $ac_compile
                   4473: ac_compiler=$2
                   4474: for ac_option in --version -v -V -qversion; do
                   4475:   { { ac_try="$ac_compiler $ac_option >&5"
                   4476: case "(($ac_try" in
                   4477:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4478:   *) ac_try_echo=$ac_try;;
                   4479: esac
                   4480: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.237     moko     4481: printf "%s\n" "$ac_try_echo"; } >&5
1.150     moko     4482:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.66      paf      4483:   ac_status=$?
1.150     moko     4484:   if test -s conftest.err; then
                   4485:     sed '10a\
                   4486: ... rest of stderr output deleted ...
                   4487:          10q' conftest.err >conftest.er1
                   4488:     cat conftest.er1 >&5
                   4489:   fi
                   4490:   rm -f conftest.er1 conftest.err
1.237     moko     4491:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     4492:   test $ac_status = 0; }
                   4493: done
1.66      paf      4494: 
1.150     moko     4495: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      4496: /* end confdefs.h.  */
                   4497: 
                   4498: int
1.237     moko     4499: main (void)
1.66      paf      4500: {
                   4501: 
                   4502:   ;
                   4503:   return 0;
                   4504: }
                   4505: _ACEOF
                   4506: ac_clean_files_save=$ac_clean_files
1.150     moko     4507: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.66      paf      4508: # Try to create an executable without -o first, disregard a.out.
                   4509: # It will help us diagnose broken compilers, and finding out an intuition
                   4510: # of exeext.
1.237     moko     4511: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   4512: printf %s "checking whether the C++ compiler works... " >&6; }
                   4513: ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1.150     moko     4514: 
                   4515: # The possible output files:
                   4516: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   4517: 
                   4518: ac_rmfiles=
                   4519: for ac_file in $ac_files
                   4520: do
                   4521:   case $ac_file in
                   4522:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   4523:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   4524:   esac
                   4525: done
                   4526: rm -f $ac_rmfiles
                   4527: 
                   4528: if { { ac_try="$ac_link_default"
                   4529: case "(($ac_try" in
                   4530:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4531:   *) ac_try_echo=$ac_try;;
                   4532: esac
                   4533: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.237     moko     4534: printf "%s\n" "$ac_try_echo"; } >&5
1.150     moko     4535:   (eval "$ac_link_default") 2>&5
                   4536:   ac_status=$?
1.237     moko     4537:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4538:   test $ac_status = 0; }
                   4539: then :
                   4540:   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
                   4541: # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
1.150     moko     4542: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   4543: # so that the user can short-circuit this test for compilers unknown to
                   4544: # Autoconf.
                   4545: for ac_file in $ac_files ''
1.62      paf      4546: do
1.66      paf      4547:   test -f "$ac_file" || continue
                   4548:   case $ac_file in
1.150     moko     4549:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.86      paf      4550:        ;;
1.66      paf      4551:     [ab].out )
1.86      paf      4552:        # We found the default executable, but exeext='' is most
                   4553:        # certainly right.
                   4554:        break;;
1.66      paf      4555:     *.* )
1.237     moko     4556:        if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
1.150     moko     4557:        then :; else
                   4558:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   4559:        fi
                   4560:        # We set ac_cv_exeext here because the later test for it is not
1.237     moko     4561:        # safe: cross compilers may not add the suffix if given an '-o'
1.150     moko     4562:        # argument, so we may need to know it at that point already.
                   4563:        # Even if this section looks crufty: it has the advantage of
                   4564:        # actually working.
1.86      paf      4565:        break;;
1.66      paf      4566:     * )
1.86      paf      4567:        break;;
1.66      paf      4568:   esac
1.62      paf      4569: done
1.150     moko     4570: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   4571: 
1.237     moko     4572: else case e in #(
                   4573:   e) ac_file='' ;;
                   4574: esac
1.150     moko     4575: fi
1.237     moko     4576: if test -z "$ac_file"
                   4577: then :
                   4578:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4579: printf "%s\n" "no" >&6; }
                   4580: printf "%s\n" "$as_me: failed program was:" >&5
1.66      paf      4581: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      4582: 
1.237     moko     4583: { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   4584: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.150     moko     4585: as_fn_error 77 "C++ compiler cannot create executables
1.237     moko     4586: See 'config.log' for more details" "$LINENO" 5; }
                   4587: else case e in #(
                   4588:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4589: printf "%s\n" "yes" >&6; } ;;
                   4590: esac
1.1       paf      4591: fi
1.237     moko     4592: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   4593: printf %s "checking for C++ compiler default output file name... " >&6; }
                   4594: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   4595: printf "%s\n" "$ac_file" >&6; }
1.66      paf      4596: ac_exeext=$ac_cv_exeext
1.62      paf      4597: 
1.150     moko     4598: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.66      paf      4599: ac_clean_files=$ac_clean_files_save
1.237     moko     4600: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   4601: printf %s "checking for suffix of executables... " >&6; }
1.150     moko     4602: if { { ac_try="$ac_link"
                   4603: case "(($ac_try" in
                   4604:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4605:   *) ac_try_echo=$ac_try;;
                   4606: esac
                   4607: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.237     moko     4608: printf "%s\n" "$ac_try_echo"; } >&5
1.150     moko     4609:   (eval "$ac_link") 2>&5
1.62      paf      4610:   ac_status=$?
1.237     moko     4611:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4612:   test $ac_status = 0; }
                   4613: then :
                   4614:   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
                   4615: # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
                   4616: # work properly (i.e., refer to 'conftest.exe'), while it won't with
                   4617: # 'rm'.
1.62      paf      4618: for ac_file in conftest.exe conftest conftest.*; do
                   4619:   test -f "$ac_file" || continue
                   4620:   case $ac_file in
1.150     moko     4621:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.62      paf      4622:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      4623:          break;;
1.62      paf      4624:     * ) break;;
                   4625:   esac
                   4626: done
1.237     moko     4627: else case e in #(
                   4628:   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   4629: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.150     moko     4630: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
1.237     moko     4631: See 'config.log' for more details" "$LINENO" 5; } ;;
                   4632: esac
1.150     moko     4633: fi
                   4634: rm -f conftest conftest$ac_cv_exeext
1.237     moko     4635: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   4636: printf "%s\n" "$ac_cv_exeext" >&6; }
1.62      paf      4637: 
                   4638: rm -f conftest.$ac_ext
                   4639: EXEEXT=$ac_cv_exeext
                   4640: ac_exeext=$EXEEXT
1.150     moko     4641: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4642: /* end confdefs.h.  */
                   4643: #include <stdio.h>
                   4644: int
1.237     moko     4645: main (void)
1.150     moko     4646: {
                   4647: FILE *f = fopen ("conftest.out", "w");
1.237     moko     4648:  if (!f)
                   4649:   return 1;
1.150     moko     4650:  return ferror (f) || fclose (f) != 0;
                   4651: 
                   4652:   ;
                   4653:   return 0;
                   4654: }
                   4655: _ACEOF
                   4656: ac_clean_files="$ac_clean_files conftest.out"
                   4657: # Check that the compiler produces executables we can run.  If not, either
                   4658: # the compiler is broken, or we cross compile.
1.237     moko     4659: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   4660: printf %s "checking whether we are cross compiling... " >&6; }
1.150     moko     4661: if test "$cross_compiling" != yes; then
                   4662:   { { ac_try="$ac_link"
                   4663: case "(($ac_try" in
                   4664:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4665:   *) ac_try_echo=$ac_try;;
                   4666: esac
                   4667: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.237     moko     4668: printf "%s\n" "$ac_try_echo"; } >&5
1.150     moko     4669:   (eval "$ac_link") 2>&5
                   4670:   ac_status=$?
1.237     moko     4671:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     4672:   test $ac_status = 0; }
                   4673:   if { ac_try='./conftest$ac_cv_exeext'
                   4674:   { { case "(($ac_try" in
                   4675:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4676:   *) ac_try_echo=$ac_try;;
                   4677: esac
                   4678: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.237     moko     4679: printf "%s\n" "$ac_try_echo"; } >&5
1.150     moko     4680:   (eval "$ac_try") 2>&5
                   4681:   ac_status=$?
1.237     moko     4682:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     4683:   test $ac_status = 0; }; }; then
                   4684:     cross_compiling=no
                   4685:   else
                   4686:     if test "$cross_compiling" = maybe; then
                   4687:        cross_compiling=yes
                   4688:     else
1.237     moko     4689:        { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   4690: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
                   4691: as_fn_error 77 "cannot run C++ compiled programs.
                   4692: If you meant to cross compile, use '--host'.
                   4693: See 'config.log' for more details" "$LINENO" 5; }
1.150     moko     4694:     fi
                   4695:   fi
                   4696: fi
1.237     moko     4697: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   4698: printf "%s\n" "$cross_compiling" >&6; }
1.150     moko     4699: 
1.237     moko     4700: rm -f conftest.$ac_ext conftest$ac_cv_exeext \
                   4701:   conftest.o conftest.obj conftest.out
1.150     moko     4702: ac_clean_files=$ac_clean_files_save
1.237     moko     4703: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   4704: printf %s "checking for suffix of object files... " >&6; }
                   4705: if test ${ac_cv_objext+y}
                   4706: then :
                   4707:   printf %s "(cached) " >&6
                   4708: else case e in #(
                   4709:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4710: /* end confdefs.h.  */
                   4711: 
                   4712: int
1.237     moko     4713: main (void)
1.62      paf      4714: {
                   4715: 
                   4716:   ;
                   4717:   return 0;
                   4718: }
                   4719: _ACEOF
                   4720: rm -f conftest.o conftest.obj
1.150     moko     4721: if { { ac_try="$ac_compile"
                   4722: case "(($ac_try" in
                   4723:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4724:   *) ac_try_echo=$ac_try;;
                   4725: esac
                   4726: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.237     moko     4727: printf "%s\n" "$ac_try_echo"; } >&5
1.150     moko     4728:   (eval "$ac_compile") 2>&5
                   4729:   ac_status=$?
1.237     moko     4730:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4731:   test $ac_status = 0; }
                   4732: then :
1.150     moko     4733:   for ac_file in conftest.o conftest.obj conftest.*; do
                   4734:   test -f "$ac_file" || continue;
1.62      paf      4735:   case $ac_file in
1.150     moko     4736:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.62      paf      4737:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   4738:        break;;
                   4739:   esac
                   4740: done
1.237     moko     4741: else case e in #(
                   4742:   e) printf "%s\n" "$as_me: failed program was:" >&5
1.62      paf      4743: sed 's/^/| /' conftest.$ac_ext >&5
                   4744: 
1.237     moko     4745: { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   4746: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.150     moko     4747: as_fn_error $? "cannot compute suffix of object files: cannot compile
1.237     moko     4748: See 'config.log' for more details" "$LINENO" 5; } ;;
                   4749: esac
1.62      paf      4750: fi
1.237     moko     4751: rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
                   4752: esac
1.62      paf      4753: fi
1.237     moko     4754: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   4755: printf "%s\n" "$ac_cv_objext" >&6; }
1.66      paf      4756: OBJEXT=$ac_cv_objext
                   4757: ac_objext=$OBJEXT
1.237     moko     4758: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
                   4759: printf %s "checking whether the compiler supports GNU C++... " >&6; }
                   4760: if test ${ac_cv_cxx_compiler_gnu+y}
                   4761: then :
                   4762:   printf %s "(cached) " >&6
                   4763: else case e in #(
                   4764:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4765: /* end confdefs.h.  */
1.66      paf      4766: 
1.62      paf      4767: int
1.237     moko     4768: main (void)
1.62      paf      4769: {
1.66      paf      4770: #ifndef __GNUC__
                   4771:        choke me
                   4772: #endif
                   4773: 
1.62      paf      4774:   ;
                   4775:   return 0;
                   4776: }
                   4777: _ACEOF
1.237     moko     4778: if ac_fn_cxx_try_compile "$LINENO"
                   4779: then :
1.66      paf      4780:   ac_compiler_gnu=yes
1.237     moko     4781: else case e in #(
                   4782:   e) ac_compiler_gnu=no ;;
                   4783: esac
1.1       paf      4784: fi
1.237     moko     4785: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.66      paf      4786: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.237     moko     4787:  ;;
                   4788: esac
                   4789: fi
                   4790: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   4791: printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
                   4792: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.1       paf      4793: 
1.150     moko     4794: if test $ac_compiler_gnu = yes; then
                   4795:   GXX=yes
                   4796: else
                   4797:   GXX=
                   4798: fi
1.237     moko     4799: ac_test_CXXFLAGS=${CXXFLAGS+y}
1.66      paf      4800: ac_save_CXXFLAGS=$CXXFLAGS
1.237     moko     4801: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   4802: printf %s "checking whether $CXX accepts -g... " >&6; }
                   4803: if test ${ac_cv_prog_cxx_g+y}
                   4804: then :
                   4805:   printf %s "(cached) " >&6
                   4806: else case e in #(
                   4807:   e) ac_save_cxx_werror_flag=$ac_cxx_werror_flag
1.150     moko     4808:    ac_cxx_werror_flag=yes
                   4809:    ac_cv_prog_cxx_g=no
                   4810:    CXXFLAGS="-g"
                   4811:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      4812: /* end confdefs.h.  */
1.1       paf      4813: 
1.66      paf      4814: int
1.237     moko     4815: main (void)
1.66      paf      4816: {
1.1       paf      4817: 
1.66      paf      4818:   ;
                   4819:   return 0;
                   4820: }
1.62      paf      4821: _ACEOF
1.237     moko     4822: if ac_fn_cxx_try_compile "$LINENO"
                   4823: then :
1.66      paf      4824:   ac_cv_prog_cxx_g=yes
1.237     moko     4825: else case e in #(
                   4826:   e) CXXFLAGS=""
1.150     moko     4827:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4828: /* end confdefs.h.  */
1.66      paf      4829: 
1.62      paf      4830: int
1.237     moko     4831: main (void)
1.62      paf      4832: {
1.150     moko     4833: 
1.62      paf      4834:   ;
                   4835:   return 0;
                   4836: }
                   4837: _ACEOF
1.237     moko     4838: if ac_fn_cxx_try_compile "$LINENO"
                   4839: then :
1.150     moko     4840: 
1.237     moko     4841: else case e in #(
                   4842:   e) ac_cxx_werror_flag=$ac_save_cxx_werror_flag
1.150     moko     4843:         CXXFLAGS="-g"
                   4844:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4845: /* end confdefs.h.  */
1.62      paf      4846: 
                   4847: int
1.237     moko     4848: main (void)
1.62      paf      4849: {
1.150     moko     4850: 
1.62      paf      4851:   ;
                   4852:   return 0;
                   4853: }
                   4854: _ACEOF
1.237     moko     4855: if ac_fn_cxx_try_compile "$LINENO"
                   4856: then :
1.150     moko     4857:   ac_cv_prog_cxx_g=yes
                   4858: fi
1.237     moko     4859: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   4860: esac
1.150     moko     4861: fi
1.237     moko     4862: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   4863: esac
1.150     moko     4864: fi
1.237     moko     4865: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4866:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;;
                   4867: esac
1.150     moko     4868: fi
1.237     moko     4869: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   4870: printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
                   4871: if test $ac_test_CXXFLAGS; then
1.150     moko     4872:   CXXFLAGS=$ac_save_CXXFLAGS
                   4873: elif test $ac_cv_prog_cxx_g = yes; then
                   4874:   if test "$GXX" = yes; then
                   4875:     CXXFLAGS="-g -O2"
                   4876:   else
                   4877:     CXXFLAGS="-g"
                   4878:   fi
1.1       paf      4879: else
1.150     moko     4880:   if test "$GXX" = yes; then
                   4881:     CXXFLAGS="-O2"
                   4882:   else
                   4883:     CXXFLAGS=
                   4884:   fi
1.1       paf      4885: fi
1.237     moko     4886: ac_prog_cxx_stdcxx=no
                   4887: if test x$ac_prog_cxx_stdcxx = xno
                   4888: then :
                   4889:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
                   4890: printf %s "checking for $CXX option to enable C++11 features... " >&6; }
                   4891: if test ${ac_cv_prog_cxx_cxx11+y}
                   4892: then :
                   4893:   printf %s "(cached) " >&6
                   4894: else case e in #(
                   4895:   e) ac_cv_prog_cxx_cxx11=no
                   4896: ac_save_CXX=$CXX
                   4897: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4898: /* end confdefs.h.  */
                   4899: $ac_cxx_conftest_cxx11_program
                   4900: _ACEOF
                   4901: for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
                   4902: do
                   4903:   CXX="$ac_save_CXX $ac_arg"
                   4904:   if ac_fn_cxx_try_compile "$LINENO"
                   4905: then :
                   4906:   ac_cv_prog_cxx_cxx11=$ac_arg
                   4907: fi
                   4908: rm -f core conftest.err conftest.$ac_objext conftest.beam
                   4909:   test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
                   4910: done
                   4911: rm -f conftest.$ac_ext
                   4912: CXX=$ac_save_CXX ;;
                   4913: esac
                   4914: fi
                   4915: 
                   4916: if test "x$ac_cv_prog_cxx_cxx11" = xno
                   4917: then :
                   4918:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4919: printf "%s\n" "unsupported" >&6; }
                   4920: else case e in #(
                   4921:   e) if test "x$ac_cv_prog_cxx_cxx11" = x
                   4922: then :
                   4923:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4924: printf "%s\n" "none needed" >&6; }
                   4925: else case e in #(
                   4926:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
                   4927: printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
                   4928:      CXX="$CXX $ac_cv_prog_cxx_cxx11" ;;
                   4929: esac
                   4930: fi
                   4931:   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
                   4932:   ac_prog_cxx_stdcxx=cxx11 ;;
                   4933: esac
                   4934: fi
                   4935: fi
                   4936: if test x$ac_prog_cxx_stdcxx = xno
                   4937: then :
                   4938:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
                   4939: printf %s "checking for $CXX option to enable C++98 features... " >&6; }
                   4940: if test ${ac_cv_prog_cxx_cxx98+y}
                   4941: then :
                   4942:   printf %s "(cached) " >&6
                   4943: else case e in #(
                   4944:   e) ac_cv_prog_cxx_cxx98=no
                   4945: ac_save_CXX=$CXX
                   4946: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4947: /* end confdefs.h.  */
                   4948: $ac_cxx_conftest_cxx98_program
                   4949: _ACEOF
                   4950: for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
                   4951: do
                   4952:   CXX="$ac_save_CXX $ac_arg"
                   4953:   if ac_fn_cxx_try_compile "$LINENO"
                   4954: then :
                   4955:   ac_cv_prog_cxx_cxx98=$ac_arg
                   4956: fi
                   4957: rm -f core conftest.err conftest.$ac_objext conftest.beam
                   4958:   test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
                   4959: done
                   4960: rm -f conftest.$ac_ext
                   4961: CXX=$ac_save_CXX ;;
                   4962: esac
                   4963: fi
                   4964: 
                   4965: if test "x$ac_cv_prog_cxx_cxx98" = xno
                   4966: then :
                   4967:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4968: printf "%s\n" "unsupported" >&6; }
                   4969: else case e in #(
                   4970:   e) if test "x$ac_cv_prog_cxx_cxx98" = x
                   4971: then :
                   4972:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4973: printf "%s\n" "none needed" >&6; }
                   4974: else case e in #(
                   4975:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
                   4976: printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
                   4977:      CXX="$CXX $ac_cv_prog_cxx_cxx98" ;;
                   4978: esac
                   4979: fi
                   4980:   ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
                   4981:   ac_prog_cxx_stdcxx=cxx98 ;;
                   4982: esac
                   4983: fi
                   4984: fi
                   4985: 
1.62      paf      4986: ac_ext=c
                   4987: ac_cpp='$CPP $CPPFLAGS'
                   4988: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4989: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4990: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      4991: DEPDIR="${am__leading_dot}deps"
1.62      paf      4992: 
1.150     moko     4993: ac_config_commands="$ac_config_commands depfiles"
1.62      paf      4994: 
1.237     moko     4995: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
                   4996: printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
1.199     moko     4997: cat > confinc.mk << 'END'
1.86      paf      4998: am__doit:
1.199     moko     4999:        @echo this is the am__doit target >confinc.out
1.86      paf      5000: .PHONY: am__doit
1.62      paf      5001: END
                   5002: am__include="#"
                   5003: am__quote=
1.199     moko     5004: # BSD make does it like this.
                   5005: echo '.include "confinc.mk" # ignored' > confmf.BSD
                   5006: # Other make implementations (GNU, Solaris 10, AIX) do it like this.
                   5007: echo 'include confinc.mk # ignored' > confmf.GNU
                   5008: _am_result=no
                   5009: for s in GNU BSD; do
                   5010:   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
                   5011:    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
                   5012:    ac_status=$?
                   5013:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5014:    (exit $ac_status); }
                   5015:   case $?:`cat confinc.out 2>/dev/null` in #(
                   5016:   '0:this is the am__doit target') :
                   5017:     case $s in #(
                   5018:   BSD) :
                   5019:     am__include='.include' am__quote='"' ;; #(
                   5020:   *) :
                   5021:     am__include='include' am__quote='' ;;
                   5022: esac ;; #(
                   5023:   *) :
1.150     moko     5024:      ;;
1.199     moko     5025: esac
                   5026:   if test "$am__include" != "#"; then
                   5027:     _am_result="yes ($s style)"
                   5028:     break
                   5029:   fi
                   5030: done
                   5031: rm -f confinc.* confmf.*
1.237     moko     5032: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
                   5033: printf "%s\n" "${_am_result}" >&6; }
1.62      paf      5034: 
1.150     moko     5035: # Check whether --enable-dependency-tracking was given.
1.237     moko     5036: if test ${enable_dependency_tracking+y}
                   5037: then :
1.150     moko     5038:   enableval=$enable_dependency_tracking;
                   5039: fi
1.62      paf      5040: 
                   5041: if test "x$enable_dependency_tracking" != xno; then
                   5042:   am_depcomp="$ac_aux_dir/depcomp"
                   5043:   AMDEPBACKSLASH='\'
1.187     moko     5044:   am__nodep='_no'
1.1       paf      5045: fi
1.150     moko     5046:  if test "x$enable_dependency_tracking" != xno; then
1.62      paf      5047:   AMDEP_TRUE=
                   5048:   AMDEP_FALSE='#'
                   5049: else
                   5050:   AMDEP_TRUE='#'
                   5051:   AMDEP_FALSE=
                   5052: fi
1.1       paf      5053: 
                   5054: 
                   5055: 
1.66      paf      5056: depcc="$CXX"  am_compiler_list=
1.1       paf      5057: 
1.237     moko     5058: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   5059: printf %s "checking dependency style of $depcc... " >&6; }
                   5060: if test ${am_cv_CXX_dependencies_compiler_type+y}
                   5061: then :
                   5062:   printf %s "(cached) " >&6
                   5063: else case e in #(
                   5064:   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.62      paf      5065:   # We make a subdir and do the tests there.  Otherwise we can end up
                   5066:   # making bogus files that we don't know about and never remove.  For
                   5067:   # instance it was reported that on HP-UX the gcc test will end up
1.187     moko     5068:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   5069:   # in D".
                   5070:   rm -rf conftest.dir
1.62      paf      5071:   mkdir conftest.dir
                   5072:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   5073:   # using a relative directory.
                   5074:   cp "$am_depcomp" conftest.dir
                   5075:   cd conftest.dir
1.86      paf      5076:   # We will build objects and dependencies in a subdirectory because
                   5077:   # it helps to detect inapplicable dependency modes.  For instance
                   5078:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   5079:   # side effect of compilation, but ICC will put the dependencies in
                   5080:   # the current directory while Tru64 will put them in the object
                   5081:   # directory.
                   5082:   mkdir sub
1.1       paf      5083: 
1.66      paf      5084:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      5085:   if test "$am_compiler_list" = ""; then
                   5086:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      5087:   fi
1.150     moko     5088:   am__universal=false
                   5089:   case " $depcc " in #(
                   5090:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   5091:      esac
                   5092: 
1.62      paf      5093:   for depmode in $am_compiler_list; do
1.86      paf      5094:     # Setup a source with many dependencies, because some compilers
                   5095:     # like to wrap large dependency lists on column 80 (with \), and
                   5096:     # we should not choose a depcomp mode which is confused by this.
                   5097:     #
1.62      paf      5098:     # We need to recreate these files for each test, as the compiler may
                   5099:     # overwrite some of them when testing with obscure command lines.
                   5100:     # This happens at least with the AIX C compiler.
1.86      paf      5101:     : > sub/conftest.c
                   5102:     for i in 1 2 3 4 5 6; do
                   5103:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.187     moko     5104:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   5105:       # Solaris 10 /bin/sh.
                   5106:       echo '/* dummy */' > sub/conftst$i.h
1.86      paf      5107:     done
                   5108:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      5109: 
1.187     moko     5110:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.150     moko     5111:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.187     moko     5112:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   5113:     # versions had trouble with output in subdirs.
1.150     moko     5114:     am__obj=sub/conftest.${OBJEXT-o}
                   5115:     am__minus_obj="-o $am__obj"
1.62      paf      5116:     case $depmode in
1.150     moko     5117:     gcc)
                   5118:       # This depmode causes a compiler race in universal mode.
                   5119:       test "$am__universal" = false || continue
                   5120:       ;;
1.62      paf      5121:     nosideeffect)
1.187     moko     5122:       # After this tag, mechanisms are not by side-effect, so they'll
                   5123:       # only be used when explicitly requested.
1.62      paf      5124:       if test "x$enable_dependency_tracking" = xyes; then
                   5125:        continue
                   5126:       else
                   5127:        break
                   5128:       fi
                   5129:       ;;
1.187     moko     5130:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   5131:       # This compiler won't grok '-c -o', but also, the minuso test has
1.150     moko     5132:       # not run yet.  These depmodes are late enough in the game, and
                   5133:       # so weak that their functioning should not be impacted.
                   5134:       am__obj=conftest.${OBJEXT-o}
                   5135:       am__minus_obj=
                   5136:       ;;
1.62      paf      5137:     none) break ;;
                   5138:     esac
                   5139:     if depmode=$depmode \
1.150     moko     5140:        source=sub/conftest.c object=$am__obj \
1.86      paf      5141:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     5142:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      5143:          >/dev/null 2>conftest.err &&
1.150     moko     5144:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      5145:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     5146:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      5147:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      5148:       # icc doesn't choke on unknown options, it will just issue warnings
                   5149:       # or remarks (even with -Werror).  So we grep stderr for any message
                   5150:       # that says an option was ignored or not supported.
1.237     moko     5151:       # When given -MP, icc 7.0 and 7.1 complain thus:
1.86      paf      5152:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   5153:       # The diagnosis changed in icc 8.0:
                   5154:       #   icc: Command line remark: option '-MP' not supported
                   5155:       if (grep 'ignoring option' conftest.err ||
                   5156:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   5157:         am_cv_CXX_dependencies_compiler_type=$depmode
                   5158:         break
                   5159:       fi
1.66      paf      5160:     fi
                   5161:   done
                   5162: 
                   5163:   cd ..
                   5164:   rm -rf conftest.dir
                   5165: else
                   5166:   am_cv_CXX_dependencies_compiler_type=none
                   5167: fi
1.237     moko     5168:  ;;
                   5169: esac
1.66      paf      5170: fi
1.237     moko     5171: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   5172: printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.66      paf      5173: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   5174: 
1.150     moko     5175:  if
1.66      paf      5176:   test "x$enable_dependency_tracking" != xno \
                   5177:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   5178:   am__fastdepCXX_TRUE=
                   5179:   am__fastdepCXX_FALSE='#'
                   5180: else
                   5181:   am__fastdepCXX_TRUE='#'
                   5182:   am__fastdepCXX_FALSE=
                   5183: fi
                   5184: 
                   5185: 
1.237     moko     5186: 
                   5187: 
                   5188: 
                   5189: 
                   5190: 
                   5191: 
                   5192: 
                   5193: 
                   5194: 
1.66      paf      5195: ac_ext=c
                   5196: ac_cpp='$CPP $CPPFLAGS'
                   5197: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5198: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5199: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5200: if test -n "$ac_tool_prefix"; then
                   5201:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   5202: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.237     moko     5203: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5204: printf %s "checking for $ac_word... " >&6; }
                   5205: if test ${ac_cv_prog_CC+y}
                   5206: then :
                   5207:   printf %s "(cached) " >&6
                   5208: else case e in #(
                   5209:   e) if test -n "$CC"; then
1.66      paf      5210:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   5211: else
                   5212: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5213: for as_dir in $PATH
                   5214: do
                   5215:   IFS=$as_save_IFS
1.237     moko     5216:   case $as_dir in #(((
                   5217:     '') as_dir=./ ;;
                   5218:     */) ;;
                   5219:     *) as_dir=$as_dir/ ;;
                   5220:   esac
1.150     moko     5221:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     5222:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.66      paf      5223:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.237     moko     5224:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.66      paf      5225:     break 2
                   5226:   fi
                   5227: done
1.150     moko     5228:   done
                   5229: IFS=$as_save_IFS
1.66      paf      5230: 
1.237     moko     5231: fi ;;
                   5232: esac
1.66      paf      5233: fi
                   5234: CC=$ac_cv_prog_CC
                   5235: if test -n "$CC"; then
1.237     moko     5236:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   5237: printf "%s\n" "$CC" >&6; }
1.66      paf      5238: else
1.237     moko     5239:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5240: printf "%s\n" "no" >&6; }
1.66      paf      5241: fi
                   5242: 
1.150     moko     5243: 
1.66      paf      5244: fi
                   5245: if test -z "$ac_cv_prog_CC"; then
                   5246:   ac_ct_CC=$CC
                   5247:   # Extract the first word of "gcc", so it can be a program name with args.
                   5248: set dummy gcc; ac_word=$2
1.237     moko     5249: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5250: printf %s "checking for $ac_word... " >&6; }
                   5251: if test ${ac_cv_prog_ac_ct_CC+y}
                   5252: then :
                   5253:   printf %s "(cached) " >&6
                   5254: else case e in #(
                   5255:   e) if test -n "$ac_ct_CC"; then
1.66      paf      5256:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   5257: else
                   5258: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5259: for as_dir in $PATH
                   5260: do
                   5261:   IFS=$as_save_IFS
1.237     moko     5262:   case $as_dir in #(((
                   5263:     '') as_dir=./ ;;
                   5264:     */) ;;
                   5265:     *) as_dir=$as_dir/ ;;
                   5266:   esac
1.150     moko     5267:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     5268:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.66      paf      5269:     ac_cv_prog_ac_ct_CC="gcc"
1.237     moko     5270:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.66      paf      5271:     break 2
                   5272:   fi
                   5273: done
1.150     moko     5274:   done
                   5275: IFS=$as_save_IFS
1.66      paf      5276: 
1.237     moko     5277: fi ;;
                   5278: esac
1.66      paf      5279: fi
                   5280: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   5281: if test -n "$ac_ct_CC"; then
1.237     moko     5282:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   5283: printf "%s\n" "$ac_ct_CC" >&6; }
1.1       paf      5284: else
1.237     moko     5285:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5286: printf "%s\n" "no" >&6; }
1.62      paf      5287: fi
                   5288: 
1.150     moko     5289:   if test "x$ac_ct_CC" = x; then
                   5290:     CC=""
                   5291:   else
                   5292:     case $cross_compiling:$ac_tool_warned in
                   5293: yes:)
1.237     moko     5294: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5295: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     5296: ac_tool_warned=yes ;;
                   5297: esac
                   5298:     CC=$ac_ct_CC
                   5299:   fi
1.66      paf      5300: else
                   5301:   CC="$ac_cv_prog_CC"
1.1       paf      5302: fi
1.62      paf      5303: 
1.66      paf      5304: if test -z "$CC"; then
1.150     moko     5305:           if test -n "$ac_tool_prefix"; then
                   5306:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.66      paf      5307: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.237     moko     5308: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5309: printf %s "checking for $ac_word... " >&6; }
                   5310: if test ${ac_cv_prog_CC+y}
                   5311: then :
                   5312:   printf %s "(cached) " >&6
                   5313: else case e in #(
                   5314:   e) if test -n "$CC"; then
1.66      paf      5315:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   5316: else
                   5317: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5318: for as_dir in $PATH
                   5319: do
                   5320:   IFS=$as_save_IFS
1.237     moko     5321:   case $as_dir in #(((
                   5322:     '') as_dir=./ ;;
                   5323:     */) ;;
                   5324:     *) as_dir=$as_dir/ ;;
                   5325:   esac
1.150     moko     5326:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     5327:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.66      paf      5328:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.237     moko     5329:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.66      paf      5330:     break 2
                   5331:   fi
                   5332: done
1.150     moko     5333:   done
                   5334: IFS=$as_save_IFS
1.62      paf      5335: 
1.237     moko     5336: fi ;;
                   5337: esac
1.66      paf      5338: fi
                   5339: CC=$ac_cv_prog_CC
                   5340: if test -n "$CC"; then
1.237     moko     5341:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   5342: printf "%s\n" "$CC" >&6; }
1.62      paf      5343: else
1.237     moko     5344:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5345: printf "%s\n" "no" >&6; }
1.1       paf      5346: fi
                   5347: 
1.150     moko     5348: 
1.66      paf      5349:   fi
1.1       paf      5350: fi
1.66      paf      5351: if test -z "$CC"; then
                   5352:   # Extract the first word of "cc", so it can be a program name with args.
                   5353: set dummy cc; ac_word=$2
1.237     moko     5354: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5355: printf %s "checking for $ac_word... " >&6; }
                   5356: if test ${ac_cv_prog_CC+y}
                   5357: then :
                   5358:   printf %s "(cached) " >&6
                   5359: else case e in #(
                   5360:   e) if test -n "$CC"; then
1.66      paf      5361:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   5362: else
                   5363:   ac_prog_rejected=no
                   5364: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5365: for as_dir in $PATH
                   5366: do
                   5367:   IFS=$as_save_IFS
1.237     moko     5368:   case $as_dir in #(((
                   5369:     '') as_dir=./ ;;
                   5370:     */) ;;
                   5371:     *) as_dir=$as_dir/ ;;
                   5372:   esac
1.150     moko     5373:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     5374:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   5375:     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1.66      paf      5376:        ac_prog_rejected=yes
                   5377:        continue
                   5378:      fi
                   5379:     ac_cv_prog_CC="cc"
1.237     moko     5380:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.66      paf      5381:     break 2
                   5382:   fi
                   5383: done
1.150     moko     5384:   done
                   5385: IFS=$as_save_IFS
1.62      paf      5386: 
1.66      paf      5387: if test $ac_prog_rejected = yes; then
                   5388:   # We found a bogon in the path, so make sure we never use it.
                   5389:   set dummy $ac_cv_prog_CC
                   5390:   shift
                   5391:   if test $# != 0; then
                   5392:     # We chose a different compiler from the bogus one.
                   5393:     # However, it has the same basename, so the bogon will be chosen
                   5394:     # first if we set CC to just the basename; use the full file name.
                   5395:     shift
1.237     moko     5396:     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
1.66      paf      5397:   fi
                   5398: fi
1.237     moko     5399: fi ;;
                   5400: esac
1.66      paf      5401: fi
                   5402: CC=$ac_cv_prog_CC
                   5403: if test -n "$CC"; then
1.237     moko     5404:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   5405: printf "%s\n" "$CC" >&6; }
1.66      paf      5406: else
1.237     moko     5407:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5408: printf "%s\n" "no" >&6; }
1.1       paf      5409: fi
                   5410: 
1.150     moko     5411: 
1.66      paf      5412: fi
                   5413: if test -z "$CC"; then
                   5414:   if test -n "$ac_tool_prefix"; then
1.150     moko     5415:   for ac_prog in cl.exe
1.62      paf      5416:   do
                   5417:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5418: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.237     moko     5419: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5420: printf %s "checking for $ac_word... " >&6; }
                   5421: if test ${ac_cv_prog_CC+y}
                   5422: then :
                   5423:   printf %s "(cached) " >&6
                   5424: else case e in #(
                   5425:   e) if test -n "$CC"; then
1.66      paf      5426:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      5427: else
                   5428: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5429: for as_dir in $PATH
                   5430: do
                   5431:   IFS=$as_save_IFS
1.237     moko     5432:   case $as_dir in #(((
                   5433:     '') as_dir=./ ;;
                   5434:     */) ;;
                   5435:     *) as_dir=$as_dir/ ;;
                   5436:   esac
1.150     moko     5437:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     5438:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.66      paf      5439:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.237     moko     5440:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.62      paf      5441:     break 2
                   5442:   fi
                   5443: done
1.150     moko     5444:   done
                   5445: IFS=$as_save_IFS
1.1       paf      5446: 
1.237     moko     5447: fi ;;
                   5448: esac
1.62      paf      5449: fi
1.66      paf      5450: CC=$ac_cv_prog_CC
                   5451: if test -n "$CC"; then
1.237     moko     5452:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   5453: printf "%s\n" "$CC" >&6; }
1.1       paf      5454: else
1.237     moko     5455:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5456: printf "%s\n" "no" >&6; }
1.1       paf      5457: fi
                   5458: 
1.150     moko     5459: 
1.66      paf      5460:     test -n "$CC" && break
1.62      paf      5461:   done
                   5462: fi
1.66      paf      5463: if test -z "$CC"; then
                   5464:   ac_ct_CC=$CC
1.150     moko     5465:   for ac_prog in cl.exe
1.62      paf      5466: do
                   5467:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5468: set dummy $ac_prog; ac_word=$2
1.237     moko     5469: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5470: printf %s "checking for $ac_word... " >&6; }
                   5471: if test ${ac_cv_prog_ac_ct_CC+y}
                   5472: then :
                   5473:   printf %s "(cached) " >&6
                   5474: else case e in #(
                   5475:   e) if test -n "$ac_ct_CC"; then
1.66      paf      5476:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      5477: else
1.62      paf      5478: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5479: for as_dir in $PATH
                   5480: do
                   5481:   IFS=$as_save_IFS
1.237     moko     5482:   case $as_dir in #(((
                   5483:     '') as_dir=./ ;;
                   5484:     */) ;;
                   5485:     *) as_dir=$as_dir/ ;;
                   5486:   esac
1.150     moko     5487:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     5488:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.66      paf      5489:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.237     moko     5490:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.62      paf      5491:     break 2
                   5492:   fi
                   5493: done
1.150     moko     5494:   done
                   5495: IFS=$as_save_IFS
1.62      paf      5496: 
1.237     moko     5497: fi ;;
                   5498: esac
1.62      paf      5499: fi
1.66      paf      5500: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   5501: if test -n "$ac_ct_CC"; then
1.237     moko     5502:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   5503: printf "%s\n" "$ac_ct_CC" >&6; }
1.1       paf      5504: else
1.237     moko     5505:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5506: printf "%s\n" "no" >&6; }
1.1       paf      5507: fi
                   5508: 
1.150     moko     5509: 
1.66      paf      5510:   test -n "$ac_ct_CC" && break
                   5511: done
                   5512: 
1.150     moko     5513:   if test "x$ac_ct_CC" = x; then
                   5514:     CC=""
                   5515:   else
                   5516:     case $cross_compiling:$ac_tool_warned in
                   5517: yes:)
1.237     moko     5518: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5519: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     5520: ac_tool_warned=yes ;;
                   5521: esac
                   5522:     CC=$ac_ct_CC
                   5523:   fi
1.66      paf      5524: fi
                   5525: 
                   5526: fi
1.237     moko     5527: if test -z "$CC"; then
                   5528:   if test -n "$ac_tool_prefix"; then
                   5529:   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
                   5530: set dummy ${ac_tool_prefix}clang; ac_word=$2
                   5531: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5532: printf %s "checking for $ac_word... " >&6; }
                   5533: if test ${ac_cv_prog_CC+y}
                   5534: then :
                   5535:   printf %s "(cached) " >&6
                   5536: else case e in #(
                   5537:   e) if test -n "$CC"; then
                   5538:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   5539: else
                   5540: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5541: for as_dir in $PATH
                   5542: do
                   5543:   IFS=$as_save_IFS
                   5544:   case $as_dir in #(((
                   5545:     '') as_dir=./ ;;
                   5546:     */) ;;
                   5547:     *) as_dir=$as_dir/ ;;
                   5548:   esac
                   5549:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5550:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   5551:     ac_cv_prog_CC="${ac_tool_prefix}clang"
                   5552:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   5553:     break 2
                   5554:   fi
                   5555: done
                   5556:   done
                   5557: IFS=$as_save_IFS
                   5558: 
                   5559: fi ;;
                   5560: esac
                   5561: fi
                   5562: CC=$ac_cv_prog_CC
                   5563: if test -n "$CC"; then
                   5564:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   5565: printf "%s\n" "$CC" >&6; }
                   5566: else
                   5567:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5568: printf "%s\n" "no" >&6; }
                   5569: fi
                   5570: 
                   5571: 
                   5572: fi
                   5573: if test -z "$ac_cv_prog_CC"; then
                   5574:   ac_ct_CC=$CC
                   5575:   # Extract the first word of "clang", so it can be a program name with args.
                   5576: set dummy clang; ac_word=$2
                   5577: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5578: printf %s "checking for $ac_word... " >&6; }
                   5579: if test ${ac_cv_prog_ac_ct_CC+y}
                   5580: then :
                   5581:   printf %s "(cached) " >&6
                   5582: else case e in #(
                   5583:   e) if test -n "$ac_ct_CC"; then
                   5584:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   5585: else
                   5586: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5587: for as_dir in $PATH
                   5588: do
                   5589:   IFS=$as_save_IFS
                   5590:   case $as_dir in #(((
                   5591:     '') as_dir=./ ;;
                   5592:     */) ;;
                   5593:     *) as_dir=$as_dir/ ;;
                   5594:   esac
                   5595:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5596:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   5597:     ac_cv_prog_ac_ct_CC="clang"
                   5598:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   5599:     break 2
                   5600:   fi
                   5601: done
                   5602:   done
                   5603: IFS=$as_save_IFS
                   5604: 
                   5605: fi ;;
                   5606: esac
                   5607: fi
                   5608: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   5609: if test -n "$ac_ct_CC"; then
                   5610:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   5611: printf "%s\n" "$ac_ct_CC" >&6; }
                   5612: else
                   5613:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5614: printf "%s\n" "no" >&6; }
                   5615: fi
                   5616: 
                   5617:   if test "x$ac_ct_CC" = x; then
                   5618:     CC=""
                   5619:   else
                   5620:     case $cross_compiling:$ac_tool_warned in
                   5621: yes:)
                   5622: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5623: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5624: ac_tool_warned=yes ;;
                   5625: esac
                   5626:     CC=$ac_ct_CC
                   5627:   fi
                   5628: else
                   5629:   CC="$ac_cv_prog_CC"
                   5630: fi
                   5631: 
                   5632: fi
1.62      paf      5633: 
1.1       paf      5634: 
1.237     moko     5635: test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   5636: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.150     moko     5637: as_fn_error $? "no acceptable C compiler found in \$PATH
1.237     moko     5638: See 'config.log' for more details" "$LINENO" 5; }
1.62      paf      5639: 
                   5640: # Provide some information about the compiler.
1.237     moko     5641: printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1.150     moko     5642: set X $ac_compile
                   5643: ac_compiler=$2
1.237     moko     5644: for ac_option in --version -v -V -qversion -version; do
1.150     moko     5645:   { { ac_try="$ac_compiler $ac_option >&5"
                   5646: case "(($ac_try" in
                   5647:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5648:   *) ac_try_echo=$ac_try;;
                   5649: esac
                   5650: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1.237     moko     5651: printf "%s\n" "$ac_try_echo"; } >&5
1.150     moko     5652:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.62      paf      5653:   ac_status=$?
1.150     moko     5654:   if test -s conftest.err; then
                   5655:     sed '10a\
                   5656: ... rest of stderr output deleted ...
                   5657:          10q' conftest.err >conftest.er1
                   5658:     cat conftest.er1 >&5
                   5659:   fi
                   5660:   rm -f conftest.er1 conftest.err
1.237     moko     5661:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     5662:   test $ac_status = 0; }
                   5663: done
                   5664: 
1.237     moko     5665: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
                   5666: printf %s "checking whether the compiler supports GNU C... " >&6; }
                   5667: if test ${ac_cv_c_compiler_gnu+y}
                   5668: then :
                   5669:   printf %s "(cached) " >&6
                   5670: else case e in #(
                   5671:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      5672: /* end confdefs.h.  */
                   5673: 
                   5674: int
1.237     moko     5675: main (void)
1.62      paf      5676: {
                   5677: #ifndef __GNUC__
                   5678:        choke me
                   5679: #endif
                   5680: 
                   5681:   ;
                   5682:   return 0;
                   5683: }
                   5684: _ACEOF
1.237     moko     5685: if ac_fn_c_try_compile "$LINENO"
                   5686: then :
1.62      paf      5687:   ac_compiler_gnu=yes
1.237     moko     5688: else case e in #(
                   5689:   e) ac_compiler_gnu=no ;;
                   5690: esac
1.62      paf      5691: fi
1.237     moko     5692: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.66      paf      5693: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.237     moko     5694:  ;;
                   5695: esac
                   5696: fi
                   5697: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   5698: printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
                   5699: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.62      paf      5700: 
1.150     moko     5701: if test $ac_compiler_gnu = yes; then
                   5702:   GCC=yes
                   5703: else
                   5704:   GCC=
                   5705: fi
1.237     moko     5706: ac_test_CFLAGS=${CFLAGS+y}
1.66      paf      5707: ac_save_CFLAGS=$CFLAGS
1.237     moko     5708: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   5709: printf %s "checking whether $CC accepts -g... " >&6; }
                   5710: if test ${ac_cv_prog_cc_g+y}
                   5711: then :
                   5712:   printf %s "(cached) " >&6
                   5713: else case e in #(
                   5714:   e) ac_save_c_werror_flag=$ac_c_werror_flag
1.150     moko     5715:    ac_c_werror_flag=yes
                   5716:    ac_cv_prog_cc_g=no
                   5717:    CFLAGS="-g"
                   5718:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      5719: /* end confdefs.h.  */
                   5720: 
                   5721: int
1.237     moko     5722: main (void)
1.62      paf      5723: {
                   5724: 
                   5725:   ;
                   5726:   return 0;
                   5727: }
                   5728: _ACEOF
1.237     moko     5729: if ac_fn_c_try_compile "$LINENO"
                   5730: then :
1.66      paf      5731:   ac_cv_prog_cc_g=yes
1.237     moko     5732: else case e in #(
                   5733:   e) CFLAGS=""
1.150     moko     5734:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5735: /* end confdefs.h.  */
                   5736: 
                   5737: int
1.237     moko     5738: main (void)
1.150     moko     5739: {
1.62      paf      5740: 
1.150     moko     5741:   ;
                   5742:   return 0;
                   5743: }
                   5744: _ACEOF
1.237     moko     5745: if ac_fn_c_try_compile "$LINENO"
                   5746: then :
1.150     moko     5747: 
1.237     moko     5748: else case e in #(
                   5749:   e) ac_c_werror_flag=$ac_save_c_werror_flag
1.150     moko     5750:         CFLAGS="-g"
                   5751:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5752: /* end confdefs.h.  */
                   5753: 
                   5754: int
1.237     moko     5755: main (void)
1.150     moko     5756: {
                   5757: 
                   5758:   ;
                   5759:   return 0;
                   5760: }
                   5761: _ACEOF
1.237     moko     5762: if ac_fn_c_try_compile "$LINENO"
                   5763: then :
1.150     moko     5764:   ac_cv_prog_cc_g=yes
                   5765: fi
1.237     moko     5766: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   5767: esac
1.62      paf      5768: fi
1.237     moko     5769: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   5770: esac
1.62      paf      5771: fi
1.237     moko     5772: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5773:    ac_c_werror_flag=$ac_save_c_werror_flag ;;
                   5774: esac
1.150     moko     5775: fi
1.237     moko     5776: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   5777: printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
                   5778: if test $ac_test_CFLAGS; then
1.66      paf      5779:   CFLAGS=$ac_save_CFLAGS
                   5780: elif test $ac_cv_prog_cc_g = yes; then
                   5781:   if test "$GCC" = yes; then
                   5782:     CFLAGS="-g -O2"
1.1       paf      5783:   else
1.66      paf      5784:     CFLAGS="-g"
1.1       paf      5785:   fi
                   5786: else
1.66      paf      5787:   if test "$GCC" = yes; then
                   5788:     CFLAGS="-O2"
1.1       paf      5789:   else
1.66      paf      5790:     CFLAGS=
1.1       paf      5791:   fi
                   5792: fi
1.237     moko     5793: ac_prog_cc_stdc=no
                   5794: if test x$ac_prog_cc_stdc = xno
                   5795: then :
                   5796:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
                   5797: printf %s "checking for $CC option to enable C11 features... " >&6; }
                   5798: if test ${ac_cv_prog_cc_c11+y}
                   5799: then :
                   5800:   printf %s "(cached) " >&6
                   5801: else case e in #(
                   5802:   e) ac_cv_prog_cc_c11=no
1.66      paf      5803: ac_save_CC=$CC
1.150     moko     5804: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      5805: /* end confdefs.h.  */
1.237     moko     5806: $ac_c_conftest_c11_program
                   5807: _ACEOF
                   5808: for ac_arg in '' -std=gnu11
                   5809: do
                   5810:   CC="$ac_save_CC $ac_arg"
                   5811:   if ac_fn_c_try_compile "$LINENO"
                   5812: then :
                   5813:   ac_cv_prog_cc_c11=$ac_arg
                   5814: fi
                   5815: rm -f core conftest.err conftest.$ac_objext conftest.beam
                   5816:   test "x$ac_cv_prog_cc_c11" != "xno" && break
                   5817: done
                   5818: rm -f conftest.$ac_ext
                   5819: CC=$ac_save_CC ;;
                   5820: esac
                   5821: fi
1.86      paf      5822: 
1.237     moko     5823: if test "x$ac_cv_prog_cc_c11" = xno
                   5824: then :
                   5825:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   5826: printf "%s\n" "unsupported" >&6; }
                   5827: else case e in #(
                   5828:   e) if test "x$ac_cv_prog_cc_c11" = x
                   5829: then :
                   5830:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   5831: printf "%s\n" "none needed" >&6; }
                   5832: else case e in #(
                   5833:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
                   5834: printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
                   5835:      CC="$CC $ac_cv_prog_cc_c11" ;;
                   5836: esac
                   5837: fi
                   5838:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
                   5839:   ac_prog_cc_stdc=c11 ;;
                   5840: esac
                   5841: fi
                   5842: fi
                   5843: if test x$ac_prog_cc_stdc = xno
                   5844: then :
                   5845:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
                   5846: printf %s "checking for $CC option to enable C99 features... " >&6; }
                   5847: if test ${ac_cv_prog_cc_c99+y}
                   5848: then :
                   5849:   printf %s "(cached) " >&6
                   5850: else case e in #(
                   5851:   e) ac_cv_prog_cc_c99=no
                   5852: ac_save_CC=$CC
                   5853: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5854: /* end confdefs.h.  */
                   5855: $ac_c_conftest_c99_program
                   5856: _ACEOF
                   5857: for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
                   5858: do
                   5859:   CC="$ac_save_CC $ac_arg"
                   5860:   if ac_fn_c_try_compile "$LINENO"
                   5861: then :
                   5862:   ac_cv_prog_cc_c99=$ac_arg
                   5863: fi
                   5864: rm -f core conftest.err conftest.$ac_objext conftest.beam
                   5865:   test "x$ac_cv_prog_cc_c99" != "xno" && break
                   5866: done
                   5867: rm -f conftest.$ac_ext
                   5868: CC=$ac_save_CC ;;
                   5869: esac
                   5870: fi
1.86      paf      5871: 
1.237     moko     5872: if test "x$ac_cv_prog_cc_c99" = xno
                   5873: then :
                   5874:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   5875: printf "%s\n" "unsupported" >&6; }
                   5876: else case e in #(
                   5877:   e) if test "x$ac_cv_prog_cc_c99" = x
                   5878: then :
                   5879:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   5880: printf "%s\n" "none needed" >&6; }
                   5881: else case e in #(
                   5882:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
                   5883: printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
                   5884:      CC="$CC $ac_cv_prog_cc_c99" ;;
                   5885: esac
                   5886: fi
                   5887:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
                   5888:   ac_prog_cc_stdc=c99 ;;
                   5889: esac
                   5890: fi
                   5891: fi
                   5892: if test x$ac_prog_cc_stdc = xno
                   5893: then :
                   5894:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
                   5895: printf %s "checking for $CC option to enable C89 features... " >&6; }
                   5896: if test ${ac_cv_prog_cc_c89+y}
                   5897: then :
                   5898:   printf %s "(cached) " >&6
                   5899: else case e in #(
                   5900:   e) ac_cv_prog_cc_c89=no
                   5901: ac_save_CC=$CC
                   5902: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5903: /* end confdefs.h.  */
                   5904: $ac_c_conftest_c89_program
1.66      paf      5905: _ACEOF
1.237     moko     5906: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.66      paf      5907: do
                   5908:   CC="$ac_save_CC $ac_arg"
1.237     moko     5909:   if ac_fn_c_try_compile "$LINENO"
                   5910: then :
1.150     moko     5911:   ac_cv_prog_cc_c89=$ac_arg
1.66      paf      5912: fi
1.237     moko     5913: rm -f core conftest.err conftest.$ac_objext conftest.beam
1.150     moko     5914:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.66      paf      5915: done
1.150     moko     5916: rm -f conftest.$ac_ext
1.237     moko     5917: CC=$ac_save_CC ;;
                   5918: esac
                   5919: fi
1.66      paf      5920: 
1.237     moko     5921: if test "x$ac_cv_prog_cc_c89" = xno
                   5922: then :
                   5923:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   5924: printf "%s\n" "unsupported" >&6; }
                   5925: else case e in #(
                   5926:   e) if test "x$ac_cv_prog_cc_c89" = x
                   5927: then :
                   5928:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   5929: printf "%s\n" "none needed" >&6; }
                   5930: else case e in #(
                   5931:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   5932: printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
                   5933:      CC="$CC $ac_cv_prog_cc_c89" ;;
                   5934: esac
1.66      paf      5935: fi
1.237     moko     5936:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
                   5937:   ac_prog_cc_stdc=c89 ;;
1.66      paf      5938: esac
1.237     moko     5939: fi
1.62      paf      5940: fi
1.66      paf      5941: 
1.62      paf      5942: ac_ext=c
                   5943: ac_cpp='$CPP $CPPFLAGS'
                   5944: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5945: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5946: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5947: 
1.237     moko     5948: 
                   5949:   ac_ext=c
1.187     moko     5950: ac_cpp='$CPP $CPPFLAGS'
                   5951: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5952: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5953: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.237     moko     5954: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
                   5955: printf %s "checking whether $CC understands -c and -o together... " >&6; }
                   5956: if test ${am_cv_prog_cc_c_o+y}
                   5957: then :
                   5958:   printf %s "(cached) " >&6
                   5959: else case e in #(
                   5960:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.187     moko     5961: /* end confdefs.h.  */
                   5962: 
                   5963: int
1.237     moko     5964: main (void)
1.187     moko     5965: {
                   5966: 
                   5967:   ;
                   5968:   return 0;
                   5969: }
                   5970: _ACEOF
                   5971:   # Make sure it works both with $CC and with simple cc.
                   5972:   # Following AC_PROG_CC_C_O, we do the test twice because some
                   5973:   # compilers refuse to overwrite an existing .o file with -o,
                   5974:   # though they will create one.
                   5975:   am_cv_prog_cc_c_o=yes
                   5976:   for am_i in 1 2; do
                   5977:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
                   5978:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
                   5979:    ac_status=$?
                   5980:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5981:    (exit $ac_status); } \
                   5982:          && test -f conftest2.$ac_objext; then
                   5983:       : OK
                   5984:     else
                   5985:       am_cv_prog_cc_c_o=no
                   5986:       break
                   5987:     fi
                   5988:   done
                   5989:   rm -f core conftest*
1.237     moko     5990:   unset am_i ;;
                   5991: esac
1.187     moko     5992: fi
1.237     moko     5993: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
                   5994: printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
1.187     moko     5995: if test "$am_cv_prog_cc_c_o" != yes; then
                   5996:    # Losing compiler, so override with the script.
                   5997:    # FIXME: It is wrong to rewrite CC.
                   5998:    # But if we don't then we get into trouble of one sort or another.
                   5999:    # A longer-term fix would be to have automake use am__CC in this case,
                   6000:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
                   6001:    CC="$am_aux_dir/compile $CC"
                   6002: fi
                   6003: ac_ext=c
                   6004: ac_cpp='$CPP $CPPFLAGS'
                   6005: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6006: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6007: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6008: 
                   6009: 
1.66      paf      6010: depcc="$CC"   am_compiler_list=
1.62      paf      6011: 
1.237     moko     6012: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   6013: printf %s "checking dependency style of $depcc... " >&6; }
                   6014: if test ${am_cv_CC_dependencies_compiler_type+y}
                   6015: then :
                   6016:   printf %s "(cached) " >&6
                   6017: else case e in #(
                   6018:   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1.62      paf      6019:   # We make a subdir and do the tests there.  Otherwise we can end up
                   6020:   # making bogus files that we don't know about and never remove.  For
                   6021:   # instance it was reported that on HP-UX the gcc test will end up
1.187     moko     6022:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   6023:   # in D".
                   6024:   rm -rf conftest.dir
1.62      paf      6025:   mkdir conftest.dir
                   6026:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   6027:   # using a relative directory.
                   6028:   cp "$am_depcomp" conftest.dir
                   6029:   cd conftest.dir
1.86      paf      6030:   # We will build objects and dependencies in a subdirectory because
                   6031:   # it helps to detect inapplicable dependency modes.  For instance
                   6032:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   6033:   # side effect of compilation, but ICC will put the dependencies in
                   6034:   # the current directory while Tru64 will put them in the object
                   6035:   # directory.
                   6036:   mkdir sub
1.62      paf      6037: 
1.66      paf      6038:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      6039:   if test "$am_compiler_list" = ""; then
                   6040:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   6041:   fi
1.150     moko     6042:   am__universal=false
                   6043:   case " $depcc " in #(
                   6044:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   6045:      esac
                   6046: 
1.62      paf      6047:   for depmode in $am_compiler_list; do
1.86      paf      6048:     # Setup a source with many dependencies, because some compilers
                   6049:     # like to wrap large dependency lists on column 80 (with \), and
                   6050:     # we should not choose a depcomp mode which is confused by this.
                   6051:     #
1.62      paf      6052:     # We need to recreate these files for each test, as the compiler may
                   6053:     # overwrite some of them when testing with obscure command lines.
                   6054:     # This happens at least with the AIX C compiler.
1.86      paf      6055:     : > sub/conftest.c
                   6056:     for i in 1 2 3 4 5 6; do
                   6057:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.187     moko     6058:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   6059:       # Solaris 10 /bin/sh.
                   6060:       echo '/* dummy */' > sub/conftst$i.h
1.86      paf      6061:     done
                   6062:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      6063: 
1.187     moko     6064:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.150     moko     6065:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.187     moko     6066:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   6067:     # versions had trouble with output in subdirs.
1.150     moko     6068:     am__obj=sub/conftest.${OBJEXT-o}
                   6069:     am__minus_obj="-o $am__obj"
1.62      paf      6070:     case $depmode in
1.150     moko     6071:     gcc)
                   6072:       # This depmode causes a compiler race in universal mode.
                   6073:       test "$am__universal" = false || continue
                   6074:       ;;
1.62      paf      6075:     nosideeffect)
1.187     moko     6076:       # After this tag, mechanisms are not by side-effect, so they'll
                   6077:       # only be used when explicitly requested.
1.62      paf      6078:       if test "x$enable_dependency_tracking" = xyes; then
                   6079:        continue
                   6080:       else
                   6081:        break
                   6082:       fi
                   6083:       ;;
1.187     moko     6084:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   6085:       # This compiler won't grok '-c -o', but also, the minuso test has
1.150     moko     6086:       # not run yet.  These depmodes are late enough in the game, and
                   6087:       # so weak that their functioning should not be impacted.
                   6088:       am__obj=conftest.${OBJEXT-o}
                   6089:       am__minus_obj=
                   6090:       ;;
1.62      paf      6091:     none) break ;;
                   6092:     esac
1.66      paf      6093:     if depmode=$depmode \
1.150     moko     6094:        source=sub/conftest.c object=$am__obj \
1.86      paf      6095:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     6096:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      6097:          >/dev/null 2>conftest.err &&
1.150     moko     6098:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      6099:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     6100:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      6101:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      6102:       # icc doesn't choke on unknown options, it will just issue warnings
                   6103:       # or remarks (even with -Werror).  So we grep stderr for any message
                   6104:       # that says an option was ignored or not supported.
1.237     moko     6105:       # When given -MP, icc 7.0 and 7.1 complain thus:
1.86      paf      6106:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   6107:       # The diagnosis changed in icc 8.0:
                   6108:       #   icc: Command line remark: option '-MP' not supported
                   6109:       if (grep 'ignoring option' conftest.err ||
                   6110:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   6111:         am_cv_CC_dependencies_compiler_type=$depmode
                   6112:         break
                   6113:       fi
1.66      paf      6114:     fi
                   6115:   done
                   6116: 
                   6117:   cd ..
                   6118:   rm -rf conftest.dir
                   6119: else
                   6120:   am_cv_CC_dependencies_compiler_type=none
                   6121: fi
1.237     moko     6122:  ;;
                   6123: esac
1.66      paf      6124: fi
1.237     moko     6125: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   6126: printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
1.66      paf      6127: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   6128: 
1.150     moko     6129:  if
1.66      paf      6130:   test "x$enable_dependency_tracking" != xno \
                   6131:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   6132:   am__fastdepCC_TRUE=
                   6133:   am__fastdepCC_FALSE='#'
                   6134: else
                   6135:   am__fastdepCC_TRUE='#'
                   6136:   am__fastdepCC_FALSE=
                   6137: fi
                   6138: 
                   6139: 
1.128     moko     6140: 
1.66      paf      6141: ac_ext=c
                   6142: ac_cpp='$CPP $CPPFLAGS'
                   6143: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6144: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6145: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6146: 
1.67      paf      6147: 
1.62      paf      6148: 
1.237     moko     6149: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5
                   6150: printf %s "checking for dynamic-link library extension... " >&6; }
1.128     moko     6151: case "$host_os" in
1.158     moko     6152:   *cygwin* ) dll_extension=dll;;
                   6153:   * ) dll_extension=so
1.66      paf      6154: esac
1.237     moko     6155: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5
                   6156: printf "%s\n" "$dll_extension" >&6; }
1.1       paf      6157: 
1.71      paf      6158: 
                   6159: 
1.243   ! moko     6160: case "$host" in
        !          6161:   *-freebsd4*)
1.71      paf      6162: 
1.243   ! moko     6163: printf "%s\n" "#define FREEBSD4 /**/" >>confdefs.h
1.71      paf      6164: 
1.243   ! moko     6165:   ;;
        !          6166:   *-freebsd1*)
1.150     moko     6167: 
1.243   ! moko     6168: printf "%s\n" "#define FREEBSD1X /**/" >>confdefs.h
1.1       paf      6169: 
1.243   ! moko     6170:   ;;
        !          6171:   *-sunos5.6* | *-solaris2.6*)
1.1       paf      6172: 
1.243   ! moko     6173: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
        !          6174: printf %s "checking for main in -lxnet... " >&6; }
        !          6175: if test ${ac_cv_lib_xnet_main+y}
1.237     moko     6176: then :
1.243   ! moko     6177:   printf %s "(cached) " >&6
        !          6178: else case e in #(
        !          6179:   e) ac_check_lib_save_LIBS=$LIBS
        !          6180: LIBS="-lxnet  $LIBS"
        !          6181: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6182: /* end confdefs.h.  */
1.182     moko     6183: 
                   6184: 
1.243   ! moko     6185: int
        !          6186: main (void)
        !          6187: {
        !          6188: return main ();
        !          6189:   ;
        !          6190:   return 0;
        !          6191: }
        !          6192: _ACEOF
        !          6193: if ac_fn_c_try_link "$LINENO"
1.237     moko     6194: then :
1.243   ! moko     6195:   ac_cv_lib_xnet_main=yes
1.237     moko     6196: else case e in #(
1.243   ! moko     6197:   e) ac_cv_lib_xnet_main=no ;;
1.237     moko     6198: esac
1.150     moko     6199: fi
1.243   ! moko     6200: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          6201:     conftest$ac_exeext conftest.$ac_ext
        !          6202: LIBS=$ac_check_lib_save_LIBS ;;
        !          6203: esac
1.150     moko     6204: fi
1.243   ! moko     6205: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
        !          6206: printf "%s\n" "$ac_cv_lib_xnet_main" >&6; }
        !          6207: if test "x$ac_cv_lib_xnet_main" = xyes
1.237     moko     6208: then :
1.243   ! moko     6209:   printf "%s\n" "#define HAVE_LIBXNET 1" >>confdefs.h
1.201     moko     6210: 
1.243   ! moko     6211:   LIBS="-lxnet $LIBS"
1.201     moko     6212: 
                   6213: fi
                   6214: 
1.243   ! moko     6215:   ;;
        !          6216:   *-sunos5* | *-solaris2*)
        !          6217:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
        !          6218: printf %s "checking for main in -lsocket... " >&6; }
        !          6219: if test ${ac_cv_lib_socket_main+y}
1.237     moko     6220: then :
1.243   ! moko     6221:   printf %s "(cached) " >&6
        !          6222: else case e in #(
        !          6223:   e) ac_check_lib_save_LIBS=$LIBS
        !          6224: LIBS="-lsocket  $LIBS"
        !          6225: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6226: /* end confdefs.h.  */
1.60      paf      6227: 
1.1       paf      6228: 
1.243   ! moko     6229: int
        !          6230: main (void)
        !          6231: {
        !          6232: return main ();
        !          6233:   ;
        !          6234:   return 0;
        !          6235: }
        !          6236: _ACEOF
        !          6237: if ac_fn_c_try_link "$LINENO"
1.237     moko     6238: then :
1.243   ! moko     6239:   ac_cv_lib_socket_main=yes
        !          6240: else case e in #(
        !          6241:   e) ac_cv_lib_socket_main=no ;;
        !          6242: esac
1.13      paf      6243: fi
1.243   ! moko     6244: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          6245:     conftest$ac_exeext conftest.$ac_ext
        !          6246: LIBS=$ac_check_lib_save_LIBS ;;
        !          6247: esac
1.150     moko     6248: fi
1.243   ! moko     6249: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
        !          6250: printf "%s\n" "$ac_cv_lib_socket_main" >&6; }
        !          6251: if test "x$ac_cv_lib_socket_main" = xyes
1.237     moko     6252: then :
1.243   ! moko     6253:   printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h
1.94      misha    6254: 
1.243   ! moko     6255:   LIBS="-lsocket $LIBS"
1.94      misha    6256: 
                   6257: fi
                   6258: 
1.243   ! moko     6259:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
        !          6260: printf %s "checking for main in -lnsl... " >&6; }
        !          6261: if test ${ac_cv_lib_nsl_main+y}
1.237     moko     6262: then :
1.243   ! moko     6263:   printf %s "(cached) " >&6
1.237     moko     6264: else case e in #(
1.243   ! moko     6265:   e) ac_check_lib_save_LIBS=$LIBS
        !          6266: LIBS="-lnsl  $LIBS"
        !          6267: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6268: /* end confdefs.h.  */
1.17      paf      6269: 
                   6270: 
1.67      paf      6271: int
1.237     moko     6272: main (void)
1.67      paf      6273: {
1.243   ! moko     6274: return main ();
1.67      paf      6275:   ;
                   6276:   return 0;
                   6277: }
                   6278: _ACEOF
1.237     moko     6279: if ac_fn_c_try_link "$LINENO"
                   6280: then :
1.243   ! moko     6281:   ac_cv_lib_nsl_main=yes
1.237     moko     6282: else case e in #(
1.243   ! moko     6283:   e) ac_cv_lib_nsl_main=no ;;
1.237     moko     6284: esac
1.67      paf      6285: fi
1.237     moko     6286: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     6287:     conftest$ac_exeext conftest.$ac_ext
1.243   ! moko     6288: LIBS=$ac_check_lib_save_LIBS ;;
        !          6289: esac
1.138     moko     6290: fi
1.243   ! moko     6291: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
        !          6292: printf "%s\n" "$ac_cv_lib_nsl_main" >&6; }
        !          6293: if test "x$ac_cv_lib_nsl_main" = xyes
        !          6294: then :
        !          6295:   printf "%s\n" "#define HAVE_LIBNSL 1" >>confdefs.h
1.67      paf      6296: 
1.243   ! moko     6297:   LIBS="-lnsl $LIBS"
1.67      paf      6298: 
1.243   ! moko     6299: fi
1.1       paf      6300: 
1.243   ! moko     6301:   ;;
        !          6302:   *-nec-sysv4*)
        !          6303:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
        !          6304: printf %s "checking for gethostbyname in -lnsl... " >&6; }
        !          6305: if test ${ac_cv_lib_nsl_gethostbyname+y}
1.237     moko     6306: then :
1.243   ! moko     6307:   printf %s "(cached) " >&6
        !          6308: else case e in #(
        !          6309:   e) ac_check_lib_save_LIBS=$LIBS
        !          6310: LIBS="-lnsl  $LIBS"
        !          6311: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6312: /* end confdefs.h.  */
1.100     misha    6313: 
1.243   ! moko     6314: /* Override any GCC internal prototype to avoid an error.
        !          6315:    Use char because int might match the return type of a GCC
        !          6316:    builtin and then its argument prototype would still apply.
        !          6317:    The 'extern "C"' is for builds by C++ compilers;
        !          6318:    although this is not generally supported in C code supporting it here
        !          6319:    has little cost and some practical benefit (sr 110532).  */
        !          6320: #ifdef __cplusplus
        !          6321: extern "C"
        !          6322: #endif
        !          6323: char gethostbyname (void);
1.218     moko     6324: int
1.237     moko     6325: main (void)
1.218     moko     6326: {
1.243   ! moko     6327: return gethostbyname ();
1.218     moko     6328:   ;
                   6329:   return 0;
                   6330: }
                   6331: _ACEOF
1.237     moko     6332: if ac_fn_c_try_link "$LINENO"
                   6333: then :
1.243   ! moko     6334:   ac_cv_lib_nsl_gethostbyname=yes
1.237     moko     6335: else case e in #(
1.243   ! moko     6336:   e) ac_cv_lib_nsl_gethostbyname=no ;;
1.237     moko     6337: esac
1.218     moko     6338: fi
1.237     moko     6339: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.218     moko     6340:     conftest$ac_exeext conftest.$ac_ext
1.243   ! moko     6341: LIBS=$ac_check_lib_save_LIBS ;;
        !          6342: esac
        !          6343: fi
        !          6344: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
        !          6345: printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
        !          6346: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
        !          6347: then :
        !          6348:   printf "%s\n" "#define HAVE_LIBNSL 1" >>confdefs.h
        !          6349: 
        !          6350:   LIBS="-lnsl $LIBS"
1.229     moko     6351: 
1.218     moko     6352: fi
                   6353: 
1.243   ! moko     6354:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
        !          6355: printf %s "checking for socket in -lsocket... " >&6; }
        !          6356: if test ${ac_cv_lib_socket_socket+y}
        !          6357: then :
        !          6358:   printf %s "(cached) " >&6
        !          6359: else case e in #(
        !          6360:   e) ac_check_lib_save_LIBS=$LIBS
        !          6361: LIBS="-lsocket  $LIBS"
        !          6362: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6363: /* end confdefs.h.  */
1.229     moko     6364: 
1.243   ! moko     6365: /* Override any GCC internal prototype to avoid an error.
        !          6366:    Use char because int might match the return type of a GCC
        !          6367:    builtin and then its argument prototype would still apply.
        !          6368:    The 'extern "C"' is for builds by C++ compilers;
        !          6369:    although this is not generally supported in C code supporting it here
        !          6370:    has little cost and some practical benefit (sr 110532).  */
        !          6371: #ifdef __cplusplus
        !          6372: extern "C"
        !          6373: #endif
        !          6374: char socket (void);
1.142     moko     6375: int
1.237     moko     6376: main (void)
1.142     moko     6377: {
1.243   ! moko     6378: return socket ();
1.142     moko     6379:   ;
                   6380:   return 0;
                   6381: }
                   6382: _ACEOF
1.237     moko     6383: if ac_fn_c_try_link "$LINENO"
                   6384: then :
1.243   ! moko     6385:   ac_cv_lib_socket_socket=yes
1.237     moko     6386: else case e in #(
1.243   ! moko     6387:   e) ac_cv_lib_socket_socket=no ;;
1.237     moko     6388: esac
1.142     moko     6389: fi
1.237     moko     6390: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     6391:     conftest$ac_exeext conftest.$ac_ext
1.243   ! moko     6392: LIBS=$ac_check_lib_save_LIBS ;;
        !          6393: esac
1.142     moko     6394: fi
1.243   ! moko     6395: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
        !          6396: printf "%s\n" "$ac_cv_lib_socket_socket" >&6; }
        !          6397: if test "x$ac_cv_lib_socket_socket" = xyes
        !          6398: then :
        !          6399:   printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h
1.100     misha    6400: 
1.243   ! moko     6401:   LIBS="-lsocket $LIBS"
1.100     misha    6402: 
1.243   ! moko     6403: fi
1.100     misha    6404: 
1.243   ! moko     6405:   ;;
        !          6406:   *-cygwin*)
1.100     misha    6407: 
1.243   ! moko     6408: printf "%s\n" "#define WIN32 /**/" >>confdefs.h
1.66      paf      6409: 
1.243   ! moko     6410:   ;;
        !          6411: esac
1.66      paf      6412: 
1.243   ! moko     6413: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
        !          6414: printf %s "checking for sin in -lm... " >&6; }
        !          6415: if test ${ac_cv_lib_m_sin+y}
1.237     moko     6416: then :
1.243   ! moko     6417:   printf %s "(cached) " >&6
        !          6418: else case e in #(
        !          6419:   e) ac_check_lib_save_LIBS=$LIBS
        !          6420: LIBS="-lm  $LIBS"
        !          6421: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6422: /* end confdefs.h.  */
1.66      paf      6423: 
1.243   ! moko     6424: /* Override any GCC internal prototype to avoid an error.
        !          6425:    Use char because int might match the return type of a GCC
        !          6426:    builtin and then its argument prototype would still apply.
        !          6427:    The 'extern "C"' is for builds by C++ compilers;
        !          6428:    although this is not generally supported in C code supporting it here
        !          6429:    has little cost and some practical benefit (sr 110532).  */
        !          6430: #ifdef __cplusplus
        !          6431: extern "C"
        !          6432: #endif
        !          6433: char sin (void);
1.142     moko     6434: int
1.237     moko     6435: main (void)
1.142     moko     6436: {
1.243   ! moko     6437: return sin ();
1.142     moko     6438:   ;
                   6439:   return 0;
                   6440: }
                   6441: _ACEOF
1.237     moko     6442: if ac_fn_c_try_link "$LINENO"
                   6443: then :
1.243   ! moko     6444:   ac_cv_lib_m_sin=yes
1.237     moko     6445: else case e in #(
1.243   ! moko     6446:   e) ac_cv_lib_m_sin=no ;;
1.237     moko     6447: esac
1.142     moko     6448: fi
1.237     moko     6449: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     6450:     conftest$ac_exeext conftest.$ac_ext
1.243   ! moko     6451: LIBS=$ac_check_lib_save_LIBS ;;
        !          6452: esac
        !          6453: fi
        !          6454: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
        !          6455: printf "%s\n" "$ac_cv_lib_m_sin" >&6; }
        !          6456: if test "x$ac_cv_lib_m_sin" = xyes
        !          6457: then :
        !          6458:   printf "%s\n" "#define HAVE_LIBM 1" >>confdefs.h
1.229     moko     6459: 
1.243   ! moko     6460:   LIBS="-lm $LIBS"
1.66      paf      6461: 
1.150     moko     6462: fi
1.66      paf      6463: 
1.243   ! moko     6464: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
        !          6465: printf %s "checking for crypt in -lcrypt... " >&6; }
        !          6466: if test ${ac_cv_lib_crypt_crypt+y}
1.237     moko     6467: then :
1.243   ! moko     6468:   printf %s "(cached) " >&6
        !          6469: else case e in #(
        !          6470:   e) ac_check_lib_save_LIBS=$LIBS
        !          6471: LIBS="-lcrypt  $LIBS"
        !          6472: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6473: /* end confdefs.h.  */
1.154     moko     6474: 
1.243   ! moko     6475: /* Override any GCC internal prototype to avoid an error.
        !          6476:    Use char because int might match the return type of a GCC
        !          6477:    builtin and then its argument prototype would still apply.
        !          6478:    The 'extern "C"' is for builds by C++ compilers;
        !          6479:    although this is not generally supported in C code supporting it here
        !          6480:    has little cost and some practical benefit (sr 110532).  */
        !          6481: #ifdef __cplusplus
        !          6482: extern "C"
        !          6483: #endif
        !          6484: char crypt (void);
1.154     moko     6485: int
1.237     moko     6486: main (void)
1.154     moko     6487: {
1.243   ! moko     6488: return crypt ();
1.154     moko     6489:   ;
                   6490:   return 0;
                   6491: }
                   6492: _ACEOF
1.237     moko     6493: if ac_fn_c_try_link "$LINENO"
                   6494: then :
1.243   ! moko     6495:   ac_cv_lib_crypt_crypt=yes
1.237     moko     6496: else case e in #(
1.243   ! moko     6497:   e) ac_cv_lib_crypt_crypt=no ;;
1.237     moko     6498: esac
1.150     moko     6499: fi
1.237     moko     6500: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.154     moko     6501:     conftest$ac_exeext conftest.$ac_ext
1.243   ! moko     6502: LIBS=$ac_check_lib_save_LIBS ;;
        !          6503: esac
        !          6504: fi
        !          6505: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
        !          6506: printf "%s\n" "$ac_cv_lib_crypt_crypt" >&6; }
        !          6507: if test "x$ac_cv_lib_crypt_crypt" = xyes
        !          6508: then :
        !          6509:   printf "%s\n" "#define HAVE_LIBCRYPT 1" >>confdefs.h
1.229     moko     6510: 
1.243   ! moko     6511:   LIBS="-lcrypt $LIBS"
1.66      paf      6512: 
1.154     moko     6513: fi
1.66      paf      6514: 
                   6515: 
                   6516: 
                   6517: 
1.243   ! moko     6518: # Check whether --with-build-warnings was given.
        !          6519: if test ${with_build_warnings+y}
        !          6520: then :
        !          6521:   withval=$with_build_warnings; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
        !          6522: printf "%s\n" "$as_me: WARNING: enabling compiler warnings" >&2;}
        !          6523:        CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2 -Wextra -Wall -Wno-parentheses"
1.66      paf      6524: 
1.243   ! moko     6525: fi
1.241     moko     6526: 
                   6527: 
                   6528: 
1.243   ! moko     6529: # Check whether --with-coverage was given.
        !          6530: if test ${with_coverage+y}
1.241     moko     6531: then :
1.243   ! moko     6532:   withval=$with_coverage; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling gcov support" >&5
        !          6533: printf "%s\n" "$as_me: WARNING: enabling gcov support" >&2;}
        !          6534:        CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O0-9*//g'`
        !          6535:        CXXFLAGS=`echo "$XXCFLAGS" | $SED -e 's/-O0-9*//g'`
        !          6536:        CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage"
        !          6537:        CXXFLAGS="$CXXFLAGS -O0 -fprofile-arcs -ftest-coverage"
        !          6538:        LDFLAGS="$LDFLAGS -lgcov"
1.241     moko     6539: 
                   6540: fi
1.66      paf      6541: 
1.232     moko     6542: 
                   6543: 
1.243   ! moko     6544: # Check whether --with-profiler was given.
        !          6545: if test ${with_profiler+y}
1.237     moko     6546: then :
1.243   ! moko     6547:   withval=$with_profiler; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling gprof support" >&5
        !          6548: printf "%s\n" "$as_me: WARNING: enabling gprof support" >&2;}
        !          6549:        CFLAGS="$CFLAGS -O0 -pg -g"
        !          6550:        CXXFLAGS="$CXXFLAGS -O0 -pg -g"
1.237     moko     6551: 
1.243   ! moko     6552: fi
1.232     moko     6553: 
                   6554: 
                   6555: 
1.243   ! moko     6556: # Check whether --with-assertions was given.
        !          6557: if test ${with_assertions+y}
1.241     moko     6558: then :
1.243   ! moko     6559:   withval=$with_assertions; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling assertions" >&5
        !          6560: printf "%s\n" "$as_me: WARNING: enabling assertions" >&2;}
1.241     moko     6561: 
                   6562: else case e in #(
                   6563:   e)
1.243   ! moko     6564: printf "%s\n" "#define NDEBUG /**/" >>confdefs.h
        !          6565: 
1.241     moko     6566:  ;;
                   6567: esac
                   6568: fi
                   6569: 
                   6570: 
                   6571: 
1.243   ! moko     6572: # Check whether --with-sjlj-exceptions was given.
        !          6573: if test ${with_sjlj_exceptions+y}
        !          6574: then :
        !          6575:   withval=$with_sjlj_exceptions;
        !          6576: printf "%s\n" "#define PA_WITH_SJLJ_EXCEPTIONS /**/" >>confdefs.h
1.232     moko     6577: 
                   6578: 
                   6579: fi
                   6580: 
                   6581: 
                   6582: 
                   6583: 
1.243   ! moko     6584: # Check whether --with-system-cfg was given.
        !          6585: if test ${with_system_cfg+y}
        !          6586: then :
        !          6587:   withval=$with_system_cfg;
        !          6588: printf "%s\n" "#define SYSTEM_CONFIG_FILE \"$withval\"" >>confdefs.h
1.232     moko     6589: 
                   6590: 
1.243   ! moko     6591: fi
1.239     moko     6592: 
                   6593: 
                   6594: 
1.243   ! moko     6595: # Check whether --enable-safe-mode was given.
        !          6596: if test ${enable_safe_mode+y}
1.239     moko     6597: then :
1.243   ! moko     6598:   enableval=$enable_safe_mode;
        !          6599:        SAFE_MODE=$enableval
1.239     moko     6600: 
                   6601: 
                   6602: fi
                   6603: 
                   6604: 
1.243   ! moko     6605: if test "$SAFE_MODE" = "no"; then
        !          6606:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling reading of files belonging to group+user other then effective" >&5
        !          6607: printf "%s\n" "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
        !          6608: else
1.239     moko     6609: 
1.243   ! moko     6610: printf "%s\n" "#define PA_SAFE_MODE /**/" >>confdefs.h
1.239     moko     6611: 
                   6612: fi
                   6613: 
                   6614: 
1.243   ! moko     6615: # Check whether --enable-execs was given.
        !          6616: if test ${enable_execs+y}
        !          6617: then :
        !          6618:   enableval=$enable_execs;
        !          6619: if test "$enableval" = "no"; then
        !          6620:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling file execs" >&5
        !          6621: printf "%s\n" "$as_me: WARNING: disabling file execs" >&2;}
1.239     moko     6622: 
1.243   ! moko     6623: printf "%s\n" "#define NO_PA_EXECS /**/" >>confdefs.h
1.239     moko     6624: 
1.243   ! moko     6625: fi
1.239     moko     6626: 
                   6627: 
1.243   ! moko     6628: fi
1.66      paf      6629: 
                   6630: 
                   6631: 
1.243   ! moko     6632: # Check whether --enable-stringstream was given.
        !          6633: if test ${enable_stringstream+y}
1.237     moko     6634: then :
1.243   ! moko     6635:   enableval=$enable_stringstream;
        !          6636: if test "$enableval" = "no"; then
        !          6637:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling stringstream usage" >&5
        !          6638: printf "%s\n" "$as_me: WARNING: disabling stringstream usage" >&2;}
1.122     moko     6639: 
1.243   ! moko     6640: printf "%s\n" "#define NO_STRINGSTREAM /**/" >>confdefs.h
1.122     moko     6641: 
1.150     moko     6642: fi
1.7       paf      6643: 
                   6644: 
1.66      paf      6645: fi
1.1       paf      6646: 
                   6647: 
                   6648: 
1.62      paf      6649: 
1.243   ! moko     6650: # Check whether --with-gc was given.
        !          6651: if test ${with_gc+y}
        !          6652: then :
        !          6653:   withval=$with_gc;
1.62      paf      6654: 
1.243   ! moko     6655:        GC=$withval
        !          6656:        GC_LIBS="$GC/libgc.la"
1.7       paf      6657: 
1.243   ! moko     6658:        if test -f $GC_LIBS; then
        !          6659:                GC_OK="yes"
        !          6660:        else
        !          6661:                GC_LIBS="-L$GC -lgc"
        !          6662:        fi
1.1       paf      6663: 
1.243   ! moko     6664:        if test "$GC" = "yes"; then
        !          6665:                GC=""
        !          6666:                GC_LIBS="-lgc"
        !          6667:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc value was not specified, hoping linker would find it" >&5
        !          6668: printf "%s\n" "$as_me: WARNING: --with-gc value was not specified, hoping linker would find it" >&2;}
        !          6669:        fi
1.1       paf      6670: 
1.243   ! moko     6671: else case e in #(
        !          6672:   e)
        !          6673:        GC_LIBS="-lgc"
        !          6674:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc was not specified, hoping linker would find it" >&5
        !          6675: printf "%s\n" "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
        !          6676:  ;;
1.128     moko     6677: esac
1.243   ! moko     6678: fi
1.128     moko     6679: 
                   6680: 
1.243   ! moko     6681: if test -z "$GC_OK"; then
        !          6682:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libgc" >&5
        !          6683: printf %s "checking for libgc... " >&6; }
        !          6684:        SAVE_LIBS=$LIBS
        !          6685:        LIBS="$LIBS $GC_LIBS"
1.128     moko     6686: 
1.243   ! moko     6687:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6688: /* end confdefs.h.  */
        !          6689:  extern int GC_dont_gc;
        !          6690: int
        !          6691: main (void)
        !          6692: {
        !          6693:  GC_dont_gc=0;
        !          6694:   ;
        !          6695:   return 0;
        !          6696: }
        !          6697: _ACEOF
        !          6698: if ac_fn_c_try_link "$LINENO"
        !          6699: then :
        !          6700:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6701: printf "%s\n" "yes" >&6; }
1.237     moko     6702: 
1.243   ! moko     6703: else case e in #(
        !          6704:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6705: printf "%s\n" "no" >&6; }
        !          6706:                if test -z "$GC"; then
        !          6707:                        as_fn_error $? "please specify path to libgc: --with-gc=DIR" "$LINENO" 5
        !          6708:                else
        !          6709:                        as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5
        !          6710:                fi
1.128     moko     6711: 
1.243   ! moko     6712:    ;;
        !          6713: esac
        !          6714: fi
        !          6715: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          6716:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     6717: 
1.243   ! moko     6718:        LIBS=$SAVE_LIBS
        !          6719: fi
1.128     moko     6720: 
                   6721: 
                   6722: 
                   6723: 
                   6724: 
1.243   ! moko     6725: # Check whether --with-pcre was given.
        !          6726: if test ${with_pcre+y}
        !          6727: then :
        !          6728:   withval=$with_pcre;
        !          6729:        PCRE=$withval
1.128     moko     6730: 
1.243   ! moko     6731:        if test "$PCRE" = "yes"; then
        !          6732:                PCRE=""
        !          6733:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5
        !          6734: printf "%s\n" "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}
        !          6735:        else
        !          6736:                PCRE_INCLUDES="-I$PCRE/include"
1.128     moko     6737: 
1.243   ! moko     6738:                if test -f $PCRE/include/pcre.h -a -f $PCRE/lib/libpcre.la; then
        !          6739:                        PCRE_OK="yes"
        !          6740:                        PCRE_LIBS="$PCRE/lib/libpcre.la"
        !          6741:                else
        !          6742:                        if test -f $PCRE/include/pcre2.h -a -f $PCRE/lib/libpcre2-8.la; then
        !          6743:                                PCRE_OK="yes"
        !          6744:                                PCRE_LIBS="$PCRE/lib/libpcre2-8.la"
1.128     moko     6745: 
1.243   ! moko     6746: printf "%s\n" "#define HAVE_PCRE2 /**/" >>confdefs.h
1.128     moko     6747: 
1.243   ! moko     6748:                        else
        !          6749:                                PCRE_LIBS="-L$PCRE/lib"
        !          6750:                        fi
        !          6751:                fi
        !          6752:        fi
1.128     moko     6753: 
1.243   ! moko     6754: else case e in #(
        !          6755:   e)
        !          6756:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
        !          6757: printf "%s\n" "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
        !          6758:  ;;
        !          6759: esac
        !          6760: fi
1.128     moko     6761: 
                   6762: 
1.243   ! moko     6763: if test -z "$PCRE_OK"; then
        !          6764:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcre2" >&5
        !          6765: printf %s "checking for pcre2... " >&6; }
        !          6766:        SAVE_LIBS=$LIBS
        !          6767:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES -lpcre2-8"
1.10      paf      6768: 
1.243   ! moko     6769:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6770: /* end confdefs.h.  */
        !          6771:  #define PCRE2_CODE_UNIT_WIDTH 8
        !          6772: #include <pcre2.h>
        !          6773: int
        !          6774: main (void)
        !          6775: {
        !          6776:  void *v=pcre2_general_context_create(0,0,0);
        !          6777:   ;
        !          6778:   return 0;
        !          6779: }
        !          6780: _ACEOF
        !          6781: if ac_fn_c_try_link "$LINENO"
        !          6782: then :
        !          6783:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6784: printf "%s\n" "yes" >&6; }
        !          6785:                PCRE_LIBS="$PCRE_LIBS -lpcre2-8"
1.10      paf      6786: 
1.243   ! moko     6787: printf "%s\n" "#define HAVE_PCRE2 /**/" >>confdefs.h
1.62      paf      6788: 
1.243   ! moko     6789:                PCRE_OK="yes"
1.86      paf      6790: 
1.243   ! moko     6791: else case e in #(
        !          6792:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6793: printf "%s\n" "no" >&6; }
1.86      paf      6794: 
1.243   ! moko     6795:    ;;
        !          6796: esac
        !          6797: fi
        !          6798: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          6799:     conftest$ac_exeext conftest.$ac_ext
1.86      paf      6800: 
1.243   ! moko     6801:        LIBS=$SAVE_LIBS
1.128     moko     6802: fi
1.86      paf      6803: 
1.243   ! moko     6804: if test -z "$PCRE_OK"; then
        !          6805:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcre" >&5
        !          6806: printf %s "checking for pcre... " >&6; }
        !          6807:        PCRE_LIBS="$PCRE_LIBS -lpcre"
        !          6808:        SAVE_LIBS=$LIBS
        !          6809:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
        !          6810: 
        !          6811:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6812: /* end confdefs.h.  */
        !          6813:  #include <pcre.h>
        !          6814: int
        !          6815: main (void)
1.66      paf      6816: {
1.243   ! moko     6817:  const char *v=pcre_version();
        !          6818:   ;
        !          6819:   return 0;
1.66      paf      6820: }
1.243   ! moko     6821: _ACEOF
        !          6822: if ac_fn_c_try_link "$LINENO"
        !          6823: then :
        !          6824:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6825: printf "%s\n" "yes" >&6; }
        !          6826: 
        !          6827: else case e in #(
        !          6828:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6829: printf "%s\n" "no" >&6; }
        !          6830:                if test -z "$PCRE"; then
        !          6831:                        as_fn_error $? "please specify path to PCRE: --with-pcre=DIR" "$LINENO" 5
        !          6832:                else
        !          6833:                        as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5
        !          6834:                fi
1.10      paf      6835: 
1.243   ! moko     6836:    ;;
1.128     moko     6837: esac
1.243   ! moko     6838: fi
        !          6839: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          6840:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     6841: 
1.243   ! moko     6842:        LIBS=$SAVE_LIBS
        !          6843: fi
1.128     moko     6844: 
                   6845: 
                   6846: 
                   6847: 
                   6848: 
                   6849: 
1.243   ! moko     6850: # Check whether --with-xml was given.
        !          6851: if test ${with_xml+y}
        !          6852: then :
        !          6853:   withval=$with_xml;
1.128     moko     6854: 
1.243   ! moko     6855:        XML=$withval
        !          6856:        XML_LIBS="-lxml2 -lxslt -lexslt"
1.128     moko     6857: 
1.243   ! moko     6858:        if test -z "$XML" -o "$XML" = "yes"; then
        !          6859:                XML=""
        !          6860:                XML_INCLUDES="-I/usr/include/libxml2"
        !          6861:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
        !          6862: printf "%s\n" "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
        !          6863:        else
        !          6864:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
        !          6865:                XML_LIBS="-L$XML/lib $XML_LIBS"
1.128     moko     6866: 
1.243   ! moko     6867:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
        !          6868:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
        !          6869:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
        !          6870:                        XML_OK="yes"
        !          6871:                fi
        !          6872:        fi
1.128     moko     6873: 
1.243   ! moko     6874:        if test -z "$XML_OK"; then
        !          6875:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
        !          6876: printf %s "checking for xml... " >&6; }
        !          6877:                SAVE_LIBS=$LIBS
        !          6878:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
1.128     moko     6879: 
1.243   ! moko     6880:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6881: /* end confdefs.h.  */
        !          6882:  #include <libxslt/xslt.h>
        !          6883: int
        !          6884: main (void)
        !          6885: {
        !          6886:  const char *v=xsltEngineVersion;
        !          6887:   ;
        !          6888:   return 0;
        !          6889: }
        !          6890: _ACEOF
        !          6891: if ac_fn_c_try_link "$LINENO"
        !          6892: then :
        !          6893:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6894: printf "%s\n" "yes" >&6; }
1.128     moko     6895: 
1.237     moko     6896: else case e in #(
1.243   ! moko     6897:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6898: printf "%s\n" "no" >&6; }
        !          6899:                        if test -z "$XML"; then
        !          6900:                                as_fn_error $? "please specify path to Gnome XML libraries: --with-xml=DIR" "$LINENO" 5
        !          6901:                        else
        !          6902:                                as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5
        !          6903:                        fi
1.150     moko     6904: 
1.243   ! moko     6905:    ;;
1.237     moko     6906: esac
1.66      paf      6907: fi
1.243   ! moko     6908: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          6909:     conftest$ac_exeext conftest.$ac_ext
        !          6910: 
        !          6911:                LIBS=$SAVE_LIBS
        !          6912:        fi
        !          6913: 
        !          6914: printf "%s\n" "#define XML /**/" >>confdefs.h
1.128     moko     6915: 
1.10      paf      6916: 
1.243   ! moko     6917: fi
1.128     moko     6918: 
                   6919: 
                   6920: 
                   6921: 
                   6922: 
                   6923: 
                   6924: 
1.243   ! moko     6925: # Check whether --with-mailreceive was given.
        !          6926: if test ${with_mailreceive+y}
        !          6927: then :
        !          6928:   withval=$with_mailreceive;
        !          6929:        MIME=$withval
        !          6930:        GLIB="glib-2.0"
        !          6931:        GMIME="gmime-2.4"
1.128     moko     6932: 
1.243   ! moko     6933:        if test -z "$MIME" -o "$MIME" = "yes"; then
        !          6934:                MIME=""
        !          6935:                MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
        !          6936:                MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
        !          6937:                if test -z "$MIME_LIBS"; then
        !          6938:                        GMIME="gmime-3.0"
        !          6939:                        MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
        !          6940:                        MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
        !          6941:                fi
        !          6942:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&5
        !          6943: printf "%s\n" "$as_me: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&2;}
        !          6944:        else
        !          6945:                MIME_INCLUDES="-I$MIME/include/$GMIME"
        !          6946:                MIME_LIBS="-l$GMIME"
        !          6947:                if test -f $MIME/include/$GMIME/gmime/gmime.h -a -f $MIME/lib/lib$GMIME.la; then
        !          6948:                        MIME_LIBS="$MIME/lib/lib$GMIME.la"
        !          6949:                        if test -f $MIME/lib/lib$GLIB.la; then
        !          6950:                                MIME_INCLUDES="$MIME_INCLUDES -I$MIME/include/$GLIB -I$MIME/lib/$GLIB/include"
        !          6951:                        else
        !          6952:                                GLIB_INCLUDES=`pkg-config --cflags $GLIB 2>/dev/null`
        !          6953:                                MIME_INCLUDES="$MIME_INCLUDES $GLIB_INCLUDES"
        !          6954:                        fi
        !          6955:                        MIME_OK="yes"
        !          6956:                fi
        !          6957:        fi
1.128     moko     6958: 
1.243   ! moko     6959:        if test -z "$MIME_OK"; then
        !          6960:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mime" >&5
        !          6961: printf %s "checking for mime... " >&6; }
        !          6962:                SAVE_LIBS=$LIBS
        !          6963:                LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES"
1.128     moko     6964: 
1.243   ! moko     6965:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6966: /* end confdefs.h.  */
        !          6967:  #include <gmime/gmime.h>
        !          6968: int
        !          6969: main (void)
        !          6970: {
        !          6971:  guint v=gmime_major_version;
        !          6972:   ;
        !          6973:   return 0;
        !          6974: }
        !          6975: _ACEOF
        !          6976: if ac_fn_c_try_link "$LINENO"
1.237     moko     6977: then :
1.243   ! moko     6978:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6979: printf "%s\n" "yes" >&6; }
        !          6980: 
1.237     moko     6981: else case e in #(
1.243   ! moko     6982:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6983: printf "%s\n" "no" >&6; }
        !          6984:                        if test -z "$MIME"; then
        !          6985:                                as_fn_error $? "please specify path to Gnome MIME library: --with-mailreceive=DIR" "$LINENO" 5
        !          6986:                        else
        !          6987:                                as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5
        !          6988:                        fi
1.150     moko     6989: 
1.243   ! moko     6990:    ;;
1.237     moko     6991: esac
1.128     moko     6992: fi
1.243   ! moko     6993: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          6994:     conftest$ac_exeext conftest.$ac_ext
        !          6995: 
        !          6996:                LIBS=$SAVE_LIBS
        !          6997:        fi
        !          6998: 
        !          6999: printf "%s\n" "#define WITH_MAILRECEIVE /**/" >>confdefs.h
        !          7000: 
        !          7001: 
        !          7002: fi
1.150     moko     7003: 
                   7004: 
1.243   ! moko     7005: 
        !          7006: 
        !          7007: 
        !          7008: 
        !          7009: ac_header= ac_cache=
        !          7010: for ac_item in $ac_header_c_list
1.150     moko     7011: do
1.243   ! moko     7012:   if test $ac_cache; then
        !          7013:     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
        !          7014:     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
        !          7015:       printf "%s\n" "#define $ac_item 1" >> confdefs.h
1.150     moko     7016:     fi
1.243   ! moko     7017:     ac_header= ac_cache=
        !          7018:   elif test $ac_header; then
        !          7019:     ac_cache=$ac_item
        !          7020:   else
        !          7021:     ac_header=$ac_item
        !          7022:   fi
        !          7023: done
        !          7024: 
        !          7025: 
        !          7026: 
        !          7027: 
1.128     moko     7028: 
                   7029: 
1.150     moko     7030: 
                   7031: 
1.243   ! moko     7032: if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
1.237     moko     7033: then :
1.150     moko     7034: 
1.243   ! moko     7035: printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
1.150     moko     7036: 
1.128     moko     7037: fi
                   7038: 
1.243   ! moko     7039: # Check whether --with-amqp was given.
        !          7040: if test ${with_amqp+y}
        !          7041: then :
        !          7042:   withval=$with_amqp;
        !          7043:     AMQP=$withval
1.128     moko     7044: 
1.243   ! moko     7045:     if test -z "$AMQP" -o "$AMQP" = "yes"; then
        !          7046:         AMQP_INCLUDES=""
        !          7047:         AMQP_LIBS="-lrabbitmq"
        !          7048:         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-amqp value was not specified, hoping linker would find it" >&5
        !          7049: printf "%s\n" "$as_me: WARNING: --with-amqp value was not specified, hoping linker would find it" >&2;}
        !          7050:     else
        !          7051:         AMQP_INCLUDES="-I$AMQP/include"
        !          7052:         if test -f $AMQP/lib/librabbitmq.la; then
        !          7053:             AMQP_LIBS="$AMQP/lib/librabbitmq.la"
        !          7054:         else
        !          7055:             AMQP_LIBS="-L$AMQP/lib -lrabbitmq"
        !          7056:         fi
        !          7057:     fi
1.128     moko     7058: 
1.243   ! moko     7059:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for librabbitmq" >&5
        !          7060: printf %s "checking for librabbitmq... " >&6; }
        !          7061:     SAVE_LIBS=$LIBS
        !          7062:     LIBS="$AMQP_LIBS $AMQP_INCLUDES $LIBS"
1.128     moko     7063: 
1.243   ! moko     7064:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7065: /* end confdefs.h.  */
        !          7066:  #include <amqp.h>
        !          7067: int
        !          7068: main (void)
        !          7069: {
        !          7070:  amqp_connection_state_t c = 0;
        !          7071:   ;
        !          7072:   return 0;
        !          7073: }
        !          7074: _ACEOF
        !          7075: if ac_fn_c_try_link "$LINENO"
        !          7076: then :
        !          7077:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7078: printf "%s\n" "yes" >&6; }
1.128     moko     7079: 
1.243   ! moko     7080: else case e in #(
        !          7081:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7082: printf "%s\n" "no" >&6; }
        !          7083:         if test -z "$AMQP"; then
        !          7084:             as_fn_error $? "please specify path to librabbitmq: --with-amqp=DIR" "$LINENO" 5
        !          7085:         else
        !          7086:             as_fn_error $? "$AMQP does not seem to be valid librabbitmq installation directory" "$LINENO" 5
        !          7087:         fi
1.128     moko     7088: 
1.243   ! moko     7089:    ;;
        !          7090: esac
        !          7091: fi
        !          7092: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          7093:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     7094: 
1.243   ! moko     7095:     LIBS=$SAVE_LIBS
1.128     moko     7096: 
1.243   ! moko     7097:     SAVE_CPPFLAGS=$CPPFLAGS
        !          7098:     CPPFLAGS="$CPPFLAGS $AMQP_INCLUDES"
        !          7099:     ac_fn_c_check_header_compile "$LINENO" "amqp_ssl_socket.h" "ac_cv_header_amqp_ssl_socket_h" "$ac_includes_default"
        !          7100: if test "x$ac_cv_header_amqp_ssl_socket_h" = xyes
        !          7101: then :
1.128     moko     7102: 
1.243   ! moko     7103: else case e in #(
        !          7104:   e)
        !          7105: printf "%s\n" "#define WITHOUT_AMQP_SSL /**/" >>confdefs.h
        !          7106:  ;;
        !          7107: esac
        !          7108: fi
1.128     moko     7109: 
1.243   ! moko     7110:     CPPFLAGS=$SAVE_CPPFLAGS
1.128     moko     7111: 
                   7112: 
1.243   ! moko     7113: printf "%s\n" "#define WITH_AMQP /**/" >>confdefs.h
1.128     moko     7114: 
                   7115: 
1.243   ! moko     7116: fi
1.128     moko     7117: 
                   7118: 
                   7119: 
                   7120: 
                   7121: 
                   7122: 
                   7123: 
1.243   ! moko     7124: # Check whether --with-redis was given.
        !          7125: if test ${with_redis+y}
1.237     moko     7126: then :
1.243   ! moko     7127:   withval=$with_redis;
        !          7128:     REDIS=$withval
1.150     moko     7129: 
1.243   ! moko     7130:     if test -z "$REDIS" -o "$REDIS" = "yes"; then
        !          7131:         REDIS_INCLUDES=""
        !          7132:         REDIS_LIBS="-lhiredis"
        !          7133:         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-redis value was not specified, hoping linker would find it" >&5
        !          7134: printf "%s\n" "$as_me: WARNING: --with-redis value was not specified, hoping linker would find it" >&2;}
        !          7135:     else
        !          7136:         REDIS_INCLUDES="-I$REDIS/include"
        !          7137:         if test -f $REDIS/lib/libhiredis.a; then
        !          7138:             REDIS_LIBS="$REDIS/lib/libhiredis.a"
        !          7139:         else
        !          7140:             REDIS_LIBS="-L$REDIS/lib -lhiredis"
        !          7141:         fi
1.128     moko     7142:     fi
                   7143: 
1.243   ! moko     7144:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hiredis" >&5
        !          7145: printf %s "checking for hiredis... " >&6; }
        !          7146:     SAVE_LIBS=$LIBS
        !          7147:     LIBS="$REDIS_LIBS $REDIS_INCLUDES $LIBS"
        !          7148: 
        !          7149:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7150: /* end confdefs.h.  */
        !          7151:  #include <hiredis/hiredis.h>
        !          7152: int
        !          7153: main (void)
        !          7154: {
        !          7155:  redisContext *c = redisConnect("", 0);
        !          7156:   ;
        !          7157:   return 0;
        !          7158: }
        !          7159: _ACEOF
        !          7160: if ac_fn_c_try_link "$LINENO"
1.237     moko     7161: then :
1.243   ! moko     7162:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7163: printf "%s\n" "yes" >&6; }
        !          7164: 
1.237     moko     7165: else case e in #(
1.243   ! moko     7166:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7167: printf "%s\n" "no" >&6; }
        !          7168:         if test -z "$REDIS"; then
        !          7169:             as_fn_error $? "please specify path to hiredis: --with-redis=DIR" "$LINENO" 5
        !          7170:         else
        !          7171:             as_fn_error $? "$REDIS does not seem to be valid hiredis installation directory" "$LINENO" 5
        !          7172:         fi
        !          7173: 
        !          7174:    ;;
1.128     moko     7175: esac
                   7176: fi
1.243   ! moko     7177: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          7178:     conftest$ac_exeext conftest.$ac_ext
        !          7179: 
        !          7180:     LIBS=$SAVE_LIBS
1.128     moko     7181: 
1.243   ! moko     7182: printf "%s\n" "#define WITH_REDIS /**/" >>confdefs.h
1.128     moko     7183: 
                   7184: 
1.243   ! moko     7185: fi
1.128     moko     7186: 
                   7187: 
                   7188: 
                   7189: 
                   7190: 
                   7191: 
1.243   ! moko     7192: # Check whether --with-sendmail was given.
        !          7193: if test ${with_sendmail+y}
1.237     moko     7194: then :
1.243   ! moko     7195:   withval=$with_sendmail;
        !          7196: printf "%s\n" "#define PA_FORCED_SENDMAIL \"$withval\"" >>confdefs.h
        !          7197: 
        !          7198: 
1.128     moko     7199: fi
1.243   ! moko     7200: 
        !          7201: 
        !          7202: 
        !          7203: 
        !          7204: # Check whether --with-apache was given.
        !          7205: if test ${with_apache+y}
1.237     moko     7206: then :
1.243   ! moko     7207:   withval=$with_apache;
        !          7208:        APXS=$withval
1.128     moko     7209: 
1.243   ! moko     7210:        if test -z "$APXS" -o "$APXS" = "yes"; then
        !          7211:                APXS=`which apxs 2>/dev/null`
        !          7212:                if test -z "$APXS"; then
        !          7213:                        APXS=`which apxs2 2>/dev/null`
        !          7214:                fi
        !          7215:        fi
1.128     moko     7216: 
1.243   ! moko     7217:        APACHE=`$APXS -q TARGET 2>/dev/null`
1.150     moko     7218: 
1.243   ! moko     7219:        if test -z "$APACHE"; then
        !          7220:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
        !          7221:        fi
        !          7222: 
        !          7223:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
        !          7224:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
        !          7225:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
        !          7226:        APACHE_CFLAGS=`$APXS -q CFLAGS`
        !          7227: 
        !          7228: fi
        !          7229: 
        !          7230: 
        !          7231: 
        !          7232: 
        !          7233:  if test -n "$APACHE"; then
        !          7234:   COMPILE_APACHE_MODULE_TRUE=
        !          7235:   COMPILE_APACHE_MODULE_FALSE='#'
        !          7236: else
        !          7237:   COMPILE_APACHE_MODULE_TRUE='#'
        !          7238:   COMPILE_APACHE_MODULE_FALSE=
        !          7239: fi
        !          7240: 
        !          7241: 
        !          7242: 
        !          7243: 
        !          7244: 
        !          7245: 
        !          7246: 
        !          7247: 
        !          7248: 
        !          7249: 
        !          7250: case `pwd` in
        !          7251:   *\ * | *\    *)
        !          7252:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
        !          7253: printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
        !          7254: esac
        !          7255: 
        !          7256: 
        !          7257: 
        !          7258: macro_version='2.5.4'
        !          7259: macro_revision='2.5.4'
        !          7260: 
        !          7261: 
        !          7262: 
        !          7263: 
        !          7264: 
        !          7265: 
        !          7266: 
        !          7267: 
        !          7268: 
        !          7269: 
        !          7270: 
        !          7271: 
        !          7272: 
        !          7273: 
        !          7274: ltmain=$ac_aux_dir/ltmain.sh
        !          7275: 
        !          7276: # Backslashify metacharacters that are still active within
        !          7277: # double-quoted strings.
        !          7278: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
        !          7279: 
        !          7280: # Same as above, but do not quote variable references.
        !          7281: double_quote_subst='s/\(["`\\]\)/\\\1/g'
        !          7282: 
        !          7283: # Sed substitution to delay expansion of an escaped shell variable in a
        !          7284: # double_quote_subst'ed string.
        !          7285: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
        !          7286: 
        !          7287: # Sed substitution to delay expansion of an escaped single quote.
        !          7288: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
        !          7289: 
        !          7290: # Sed substitution to avoid accidental globbing in evaled expressions
        !          7291: no_glob_subst='s/\*/\\\*/g'
        !          7292: 
        !          7293: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !          7294: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
        !          7295: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
        !          7296: 
        !          7297: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
        !          7298: printf %s "checking how to print strings... " >&6; }
        !          7299: # Test print first, because it will be a builtin if present.
        !          7300: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
        !          7301:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
        !          7302:   ECHO='print -r --'
        !          7303: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
        !          7304:   ECHO='printf %s\n'
        !          7305: else
        !          7306:   # Use this function as a fallback that always works.
        !          7307:   func_fallback_echo ()
        !          7308:   {
        !          7309:     eval 'cat <<_LTECHO_EOF
        !          7310: $1
        !          7311: _LTECHO_EOF'
        !          7312:   }
        !          7313:   ECHO='func_fallback_echo'
1.128     moko     7314: fi
1.243   ! moko     7315: 
        !          7316: # func_echo_all arg...
        !          7317: # Invoke $ECHO with all args, space-separated.
        !          7318: func_echo_all ()
        !          7319: {
        !          7320:     $ECHO ""
        !          7321: }
        !          7322: 
        !          7323: case $ECHO in
        !          7324:   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
        !          7325: printf "%s\n" "printf" >&6; } ;;
        !          7326:   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
        !          7327: printf "%s\n" "print -r" >&6; } ;;
        !          7328:   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
        !          7329: printf "%s\n" "cat" >&6; } ;;
        !          7330: esac
        !          7331: 
        !          7332: 
        !          7333: 
        !          7334: 
        !          7335: 
        !          7336: 
        !          7337: 
        !          7338: 
        !          7339: 
        !          7340: 
        !          7341: 
        !          7342: 
        !          7343: 
        !          7344: 
        !          7345: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
        !          7346: printf %s "checking for a sed that does not truncate output... " >&6; }
        !          7347: if test ${ac_cv_path_SED+y}
1.237     moko     7348: then :
                   7349:   printf %s "(cached) " >&6
                   7350: else case e in #(
1.243   ! moko     7351:   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
        !          7352:      for ac_i in 1 2 3 4 5 6 7; do
        !          7353:        ac_script="$ac_script$as_nl$ac_script"
        !          7354:      done
        !          7355:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
        !          7356:      { ac_script=; unset ac_script;}
        !          7357:      if test -z "$SED"; then
        !          7358:   ac_path_SED_found=false
        !          7359:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          7360:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     7361: for as_dir in $PATH
                   7362: do
                   7363:   IFS=$as_save_IFS
1.237     moko     7364:   case $as_dir in #(((
                   7365:     '') as_dir=./ ;;
                   7366:     */) ;;
                   7367:     *) as_dir=$as_dir/ ;;
                   7368:   esac
1.243   ! moko     7369:     for ac_prog in sed gsed
        !          7370:    do
1.150     moko     7371:     for ac_exec_ext in '' $ac_executable_extensions; do
1.243   ! moko     7372:       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
        !          7373:       as_fn_executable_p "$ac_path_SED" || continue
        !          7374: # Check for GNU ac_path_SED and select it if it is found.
        !          7375:   # Check for GNU $ac_path_SED
        !          7376: case `"$ac_path_SED" --version 2>&1` in #(
        !          7377: *GNU*)
        !          7378:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
        !          7379: #(
        !          7380: *)
        !          7381:   ac_count=0
        !          7382:   printf %s 0123456789 >"conftest.in"
        !          7383:   while :
        !          7384:   do
        !          7385:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          7386:     mv "conftest.tmp" "conftest.in"
        !          7387:     cp "conftest.in" "conftest.nl"
        !          7388:     printf "%s\n" '' >> "conftest.nl"
        !          7389:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          7390:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          7391:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          7392:     if test $ac_count -gt ${ac_path_SED_max-0}; then
        !          7393:       # Best one so far, save it but keep looking for a better one
        !          7394:       ac_cv_path_SED="$ac_path_SED"
        !          7395:       ac_path_SED_max=$ac_count
        !          7396:     fi
        !          7397:     # 10*(2^10) chars as input seems more than enough
        !          7398:     test $ac_count -gt 10 && break
        !          7399:   done
        !          7400:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          7401: esac
        !          7402: 
        !          7403:       $ac_path_SED_found && break 3
        !          7404:     done
        !          7405:   done
1.150     moko     7406:   done
                   7407: IFS=$as_save_IFS
1.243   ! moko     7408:   if test -z "$ac_cv_path_SED"; then
        !          7409:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
        !          7410:   fi
        !          7411: else
        !          7412:   ac_cv_path_SED=$SED
        !          7413: fi
        !          7414:  ;;
1.237     moko     7415: esac
1.128     moko     7416: fi
1.243   ! moko     7417: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
        !          7418: printf "%s\n" "$ac_cv_path_SED" >&6; }
        !          7419:  SED="$ac_cv_path_SED"
        !          7420:   rm -f conftest.sed
        !          7421: 
        !          7422: test -z "$SED" && SED=sed
        !          7423: Xsed="$SED -e 1s/^X//"
1.128     moko     7424: 
1.150     moko     7425: 
1.128     moko     7426: 
                   7427: 
                   7428: 
                   7429: 
                   7430: 
                   7431: 
                   7432: 
                   7433: 
                   7434: 
1.243   ! moko     7435: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
        !          7436: printf %s "checking for grep that handles long lines and -e... " >&6; }
        !          7437: if test ${ac_cv_path_GREP+y}
1.237     moko     7438: then :
                   7439:   printf %s "(cached) " >&6
                   7440: else case e in #(
1.243   ! moko     7441:   e) if test -z "$GREP"; then
        !          7442:   ac_path_GREP_found=false
        !          7443:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          7444:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          7445: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
        !          7446: do
        !          7447:   IFS=$as_save_IFS
        !          7448:   case $as_dir in #(((
        !          7449:     '') as_dir=./ ;;
        !          7450:     */) ;;
        !          7451:     *) as_dir=$as_dir/ ;;
        !          7452:   esac
        !          7453:     for ac_prog in grep ggrep
        !          7454:    do
        !          7455:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7456:       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
        !          7457:       as_fn_executable_p "$ac_path_GREP" || continue
        !          7458: # Check for GNU ac_path_GREP and select it if it is found.
        !          7459:   # Check for GNU $ac_path_GREP
        !          7460: case `"$ac_path_GREP" --version 2>&1` in #(
        !          7461: *GNU*)
        !          7462:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
        !          7463: #(
        !          7464: *)
        !          7465:   ac_count=0
        !          7466:   printf %s 0123456789 >"conftest.in"
        !          7467:   while :
        !          7468:   do
        !          7469:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          7470:     mv "conftest.tmp" "conftest.in"
        !          7471:     cp "conftest.in" "conftest.nl"
        !          7472:     printf "%s\n" 'GREP' >> "conftest.nl"
        !          7473:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          7474:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          7475:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          7476:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
        !          7477:       # Best one so far, save it but keep looking for a better one
        !          7478:       ac_cv_path_GREP="$ac_path_GREP"
        !          7479:       ac_path_GREP_max=$ac_count
        !          7480:     fi
        !          7481:     # 10*(2^10) chars as input seems more than enough
        !          7482:     test $ac_count -gt 10 && break
        !          7483:   done
        !          7484:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          7485: esac
        !          7486: 
        !          7487:       $ac_path_GREP_found && break 3
        !          7488:     done
        !          7489:   done
        !          7490:   done
        !          7491: IFS=$as_save_IFS
        !          7492:   if test -z "$ac_cv_path_GREP"; then
        !          7493:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.128     moko     7494:   fi
1.243   ! moko     7495: else
        !          7496:   ac_cv_path_GREP=$GREP
        !          7497: fi
        !          7498:  ;;
1.237     moko     7499: esac
1.128     moko     7500: fi
1.243   ! moko     7501: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
        !          7502: printf "%s\n" "$ac_cv_path_GREP" >&6; }
        !          7503:  GREP="$ac_cv_path_GREP"
        !          7504: 
        !          7505: 
        !          7506: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
        !          7507: printf %s "checking for egrep... " >&6; }
        !          7508: if test ${ac_cv_path_EGREP+y}
        !          7509: then :
        !          7510:   printf %s "(cached) " >&6
        !          7511: else case e in #(
        !          7512:   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
        !          7513:    then ac_cv_path_EGREP="$GREP -E"
        !          7514:    else
        !          7515:      if test -z "$EGREP"; then
        !          7516:   ac_path_EGREP_found=false
        !          7517:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          7518:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          7519: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
        !          7520: do
        !          7521:   IFS=$as_save_IFS
        !          7522:   case $as_dir in #(((
        !          7523:     '') as_dir=./ ;;
        !          7524:     */) ;;
        !          7525:     *) as_dir=$as_dir/ ;;
        !          7526:   esac
        !          7527:     for ac_prog in egrep
        !          7528:    do
        !          7529:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7530:       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
        !          7531:       as_fn_executable_p "$ac_path_EGREP" || continue
        !          7532: # Check for GNU ac_path_EGREP and select it if it is found.
        !          7533:   # Check for GNU $ac_path_EGREP
        !          7534: case `"$ac_path_EGREP" --version 2>&1` in #(
        !          7535: *GNU*)
        !          7536:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
        !          7537: #(
        !          7538: *)
        !          7539:   ac_count=0
        !          7540:   printf %s 0123456789 >"conftest.in"
        !          7541:   while :
        !          7542:   do
        !          7543:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          7544:     mv "conftest.tmp" "conftest.in"
        !          7545:     cp "conftest.in" "conftest.nl"
        !          7546:     printf "%s\n" 'EGREP' >> "conftest.nl"
        !          7547:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          7548:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          7549:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          7550:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
        !          7551:       # Best one so far, save it but keep looking for a better one
        !          7552:       ac_cv_path_EGREP="$ac_path_EGREP"
        !          7553:       ac_path_EGREP_max=$ac_count
        !          7554:     fi
        !          7555:     # 10*(2^10) chars as input seems more than enough
        !          7556:     test $ac_count -gt 10 && break
        !          7557:   done
        !          7558:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          7559: esac
1.128     moko     7560: 
1.243   ! moko     7561:       $ac_path_EGREP_found && break 3
        !          7562:     done
        !          7563:   done
        !          7564:   done
        !          7565: IFS=$as_save_IFS
        !          7566:   if test -z "$ac_cv_path_EGREP"; then
        !          7567:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
        !          7568:   fi
1.128     moko     7569: else
1.243   ! moko     7570:   ac_cv_path_EGREP=$EGREP
        !          7571: fi
        !          7572: 
        !          7573:    fi ;;
        !          7574: esac
1.128     moko     7575: fi
1.243   ! moko     7576: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
        !          7577: printf "%s\n" "$ac_cv_path_EGREP" >&6; }
        !          7578:  EGREP="$ac_cv_path_EGREP"
1.128     moko     7579: 
1.243   ! moko     7580:          EGREP_TRADITIONAL=$EGREP
        !          7581:  ac_cv_path_EGREP_TRADITIONAL=$EGREP
        !          7582: 
        !          7583: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
        !          7584: printf %s "checking for fgrep... " >&6; }
        !          7585: if test ${ac_cv_path_FGREP+y}
1.237     moko     7586: then :
                   7587:   printf %s "(cached) " >&6
                   7588: else case e in #(
1.243   ! moko     7589:   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
        !          7590:    then ac_cv_path_FGREP="$GREP -F"
        !          7591:    else
        !          7592:      if test -z "$FGREP"; then
        !          7593:   ac_path_FGREP_found=false
        !          7594:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          7595:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          7596: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
        !          7597: do
        !          7598:   IFS=$as_save_IFS
        !          7599:   case $as_dir in #(((
        !          7600:     '') as_dir=./ ;;
        !          7601:     */) ;;
        !          7602:     *) as_dir=$as_dir/ ;;
        !          7603:   esac
        !          7604:     for ac_prog in fgrep
        !          7605:    do
        !          7606:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          7607:       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
        !          7608:       as_fn_executable_p "$ac_path_FGREP" || continue
        !          7609: # Check for GNU ac_path_FGREP and select it if it is found.
        !          7610:   # Check for GNU $ac_path_FGREP
        !          7611: case `"$ac_path_FGREP" --version 2>&1` in #(
        !          7612: *GNU*)
        !          7613:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
        !          7614: #(
        !          7615: *)
        !          7616:   ac_count=0
        !          7617:   printf %s 0123456789 >"conftest.in"
        !          7618:   while :
        !          7619:   do
        !          7620:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          7621:     mv "conftest.tmp" "conftest.in"
        !          7622:     cp "conftest.in" "conftest.nl"
        !          7623:     printf "%s\n" 'FGREP' >> "conftest.nl"
        !          7624:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          7625:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          7626:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          7627:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
        !          7628:       # Best one so far, save it but keep looking for a better one
        !          7629:       ac_cv_path_FGREP="$ac_path_FGREP"
        !          7630:       ac_path_FGREP_max=$ac_count
        !          7631:     fi
        !          7632:     # 10*(2^10) chars as input seems more than enough
        !          7633:     test $ac_count -gt 10 && break
        !          7634:   done
        !          7635:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          7636: esac
        !          7637: 
        !          7638:       $ac_path_FGREP_found && break 3
        !          7639:     done
        !          7640:   done
        !          7641:   done
        !          7642: IFS=$as_save_IFS
        !          7643:   if test -z "$ac_cv_path_FGREP"; then
        !          7644:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
        !          7645:   fi
        !          7646: else
        !          7647:   ac_cv_path_FGREP=$FGREP
        !          7648: fi
        !          7649: 
        !          7650:    fi ;;
        !          7651: esac
        !          7652: fi
        !          7653: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
        !          7654: printf "%s\n" "$ac_cv_path_FGREP" >&6; }
        !          7655:  FGREP="$ac_cv_path_FGREP"
1.128     moko     7656: 
                   7657: 
1.243   ! moko     7658: test -z "$GREP" && GREP=grep
        !          7659: 
1.128     moko     7660: 
                   7661: 
                   7662: 
                   7663: 
                   7664: 
                   7665: 
                   7666: 
                   7667: 
                   7668: 
                   7669: 
                   7670: 
                   7671: 
                   7672: 
                   7673: 
                   7674: 
                   7675: 
                   7676: 
                   7677: 
1.243   ! moko     7678: # Check whether --with-gnu-ld was given.
        !          7679: if test ${with_gnu_ld+y}
        !          7680: then :
        !          7681:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
        !          7682: else case e in #(
        !          7683:   e) with_gnu_ld=no ;;
        !          7684: esac
        !          7685: fi
1.128     moko     7686: 
1.243   ! moko     7687: ac_prog=ld
        !          7688: if test yes = "$GCC"; then
        !          7689:   # Check if gcc -print-prog-name=ld gives a path.
        !          7690:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
        !          7691: printf %s "checking for ld used by $CC... " >&6; }
        !          7692:   case $host in
        !          7693:   *-*-mingw* | *-*-windows*)
        !          7694:     # gcc leaves a trailing carriage return, which upsets mingw
        !          7695:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
        !          7696:   *)
        !          7697:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
        !          7698:   esac
        !          7699:   case $ac_prog in
        !          7700:     # Accept absolute paths.
        !          7701:     [\\/]* | ?:[\\/]*)
        !          7702:       re_direlt='/[^/][^/]*/\.\./'
        !          7703:       # Canonicalize the pathname of ld
        !          7704:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
        !          7705:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
        !          7706:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
        !          7707:       done
        !          7708:       test -z "$LD" && LD=$ac_prog
        !          7709:       ;;
        !          7710:   "")
        !          7711:     # If it fails, then pretend we aren't using GCC.
        !          7712:     ac_prog=ld
        !          7713:     ;;
        !          7714:   *)
        !          7715:     # If it is relative, then search for the first ld in PATH.
        !          7716:     with_gnu_ld=unknown
        !          7717:     ;;
        !          7718:   esac
        !          7719: elif test yes = "$with_gnu_ld"; then
        !          7720:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
        !          7721: printf %s "checking for GNU ld... " >&6; }
        !          7722: else
        !          7723:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
        !          7724: printf %s "checking for non-GNU ld... " >&6; }
        !          7725: fi
        !          7726: if test ${lt_cv_path_LD+y}
        !          7727: then :
        !          7728:   printf %s "(cached) " >&6
        !          7729: else case e in #(
        !          7730:   e) if test -z "$LD"; then
        !          7731:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
        !          7732:   for ac_dir in $PATH; do
        !          7733:     IFS=$lt_save_ifs
        !          7734:     test -z "$ac_dir" && ac_dir=.
        !          7735:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
        !          7736:       lt_cv_path_LD=$ac_dir/$ac_prog
        !          7737:       # Check to see if the program is GNU ld.  I'd rather use --version,
        !          7738:       # but apparently some variants of GNU ld only accept -v.
        !          7739:       # Break only if it was the GNU/non-GNU ld that we prefer.
        !          7740:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
        !          7741:       *GNU* | *'with BFD'*)
        !          7742:        test no != "$with_gnu_ld" && break
        !          7743:        ;;
        !          7744:       *)
        !          7745:        test yes != "$with_gnu_ld" && break
        !          7746:        ;;
        !          7747:       esac
        !          7748:     fi
        !          7749:   done
        !          7750:   IFS=$lt_save_ifs
        !          7751: else
        !          7752:   lt_cv_path_LD=$LD # Let the user override the test with a path.
        !          7753: fi ;;
        !          7754: esac
        !          7755: fi
1.128     moko     7756: 
1.243   ! moko     7757: LD=$lt_cv_path_LD
        !          7758: if test -n "$LD"; then
        !          7759:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
        !          7760: printf "%s\n" "$LD" >&6; }
        !          7761: else
        !          7762:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7763: printf "%s\n" "no" >&6; }
        !          7764: fi
        !          7765: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
        !          7766: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
        !          7767: printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
        !          7768: if test ${lt_cv_prog_gnu_ld+y}
        !          7769: then :
        !          7770:   printf %s "(cached) " >&6
        !          7771: else case e in #(
        !          7772:   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
        !          7773: case `$LD -v 2>&1 </dev/null` in
        !          7774: *GNU* | *'with BFD'*)
        !          7775:   lt_cv_prog_gnu_ld=yes
1.128     moko     7776:   ;;
1.243   ! moko     7777: *)
        !          7778:   lt_cv_prog_gnu_ld=no
1.128     moko     7779:   ;;
1.243   ! moko     7780: esac ;;
1.128     moko     7781: esac
1.243   ! moko     7782: fi
        !          7783: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
        !          7784: printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
        !          7785: with_gnu_ld=$lt_cv_prog_gnu_ld
1.128     moko     7786: 
                   7787: 
                   7788: 
                   7789: 
                   7790: 
                   7791: 
                   7792: 
                   7793: 
                   7794: 
1.243   ! moko     7795: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
        !          7796: printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
        !          7797: if test ${lt_cv_path_NM+y}
1.237     moko     7798: then :
                   7799:   printf %s "(cached) " >&6
                   7800: else case e in #(
1.243   ! moko     7801:   e) if test -n "$NM"; then
        !          7802:   # Let the user override the test.
        !          7803:   lt_cv_path_NM=$NM
        !          7804: else
        !          7805:   lt_nm_to_check=${ac_tool_prefix}nm
        !          7806:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
        !          7807:     lt_nm_to_check="$lt_nm_to_check nm"
        !          7808:   fi
        !          7809:   for lt_tmp_nm in $lt_nm_to_check; do
        !          7810:     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
        !          7811:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
        !          7812:       IFS=$lt_save_ifs
        !          7813:       test -z "$ac_dir" && ac_dir=.
        !          7814:       tmp_nm=$ac_dir/$lt_tmp_nm
        !          7815:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
        !          7816:        # Check to see if the nm accepts a BSD-compat flag.
        !          7817:        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
        !          7818:        #   nm: unknown option "B" ignored
        !          7819:        # Tru64's nm complains that /dev/null is an invalid object file
        !          7820:        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
        !          7821:        case $build_os in
        !          7822:        mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
        !          7823:        *) lt_bad_file=/dev/null ;;
        !          7824:        esac
        !          7825:        case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
        !          7826:        *$lt_bad_file* | *'Invalid file or object type'*)
        !          7827:          lt_cv_path_NM="$tmp_nm -B"
        !          7828:          break 2
        !          7829:          ;;
        !          7830:        *)
        !          7831:          case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
        !          7832:          */dev/null*)
        !          7833:            lt_cv_path_NM="$tmp_nm -p"
        !          7834:            break 2
        !          7835:            ;;
        !          7836:          *)
        !          7837:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
        !          7838:            continue # so that we can try to find one that supports BSD flags
        !          7839:            ;;
        !          7840:          esac
        !          7841:          ;;
        !          7842:        esac
        !          7843:       fi
        !          7844:     done
        !          7845:     IFS=$lt_save_ifs
1.150     moko     7846:   done
1.243   ! moko     7847:   : ${lt_cv_path_NM=no}
1.237     moko     7848: fi ;;
                   7849: esac
                   7850: fi
1.243   ! moko     7851: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
        !          7852: printf "%s\n" "$lt_cv_path_NM" >&6; }
        !          7853: if test no != "$lt_cv_path_NM"; then
        !          7854:   NM=$lt_cv_path_NM
1.237     moko     7855: else
1.243   ! moko     7856:   # Didn't find any BSD compatible name lister, look for dumpbin.
        !          7857:   if test -n "$DUMPBIN"; then :
        !          7858:     # Let the user override the test.
        !          7859:   else
        !          7860:     if test -n "$ac_tool_prefix"; then
        !          7861:   for ac_prog in dumpbin "link -dump"
        !          7862:   do
        !          7863:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          7864: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.237     moko     7865: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7866: printf %s "checking for $ac_word... " >&6; }
1.243   ! moko     7867: if test ${ac_cv_prog_DUMPBIN+y}
1.237     moko     7868: then :
                   7869:   printf %s "(cached) " >&6
                   7870: else case e in #(
1.243   ! moko     7871:   e) if test -n "$DUMPBIN"; then
        !          7872:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
1.237     moko     7873: else
                   7874: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7875: for as_dir in $PATH
                   7876: do
                   7877:   IFS=$as_save_IFS
                   7878:   case $as_dir in #(((
                   7879:     '') as_dir=./ ;;
                   7880:     */) ;;
                   7881:     *) as_dir=$as_dir/ ;;
                   7882:   esac
                   7883:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7884:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243   ! moko     7885:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.237     moko     7886:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   7887:     break 2
                   7888:   fi
                   7889: done
                   7890:   done
                   7891: IFS=$as_save_IFS
                   7892: 
                   7893: fi ;;
                   7894: esac
1.128     moko     7895: fi
1.243   ! moko     7896: DUMPBIN=$ac_cv_prog_DUMPBIN
        !          7897: if test -n "$DUMPBIN"; then
        !          7898:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
        !          7899: printf "%s\n" "$DUMPBIN" >&6; }
1.128     moko     7900: else
1.237     moko     7901:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7902: printf "%s\n" "no" >&6; }
1.128     moko     7903: fi
                   7904: 
1.150     moko     7905: 
1.243   ! moko     7906:     test -n "$DUMPBIN" && break
        !          7907:   done
1.128     moko     7908: fi
1.243   ! moko     7909: if test -z "$DUMPBIN"; then
        !          7910:   ac_ct_DUMPBIN=$DUMPBIN
        !          7911:   for ac_prog in dumpbin "link -dump"
        !          7912: do
        !          7913:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          7914: set dummy $ac_prog; ac_word=$2
1.237     moko     7915: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7916: printf %s "checking for $ac_word... " >&6; }
1.243   ! moko     7917: if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
1.237     moko     7918: then :
                   7919:   printf %s "(cached) " >&6
                   7920: else case e in #(
1.243   ! moko     7921:   e) if test -n "$ac_ct_DUMPBIN"; then
        !          7922:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
1.128     moko     7923: else
                   7924: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7925: for as_dir in $PATH
                   7926: do
                   7927:   IFS=$as_save_IFS
1.237     moko     7928:   case $as_dir in #(((
                   7929:     '') as_dir=./ ;;
                   7930:     */) ;;
                   7931:     *) as_dir=$as_dir/ ;;
                   7932:   esac
1.150     moko     7933:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     7934:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243   ! moko     7935:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.237     moko     7936:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     7937:     break 2
                   7938:   fi
                   7939: done
1.150     moko     7940:   done
                   7941: IFS=$as_save_IFS
1.128     moko     7942: 
1.237     moko     7943: fi ;;
                   7944: esac
1.128     moko     7945: fi
1.243   ! moko     7946: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
        !          7947: if test -n "$ac_ct_DUMPBIN"; then
        !          7948:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
        !          7949: printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
1.128     moko     7950: else
1.237     moko     7951:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7952: printf "%s\n" "no" >&6; }
1.128     moko     7953: fi
                   7954: 
1.243   ! moko     7955: 
        !          7956:   test -n "$ac_ct_DUMPBIN" && break
        !          7957: done
        !          7958: 
        !          7959:   if test "x$ac_ct_DUMPBIN" = x; then
        !          7960:     DUMPBIN=":"
1.150     moko     7961:   else
                   7962:     case $cross_compiling:$ac_tool_warned in
                   7963: yes:)
1.237     moko     7964: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7965: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     7966: ac_tool_warned=yes ;;
                   7967: esac
1.243   ! moko     7968:     DUMPBIN=$ac_ct_DUMPBIN
1.150     moko     7969:   fi
1.128     moko     7970: fi
                   7971: 
1.243   ! moko     7972:     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
        !          7973:     *COFF*)
        !          7974:       DUMPBIN="$DUMPBIN -symbols -headers"
        !          7975:       ;;
        !          7976:     *)
        !          7977:       DUMPBIN=:
        !          7978:       ;;
        !          7979:     esac
        !          7980:   fi
        !          7981: 
        !          7982:   if test : != "$DUMPBIN"; then
        !          7983:     NM=$DUMPBIN
        !          7984:   fi
        !          7985: fi
        !          7986: test -z "$NM" && NM=nm
1.128     moko     7987: 
                   7988: 
                   7989: 
                   7990: 
                   7991: 
                   7992: 
1.243   ! moko     7993: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
        !          7994: printf %s "checking the name lister ($NM) interface... " >&6; }
        !          7995: if test ${lt_cv_nm_interface+y}
1.237     moko     7996: then :
                   7997:   printf %s "(cached) " >&6
                   7998: else case e in #(
1.243   ! moko     7999:   e) lt_cv_nm_interface="BSD nm"
        !          8000:   echo "int some_variable = 0;" > conftest.$ac_ext
        !          8001:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
        !          8002:   (eval "$ac_compile" 2>conftest.err)
        !          8003:   cat conftest.err >&5
        !          8004:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
        !          8005:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
        !          8006:   cat conftest.err >&5
        !          8007:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
        !          8008:   cat conftest.out >&5
        !          8009:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
        !          8010:     lt_cv_nm_interface="MS dumpbin"
        !          8011:   fi
        !          8012:   rm -f conftest* ;;
        !          8013: esac
        !          8014: fi
        !          8015: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
        !          8016: printf "%s\n" "$lt_cv_nm_interface" >&6; }
        !          8017: 
        !          8018: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
        !          8019: printf %s "checking whether ln -s works... " >&6; }
        !          8020: LN_S=$as_ln_s
        !          8021: if test "$LN_S" = "ln -s"; then
        !          8022:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          8023: printf "%s\n" "yes" >&6; }
        !          8024: else
        !          8025:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
        !          8026: printf "%s\n" "no, using $LN_S" >&6; }
        !          8027: fi
1.128     moko     8028: 
1.243   ! moko     8029: # find the maximum length of command line arguments
        !          8030: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
        !          8031: printf %s "checking the maximum length of command line arguments... " >&6; }
        !          8032: if test ${lt_cv_sys_max_cmd_len+y}
        !          8033: then :
        !          8034:   printf %s "(cached) " >&6
        !          8035: else case e in #(
        !          8036:   e)   i=0
        !          8037:   teststring=ABCD
1.128     moko     8038: 
1.243   ! moko     8039:   case $build_os in
        !          8040:   msdosdjgpp*)
        !          8041:     # On DJGPP, this test can blow up pretty badly due to problems in libc
        !          8042:     # (any single argument exceeding 2000 bytes causes a buffer overrun
        !          8043:     # during glob expansion).  Even if it were fixed, the result of this
        !          8044:     # check would be larger than it should be.
        !          8045:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
        !          8046:     ;;
1.128     moko     8047: 
1.243   ! moko     8048:   gnu* | ironclad*)
        !          8049:     # Under GNU Hurd and Ironclad, this test is not required because there
        !          8050:     # is no limit to the length of command line arguments.
        !          8051:     # Libtool will interpret -1 as no limit whatsoever
        !          8052:     lt_cv_sys_max_cmd_len=-1;
        !          8053:     ;;
1.128     moko     8054: 
1.243   ! moko     8055:   cygwin* | mingw* | windows* | cegcc*)
        !          8056:     # On Win9x/ME, this test blows up -- it succeeds, but takes
        !          8057:     # about 5 minutes as the teststring grows exponentially.
        !          8058:     # Worse, since 9x/ME are not pre-emptively multitasking,
        !          8059:     # you end up with a "frozen" computer, even though with patience
        !          8060:     # the test eventually succeeds (with a max line length of 256k).
        !          8061:     # Instead, let's just punt: use the minimum linelength reported by
        !          8062:     # all of the supported platforms: 8192 (on NT/2K/XP).
        !          8063:     lt_cv_sys_max_cmd_len=8192;
        !          8064:     ;;
1.128     moko     8065: 
1.243   ! moko     8066:   mint*)
        !          8067:     # On MiNT this can take a long time and run out of memory.
        !          8068:     lt_cv_sys_max_cmd_len=8192;
        !          8069:     ;;
1.128     moko     8070: 
1.243   ! moko     8071:   amigaos*)
        !          8072:     # On AmigaOS with pdksh, this test takes hours, literally.
        !          8073:     # So we just punt and use a minimum line length of 8192.
        !          8074:     lt_cv_sys_max_cmd_len=8192;
        !          8075:     ;;
1.128     moko     8076: 
1.243   ! moko     8077:   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
        !          8078:     # This has been around since 386BSD, at least.  Likely further.
        !          8079:     if test -x /sbin/sysctl; then
        !          8080:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
        !          8081:     elif test -x /usr/sbin/sysctl; then
        !          8082:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
        !          8083:     else
        !          8084:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
        !          8085:     fi
        !          8086:     # And add a safety zone
        !          8087:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
        !          8088:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
        !          8089:     ;;
1.128     moko     8090: 
1.243   ! moko     8091:   interix*)
        !          8092:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
        !          8093:     lt_cv_sys_max_cmd_len=196608
        !          8094:     ;;
1.128     moko     8095: 
1.243   ! moko     8096:   os2*)
        !          8097:     # The test takes a long time on OS/2.
        !          8098:     lt_cv_sys_max_cmd_len=8192
        !          8099:     ;;
1.128     moko     8100: 
1.243   ! moko     8101:   osf*)
        !          8102:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
        !          8103:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
        !          8104:     # nice to cause kernel panics so lets avoid the loop below.
        !          8105:     # First set a reasonable default.
        !          8106:     lt_cv_sys_max_cmd_len=16384
        !          8107:     #
        !          8108:     if test -x /sbin/sysconfig; then
        !          8109:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
        !          8110:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
        !          8111:       esac
        !          8112:     fi
        !          8113:     ;;
        !          8114:   sco3.2v5*)
        !          8115:     lt_cv_sys_max_cmd_len=102400
1.128     moko     8116:     ;;
1.243   ! moko     8117:   sysv5* | sco5v6* | sysv4.2uw2*)
        !          8118:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
        !          8119:     if test -n "$kargmax"; then
        !          8120:       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[        ]//'`
        !          8121:     else
        !          8122:       lt_cv_sys_max_cmd_len=32768
        !          8123:     fi
1.128     moko     8124:     ;;
                   8125:   *)
1.243   ! moko     8126:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
        !          8127:     if test -n "$lt_cv_sys_max_cmd_len" && \
        !          8128:        test undefined != "$lt_cv_sys_max_cmd_len"; then
        !          8129:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
        !          8130:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
        !          8131:     else
        !          8132:       # Make teststring a little bigger before we do anything with it.
        !          8133:       # a 1K string should be a reasonable start.
        !          8134:       for i in 1 2 3 4 5 6 7 8; do
        !          8135:         teststring=$teststring$teststring
        !          8136:       done
        !          8137:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
        !          8138:       # If test is not a shell built-in, we'll probably end up computing a
        !          8139:       # maximum length that is only half of the actual maximum length, but
        !          8140:       # we can't tell.
        !          8141:       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
        !          8142:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
        !          8143:              test 17 != "$i" # 1/2 MB should be enough
        !          8144:       do
        !          8145:         i=`expr $i + 1`
        !          8146:         teststring=$teststring$teststring
        !          8147:       done
        !          8148:       # Only check the string length outside the loop.
        !          8149:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
        !          8150:       teststring=
        !          8151:       # Add a significant safety factor because C++ compilers can tack on
        !          8152:       # massive amounts of additional arguments before passing them to the
        !          8153:       # linker.  It appears as though 1/2 is a usable value.
        !          8154:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
        !          8155:     fi
1.128     moko     8156:     ;;
                   8157:   esac
1.243   ! moko     8158:  ;;
        !          8159: esac
        !          8160: fi
        !          8161: 
        !          8162: if test -n "$lt_cv_sys_max_cmd_len"; then
        !          8163:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
        !          8164: printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
        !          8165: else
        !          8166:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
        !          8167: printf "%s\n" "none" >&6; }
        !          8168: fi
        !          8169: max_cmd_len=$lt_cv_sys_max_cmd_len
        !          8170: 
        !          8171: 
        !          8172: 
        !          8173: 
        !          8174: 
        !          8175: 
        !          8176: : ${CP="cp -f"}
        !          8177: : ${MV="mv -f"}
        !          8178: : ${RM="rm -f"}
        !          8179: 
        !          8180: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
        !          8181:   lt_unset=unset
        !          8182: else
        !          8183:   lt_unset=false
        !          8184: fi
        !          8185: 
1.128     moko     8186: 
                   8187: 
                   8188: 
1.237     moko     8189: 
1.243   ! moko     8190: # test EBCDIC or ASCII
        !          8191: case `echo X|tr X '\101'` in
        !          8192:  A) # ASCII based system
        !          8193:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
        !          8194:   lt_SP2NL='tr \040 \012'
        !          8195:   lt_NL2SP='tr \015\012 \040\040'
1.128     moko     8196:   ;;
1.243   ! moko     8197:  *) # EBCDIC based system
        !          8198:   lt_SP2NL='tr \100 \n'
        !          8199:   lt_NL2SP='tr \r\n \100\100'
1.128     moko     8200:   ;;
1.243   ! moko     8201: esac
1.128     moko     8202: 
                   8203: 
                   8204: 
                   8205: 
                   8206: 
                   8207: 
1.237     moko     8208: 
1.128     moko     8209: 
                   8210: 
1.243   ! moko     8211: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
        !          8212: printf %s "checking how to convert $build file names to $host format... " >&6; }
        !          8213: if test ${lt_cv_to_host_file_cmd+y}
        !          8214: then :
        !          8215:   printf %s "(cached) " >&6
        !          8216: else case e in #(
        !          8217:   e) case $host in
        !          8218:   *-*-mingw* )
        !          8219:     case $build in
        !          8220:       *-*-mingw* | *-*-windows* ) # actually msys
        !          8221:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
        !          8222:         ;;
        !          8223:       *-*-cygwin* )
        !          8224:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
        !          8225:         ;;
        !          8226:       * ) # otherwise, assume *nix
        !          8227:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
        !          8228:         ;;
        !          8229:     esac
1.128     moko     8230:     ;;
1.243   ! moko     8231:   *-*-cygwin* )
        !          8232:     case $build in
        !          8233:       *-*-mingw* | *-*-windows* ) # actually msys
        !          8234:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
        !          8235:         ;;
        !          8236:       *-*-cygwin* )
        !          8237:         lt_cv_to_host_file_cmd=func_convert_file_noop
        !          8238:         ;;
        !          8239:       * ) # otherwise, assume *nix
        !          8240:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
        !          8241:         ;;
        !          8242:     esac
1.128     moko     8243:     ;;
1.243   ! moko     8244:   * ) # unhandled hosts (and "normal" native builds)
        !          8245:     lt_cv_to_host_file_cmd=func_convert_file_noop
1.128     moko     8246:     ;;
1.237     moko     8247: esac
                   8248:  ;;
1.128     moko     8249: esac
                   8250: fi
                   8251: 
1.243   ! moko     8252: to_host_file_cmd=$lt_cv_to_host_file_cmd
        !          8253: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
        !          8254: printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     8255: 
                   8256: 
                   8257: 
                   8258: 
                   8259: 
1.243   ! moko     8260: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
        !          8261: printf %s "checking how to convert $build file names to toolchain format... " >&6; }
        !          8262: if test ${lt_cv_to_tool_file_cmd+y}
        !          8263: then :
        !          8264:   printf %s "(cached) " >&6
        !          8265: else case e in #(
        !          8266:   e) #assume ordinary cross tools, or native build.
        !          8267: lt_cv_to_tool_file_cmd=func_convert_file_noop
        !          8268: case $host in
        !          8269:   *-*-mingw* | *-*-windows* )
        !          8270:     case $build in
        !          8271:       *-*-mingw* | *-*-windows* ) # actually msys
        !          8272:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
        !          8273:         ;;
        !          8274:     esac
        !          8275:     ;;
        !          8276: esac
        !          8277:  ;;
        !          8278: esac
        !          8279: fi
1.128     moko     8280: 
1.243   ! moko     8281: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
        !          8282: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
        !          8283: printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     8284: 
                   8285: 
                   8286: 
                   8287: 
                   8288: 
1.243   ! moko     8289: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
        !          8290: printf %s "checking for $LD option to reload object files... " >&6; }
        !          8291: if test ${lt_cv_ld_reload_flag+y}
        !          8292: then :
        !          8293:   printf %s "(cached) " >&6
        !          8294: else case e in #(
        !          8295:   e) lt_cv_ld_reload_flag='-r' ;;
        !          8296: esac
        !          8297: fi
        !          8298: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
        !          8299: printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
        !          8300: reload_flag=$lt_cv_ld_reload_flag
        !          8301: case $reload_flag in
        !          8302: "" | " "*) ;;
        !          8303: *) reload_flag=" $reload_flag" ;;
        !          8304: esac
        !          8305: reload_cmds='$LD$reload_flag -o $output$reload_objs'
        !          8306: case $host_os in
        !          8307:   cygwin* | mingw* | windows* | pw32* | cegcc*)
        !          8308:     if test yes != "$GCC"; then
        !          8309:       reload_cmds=false
        !          8310:     fi
        !          8311:     ;;
        !          8312:   darwin*)
        !          8313:     if test yes = "$GCC"; then
        !          8314:       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
        !          8315:     else
        !          8316:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
        !          8317:     fi
        !          8318:     ;;
        !          8319: esac
1.128     moko     8320: 
                   8321: 
                   8322: 
                   8323: 
                   8324: 
                   8325: 
                   8326: 
                   8327: 
                   8328: 
1.243   ! moko     8329: # Extract the first word of "file", so it can be a program name with args.
        !          8330: set dummy file; ac_word=$2
1.237     moko     8331: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8332: printf %s "checking for $ac_word... " >&6; }
1.243   ! moko     8333: if test ${ac_cv_prog_FILECMD+y}
1.237     moko     8334: then :
                   8335:   printf %s "(cached) " >&6
                   8336: else case e in #(
1.243   ! moko     8337:   e) if test -n "$FILECMD"; then
        !          8338:   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
1.128     moko     8339: else
                   8340: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8341: for as_dir in $PATH
                   8342: do
                   8343:   IFS=$as_save_IFS
1.237     moko     8344:   case $as_dir in #(((
                   8345:     '') as_dir=./ ;;
                   8346:     */) ;;
                   8347:     *) as_dir=$as_dir/ ;;
                   8348:   esac
1.150     moko     8349:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     8350:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243   ! moko     8351:     ac_cv_prog_FILECMD="file"
1.237     moko     8352:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     8353:     break 2
                   8354:   fi
                   8355: done
1.150     moko     8356:   done
                   8357: IFS=$as_save_IFS
1.128     moko     8358: 
1.243   ! moko     8359:   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
1.237     moko     8360: fi ;;
                   8361: esac
1.128     moko     8362: fi
1.243   ! moko     8363: FILECMD=$ac_cv_prog_FILECMD
        !          8364: if test -n "$FILECMD"; then
        !          8365:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
        !          8366: printf "%s\n" "$FILECMD" >&6; }
1.128     moko     8367: else
1.237     moko     8368:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8369: printf "%s\n" "no" >&6; }
1.128     moko     8370: fi
                   8371: 
1.150     moko     8372: 
1.243   ! moko     8373: 
        !          8374: 
        !          8375: 
        !          8376: 
        !          8377: 
        !          8378: 
        !          8379: if test -n "$ac_tool_prefix"; then
        !          8380:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
        !          8381: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.237     moko     8382: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8383: printf %s "checking for $ac_word... " >&6; }
1.243   ! moko     8384: if test ${ac_cv_prog_OBJDUMP+y}
1.237     moko     8385: then :
                   8386:   printf %s "(cached) " >&6
                   8387: else case e in #(
1.243   ! moko     8388:   e) if test -n "$OBJDUMP"; then
        !          8389:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
1.128     moko     8390: else
                   8391: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8392: for as_dir in $PATH
                   8393: do
                   8394:   IFS=$as_save_IFS
1.237     moko     8395:   case $as_dir in #(((
                   8396:     '') as_dir=./ ;;
                   8397:     */) ;;
                   8398:     *) as_dir=$as_dir/ ;;
                   8399:   esac
1.150     moko     8400:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     8401:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243   ! moko     8402:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.237     moko     8403:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     8404:     break 2
                   8405:   fi
                   8406: done
1.150     moko     8407:   done
                   8408: IFS=$as_save_IFS
1.128     moko     8409: 
1.237     moko     8410: fi ;;
                   8411: esac
1.128     moko     8412: fi
1.243   ! moko     8413: OBJDUMP=$ac_cv_prog_OBJDUMP
        !          8414: if test -n "$OBJDUMP"; then
        !          8415:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
        !          8416: printf "%s\n" "$OBJDUMP" >&6; }
1.128     moko     8417: else
1.237     moko     8418:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8419: printf "%s\n" "no" >&6; }
1.128     moko     8420: fi
                   8421: 
                   8422: 
                   8423: fi
1.243   ! moko     8424: if test -z "$ac_cv_prog_OBJDUMP"; then
        !          8425:   ac_ct_OBJDUMP=$OBJDUMP
        !          8426:   # Extract the first word of "objdump", so it can be a program name with args.
        !          8427: set dummy objdump; ac_word=$2
1.237     moko     8428: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8429: printf %s "checking for $ac_word... " >&6; }
1.243   ! moko     8430: if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
1.237     moko     8431: then :
                   8432:   printf %s "(cached) " >&6
                   8433: else case e in #(
1.243   ! moko     8434:   e) if test -n "$ac_ct_OBJDUMP"; then
        !          8435:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
1.237     moko     8436: else
                   8437: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8438: for as_dir in $PATH
                   8439: do
                   8440:   IFS=$as_save_IFS
                   8441:   case $as_dir in #(((
                   8442:     '') as_dir=./ ;;
                   8443:     */) ;;
                   8444:     *) as_dir=$as_dir/ ;;
                   8445:   esac
                   8446:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8447:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243   ! moko     8448:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.237     moko     8449:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   8450:     break 2
                   8451:   fi
                   8452: done
                   8453:   done
                   8454: IFS=$as_save_IFS
                   8455: 
                   8456: fi ;;
                   8457: esac
                   8458: fi
1.243   ! moko     8459: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
        !          8460: if test -n "$ac_ct_OBJDUMP"; then
        !          8461:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
        !          8462: printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
1.237     moko     8463: else
                   8464:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8465: printf "%s\n" "no" >&6; }
                   8466: fi
                   8467: 
1.243   ! moko     8468:   if test "x$ac_ct_OBJDUMP" = x; then
        !          8469:     OBJDUMP="false"
1.237     moko     8470:   else
                   8471:     case $cross_compiling:$ac_tool_warned in
                   8472: yes:)
                   8473: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8474: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8475: ac_tool_warned=yes ;;
                   8476: esac
1.243   ! moko     8477:     OBJDUMP=$ac_ct_OBJDUMP
1.237     moko     8478:   fi
                   8479: else
1.243   ! moko     8480:   OBJDUMP="$ac_cv_prog_OBJDUMP"
1.237     moko     8481: fi
                   8482: 
1.243   ! moko     8483: test -z "$OBJDUMP" && OBJDUMP=objdump
        !          8484: 
        !          8485: 
        !          8486: 
        !          8487: 
        !          8488: 
        !          8489: 
        !          8490: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
        !          8491: printf %s "checking how to recognize dependent libraries... " >&6; }
        !          8492: if test ${lt_cv_deplibs_check_method+y}
1.237     moko     8493: then :
                   8494:   printf %s "(cached) " >&6
                   8495: else case e in #(
1.243   ! moko     8496:   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
        !          8497: lt_cv_file_magic_test_file=
        !          8498: lt_cv_deplibs_check_method='unknown'
        !          8499: # Need to set the preceding variable on all platforms that support
        !          8500: # interlibrary dependencies.
        !          8501: # 'none' -- dependencies not supported.
        !          8502: # 'unknown' -- same as none, but documents that we really don't know.
        !          8503: # 'pass_all' -- all dependencies passed with no checks.
        !          8504: # 'file_magic [[regex]]' -- check by looking for files in library path
        !          8505: # that responds to the $file_magic_cmd with a given extended regex.
        !          8506: # If you have 'file' or equivalent on your system and you're not sure
        !          8507: # whether 'pass_all' will *always* work, you probably want this one.
        !          8508: 
        !          8509: case $host_os in
        !          8510: aix[4-9]*)
        !          8511:   lt_cv_deplibs_check_method=pass_all
        !          8512:   ;;
        !          8513: 
        !          8514: beos*)
        !          8515:   lt_cv_deplibs_check_method=pass_all
        !          8516:   ;;
        !          8517: 
        !          8518: bsdi[45]*)
        !          8519:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
        !          8520:   lt_cv_file_magic_cmd='$FILECMD -L'
        !          8521:   lt_cv_file_magic_test_file=/shlib/libc.so
        !          8522:   ;;
        !          8523: 
        !          8524: cygwin*)
        !          8525:   # func_win32_libid is a shell function defined in ltmain.sh
        !          8526:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
        !          8527:   lt_cv_file_magic_cmd='func_win32_libid'
        !          8528:   ;;
        !          8529: 
        !          8530: mingw* | windows* | pw32*)
        !          8531:   # Base MSYS/MinGW do not provide the 'file' command needed by
        !          8532:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
        !          8533:   # unless we find 'file', for example because we are cross-compiling.
        !          8534:   if ( file / ) >/dev/null 2>&1; then
        !          8535:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
        !          8536:     lt_cv_file_magic_cmd='func_win32_libid'
        !          8537:   else
        !          8538:     # Keep this pattern in sync with the one in func_win32_libid.
        !          8539:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
        !          8540:     lt_cv_file_magic_cmd='$OBJDUMP -f'
1.128     moko     8541:   fi
1.243   ! moko     8542:   ;;
1.128     moko     8543: 
1.243   ! moko     8544: cegcc*)
        !          8545:   # use the weaker test based on 'objdump'. See mingw*.
        !          8546:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
        !          8547:   lt_cv_file_magic_cmd='$OBJDUMP -f'
        !          8548:   ;;
1.128     moko     8549: 
1.243   ! moko     8550: darwin* | rhapsody*)
        !          8551:   lt_cv_deplibs_check_method=pass_all
        !          8552:   ;;
1.150     moko     8553: 
1.243   ! moko     8554: freebsd* | dragonfly* | midnightbsd*)
        !          8555:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
        !          8556:     case $host_cpu in
        !          8557:     i*86 )
        !          8558:       # Not sure whether the presence of OpenBSD here was a mistake.
        !          8559:       # Let's accept both of them until this is cleared up.
        !          8560:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
        !          8561:       lt_cv_file_magic_cmd=$FILECMD
        !          8562:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
        !          8563:       ;;
        !          8564:     esac
        !          8565:   else
        !          8566:     lt_cv_deplibs_check_method=pass_all
        !          8567:   fi
        !          8568:   ;;
        !          8569: 
        !          8570: haiku*)
        !          8571:   lt_cv_deplibs_check_method=pass_all
        !          8572:   ;;
        !          8573: 
        !          8574: hpux10.20* | hpux11*)
        !          8575:   lt_cv_file_magic_cmd=$FILECMD
        !          8576:   case $host_cpu in
        !          8577:   ia64*)
        !          8578:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
        !          8579:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
        !          8580:     ;;
        !          8581:   hppa*64*)
        !          8582:     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]'
        !          8583:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
        !          8584:     ;;
        !          8585:   *)
        !          8586:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
        !          8587:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
        !          8588:     ;;
        !          8589:   esac
        !          8590:   ;;
        !          8591: 
        !          8592: interix[3-9]*)
        !          8593:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
        !          8594:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
        !          8595:   ;;
        !          8596: 
        !          8597: irix5* | irix6* | nonstopux*)
        !          8598:   case $LD in
        !          8599:   *-32|*"-32 ") libmagic=32-bit;;
        !          8600:   *-n32|*"-n32 ") libmagic=N32;;
        !          8601:   *-64|*"-64 ") libmagic=64-bit;;
        !          8602:   *) libmagic=never-match;;
        !          8603:   esac
        !          8604:   lt_cv_deplibs_check_method=pass_all
        !          8605:   ;;
        !          8606: 
        !          8607: # This must be glibc/ELF.
        !          8608: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
        !          8609:   lt_cv_deplibs_check_method=pass_all
        !          8610:   ;;
        !          8611: 
        !          8612: *-mlibc)
        !          8613:   lt_cv_deplibs_check_method=pass_all
        !          8614:   ;;
        !          8615: 
        !          8616: netbsd* | netbsdelf*-gnu)
        !          8617:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
        !          8618:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
        !          8619:   else
        !          8620:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
        !          8621:   fi
        !          8622:   ;;
        !          8623: 
        !          8624: newos6*)
        !          8625:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
        !          8626:   lt_cv_file_magic_cmd=$FILECMD
        !          8627:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
        !          8628:   ;;
        !          8629: 
        !          8630: *nto* | *qnx*)
        !          8631:   lt_cv_deplibs_check_method=pass_all
        !          8632:   ;;
        !          8633: 
        !          8634: openbsd*)
        !          8635:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
        !          8636:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
        !          8637:   else
        !          8638:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
        !          8639:   fi
        !          8640:   ;;
        !          8641: 
        !          8642: osf3* | osf4* | osf5*)
        !          8643:   lt_cv_deplibs_check_method=pass_all
        !          8644:   ;;
        !          8645: 
        !          8646: rdos*)
        !          8647:   lt_cv_deplibs_check_method=pass_all
        !          8648:   ;;
        !          8649: 
        !          8650: serenity*)
        !          8651:   lt_cv_deplibs_check_method=pass_all
        !          8652:   ;;
        !          8653: 
        !          8654: solaris*)
        !          8655:   lt_cv_deplibs_check_method=pass_all
        !          8656:   ;;
        !          8657: 
        !          8658: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
        !          8659:   lt_cv_deplibs_check_method=pass_all
        !          8660:   ;;
        !          8661: 
        !          8662: sysv4 | sysv4.3*)
        !          8663:   case $host_vendor in
        !          8664:   motorola)
        !          8665:     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]'
        !          8666:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
        !          8667:     ;;
        !          8668:   ncr)
        !          8669:     lt_cv_deplibs_check_method=pass_all
        !          8670:     ;;
        !          8671:   sequent)
        !          8672:     lt_cv_file_magic_cmd='/bin/file'
        !          8673:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
        !          8674:     ;;
        !          8675:   sni)
        !          8676:     lt_cv_file_magic_cmd='/bin/file'
        !          8677:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
        !          8678:     lt_cv_file_magic_test_file=/lib/libc.so
        !          8679:     ;;
        !          8680:   siemens)
        !          8681:     lt_cv_deplibs_check_method=pass_all
        !          8682:     ;;
        !          8683:   pc)
        !          8684:     lt_cv_deplibs_check_method=pass_all
        !          8685:     ;;
        !          8686:   esac
        !          8687:   ;;
        !          8688: 
        !          8689: tpf*)
        !          8690:   lt_cv_deplibs_check_method=pass_all
        !          8691:   ;;
        !          8692: os2*)
        !          8693:   lt_cv_deplibs_check_method=pass_all
        !          8694:   ;;
        !          8695: esac
        !          8696:  ;;
        !          8697: esac
        !          8698: fi
        !          8699: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
        !          8700: printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
        !          8701: 
        !          8702: file_magic_glob=
        !          8703: want_nocaseglob=no
        !          8704: if test "$build" = "$host"; then
        !          8705:   case $host_os in
        !          8706:   mingw* | windows* | pw32*)
        !          8707:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
        !          8708:       want_nocaseglob=yes
        !          8709:     else
        !          8710:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
        !          8711:     fi
        !          8712:     ;;
        !          8713:   esac
1.128     moko     8714: fi
1.243   ! moko     8715: 
        !          8716: file_magic_cmd=$lt_cv_file_magic_cmd
        !          8717: deplibs_check_method=$lt_cv_deplibs_check_method
        !          8718: test -z "$deplibs_check_method" && deplibs_check_method=unknown
        !          8719: 
        !          8720: 
        !          8721: 
        !          8722: 
        !          8723: 
        !          8724: 
        !          8725: 
        !          8726: 
        !          8727: 
        !          8728: 
        !          8729: 
        !          8730: 
        !          8731: 
        !          8732: 
        !          8733: 
        !          8734: 
        !          8735: 
        !          8736: 
        !          8737: 
        !          8738: 
        !          8739: 
        !          8740: 
        !          8741: if test -n "$ac_tool_prefix"; then
        !          8742:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
        !          8743: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.237     moko     8744: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8745: printf %s "checking for $ac_word... " >&6; }
1.243   ! moko     8746: if test ${ac_cv_prog_DLLTOOL+y}
1.237     moko     8747: then :
                   8748:   printf %s "(cached) " >&6
                   8749: else case e in #(
1.243   ! moko     8750:   e) if test -n "$DLLTOOL"; then
        !          8751:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
1.128     moko     8752: else
                   8753: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8754: for as_dir in $PATH
                   8755: do
                   8756:   IFS=$as_save_IFS
1.237     moko     8757:   case $as_dir in #(((
                   8758:     '') as_dir=./ ;;
                   8759:     */) ;;
                   8760:     *) as_dir=$as_dir/ ;;
                   8761:   esac
1.150     moko     8762:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     8763:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243   ! moko     8764:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.237     moko     8765:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     8766:     break 2
                   8767:   fi
                   8768: done
1.150     moko     8769:   done
                   8770: IFS=$as_save_IFS
1.128     moko     8771: 
1.237     moko     8772: fi ;;
                   8773: esac
1.128     moko     8774: fi
1.243   ! moko     8775: DLLTOOL=$ac_cv_prog_DLLTOOL
        !          8776: if test -n "$DLLTOOL"; then
        !          8777:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
        !          8778: printf "%s\n" "$DLLTOOL" >&6; }
1.128     moko     8779: else
1.237     moko     8780:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8781: printf "%s\n" "no" >&6; }
1.128     moko     8782: fi
                   8783: 
1.150     moko     8784: 
1.243   ! moko     8785: fi
        !          8786: if test -z "$ac_cv_prog_DLLTOOL"; then
        !          8787:   ac_ct_DLLTOOL=$DLLTOOL
        !          8788:   # Extract the first word of "dlltool", so it can be a program name with args.
        !          8789: set dummy dlltool; ac_word=$2
        !          8790: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8791: printf %s "checking for $ac_word... " >&6; }
        !          8792: if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
        !          8793: then :
        !          8794:   printf %s "(cached) " >&6
        !          8795: else case e in #(
        !          8796:   e) if test -n "$ac_ct_DLLTOOL"; then
        !          8797:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
        !          8798: else
        !          8799: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8800: for as_dir in $PATH
        !          8801: do
        !          8802:   IFS=$as_save_IFS
        !          8803:   case $as_dir in #(((
        !          8804:     '') as_dir=./ ;;
        !          8805:     */) ;;
        !          8806:     *) as_dir=$as_dir/ ;;
        !          8807:   esac
        !          8808:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8809:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
        !          8810:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
        !          8811:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
        !          8812:     break 2
        !          8813:   fi
1.128     moko     8814: done
1.243   ! moko     8815:   done
        !          8816: IFS=$as_save_IFS
        !          8817: 
        !          8818: fi ;;
        !          8819: esac
        !          8820: fi
        !          8821: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
        !          8822: if test -n "$ac_ct_DLLTOOL"; then
        !          8823:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
        !          8824: printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
        !          8825: else
        !          8826:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8827: printf "%s\n" "no" >&6; }
        !          8828: fi
1.128     moko     8829: 
1.243   ! moko     8830:   if test "x$ac_ct_DLLTOOL" = x; then
        !          8831:     DLLTOOL="false"
1.150     moko     8832:   else
                   8833:     case $cross_compiling:$ac_tool_warned in
                   8834: yes:)
1.237     moko     8835: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8836: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     8837: ac_tool_warned=yes ;;
                   8838: esac
1.243   ! moko     8839:     DLLTOOL=$ac_ct_DLLTOOL
1.150     moko     8840:   fi
1.243   ! moko     8841: else
        !          8842:   DLLTOOL="$ac_cv_prog_DLLTOOL"
1.128     moko     8843: fi
                   8844: 
1.243   ! moko     8845: test -z "$DLLTOOL" && DLLTOOL=dlltool
1.128     moko     8846: 
                   8847: 
                   8848: 
                   8849: 
                   8850: 
                   8851: 
1.237     moko     8852: 
1.243   ! moko     8853: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
        !          8854: printf %s "checking how to associate runtime and link libraries... " >&6; }
        !          8855: if test ${lt_cv_sharedlib_from_linklib_cmd+y}
        !          8856: then :
        !          8857:   printf %s "(cached) " >&6
        !          8858: else case e in #(
        !          8859:   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
1.237     moko     8860: 
1.243   ! moko     8861: case $host_os in
        !          8862: cygwin* | mingw* | windows* | pw32* | cegcc*)
        !          8863:   # two different shell functions defined in ltmain.sh;
        !          8864:   # decide which one to use based on capabilities of $DLLTOOL
        !          8865:   case `$DLLTOOL --help 2>&1` in
        !          8866:   *--identify-strict*)
        !          8867:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
        !          8868:     ;;
        !          8869:   *)
        !          8870:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
        !          8871:     ;;
        !          8872:   esac
        !          8873:   ;;
        !          8874: *)
        !          8875:   # fallback: assume linklib IS sharedlib
        !          8876:   lt_cv_sharedlib_from_linklib_cmd=$ECHO
        !          8877:   ;;
        !          8878: esac
        !          8879:  ;;
        !          8880: esac
        !          8881: fi
        !          8882: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
        !          8883: printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
        !          8884: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
        !          8885: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
1.237     moko     8886: 
                   8887: 
                   8888: 
                   8889: 
                   8890: 
1.128     moko     8891: 
                   8892: 
1.243   ! moko     8893: if test -n "$ac_tool_prefix"; then
        !          8894:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
        !          8895: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
        !          8896: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8897: printf %s "checking for $ac_word... " >&6; }
        !          8898: if test ${ac_cv_prog_RANLIB+y}
        !          8899: then :
        !          8900:   printf %s "(cached) " >&6
        !          8901: else case e in #(
        !          8902:   e) if test -n "$RANLIB"; then
        !          8903:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
        !          8904: else
        !          8905: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8906: for as_dir in $PATH
        !          8907: do
        !          8908:   IFS=$as_save_IFS
        !          8909:   case $as_dir in #(((
        !          8910:     '') as_dir=./ ;;
        !          8911:     */) ;;
        !          8912:     *) as_dir=$as_dir/ ;;
        !          8913:   esac
        !          8914:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8915:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
        !          8916:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
        !          8917:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
        !          8918:     break 2
        !          8919:   fi
        !          8920: done
        !          8921:   done
        !          8922: IFS=$as_save_IFS
1.128     moko     8923: 
1.243   ! moko     8924: fi ;;
        !          8925: esac
        !          8926: fi
        !          8927: RANLIB=$ac_cv_prog_RANLIB
        !          8928: if test -n "$RANLIB"; then
        !          8929:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
        !          8930: printf "%s\n" "$RANLIB" >&6; }
        !          8931: else
        !          8932:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8933: printf "%s\n" "no" >&6; }
        !          8934: fi
1.128     moko     8935: 
                   8936: 
1.243   ! moko     8937: fi
        !          8938: if test -z "$ac_cv_prog_RANLIB"; then
        !          8939:   ac_ct_RANLIB=$RANLIB
        !          8940:   # Extract the first word of "ranlib", so it can be a program name with args.
        !          8941: set dummy ranlib; ac_word=$2
        !          8942: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8943: printf %s "checking for $ac_word... " >&6; }
        !          8944: if test ${ac_cv_prog_ac_ct_RANLIB+y}
1.237     moko     8945: then :
                   8946:   printf %s "(cached) " >&6
                   8947: else case e in #(
1.243   ! moko     8948:   e) if test -n "$ac_ct_RANLIB"; then
        !          8949:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
        !          8950: else
        !          8951: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8952: for as_dir in $PATH
        !          8953: do
        !          8954:   IFS=$as_save_IFS
        !          8955:   case $as_dir in #(((
        !          8956:     '') as_dir=./ ;;
        !          8957:     */) ;;
        !          8958:     *) as_dir=$as_dir/ ;;
        !          8959:   esac
        !          8960:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8961:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
        !          8962:     ac_cv_prog_ac_ct_RANLIB="ranlib"
        !          8963:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
        !          8964:     break 2
        !          8965:   fi
        !          8966: done
        !          8967:   done
        !          8968: IFS=$as_save_IFS
1.128     moko     8969: 
1.243   ! moko     8970: fi ;;
        !          8971: esac
1.128     moko     8972: fi
1.243   ! moko     8973: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
        !          8974: if test -n "$ac_ct_RANLIB"; then
        !          8975:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
        !          8976: printf "%s\n" "$ac_ct_RANLIB" >&6; }
        !          8977: else
        !          8978:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8979: printf "%s\n" "no" >&6; }
1.128     moko     8980: fi
                   8981: 
1.243   ! moko     8982:   if test "x$ac_ct_RANLIB" = x; then
        !          8983:     RANLIB=":"
        !          8984:   else
        !          8985:     case $cross_compiling:$ac_tool_warned in
        !          8986: yes:)
        !          8987: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8988: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8989: ac_tool_warned=yes ;;
        !          8990: esac
        !          8991:     RANLIB=$ac_ct_RANLIB
        !          8992:   fi
1.128     moko     8993: else
1.243   ! moko     8994:   RANLIB="$ac_cv_prog_RANLIB"
1.128     moko     8995: fi
                   8996: 
                   8997: if test -n "$ac_tool_prefix"; then
1.243   ! moko     8998:   for ac_prog in ar
        !          8999:   do
        !          9000:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          9001: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.237     moko     9002: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9003: printf %s "checking for $ac_word... " >&6; }
1.243   ! moko     9004: if test ${ac_cv_prog_AR+y}
1.237     moko     9005: then :
                   9006:   printf %s "(cached) " >&6
                   9007: else case e in #(
1.243   ! moko     9008:   e) if test -n "$AR"; then
        !          9009:   ac_cv_prog_AR="$AR" # Let the user override the test.
1.128     moko     9010: else
                   9011: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9012: for as_dir in $PATH
                   9013: do
                   9014:   IFS=$as_save_IFS
1.237     moko     9015:   case $as_dir in #(((
                   9016:     '') as_dir=./ ;;
                   9017:     */) ;;
                   9018:     *) as_dir=$as_dir/ ;;
                   9019:   esac
1.150     moko     9020:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     9021:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243   ! moko     9022:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.237     moko     9023:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     9024:     break 2
                   9025:   fi
                   9026: done
1.150     moko     9027:   done
                   9028: IFS=$as_save_IFS
1.128     moko     9029: 
1.237     moko     9030: fi ;;
                   9031: esac
1.128     moko     9032: fi
1.243   ! moko     9033: AR=$ac_cv_prog_AR
        !          9034: if test -n "$AR"; then
        !          9035:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
        !          9036: printf "%s\n" "$AR" >&6; }
1.128     moko     9037: else
1.237     moko     9038:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9039: printf "%s\n" "no" >&6; }
1.128     moko     9040: fi
                   9041: 
1.150     moko     9042: 
1.243   ! moko     9043:     test -n "$AR" && break
        !          9044:   done
1.128     moko     9045: fi
1.243   ! moko     9046: if test -z "$AR"; then
        !          9047:   ac_ct_AR=$AR
        !          9048:   for ac_prog in ar
        !          9049: do
        !          9050:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          9051: set dummy $ac_prog; ac_word=$2
1.237     moko     9052: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9053: printf %s "checking for $ac_word... " >&6; }
1.243   ! moko     9054: if test ${ac_cv_prog_ac_ct_AR+y}
1.237     moko     9055: then :
                   9056:   printf %s "(cached) " >&6
                   9057: else case e in #(
1.243   ! moko     9058:   e) if test -n "$ac_ct_AR"; then
        !          9059:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1.128     moko     9060: else
                   9061: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9062: for as_dir in $PATH
                   9063: do
                   9064:   IFS=$as_save_IFS
1.237     moko     9065:   case $as_dir in #(((
                   9066:     '') as_dir=./ ;;
                   9067:     */) ;;
                   9068:     *) as_dir=$as_dir/ ;;
                   9069:   esac
1.150     moko     9070:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     9071:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243   ! moko     9072:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.237     moko     9073:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     9074:     break 2
                   9075:   fi
                   9076: done
1.150     moko     9077:   done
                   9078: IFS=$as_save_IFS
1.128     moko     9079: 
1.237     moko     9080: fi ;;
                   9081: esac
1.128     moko     9082: fi
1.243   ! moko     9083: ac_ct_AR=$ac_cv_prog_ac_ct_AR
        !          9084: if test -n "$ac_ct_AR"; then
        !          9085:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
        !          9086: printf "%s\n" "$ac_ct_AR" >&6; }
1.128     moko     9087: else
1.237     moko     9088:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9089: printf "%s\n" "no" >&6; }
1.128     moko     9090: fi
                   9091: 
1.243   ! moko     9092: 
        !          9093:   test -n "$ac_ct_AR" && break
        !          9094: done
        !          9095: 
        !          9096:   if test "x$ac_ct_AR" = x; then
        !          9097:     AR="false"
1.150     moko     9098:   else
                   9099:     case $cross_compiling:$ac_tool_warned in
                   9100: yes:)
1.237     moko     9101: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9102: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     9103: ac_tool_warned=yes ;;
                   9104: esac
1.243   ! moko     9105:     AR=$ac_ct_AR
1.150     moko     9106:   fi
1.128     moko     9107: fi
                   9108: 
1.243   ! moko     9109: : ${AR=ar}
        !          9110: 
        !          9111: 
        !          9112: 
        !          9113: 
        !          9114: 
        !          9115: 
        !          9116: # Use ARFLAGS variable as AR's operation code to sync the variable naming with
        !          9117: # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
        !          9118: # higher priority because that's what people were doing historically (setting
        !          9119: # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
        !          9120: # variable obsoleted/removed.
        !          9121: 
        !          9122: test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
        !          9123: lt_ar_flags=$AR_FLAGS
        !          9124: 
        !          9125: 
        !          9126: 
        !          9127: 
        !          9128: 
        !          9129: 
        !          9130: # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
        !          9131: # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
        !          9132: 
        !          9133: 
        !          9134: 
        !          9135: 
        !          9136: 
        !          9137: 
        !          9138: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
        !          9139: printf %s "checking for archiver @FILE support... " >&6; }
        !          9140: if test ${lt_cv_ar_at_file+y}
        !          9141: then :
        !          9142:   printf %s "(cached) " >&6
        !          9143: else case e in #(
        !          9144:   e) lt_cv_ar_at_file=no
        !          9145:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          9146: /* end confdefs.h.  */
        !          9147: 
        !          9148: int
        !          9149: main (void)
        !          9150: {
        !          9151: 
        !          9152:   ;
        !          9153:   return 0;
        !          9154: }
        !          9155: _ACEOF
        !          9156: if ac_fn_c_try_compile "$LINENO"
        !          9157: then :
        !          9158:   echo conftest.$ac_objext > conftest.lst
        !          9159:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
        !          9160:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
        !          9161:   (eval $lt_ar_try) 2>&5
        !          9162:   ac_status=$?
        !          9163:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          9164:   test $ac_status = 0; }
        !          9165:       if test 0 -eq "$ac_status"; then
        !          9166:        # Ensure the archiver fails upon bogus file names.
        !          9167:        rm -f conftest.$ac_objext libconftest.a
        !          9168:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
        !          9169:   (eval $lt_ar_try) 2>&5
        !          9170:   ac_status=$?
        !          9171:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          9172:   test $ac_status = 0; }
        !          9173:        if test 0 -ne "$ac_status"; then
        !          9174:           lt_cv_ar_at_file=@
        !          9175:         fi
        !          9176:       fi
        !          9177:       rm -f conftest.* libconftest.a
        !          9178: 
        !          9179: fi
        !          9180: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          9181:    ;;
        !          9182: esac
        !          9183: fi
        !          9184: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
        !          9185: printf "%s\n" "$lt_cv_ar_at_file" >&6; }
        !          9186: 
        !          9187: if test no = "$lt_cv_ar_at_file"; then
        !          9188:   archiver_list_spec=
        !          9189: else
        !          9190:   archiver_list_spec=$lt_cv_ar_at_file
        !          9191: fi
        !          9192: 
        !          9193: 
        !          9194: 
        !          9195: 
        !          9196: 
        !          9197: 
        !          9198: 
        !          9199: if test -n "$ac_tool_prefix"; then
        !          9200:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
        !          9201: set dummy ${ac_tool_prefix}strip; ac_word=$2
        !          9202: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          9203: printf %s "checking for $ac_word... " >&6; }
        !          9204: if test ${ac_cv_prog_STRIP+y}
        !          9205: then :
        !          9206:   printf %s "(cached) " >&6
        !          9207: else case e in #(
        !          9208:   e) if test -n "$STRIP"; then
        !          9209:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
        !          9210: else
        !          9211: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          9212: for as_dir in $PATH
        !          9213: do
        !          9214:   IFS=$as_save_IFS
        !          9215:   case $as_dir in #(((
        !          9216:     '') as_dir=./ ;;
        !          9217:     */) ;;
        !          9218:     *) as_dir=$as_dir/ ;;
        !          9219:   esac
        !          9220:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9221:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
        !          9222:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
        !          9223:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
        !          9224:     break 2
        !          9225:   fi
        !          9226: done
        !          9227:   done
        !          9228: IFS=$as_save_IFS
        !          9229: 
        !          9230: fi ;;
        !          9231: esac
        !          9232: fi
        !          9233: STRIP=$ac_cv_prog_STRIP
        !          9234: if test -n "$STRIP"; then
        !          9235:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
        !          9236: printf "%s\n" "$STRIP" >&6; }
        !          9237: else
        !          9238:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9239: printf "%s\n" "no" >&6; }
        !          9240: fi
        !          9241: 
        !          9242: 
        !          9243: fi
        !          9244: if test -z "$ac_cv_prog_STRIP"; then
        !          9245:   ac_ct_STRIP=$STRIP
        !          9246:   # Extract the first word of "strip", so it can be a program name with args.
        !          9247: set dummy strip; ac_word=$2
        !          9248: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          9249: printf %s "checking for $ac_word... " >&6; }
        !          9250: if test ${ac_cv_prog_ac_ct_STRIP+y}
        !          9251: then :
        !          9252:   printf %s "(cached) " >&6
        !          9253: else case e in #(
        !          9254:   e) if test -n "$ac_ct_STRIP"; then
        !          9255:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
        !          9256: else
        !          9257: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          9258: for as_dir in $PATH
        !          9259: do
        !          9260:   IFS=$as_save_IFS
        !          9261:   case $as_dir in #(((
        !          9262:     '') as_dir=./ ;;
        !          9263:     */) ;;
        !          9264:     *) as_dir=$as_dir/ ;;
        !          9265:   esac
        !          9266:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9267:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
        !          9268:     ac_cv_prog_ac_ct_STRIP="strip"
        !          9269:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
        !          9270:     break 2
        !          9271:   fi
        !          9272: done
        !          9273:   done
        !          9274: IFS=$as_save_IFS
        !          9275: 
        !          9276: fi ;;
        !          9277: esac
        !          9278: fi
        !          9279: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
        !          9280: if test -n "$ac_ct_STRIP"; then
        !          9281:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
        !          9282: printf "%s\n" "$ac_ct_STRIP" >&6; }
        !          9283: else
        !          9284:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9285: printf "%s\n" "no" >&6; }
        !          9286: fi
        !          9287: 
        !          9288:   if test "x$ac_ct_STRIP" = x; then
        !          9289:     STRIP=":"
        !          9290:   else
        !          9291:     case $cross_compiling:$ac_tool_warned in
        !          9292: yes:)
        !          9293: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          9294: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          9295: ac_tool_warned=yes ;;
        !          9296: esac
        !          9297:     STRIP=$ac_ct_STRIP
        !          9298:   fi
        !          9299: else
        !          9300:   STRIP="$ac_cv_prog_STRIP"
        !          9301: fi
        !          9302: 
        !          9303: test -z "$STRIP" && STRIP=:
1.128     moko     9304: 
                   9305: 
                   9306: 
                   9307: 
                   9308: 
                   9309: 
                   9310: 
                   9311: test -z "$RANLIB" && RANLIB=:
                   9312: 
                   9313: 
                   9314: 
                   9315: 
                   9316: 
                   9317: 
                   9318: # Determine commands to create old-style static archives.
                   9319: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   9320: old_postinstall_cmds='chmod 644 $oldlib'
                   9321: old_postuninstall_cmds=
                   9322: 
                   9323: if test -n "$RANLIB"; then
                   9324:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.237     moko     9325:   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.128     moko     9326: fi
                   9327: 
                   9328: case $host_os in
                   9329:   darwin*)
                   9330:     lock_old_archive_extraction=yes ;;
                   9331:   *)
                   9332:     lock_old_archive_extraction=no ;;
                   9333: esac
                   9334: 
                   9335: 
                   9336: 
                   9337: 
                   9338: 
                   9339: 
                   9340: 
                   9341: 
                   9342: 
                   9343: 
                   9344: 
                   9345: 
                   9346: 
                   9347: 
                   9348: 
                   9349: 
                   9350: 
                   9351: 
                   9352: 
                   9353: 
                   9354: 
                   9355: 
                   9356: 
                   9357: 
                   9358: 
                   9359: 
                   9360: 
                   9361: 
                   9362: 
                   9363: 
                   9364: 
                   9365: 
                   9366: 
                   9367: 
                   9368: 
                   9369: 
                   9370: 
                   9371: 
                   9372: 
                   9373: # If no C compiler was specified, use CC.
                   9374: LTCC=${LTCC-"$CC"}
                   9375: 
                   9376: # If no C compiler flags were specified, use CFLAGS.
                   9377: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9378: 
                   9379: # Allow CC to be a program name with arguments.
                   9380: compiler=$CC
                   9381: 
                   9382: 
                   9383: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.237     moko     9384: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   9385: printf %s "checking command to parse $NM output from $compiler object... " >&6; }
                   9386: if test ${lt_cv_sys_global_symbol_pipe+y}
                   9387: then :
                   9388:   printf %s "(cached) " >&6
                   9389: else case e in #(
                   9390:   e)
1.128     moko     9391: # These are sane defaults that work on at least a few old systems.
                   9392: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   9393: 
                   9394: # Character class describing NM global symbol codes.
                   9395: symcode='[BCDEGRST]'
                   9396: 
                   9397: # Regexp to match symbols that can be accessed directly from C.
                   9398: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   9399: 
                   9400: # Define system-specific variables.
                   9401: case $host_os in
                   9402: aix*)
                   9403:   symcode='[BCDT]'
                   9404:   ;;
1.237     moko     9405: cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     9406:   symcode='[ABCDGISTW]'
                   9407:   ;;
                   9408: hpux*)
1.237     moko     9409:   if test ia64 = "$host_cpu"; then
1.128     moko     9410:     symcode='[ABCDEGRST]'
                   9411:   fi
                   9412:   ;;
                   9413: irix* | nonstopux*)
                   9414:   symcode='[BCDEGRST]'
                   9415:   ;;
                   9416: osf*)
                   9417:   symcode='[BCDEGQRST]'
                   9418:   ;;
                   9419: solaris*)
1.237     moko     9420:   symcode='[BCDRT]'
1.128     moko     9421:   ;;
                   9422: sco3.2v5*)
                   9423:   symcode='[DT]'
                   9424:   ;;
                   9425: sysv4.2uw2*)
                   9426:   symcode='[DT]'
                   9427:   ;;
                   9428: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   9429:   symcode='[ABDT]'
                   9430:   ;;
                   9431: sysv4)
                   9432:   symcode='[DFNSTU]'
                   9433:   ;;
                   9434: esac
                   9435: 
                   9436: # If we're using GNU nm, then use its standard symbol codes.
                   9437: case `$NM -V 2>&1` in
                   9438: *GNU* | *'with BFD'*)
                   9439:   symcode='[ABCDGIRSTW]' ;;
                   9440: esac
                   9441: 
1.237     moko     9442: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   9443:   # Gets list of data symbols to import.
                   9444:   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
                   9445:   # Adjust the below global symbol transforms to fixup imported variables.
                   9446:   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
                   9447:   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
                   9448:   lt_c_name_lib_hook="\
                   9449:   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
                   9450:   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
                   9451: else
                   9452:   # Disable hooks by default.
                   9453:   lt_cv_sys_global_symbol_to_import=
                   9454:   lt_cdecl_hook=
                   9455:   lt_c_name_hook=
                   9456:   lt_c_name_lib_hook=
                   9457: fi
                   9458: 
1.128     moko     9459: # Transform an extracted symbol line into a proper C declaration.
                   9460: # Some systems (esp. on ia64) link data and code symbols differently,
                   9461: # so use this general approach.
1.237     moko     9462: lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
                   9463: $lt_cdecl_hook\
                   9464: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
                   9465: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
1.128     moko     9466: 
                   9467: # Transform an extracted symbol line into symbol name and symbol address
1.237     moko     9468: lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
                   9469: $lt_c_name_hook\
                   9470: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
                   9471: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
                   9472: 
                   9473: # Transform an extracted symbol line into symbol name with lib prefix and
                   9474: # symbol address.
                   9475: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
                   9476: $lt_c_name_lib_hook\
                   9477: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
                   9478: " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
                   9479: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
1.128     moko     9480: 
                   9481: # Handle CRLF in mingw tool chain
                   9482: opt_cr=
                   9483: case $build_os in
1.237     moko     9484: mingw* | windows*)
1.128     moko     9485:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   9486:   ;;
                   9487: esac
                   9488: 
                   9489: # Try without a prefix underscore, then with it.
                   9490: for ac_symprfx in "" "_"; do
                   9491: 
                   9492:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   9493:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   9494: 
                   9495:   # Write the raw and C identifiers.
                   9496:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
1.237     moko     9497:     # Fake it for dumpbin and say T for any non-static function,
                   9498:     # D for any global variable and I for any imported variable.
                   9499:     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
1.128     moko     9500:     # which start with @ or ?.
                   9501:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   9502: "     {last_section=section; section=\$ 3};"\
                   9503: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   9504: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
1.237     moko     9505: "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
                   9506: "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
                   9507: "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
1.128     moko     9508: "     \$ 0!~/External *\|/{next};"\
                   9509: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   9510: "     {if(hide[section]) next};"\
1.237     moko     9511: "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
                   9512: "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
                   9513: "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
                   9514: "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
1.128     moko     9515: "     ' prfx=^$ac_symprfx"
                   9516:   else
1.237     moko     9517:     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
1.128     moko     9518:   fi
1.237     moko     9519:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
1.128     moko     9520: 
                   9521:   # Check to see that the pipe works correctly.
                   9522:   pipe_works=no
                   9523: 
                   9524:   rm -f conftest*
                   9525:   cat > conftest.$ac_ext <<_LT_EOF
                   9526: #ifdef __cplusplus
                   9527: extern "C" {
                   9528: #endif
                   9529: char nm_test_var;
                   9530: void nm_test_func(void);
                   9531: void nm_test_func(void){}
                   9532: #ifdef __cplusplus
                   9533: }
                   9534: #endif
1.237     moko     9535: int main(void){nm_test_var='a';nm_test_func();return(0);}
1.128     moko     9536: _LT_EOF
                   9537: 
1.150     moko     9538:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     9539:   (eval $ac_compile) 2>&5
                   9540:   ac_status=$?
1.237     moko     9541:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     9542:   test $ac_status = 0; }; then
1.128     moko     9543:     # Now try to grab the symbols.
                   9544:     nlist=conftest.nm
1.237     moko     9545:     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
                   9546:     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
1.128     moko     9547:       # Try sorting and uniquifying the output.
                   9548:       if sort "$nlist" | uniq > "$nlist"T; then
                   9549:        mv -f "$nlist"T "$nlist"
                   9550:       else
                   9551:        rm -f "$nlist"T
                   9552:       fi
                   9553: 
                   9554:       # Make sure that we snagged all the symbols we need.
                   9555:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   9556:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   9557:          cat <<_LT_EOF > conftest.$ac_ext
                   9558: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
1.237     moko     9559: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
                   9560: /* DATA imports from DLLs on WIN32 can't be const, because runtime
1.128     moko     9561:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   9562: # define LT_DLSYM_CONST
1.237     moko     9563: #elif defined __osf__
1.128     moko     9564: /* This system does not cope well with relocations in const data.  */
                   9565: # define LT_DLSYM_CONST
                   9566: #else
                   9567: # define LT_DLSYM_CONST const
                   9568: #endif
                   9569: 
                   9570: #ifdef __cplusplus
                   9571: extern "C" {
                   9572: #endif
                   9573: 
                   9574: _LT_EOF
                   9575:          # Now generate the symbol file.
                   9576:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   9577: 
                   9578:          cat <<_LT_EOF >> conftest.$ac_ext
                   9579: 
                   9580: /* The mapping between symbol names and symbols.  */
                   9581: LT_DLSYM_CONST struct {
                   9582:   const char *name;
                   9583:   void       *address;
                   9584: }
                   9585: lt__PROGRAM__LTX_preloaded_symbols[] =
                   9586: {
                   9587:   { "@PROGRAM@", (void *) 0 },
                   9588: _LT_EOF
1.237     moko     9589:          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
1.128     moko     9590:          cat <<\_LT_EOF >> conftest.$ac_ext
                   9591:   {0, (void *) 0}
                   9592: };
                   9593: 
                   9594: /* This works around a problem in FreeBSD linker */
                   9595: #ifdef FREEBSD_WORKAROUND
                   9596: static const void *lt_preloaded_setup() {
                   9597:   return lt__PROGRAM__LTX_preloaded_symbols;
                   9598: }
                   9599: #endif
                   9600: 
                   9601: #ifdef __cplusplus
                   9602: }
                   9603: #endif
                   9604: _LT_EOF
                   9605:          # Now try linking the two files.
                   9606:          mv conftest.$ac_objext conftstm.$ac_objext
                   9607:          lt_globsym_save_LIBS=$LIBS
                   9608:          lt_globsym_save_CFLAGS=$CFLAGS
1.237     moko     9609:          LIBS=conftstm.$ac_objext
1.128     moko     9610:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150     moko     9611:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     9612:   (eval $ac_link) 2>&5
                   9613:   ac_status=$?
1.237     moko     9614:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9615:   test $ac_status = 0; } && test -s conftest$ac_exeext; then
1.128     moko     9616:            pipe_works=yes
                   9617:          fi
                   9618:          LIBS=$lt_globsym_save_LIBS
                   9619:          CFLAGS=$lt_globsym_save_CFLAGS
                   9620:        else
                   9621:          echo "cannot find nm_test_func in $nlist" >&5
                   9622:        fi
                   9623:       else
                   9624:        echo "cannot find nm_test_var in $nlist" >&5
                   9625:       fi
                   9626:     else
                   9627:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   9628:     fi
                   9629:   else
                   9630:     echo "$progname: failed program was:" >&5
                   9631:     cat conftest.$ac_ext >&5
                   9632:   fi
                   9633:   rm -rf conftest* conftst*
                   9634: 
                   9635:   # Do not use the global_symbol_pipe unless it works.
1.237     moko     9636:   if test yes = "$pipe_works"; then
1.128     moko     9637:     break
                   9638:   else
                   9639:     lt_cv_sys_global_symbol_pipe=
                   9640:   fi
                   9641: done
1.237     moko     9642:  ;;
                   9643: esac
1.128     moko     9644: fi
                   9645: 
                   9646: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   9647:   lt_cv_sys_global_symbol_to_cdecl=
                   9648: fi
                   9649: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.237     moko     9650:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   9651: printf "%s\n" "failed" >&6; }
1.128     moko     9652: else
1.237     moko     9653:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   9654: printf "%s\n" "ok" >&6; }
1.128     moko     9655: fi
                   9656: 
                   9657: # Response file support.
                   9658: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   9659:   nm_file_list_spec='@'
                   9660: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   9661:   nm_file_list_spec='@'
                   9662: fi
                   9663: 
                   9664: 
                   9665: 
                   9666: 
                   9667: 
                   9668: 
                   9669: 
                   9670: 
                   9671: 
                   9672: 
                   9673: 
                   9674: 
                   9675: 
                   9676: 
                   9677: 
                   9678: 
                   9679: 
                   9680: 
                   9681: 
                   9682: 
                   9683: 
                   9684: 
                   9685: 
                   9686: 
                   9687: 
                   9688: 
                   9689: 
1.237     moko     9690: 
                   9691: 
                   9692: 
                   9693: 
                   9694: 
                   9695: 
                   9696: 
                   9697: 
                   9698: 
                   9699: 
                   9700: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   9701: printf %s "checking for sysroot... " >&6; }
1.128     moko     9702: 
1.150     moko     9703: # Check whether --with-sysroot was given.
1.237     moko     9704: if test ${with_sysroot+y}
                   9705: then :
1.150     moko     9706:   withval=$with_sysroot;
1.237     moko     9707: else case e in #(
                   9708:   e) with_sysroot=no ;;
                   9709: esac
1.150     moko     9710: fi
                   9711: 
1.128     moko     9712: 
                   9713: lt_sysroot=
1.237     moko     9714: case $with_sysroot in #(
1.128     moko     9715:  yes)
1.237     moko     9716:    if test yes = "$GCC"; then
                   9717:      # Trim trailing / since we'll always append absolute paths and we want
                   9718:      # to avoid //, if only for less confusing output for the user.
                   9719:      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
1.128     moko     9720:    fi
                   9721:    ;; #(
                   9722:  /*)
1.237     moko     9723:    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
1.128     moko     9724:    ;; #(
                   9725:  no|'')
                   9726:    ;; #(
                   9727:  *)
1.237     moko     9728:    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
                   9729: printf "%s\n" "$with_sysroot" >&6; }
1.150     moko     9730:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     9731:    ;;
                   9732: esac
                   9733: 
1.237     moko     9734:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   9735: printf "%s\n" "${lt_sysroot:-no}" >&6; }
1.128     moko     9736: 
                   9737: 
                   9738: 
                   9739: 
                   9740: 
1.237     moko     9741: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
                   9742: printf %s "checking for a working dd... " >&6; }
                   9743: if test ${ac_cv_path_lt_DD+y}
                   9744: then :
                   9745:   printf %s "(cached) " >&6
                   9746: else case e in #(
                   9747:   e) printf 0123456789abcdef0123456789abcdef >conftest.i
                   9748: cat conftest.i conftest.i >conftest2.i
                   9749: : ${lt_DD:=$DD}
                   9750: if test -z "$lt_DD"; then
                   9751:   ac_path_lt_DD_found=false
                   9752:   # Loop through the user's path and test for each of PROGNAME-LIST
                   9753:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9754: for as_dir in $PATH
                   9755: do
                   9756:   IFS=$as_save_IFS
                   9757:   case $as_dir in #(((
                   9758:     '') as_dir=./ ;;
                   9759:     */) ;;
                   9760:     *) as_dir=$as_dir/ ;;
                   9761:   esac
                   9762:     for ac_prog in dd
                   9763:    do
                   9764:     for ac_exec_ext in '' $ac_executable_extensions; do
                   9765:       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
                   9766:       as_fn_executable_p "$ac_path_lt_DD" || continue
                   9767: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
                   9768:   cmp -s conftest.i conftest.out \
                   9769:   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
                   9770: fi
                   9771:       $ac_path_lt_DD_found && break 3
                   9772:     done
                   9773:   done
                   9774:   done
                   9775: IFS=$as_save_IFS
                   9776:   if test -z "$ac_cv_path_lt_DD"; then
                   9777:     :
                   9778:   fi
                   9779: else
                   9780:   ac_cv_path_lt_DD=$lt_DD
                   9781: fi
                   9782: 
                   9783: rm -f conftest.i conftest2.i conftest.out ;;
                   9784: esac
                   9785: fi
                   9786: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
                   9787: printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
                   9788: 
                   9789: 
                   9790: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
                   9791: printf %s "checking how to truncate binary pipes... " >&6; }
                   9792: if test ${lt_cv_truncate_bin+y}
                   9793: then :
                   9794:   printf %s "(cached) " >&6
                   9795: else case e in #(
                   9796:   e) printf 0123456789abcdef0123456789abcdef >conftest.i
                   9797: cat conftest.i conftest.i >conftest2.i
                   9798: lt_cv_truncate_bin=
                   9799: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
                   9800:   cmp -s conftest.i conftest.out \
                   9801:   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
                   9802: fi
                   9803: rm -f conftest.i conftest2.i conftest.out
                   9804: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
                   9805: esac
                   9806: fi
                   9807: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
                   9808: printf "%s\n" "$lt_cv_truncate_bin" >&6; }
                   9809: 
                   9810: 
                   9811: 
                   9812: 
                   9813: 
                   9814: 
                   9815: 
                   9816: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
                   9817: func_cc_basename ()
                   9818: {
                   9819:     for cc_temp in $*""; do
                   9820:       case $cc_temp in
                   9821:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9822:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9823:         \-*) ;;
                   9824:         *) break;;
                   9825:       esac
                   9826:     done
                   9827:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9828: }
                   9829: 
1.150     moko     9830: # Check whether --enable-libtool-lock was given.
1.237     moko     9831: if test ${enable_libtool_lock+y}
                   9832: then :
1.150     moko     9833:   enableval=$enable_libtool_lock;
                   9834: fi
1.128     moko     9835: 
1.237     moko     9836: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
1.128     moko     9837: 
                   9838: # Some flags need to be propagated to the compiler or linker for good
                   9839: # libtool support.
                   9840: case $host in
                   9841: ia64-*-hpux*)
1.237     moko     9842:   # Find out what ABI is being produced by ac_compile, and set mode
                   9843:   # options accordingly.
1.128     moko     9844:   echo 'int i;' > conftest.$ac_ext
1.150     moko     9845:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     9846:   (eval $ac_compile) 2>&5
                   9847:   ac_status=$?
1.237     moko     9848:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     9849:   test $ac_status = 0; }; then
1.237     moko     9850:     case `$FILECMD conftest.$ac_objext` in
1.128     moko     9851:       *ELF-32*)
1.237     moko     9852:        HPUX_IA64_MODE=32
1.128     moko     9853:        ;;
                   9854:       *ELF-64*)
1.237     moko     9855:        HPUX_IA64_MODE=64
1.128     moko     9856:        ;;
                   9857:     esac
                   9858:   fi
                   9859:   rm -rf conftest*
                   9860:   ;;
                   9861: *-*-irix6*)
1.237     moko     9862:   # Find out what ABI is being produced by ac_compile, and set linker
                   9863:   # options accordingly.
1.128     moko     9864:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150     moko     9865:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     9866:   (eval $ac_compile) 2>&5
                   9867:   ac_status=$?
1.237     moko     9868:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     9869:   test $ac_status = 0; }; then
1.237     moko     9870:     if test yes = "$lt_cv_prog_gnu_ld"; then
                   9871:       case `$FILECMD conftest.$ac_objext` in
1.128     moko     9872:        *32-bit*)
                   9873:          LD="${LD-ld} -melf32bsmip"
                   9874:          ;;
                   9875:        *N32*)
                   9876:          LD="${LD-ld} -melf32bmipn32"
                   9877:          ;;
                   9878:        *64-bit*)
                   9879:          LD="${LD-ld} -melf64bmip"
                   9880:        ;;
                   9881:       esac
                   9882:     else
1.237     moko     9883:       case `$FILECMD conftest.$ac_objext` in
1.128     moko     9884:        *32-bit*)
                   9885:          LD="${LD-ld} -32"
                   9886:          ;;
                   9887:        *N32*)
                   9888:          LD="${LD-ld} -n32"
                   9889:          ;;
                   9890:        *64-bit*)
                   9891:          LD="${LD-ld} -64"
                   9892:          ;;
                   9893:       esac
                   9894:     fi
                   9895:   fi
                   9896:   rm -rf conftest*
                   9897:   ;;
                   9898: 
1.237     moko     9899: mips64*-*linux*)
                   9900:   # Find out what ABI is being produced by ac_compile, and set linker
                   9901:   # options accordingly.
                   9902:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   9903:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   9904:   (eval $ac_compile) 2>&5
                   9905:   ac_status=$?
                   9906:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9907:   test $ac_status = 0; }; then
                   9908:     emul=elf
                   9909:     case `$FILECMD conftest.$ac_objext` in
                   9910:       *32-bit*)
                   9911:        emul="${emul}32"
                   9912:        ;;
                   9913:       *64-bit*)
                   9914:        emul="${emul}64"
                   9915:        ;;
                   9916:     esac
                   9917:     case `$FILECMD conftest.$ac_objext` in
                   9918:       *MSB*)
                   9919:        emul="${emul}btsmip"
                   9920:        ;;
                   9921:       *LSB*)
                   9922:        emul="${emul}ltsmip"
                   9923:        ;;
                   9924:     esac
                   9925:     case `$FILECMD conftest.$ac_objext` in
                   9926:       *N32*)
                   9927:        emul="${emul}n32"
                   9928:        ;;
                   9929:     esac
                   9930:     LD="${LD-ld} -m $emul"
                   9931:   fi
                   9932:   rm -rf conftest*
                   9933:   ;;
                   9934: 
                   9935: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
                   9936: s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
                   9937:   # Find out what ABI is being produced by ac_compile, and set linker
                   9938:   # options accordingly.  Note that the listed cases only cover the
                   9939:   # situations where additional linker options are needed (such as when
                   9940:   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
                   9941:   # vice versa); the common cases where no linker options are needed do
                   9942:   # not appear in the list.
1.128     moko     9943:   echo 'int i;' > conftest.$ac_ext
1.150     moko     9944:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     9945:   (eval $ac_compile) 2>&5
                   9946:   ac_status=$?
1.237     moko     9947:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     9948:   test $ac_status = 0; }; then
1.237     moko     9949:     case `$FILECMD conftest.o` in
1.128     moko     9950:       *32-bit*)
                   9951:        case $host in
                   9952:          x86_64-*kfreebsd*-gnu)
                   9953:            LD="${LD-ld} -m elf_i386_fbsd"
                   9954:            ;;
1.237     moko     9955:          x86_64-*linux*|x86_64-gnu*)
                   9956:            case `$FILECMD conftest.o` in
                   9957:              *x86-64*)
                   9958:                LD="${LD-ld} -m elf32_x86_64"
                   9959:                ;;
                   9960:              *)
                   9961:                LD="${LD-ld} -m elf_i386"
                   9962:                ;;
                   9963:            esac
1.128     moko     9964:            ;;
1.237     moko     9965:          powerpc64le-*linux*)
                   9966:            LD="${LD-ld} -m elf32lppclinux"
                   9967:            ;;
                   9968:          powerpc64-*linux*)
1.128     moko     9969:            LD="${LD-ld} -m elf32ppclinux"
                   9970:            ;;
                   9971:          s390x-*linux*)
                   9972:            LD="${LD-ld} -m elf_s390"
                   9973:            ;;
                   9974:          sparc64-*linux*)
                   9975:            LD="${LD-ld} -m elf32_sparc"
                   9976:            ;;
                   9977:        esac
                   9978:        ;;
                   9979:       *64-bit*)
                   9980:        case $host in
                   9981:          x86_64-*kfreebsd*-gnu)
                   9982:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   9983:            ;;
1.237     moko     9984:          x86_64-*linux*|x86_64-gnu*)
1.128     moko     9985:            LD="${LD-ld} -m elf_x86_64"
                   9986:            ;;
1.237     moko     9987:          powerpcle-*linux*)
                   9988:            LD="${LD-ld} -m elf64lppc"
                   9989:            ;;
                   9990:          powerpc-*linux*)
1.128     moko     9991:            LD="${LD-ld} -m elf64ppc"
                   9992:            ;;
                   9993:          s390*-*linux*|s390*-*tpf*)
                   9994:            LD="${LD-ld} -m elf64_s390"
                   9995:            ;;
                   9996:          sparc*-*linux*)
                   9997:            LD="${LD-ld} -m elf64_sparc"
                   9998:            ;;
                   9999:        esac
                   10000:        ;;
                   10001:     esac
                   10002:   fi
                   10003:   rm -rf conftest*
                   10004:   ;;
                   10005: 
                   10006: *-*-sco3.2v5*)
                   10007:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1.237     moko     10008:   SAVE_CFLAGS=$CFLAGS
1.128     moko     10009:   CFLAGS="$CFLAGS -belf"
1.237     moko     10010:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   10011: printf %s "checking whether the C compiler needs -belf... " >&6; }
                   10012: if test ${lt_cv_cc_needs_belf+y}
                   10013: then :
                   10014:   printf %s "(cached) " >&6
                   10015: else case e in #(
                   10016:   e) ac_ext=c
1.128     moko     10017: ac_cpp='$CPP $CPPFLAGS'
                   10018: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   10019: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   10020: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   10021: 
1.150     moko     10022:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10023: /* end confdefs.h.  */
                   10024: 
                   10025: int
1.237     moko     10026: main (void)
1.128     moko     10027: {
                   10028: 
                   10029:   ;
                   10030:   return 0;
                   10031: }
                   10032: _ACEOF
1.237     moko     10033: if ac_fn_c_try_link "$LINENO"
                   10034: then :
1.128     moko     10035:   lt_cv_cc_needs_belf=yes
1.237     moko     10036: else case e in #(
                   10037:   e) lt_cv_cc_needs_belf=no ;;
                   10038: esac
1.128     moko     10039: fi
1.237     moko     10040: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     10041:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10042:      ac_ext=c
                   10043: ac_cpp='$CPP $CPPFLAGS'
                   10044: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   10045: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   10046: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.237     moko     10047:  ;;
                   10048: esac
1.128     moko     10049: fi
1.237     moko     10050: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   10051: printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
                   10052:   if test yes != "$lt_cv_cc_needs_belf"; then
1.128     moko     10053:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1.237     moko     10054:     CFLAGS=$SAVE_CFLAGS
1.128     moko     10055:   fi
                   10056:   ;;
                   10057: *-*solaris*)
1.237     moko     10058:   # Find out what ABI is being produced by ac_compile, and set linker
                   10059:   # options accordingly.
1.128     moko     10060:   echo 'int i;' > conftest.$ac_ext
1.150     moko     10061:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     10062:   (eval $ac_compile) 2>&5
                   10063:   ac_status=$?
1.237     moko     10064:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     10065:   test $ac_status = 0; }; then
1.237     moko     10066:     case `$FILECMD conftest.o` in
1.128     moko     10067:     *64-bit*)
                   10068:       case $lt_cv_prog_gnu_ld in
                   10069:       yes*)
                   10070:         case $host in
1.237     moko     10071:         i?86-*-solaris*|x86_64-*-solaris*)
1.128     moko     10072:           LD="${LD-ld} -m elf_x86_64"
                   10073:           ;;
                   10074:         sparc*-*-solaris*)
                   10075:           LD="${LD-ld} -m elf64_sparc"
                   10076:           ;;
                   10077:         esac
                   10078:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   10079:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1.237     moko     10080:           LD=${LD-ld}_sol2
1.128     moko     10081:         fi
                   10082:         ;;
                   10083:       *)
                   10084:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   10085:          LD="${LD-ld} -64"
                   10086:        fi
                   10087:        ;;
                   10088:       esac
                   10089:       ;;
                   10090:     esac
                   10091:   fi
                   10092:   rm -rf conftest*
                   10093:   ;;
                   10094: esac
                   10095: 
1.237     moko     10096: need_locks=$enable_libtool_lock
1.128     moko     10097: 
                   10098: if test -n "$ac_tool_prefix"; then
                   10099:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   10100: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.237     moko     10101: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10102: printf %s "checking for $ac_word... " >&6; }
                   10103: if test ${ac_cv_prog_MANIFEST_TOOL+y}
                   10104: then :
                   10105:   printf %s "(cached) " >&6
                   10106: else case e in #(
                   10107:   e) if test -n "$MANIFEST_TOOL"; then
1.128     moko     10108:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   10109: else
                   10110: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10111: for as_dir in $PATH
                   10112: do
                   10113:   IFS=$as_save_IFS
1.237     moko     10114:   case $as_dir in #(((
                   10115:     '') as_dir=./ ;;
                   10116:     */) ;;
                   10117:     *) as_dir=$as_dir/ ;;
                   10118:   esac
1.150     moko     10119:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10120:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10121:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.237     moko     10122:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10123:     break 2
                   10124:   fi
                   10125: done
1.150     moko     10126:   done
                   10127: IFS=$as_save_IFS
1.128     moko     10128: 
1.237     moko     10129: fi ;;
                   10130: esac
1.128     moko     10131: fi
                   10132: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   10133: if test -n "$MANIFEST_TOOL"; then
1.237     moko     10134:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   10135: printf "%s\n" "$MANIFEST_TOOL" >&6; }
1.128     moko     10136: else
1.237     moko     10137:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10138: printf "%s\n" "no" >&6; }
1.128     moko     10139: fi
                   10140: 
1.150     moko     10141: 
1.128     moko     10142: fi
                   10143: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   10144:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   10145:   # Extract the first word of "mt", so it can be a program name with args.
                   10146: set dummy mt; ac_word=$2
1.237     moko     10147: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10148: printf %s "checking for $ac_word... " >&6; }
                   10149: if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
                   10150: then :
                   10151:   printf %s "(cached) " >&6
                   10152: else case e in #(
                   10153:   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
1.128     moko     10154:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   10155: else
                   10156: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10157: for as_dir in $PATH
                   10158: do
                   10159:   IFS=$as_save_IFS
1.237     moko     10160:   case $as_dir in #(((
                   10161:     '') as_dir=./ ;;
                   10162:     */) ;;
                   10163:     *) as_dir=$as_dir/ ;;
                   10164:   esac
1.150     moko     10165:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10166:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10167:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.237     moko     10168:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10169:     break 2
                   10170:   fi
                   10171: done
1.150     moko     10172:   done
                   10173: IFS=$as_save_IFS
1.128     moko     10174: 
1.237     moko     10175: fi ;;
                   10176: esac
1.128     moko     10177: fi
                   10178: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   10179: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.237     moko     10180:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   10181: printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     10182: else
1.237     moko     10183:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10184: printf "%s\n" "no" >&6; }
1.128     moko     10185: fi
                   10186: 
1.150     moko     10187:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   10188:     MANIFEST_TOOL=":"
                   10189:   else
                   10190:     case $cross_compiling:$ac_tool_warned in
                   10191: yes:)
1.237     moko     10192: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10193: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10194: ac_tool_warned=yes ;;
                   10195: esac
                   10196:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   10197:   fi
1.128     moko     10198: else
                   10199:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   10200: fi
                   10201: 
                   10202: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.237     moko     10203: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   10204: printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   10205: if test ${lt_cv_path_manifest_tool+y}
                   10206: then :
                   10207:   printf %s "(cached) " >&6
                   10208: else case e in #(
                   10209:   e) lt_cv_path_manifest_tool=no
1.128     moko     10210:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   10211:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   10212:   cat conftest.err >&5
                   10213:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
1.237     moko     10214:     lt_cv_path_manifest_tool=yes
1.128     moko     10215:   fi
1.237     moko     10216:   rm -f conftest* ;;
                   10217: esac
1.128     moko     10218: fi
1.237     moko     10219: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
                   10220: printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
                   10221: if test yes != "$lt_cv_path_manifest_tool"; then
1.128     moko     10222:   MANIFEST_TOOL=:
                   10223: fi
                   10224: 
                   10225: 
                   10226: 
                   10227: 
                   10228: 
                   10229: 
                   10230:   case $host_os in
                   10231:     rhapsody* | darwin*)
                   10232:     if test -n "$ac_tool_prefix"; then
                   10233:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   10234: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.237     moko     10235: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10236: printf %s "checking for $ac_word... " >&6; }
                   10237: if test ${ac_cv_prog_DSYMUTIL+y}
                   10238: then :
                   10239:   printf %s "(cached) " >&6
                   10240: else case e in #(
                   10241:   e) if test -n "$DSYMUTIL"; then
1.128     moko     10242:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   10243: else
                   10244: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10245: for as_dir in $PATH
                   10246: do
                   10247:   IFS=$as_save_IFS
1.237     moko     10248:   case $as_dir in #(((
                   10249:     '') as_dir=./ ;;
                   10250:     */) ;;
                   10251:     *) as_dir=$as_dir/ ;;
                   10252:   esac
1.150     moko     10253:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10254:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10255:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.237     moko     10256:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10257:     break 2
                   10258:   fi
                   10259: done
1.150     moko     10260:   done
                   10261: IFS=$as_save_IFS
1.128     moko     10262: 
1.237     moko     10263: fi ;;
                   10264: esac
1.128     moko     10265: fi
                   10266: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   10267: if test -n "$DSYMUTIL"; then
1.237     moko     10268:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   10269: printf "%s\n" "$DSYMUTIL" >&6; }
1.128     moko     10270: else
1.237     moko     10271:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10272: printf "%s\n" "no" >&6; }
1.128     moko     10273: fi
                   10274: 
1.150     moko     10275: 
1.128     moko     10276: fi
                   10277: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   10278:   ac_ct_DSYMUTIL=$DSYMUTIL
                   10279:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   10280: set dummy dsymutil; ac_word=$2
1.237     moko     10281: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10282: printf %s "checking for $ac_word... " >&6; }
                   10283: if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
                   10284: then :
                   10285:   printf %s "(cached) " >&6
                   10286: else case e in #(
                   10287:   e) if test -n "$ac_ct_DSYMUTIL"; then
1.128     moko     10288:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   10289: else
                   10290: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10291: for as_dir in $PATH
                   10292: do
                   10293:   IFS=$as_save_IFS
1.237     moko     10294:   case $as_dir in #(((
                   10295:     '') as_dir=./ ;;
                   10296:     */) ;;
                   10297:     *) as_dir=$as_dir/ ;;
                   10298:   esac
1.150     moko     10299:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10300:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10301:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.237     moko     10302:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10303:     break 2
                   10304:   fi
                   10305: done
1.150     moko     10306:   done
                   10307: IFS=$as_save_IFS
1.128     moko     10308: 
1.237     moko     10309: fi ;;
                   10310: esac
1.128     moko     10311: fi
                   10312: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   10313: if test -n "$ac_ct_DSYMUTIL"; then
1.237     moko     10314:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   10315: printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     10316: else
1.237     moko     10317:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10318: printf "%s\n" "no" >&6; }
1.128     moko     10319: fi
                   10320: 
1.150     moko     10321:   if test "x$ac_ct_DSYMUTIL" = x; then
                   10322:     DSYMUTIL=":"
                   10323:   else
                   10324:     case $cross_compiling:$ac_tool_warned in
                   10325: yes:)
1.237     moko     10326: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10327: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10328: ac_tool_warned=yes ;;
                   10329: esac
                   10330:     DSYMUTIL=$ac_ct_DSYMUTIL
                   10331:   fi
1.128     moko     10332: else
                   10333:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   10334: fi
                   10335: 
                   10336:     if test -n "$ac_tool_prefix"; then
                   10337:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   10338: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.237     moko     10339: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10340: printf %s "checking for $ac_word... " >&6; }
                   10341: if test ${ac_cv_prog_NMEDIT+y}
                   10342: then :
                   10343:   printf %s "(cached) " >&6
                   10344: else case e in #(
                   10345:   e) if test -n "$NMEDIT"; then
1.128     moko     10346:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   10347: else
                   10348: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10349: for as_dir in $PATH
                   10350: do
                   10351:   IFS=$as_save_IFS
1.237     moko     10352:   case $as_dir in #(((
                   10353:     '') as_dir=./ ;;
                   10354:     */) ;;
                   10355:     *) as_dir=$as_dir/ ;;
                   10356:   esac
1.150     moko     10357:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10358:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10359:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.237     moko     10360:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10361:     break 2
                   10362:   fi
                   10363: done
1.150     moko     10364:   done
                   10365: IFS=$as_save_IFS
1.128     moko     10366: 
1.237     moko     10367: fi ;;
                   10368: esac
1.128     moko     10369: fi
                   10370: NMEDIT=$ac_cv_prog_NMEDIT
                   10371: if test -n "$NMEDIT"; then
1.237     moko     10372:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   10373: printf "%s\n" "$NMEDIT" >&6; }
1.128     moko     10374: else
1.237     moko     10375:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10376: printf "%s\n" "no" >&6; }
1.128     moko     10377: fi
                   10378: 
1.150     moko     10379: 
1.128     moko     10380: fi
                   10381: if test -z "$ac_cv_prog_NMEDIT"; then
                   10382:   ac_ct_NMEDIT=$NMEDIT
                   10383:   # Extract the first word of "nmedit", so it can be a program name with args.
                   10384: set dummy nmedit; ac_word=$2
1.237     moko     10385: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10386: printf %s "checking for $ac_word... " >&6; }
                   10387: if test ${ac_cv_prog_ac_ct_NMEDIT+y}
                   10388: then :
                   10389:   printf %s "(cached) " >&6
                   10390: else case e in #(
                   10391:   e) if test -n "$ac_ct_NMEDIT"; then
1.128     moko     10392:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   10393: else
                   10394: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10395: for as_dir in $PATH
                   10396: do
                   10397:   IFS=$as_save_IFS
1.237     moko     10398:   case $as_dir in #(((
                   10399:     '') as_dir=./ ;;
                   10400:     */) ;;
                   10401:     *) as_dir=$as_dir/ ;;
                   10402:   esac
1.150     moko     10403:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10404:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10405:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.237     moko     10406:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10407:     break 2
                   10408:   fi
                   10409: done
1.150     moko     10410:   done
                   10411: IFS=$as_save_IFS
1.128     moko     10412: 
1.237     moko     10413: fi ;;
                   10414: esac
1.128     moko     10415: fi
                   10416: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   10417: if test -n "$ac_ct_NMEDIT"; then
1.237     moko     10418:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   10419: printf "%s\n" "$ac_ct_NMEDIT" >&6; }
1.128     moko     10420: else
1.237     moko     10421:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10422: printf "%s\n" "no" >&6; }
1.128     moko     10423: fi
                   10424: 
1.150     moko     10425:   if test "x$ac_ct_NMEDIT" = x; then
                   10426:     NMEDIT=":"
                   10427:   else
                   10428:     case $cross_compiling:$ac_tool_warned in
                   10429: yes:)
1.237     moko     10430: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10431: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10432: ac_tool_warned=yes ;;
                   10433: esac
                   10434:     NMEDIT=$ac_ct_NMEDIT
                   10435:   fi
1.128     moko     10436: else
                   10437:   NMEDIT="$ac_cv_prog_NMEDIT"
                   10438: fi
                   10439: 
                   10440:     if test -n "$ac_tool_prefix"; then
                   10441:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   10442: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.237     moko     10443: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10444: printf %s "checking for $ac_word... " >&6; }
                   10445: if test ${ac_cv_prog_LIPO+y}
                   10446: then :
                   10447:   printf %s "(cached) " >&6
                   10448: else case e in #(
                   10449:   e) if test -n "$LIPO"; then
1.128     moko     10450:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   10451: else
                   10452: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10453: for as_dir in $PATH
                   10454: do
                   10455:   IFS=$as_save_IFS
1.237     moko     10456:   case $as_dir in #(((
                   10457:     '') as_dir=./ ;;
                   10458:     */) ;;
                   10459:     *) as_dir=$as_dir/ ;;
                   10460:   esac
1.150     moko     10461:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10462:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10463:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.237     moko     10464:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10465:     break 2
                   10466:   fi
                   10467: done
1.150     moko     10468:   done
                   10469: IFS=$as_save_IFS
1.128     moko     10470: 
1.237     moko     10471: fi ;;
                   10472: esac
1.128     moko     10473: fi
                   10474: LIPO=$ac_cv_prog_LIPO
                   10475: if test -n "$LIPO"; then
1.237     moko     10476:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   10477: printf "%s\n" "$LIPO" >&6; }
1.128     moko     10478: else
1.237     moko     10479:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10480: printf "%s\n" "no" >&6; }
1.128     moko     10481: fi
                   10482: 
1.150     moko     10483: 
1.128     moko     10484: fi
                   10485: if test -z "$ac_cv_prog_LIPO"; then
                   10486:   ac_ct_LIPO=$LIPO
                   10487:   # Extract the first word of "lipo", so it can be a program name with args.
                   10488: set dummy lipo; ac_word=$2
1.237     moko     10489: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10490: printf %s "checking for $ac_word... " >&6; }
                   10491: if test ${ac_cv_prog_ac_ct_LIPO+y}
                   10492: then :
                   10493:   printf %s "(cached) " >&6
                   10494: else case e in #(
                   10495:   e) if test -n "$ac_ct_LIPO"; then
1.128     moko     10496:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   10497: else
                   10498: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10499: for as_dir in $PATH
                   10500: do
                   10501:   IFS=$as_save_IFS
1.237     moko     10502:   case $as_dir in #(((
                   10503:     '') as_dir=./ ;;
                   10504:     */) ;;
                   10505:     *) as_dir=$as_dir/ ;;
                   10506:   esac
1.150     moko     10507:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10508:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10509:     ac_cv_prog_ac_ct_LIPO="lipo"
1.237     moko     10510:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10511:     break 2
                   10512:   fi
                   10513: done
1.150     moko     10514:   done
                   10515: IFS=$as_save_IFS
1.128     moko     10516: 
1.237     moko     10517: fi ;;
                   10518: esac
1.128     moko     10519: fi
                   10520: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   10521: if test -n "$ac_ct_LIPO"; then
1.237     moko     10522:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   10523: printf "%s\n" "$ac_ct_LIPO" >&6; }
1.128     moko     10524: else
1.237     moko     10525:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10526: printf "%s\n" "no" >&6; }
1.128     moko     10527: fi
                   10528: 
1.150     moko     10529:   if test "x$ac_ct_LIPO" = x; then
                   10530:     LIPO=":"
                   10531:   else
                   10532:     case $cross_compiling:$ac_tool_warned in
                   10533: yes:)
1.237     moko     10534: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10535: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10536: ac_tool_warned=yes ;;
                   10537: esac
                   10538:     LIPO=$ac_ct_LIPO
                   10539:   fi
1.128     moko     10540: else
                   10541:   LIPO="$ac_cv_prog_LIPO"
                   10542: fi
                   10543: 
                   10544:     if test -n "$ac_tool_prefix"; then
                   10545:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   10546: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.237     moko     10547: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10548: printf %s "checking for $ac_word... " >&6; }
                   10549: if test ${ac_cv_prog_OTOOL+y}
                   10550: then :
                   10551:   printf %s "(cached) " >&6
                   10552: else case e in #(
                   10553:   e) if test -n "$OTOOL"; then
1.128     moko     10554:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   10555: else
                   10556: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10557: for as_dir in $PATH
                   10558: do
                   10559:   IFS=$as_save_IFS
1.237     moko     10560:   case $as_dir in #(((
                   10561:     '') as_dir=./ ;;
                   10562:     */) ;;
                   10563:     *) as_dir=$as_dir/ ;;
                   10564:   esac
1.150     moko     10565:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10566:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10567:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.237     moko     10568:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10569:     break 2
                   10570:   fi
                   10571: done
1.150     moko     10572:   done
                   10573: IFS=$as_save_IFS
1.128     moko     10574: 
1.237     moko     10575: fi ;;
                   10576: esac
1.128     moko     10577: fi
                   10578: OTOOL=$ac_cv_prog_OTOOL
                   10579: if test -n "$OTOOL"; then
1.237     moko     10580:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   10581: printf "%s\n" "$OTOOL" >&6; }
1.128     moko     10582: else
1.237     moko     10583:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10584: printf "%s\n" "no" >&6; }
1.128     moko     10585: fi
                   10586: 
1.150     moko     10587: 
1.128     moko     10588: fi
                   10589: if test -z "$ac_cv_prog_OTOOL"; then
                   10590:   ac_ct_OTOOL=$OTOOL
                   10591:   # Extract the first word of "otool", so it can be a program name with args.
                   10592: set dummy otool; ac_word=$2
1.237     moko     10593: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10594: printf %s "checking for $ac_word... " >&6; }
                   10595: if test ${ac_cv_prog_ac_ct_OTOOL+y}
                   10596: then :
                   10597:   printf %s "(cached) " >&6
                   10598: else case e in #(
                   10599:   e) if test -n "$ac_ct_OTOOL"; then
1.128     moko     10600:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   10601: else
                   10602: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10603: for as_dir in $PATH
                   10604: do
                   10605:   IFS=$as_save_IFS
1.237     moko     10606:   case $as_dir in #(((
                   10607:     '') as_dir=./ ;;
                   10608:     */) ;;
                   10609:     *) as_dir=$as_dir/ ;;
                   10610:   esac
1.150     moko     10611:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10612:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10613:     ac_cv_prog_ac_ct_OTOOL="otool"
1.237     moko     10614:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10615:     break 2
                   10616:   fi
                   10617: done
1.150     moko     10618:   done
                   10619: IFS=$as_save_IFS
1.128     moko     10620: 
1.237     moko     10621: fi ;;
                   10622: esac
1.128     moko     10623: fi
                   10624: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   10625: if test -n "$ac_ct_OTOOL"; then
1.237     moko     10626:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   10627: printf "%s\n" "$ac_ct_OTOOL" >&6; }
1.128     moko     10628: else
1.237     moko     10629:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10630: printf "%s\n" "no" >&6; }
1.128     moko     10631: fi
                   10632: 
1.150     moko     10633:   if test "x$ac_ct_OTOOL" = x; then
                   10634:     OTOOL=":"
                   10635:   else
                   10636:     case $cross_compiling:$ac_tool_warned in
                   10637: yes:)
1.237     moko     10638: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10639: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10640: ac_tool_warned=yes ;;
                   10641: esac
                   10642:     OTOOL=$ac_ct_OTOOL
                   10643:   fi
1.128     moko     10644: else
                   10645:   OTOOL="$ac_cv_prog_OTOOL"
                   10646: fi
                   10647: 
                   10648:     if test -n "$ac_tool_prefix"; then
                   10649:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   10650: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.237     moko     10651: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10652: printf %s "checking for $ac_word... " >&6; }
                   10653: if test ${ac_cv_prog_OTOOL64+y}
                   10654: then :
                   10655:   printf %s "(cached) " >&6
                   10656: else case e in #(
                   10657:   e) if test -n "$OTOOL64"; then
1.128     moko     10658:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   10659: else
                   10660: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10661: for as_dir in $PATH
                   10662: do
                   10663:   IFS=$as_save_IFS
1.237     moko     10664:   case $as_dir in #(((
                   10665:     '') as_dir=./ ;;
                   10666:     */) ;;
                   10667:     *) as_dir=$as_dir/ ;;
                   10668:   esac
1.150     moko     10669:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10670:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10671:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.237     moko     10672:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10673:     break 2
                   10674:   fi
                   10675: done
1.150     moko     10676:   done
                   10677: IFS=$as_save_IFS
1.128     moko     10678: 
1.237     moko     10679: fi ;;
                   10680: esac
1.128     moko     10681: fi
                   10682: OTOOL64=$ac_cv_prog_OTOOL64
                   10683: if test -n "$OTOOL64"; then
1.237     moko     10684:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   10685: printf "%s\n" "$OTOOL64" >&6; }
1.128     moko     10686: else
1.237     moko     10687:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10688: printf "%s\n" "no" >&6; }
1.128     moko     10689: fi
                   10690: 
1.150     moko     10691: 
1.128     moko     10692: fi
                   10693: if test -z "$ac_cv_prog_OTOOL64"; then
                   10694:   ac_ct_OTOOL64=$OTOOL64
                   10695:   # Extract the first word of "otool64", so it can be a program name with args.
                   10696: set dummy otool64; ac_word=$2
1.237     moko     10697: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10698: printf %s "checking for $ac_word... " >&6; }
                   10699: if test ${ac_cv_prog_ac_ct_OTOOL64+y}
                   10700: then :
                   10701:   printf %s "(cached) " >&6
                   10702: else case e in #(
                   10703:   e) if test -n "$ac_ct_OTOOL64"; then
1.128     moko     10704:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   10705: else
                   10706: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10707: for as_dir in $PATH
                   10708: do
                   10709:   IFS=$as_save_IFS
1.237     moko     10710:   case $as_dir in #(((
                   10711:     '') as_dir=./ ;;
                   10712:     */) ;;
                   10713:     *) as_dir=$as_dir/ ;;
                   10714:   esac
1.150     moko     10715:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10716:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10717:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.237     moko     10718:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10719:     break 2
                   10720:   fi
                   10721: done
1.150     moko     10722:   done
                   10723: IFS=$as_save_IFS
1.128     moko     10724: 
1.237     moko     10725: fi ;;
                   10726: esac
1.128     moko     10727: fi
                   10728: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   10729: if test -n "$ac_ct_OTOOL64"; then
1.237     moko     10730:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   10731: printf "%s\n" "$ac_ct_OTOOL64" >&6; }
1.128     moko     10732: else
1.237     moko     10733:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10734: printf "%s\n" "no" >&6; }
1.128     moko     10735: fi
                   10736: 
1.150     moko     10737:   if test "x$ac_ct_OTOOL64" = x; then
                   10738:     OTOOL64=":"
                   10739:   else
                   10740:     case $cross_compiling:$ac_tool_warned in
                   10741: yes:)
1.237     moko     10742: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10743: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10744: ac_tool_warned=yes ;;
                   10745: esac
                   10746:     OTOOL64=$ac_ct_OTOOL64
                   10747:   fi
1.128     moko     10748: else
                   10749:   OTOOL64="$ac_cv_prog_OTOOL64"
                   10750: fi
                   10751: 
                   10752: 
                   10753: 
                   10754: 
                   10755: 
                   10756: 
                   10757: 
                   10758: 
                   10759: 
                   10760: 
                   10761: 
                   10762: 
                   10763: 
                   10764: 
                   10765: 
                   10766: 
                   10767: 
                   10768: 
                   10769: 
                   10770: 
                   10771: 
                   10772: 
                   10773: 
                   10774: 
                   10775: 
                   10776: 
                   10777: 
1.237     moko     10778:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   10779: printf %s "checking for -single_module linker flag... " >&6; }
                   10780: if test ${lt_cv_apple_cc_single_mod+y}
                   10781: then :
                   10782:   printf %s "(cached) " >&6
                   10783: else case e in #(
                   10784:   e) lt_cv_apple_cc_single_mod=no
                   10785:       if test -z "$LT_MULTI_MODULE"; then
1.128     moko     10786:        # By default we will add the -single_module flag. You can override
                   10787:        # by either setting the environment variable LT_MULTI_MODULE
                   10788:        # non-empty at configure time, or by adding -multi_module to the
                   10789:        # link flags.
                   10790:        rm -rf libconftest.dylib*
                   10791:        echo "int foo(void){return 1;}" > conftest.c
                   10792:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   10793: -dynamiclib -Wl,-single_module conftest.c" >&5
                   10794:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   10795:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   10796:         _lt_result=$?
                   10797:        # If there is a non-empty error log, and "single_module"
                   10798:        # appears in it, assume the flag caused a linker warning
                   10799:         if test -s conftest.err && $GREP single_module conftest.err; then
                   10800:          cat conftest.err >&5
                   10801:        # Otherwise, if the output was created with a 0 exit code from
                   10802:        # the compiler, it worked.
1.237     moko     10803:        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1.128     moko     10804:          lt_cv_apple_cc_single_mod=yes
                   10805:        else
                   10806:          cat conftest.err >&5
                   10807:        fi
                   10808:        rm -rf libconftest.dylib*
                   10809:        rm -f conftest.*
1.237     moko     10810:       fi ;;
                   10811: esac
                   10812: fi
                   10813: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   10814: printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
                   10815: 
                   10816:     # Feature test to disable chained fixups since it is not
                   10817:     # compatible with '-undefined dynamic_lookup'
                   10818:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
                   10819: printf %s "checking for -no_fixup_chains linker flag... " >&6; }
                   10820: if test ${lt_cv_support_no_fixup_chains+y}
                   10821: then :
                   10822:   printf %s "(cached) " >&6
                   10823: else case e in #(
                   10824:   e)  save_LDFLAGS=$LDFLAGS
                   10825:         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
                   10826:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10827: /* end confdefs.h.  */
                   10828: 
                   10829: int
                   10830: main (void)
                   10831: {
                   10832: 
                   10833:   ;
                   10834:   return 0;
                   10835: }
                   10836: _ACEOF
                   10837: if ac_fn_c_try_link "$LINENO"
                   10838: then :
                   10839:   lt_cv_support_no_fixup_chains=yes
                   10840: else case e in #(
                   10841:   e) lt_cv_support_no_fixup_chains=no
                   10842:          ;;
                   10843: esac
                   10844: fi
                   10845: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   10846:     conftest$ac_exeext conftest.$ac_ext
                   10847:         LDFLAGS=$save_LDFLAGS
                   10848: 
                   10849:      ;;
                   10850: esac
1.128     moko     10851: fi
1.237     moko     10852: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
                   10853: printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
1.128     moko     10854: 
1.237     moko     10855:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   10856: printf %s "checking for -exported_symbols_list linker flag... " >&6; }
                   10857: if test ${lt_cv_ld_exported_symbols_list+y}
                   10858: then :
                   10859:   printf %s "(cached) " >&6
                   10860: else case e in #(
                   10861:   e) lt_cv_ld_exported_symbols_list=no
1.128     moko     10862:       save_LDFLAGS=$LDFLAGS
                   10863:       echo "_main" > conftest.sym
                   10864:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150     moko     10865:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10866: /* end confdefs.h.  */
                   10867: 
                   10868: int
1.237     moko     10869: main (void)
1.128     moko     10870: {
                   10871: 
                   10872:   ;
                   10873:   return 0;
                   10874: }
                   10875: _ACEOF
1.237     moko     10876: if ac_fn_c_try_link "$LINENO"
                   10877: then :
1.128     moko     10878:   lt_cv_ld_exported_symbols_list=yes
1.237     moko     10879: else case e in #(
                   10880:   e) lt_cv_ld_exported_symbols_list=no ;;
                   10881: esac
1.128     moko     10882: fi
1.237     moko     10883: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     10884:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     10885:        LDFLAGS=$save_LDFLAGS
                   10886:      ;;
                   10887: esac
1.128     moko     10888: fi
1.237     moko     10889: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   10890: printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     10891: 
1.237     moko     10892:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   10893: printf %s "checking for -force_load linker flag... " >&6; }
                   10894: if test ${lt_cv_ld_force_load+y}
                   10895: then :
                   10896:   printf %s "(cached) " >&6
                   10897: else case e in #(
                   10898:   e) lt_cv_ld_force_load=no
1.128     moko     10899:       cat > conftest.c << _LT_EOF
                   10900: int forced_loaded() { return 2;}
                   10901: _LT_EOF
                   10902:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   10903:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
1.237     moko     10904:       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
                   10905:       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
1.128     moko     10906:       echo "$RANLIB libconftest.a" >&5
                   10907:       $RANLIB libconftest.a 2>&5
                   10908:       cat > conftest.c << _LT_EOF
1.237     moko     10909: int main(void) { return 0;}
1.128     moko     10910: _LT_EOF
                   10911:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   10912:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   10913:       _lt_result=$?
                   10914:       if test -s conftest.err && $GREP force_load conftest.err; then
                   10915:        cat conftest.err >&5
1.237     moko     10916:       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1.128     moko     10917:        lt_cv_ld_force_load=yes
                   10918:       else
                   10919:        cat conftest.err >&5
                   10920:       fi
                   10921:         rm -f conftest.err libconftest.a conftest conftest.c
                   10922:         rm -rf conftest.dSYM
1.237     moko     10923:      ;;
                   10924: esac
1.128     moko     10925: fi
1.237     moko     10926: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   10927: printf "%s\n" "$lt_cv_ld_force_load" >&6; }
1.128     moko     10928:     case $host_os in
                   10929:     rhapsody* | darwin1.[012])
1.237     moko     10930:       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1.128     moko     10931:     darwin1.*)
1.237     moko     10932:       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
                   10933:     darwin*)
                   10934:       case $MACOSX_DEPLOYMENT_TARGET,$host in
                   10935:         10.[012],*|,*powerpc*-darwin[5-8]*)
                   10936:           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
                   10937:         *)
                   10938:           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
                   10939:           if test yes = "$lt_cv_support_no_fixup_chains"; then
                   10940:             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
                   10941:           fi
                   10942:         ;;
1.128     moko     10943:       esac
                   10944:     ;;
                   10945:   esac
1.237     moko     10946:     if test yes = "$lt_cv_apple_cc_single_mod"; then
1.128     moko     10947:       _lt_dar_single_mod='$single_module'
                   10948:     fi
1.237     moko     10949:     _lt_dar_needs_single_mod=no
                   10950:     case $host_os in
                   10951:     rhapsody* | darwin1.*)
                   10952:       _lt_dar_needs_single_mod=yes ;;
                   10953:     darwin*)
                   10954:       # When targeting Mac OS X 10.4 (darwin 8) or later,
                   10955:       # -single_module is the default and -multi_module is unsupported.
                   10956:       # The toolchain on macOS 10.14 (darwin 18) and later cannot
                   10957:       # target any OS version that needs -single_module.
                   10958:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   10959:       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
                   10960:         _lt_dar_needs_single_mod=yes ;;
                   10961:       esac
                   10962:     ;;
                   10963:     esac
                   10964:     if test yes = "$lt_cv_ld_exported_symbols_list"; then
                   10965:       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1.128     moko     10966:     else
1.237     moko     10967:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1.128     moko     10968:     fi
1.237     moko     10969:     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
1.128     moko     10970:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   10971:     else
                   10972:       _lt_dsymutil=
                   10973:     fi
                   10974:     ;;
                   10975:   esac
                   10976: 
1.237     moko     10977: # func_munge_path_list VARIABLE PATH
                   10978: # -----------------------------------
                   10979: # VARIABLE is name of variable containing _space_ separated list of
                   10980: # directories to be munged by the contents of PATH, which is string
                   10981: # having a format:
                   10982: # "DIR[:DIR]:"
                   10983: #       string "DIR[ DIR]" will be prepended to VARIABLE
                   10984: # ":DIR[:DIR]"
                   10985: #       string "DIR[ DIR]" will be appended to VARIABLE
                   10986: # "DIRP[:DIRP]::[DIRA:]DIRA"
                   10987: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
                   10988: #       "DIRA[ DIRA]" will be appended to VARIABLE
                   10989: # "DIR[:DIR]"
                   10990: #       VARIABLE will be replaced by "DIR[ DIR]"
                   10991: func_munge_path_list ()
                   10992: {
                   10993:     case x$2 in
                   10994:     x)
                   10995:         ;;
                   10996:     *:)
                   10997:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
                   10998:         ;;
                   10999:     x:*)
                   11000:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
                   11001:         ;;
                   11002:     *::*)
                   11003:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
                   11004:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
                   11005:         ;;
                   11006:     *)
                   11007:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
                   11008:         ;;
                   11009:     esac
                   11010: }
                   11011: 
                   11012: ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   11013: "
                   11014: if test "x$ac_cv_header_dlfcn_h" = xyes
                   11015: then :
                   11016:   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
1.150     moko     11017: 
1.128     moko     11018: fi
                   11019: 
                   11020: 
                   11021: 
                   11022: 
1.237     moko     11023: func_stripname_cnf ()
1.128     moko     11024: {
1.237     moko     11025:   case $2 in
                   11026:   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
                   11027:   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
1.150     moko     11028:   esac
                   11029: } # func_stripname_cnf
1.128     moko     11030: 
                   11031: 
                   11032: 
                   11033: 
                   11034: 
                   11035: # Set options
                   11036: enable_dlopen=yes
                   11037: enable_win32_dll=yes
                   11038: 
                   11039: case $host in
1.237     moko     11040: *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
1.128     moko     11041:   if test -n "$ac_tool_prefix"; then
                   11042:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   11043: set dummy ${ac_tool_prefix}as; ac_word=$2
1.237     moko     11044: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11045: printf %s "checking for $ac_word... " >&6; }
                   11046: if test ${ac_cv_prog_AS+y}
                   11047: then :
                   11048:   printf %s "(cached) " >&6
                   11049: else case e in #(
                   11050:   e) if test -n "$AS"; then
1.128     moko     11051:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   11052: else
                   11053: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11054: for as_dir in $PATH
                   11055: do
                   11056:   IFS=$as_save_IFS
1.237     moko     11057:   case $as_dir in #(((
                   11058:     '') as_dir=./ ;;
                   11059:     */) ;;
                   11060:     *) as_dir=$as_dir/ ;;
                   11061:   esac
1.150     moko     11062:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     11063:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     11064:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.237     moko     11065:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     11066:     break 2
                   11067:   fi
                   11068: done
1.150     moko     11069:   done
                   11070: IFS=$as_save_IFS
1.128     moko     11071: 
1.237     moko     11072: fi ;;
                   11073: esac
1.128     moko     11074: fi
                   11075: AS=$ac_cv_prog_AS
                   11076: if test -n "$AS"; then
1.237     moko     11077:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   11078: printf "%s\n" "$AS" >&6; }
1.128     moko     11079: else
1.237     moko     11080:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11081: printf "%s\n" "no" >&6; }
1.128     moko     11082: fi
                   11083: 
1.150     moko     11084: 
1.128     moko     11085: fi
                   11086: if test -z "$ac_cv_prog_AS"; then
                   11087:   ac_ct_AS=$AS
                   11088:   # Extract the first word of "as", so it can be a program name with args.
                   11089: set dummy as; ac_word=$2
1.237     moko     11090: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11091: printf %s "checking for $ac_word... " >&6; }
                   11092: if test ${ac_cv_prog_ac_ct_AS+y}
                   11093: then :
                   11094:   printf %s "(cached) " >&6
                   11095: else case e in #(
                   11096:   e) if test -n "$ac_ct_AS"; then
1.128     moko     11097:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   11098: else
                   11099: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11100: for as_dir in $PATH
                   11101: do
                   11102:   IFS=$as_save_IFS
1.237     moko     11103:   case $as_dir in #(((
                   11104:     '') as_dir=./ ;;
                   11105:     */) ;;
                   11106:     *) as_dir=$as_dir/ ;;
                   11107:   esac
1.150     moko     11108:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     11109:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     11110:     ac_cv_prog_ac_ct_AS="as"
1.237     moko     11111:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     11112:     break 2
                   11113:   fi
                   11114: done
1.150     moko     11115:   done
                   11116: IFS=$as_save_IFS
1.128     moko     11117: 
1.237     moko     11118: fi ;;
                   11119: esac
1.128     moko     11120: fi
                   11121: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   11122: if test -n "$ac_ct_AS"; then
1.237     moko     11123:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   11124: printf "%s\n" "$ac_ct_AS" >&6; }
1.128     moko     11125: else
1.237     moko     11126:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11127: printf "%s\n" "no" >&6; }
1.128     moko     11128: fi
                   11129: 
1.150     moko     11130:   if test "x$ac_ct_AS" = x; then
                   11131:     AS="false"
                   11132:   else
                   11133:     case $cross_compiling:$ac_tool_warned in
                   11134: yes:)
1.237     moko     11135: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   11136: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     11137: ac_tool_warned=yes ;;
                   11138: esac
                   11139:     AS=$ac_ct_AS
                   11140:   fi
1.128     moko     11141: else
                   11142:   AS="$ac_cv_prog_AS"
                   11143: fi
                   11144: 
                   11145:   if test -n "$ac_tool_prefix"; then
                   11146:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   11147: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.237     moko     11148: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11149: printf %s "checking for $ac_word... " >&6; }
                   11150: if test ${ac_cv_prog_DLLTOOL+y}
                   11151: then :
                   11152:   printf %s "(cached) " >&6
                   11153: else case e in #(
                   11154:   e) if test -n "$DLLTOOL"; then
1.128     moko     11155:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   11156: else
                   11157: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11158: for as_dir in $PATH
                   11159: do
                   11160:   IFS=$as_save_IFS
1.237     moko     11161:   case $as_dir in #(((
                   11162:     '') as_dir=./ ;;
                   11163:     */) ;;
                   11164:     *) as_dir=$as_dir/ ;;
                   11165:   esac
1.150     moko     11166:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     11167:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     11168:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.237     moko     11169:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     11170:     break 2
                   11171:   fi
                   11172: done
1.150     moko     11173:   done
                   11174: IFS=$as_save_IFS
1.128     moko     11175: 
1.237     moko     11176: fi ;;
                   11177: esac
1.128     moko     11178: fi
                   11179: DLLTOOL=$ac_cv_prog_DLLTOOL
                   11180: if test -n "$DLLTOOL"; then
1.237     moko     11181:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   11182: printf "%s\n" "$DLLTOOL" >&6; }
1.128     moko     11183: else
1.237     moko     11184:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11185: printf "%s\n" "no" >&6; }
1.128     moko     11186: fi
                   11187: 
1.150     moko     11188: 
1.128     moko     11189: fi
                   11190: if test -z "$ac_cv_prog_DLLTOOL"; then
                   11191:   ac_ct_DLLTOOL=$DLLTOOL
                   11192:   # Extract the first word of "dlltool", so it can be a program name with args.
                   11193: set dummy dlltool; ac_word=$2
1.237     moko     11194: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11195: printf %s "checking for $ac_word... " >&6; }
                   11196: if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
                   11197: then :
                   11198:   printf %s "(cached) " >&6
                   11199: else case e in #(
                   11200:   e) if test -n "$ac_ct_DLLTOOL"; then
1.128     moko     11201:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   11202: else
                   11203: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11204: for as_dir in $PATH
                   11205: do
                   11206:   IFS=$as_save_IFS
1.237     moko     11207:   case $as_dir in #(((
                   11208:     '') as_dir=./ ;;
                   11209:     */) ;;
                   11210:     *) as_dir=$as_dir/ ;;
                   11211:   esac
1.150     moko     11212:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     11213:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     11214:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.237     moko     11215:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     11216:     break 2
                   11217:   fi
                   11218: done
1.150     moko     11219:   done
                   11220: IFS=$as_save_IFS
1.128     moko     11221: 
1.237     moko     11222: fi ;;
                   11223: esac
1.128     moko     11224: fi
                   11225: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   11226: if test -n "$ac_ct_DLLTOOL"; then
1.237     moko     11227:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   11228: printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
1.128     moko     11229: else
1.237     moko     11230:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11231: printf "%s\n" "no" >&6; }
1.128     moko     11232: fi
                   11233: 
1.150     moko     11234:   if test "x$ac_ct_DLLTOOL" = x; then
                   11235:     DLLTOOL="false"
                   11236:   else
                   11237:     case $cross_compiling:$ac_tool_warned in
                   11238: yes:)
1.237     moko     11239: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   11240: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     11241: ac_tool_warned=yes ;;
                   11242: esac
                   11243:     DLLTOOL=$ac_ct_DLLTOOL
                   11244:   fi
1.128     moko     11245: else
                   11246:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   11247: fi
                   11248: 
                   11249:   if test -n "$ac_tool_prefix"; then
                   11250:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   11251: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.237     moko     11252: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11253: printf %s "checking for $ac_word... " >&6; }
                   11254: if test ${ac_cv_prog_OBJDUMP+y}
                   11255: then :
                   11256:   printf %s "(cached) " >&6
                   11257: else case e in #(
                   11258:   e) if test -n "$OBJDUMP"; then
1.128     moko     11259:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   11260: else
                   11261: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11262: for as_dir in $PATH
                   11263: do
                   11264:   IFS=$as_save_IFS
1.237     moko     11265:   case $as_dir in #(((
                   11266:     '') as_dir=./ ;;
                   11267:     */) ;;
                   11268:     *) as_dir=$as_dir/ ;;
                   11269:   esac
1.150     moko     11270:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     11271:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     11272:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.237     moko     11273:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     11274:     break 2
                   11275:   fi
                   11276: done
1.150     moko     11277:   done
                   11278: IFS=$as_save_IFS
1.128     moko     11279: 
1.237     moko     11280: fi ;;
                   11281: esac
1.128     moko     11282: fi
                   11283: OBJDUMP=$ac_cv_prog_OBJDUMP
                   11284: if test -n "$OBJDUMP"; then
1.237     moko     11285:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   11286: printf "%s\n" "$OBJDUMP" >&6; }
1.128     moko     11287: else
1.237     moko     11288:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11289: printf "%s\n" "no" >&6; }
1.128     moko     11290: fi
                   11291: 
1.150     moko     11292: 
1.128     moko     11293: fi
                   11294: if test -z "$ac_cv_prog_OBJDUMP"; then
                   11295:   ac_ct_OBJDUMP=$OBJDUMP
                   11296:   # Extract the first word of "objdump", so it can be a program name with args.
                   11297: set dummy objdump; ac_word=$2
1.237     moko     11298: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11299: printf %s "checking for $ac_word... " >&6; }
                   11300: if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
                   11301: then :
                   11302:   printf %s "(cached) " >&6
                   11303: else case e in #(
                   11304:   e) if test -n "$ac_ct_OBJDUMP"; then
1.128     moko     11305:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   11306: else
                   11307: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11308: for as_dir in $PATH
                   11309: do
                   11310:   IFS=$as_save_IFS
1.237     moko     11311:   case $as_dir in #(((
                   11312:     '') as_dir=./ ;;
                   11313:     */) ;;
                   11314:     *) as_dir=$as_dir/ ;;
                   11315:   esac
1.150     moko     11316:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     11317:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     11318:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.237     moko     11319:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     11320:     break 2
                   11321:   fi
                   11322: done
1.150     moko     11323:   done
                   11324: IFS=$as_save_IFS
1.128     moko     11325: 
1.237     moko     11326: fi ;;
                   11327: esac
1.128     moko     11328: fi
                   11329: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   11330: if test -n "$ac_ct_OBJDUMP"; then
1.237     moko     11331:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   11332: printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
1.128     moko     11333: else
1.237     moko     11334:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11335: printf "%s\n" "no" >&6; }
1.128     moko     11336: fi
                   11337: 
1.150     moko     11338:   if test "x$ac_ct_OBJDUMP" = x; then
                   11339:     OBJDUMP="false"
                   11340:   else
                   11341:     case $cross_compiling:$ac_tool_warned in
                   11342: yes:)
1.237     moko     11343: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   11344: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     11345: ac_tool_warned=yes ;;
                   11346: esac
                   11347:     OBJDUMP=$ac_ct_OBJDUMP
                   11348:   fi
1.128     moko     11349: else
                   11350:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   11351: fi
                   11352: 
                   11353:   ;;
                   11354: esac
                   11355: 
                   11356: test -z "$AS" && AS=as
                   11357: 
                   11358: 
                   11359: 
                   11360: 
                   11361: 
                   11362: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   11363: 
                   11364: 
                   11365: 
                   11366: 
                   11367: 
                   11368: test -z "$OBJDUMP" && OBJDUMP=objdump
                   11369: 
                   11370: 
                   11371: 
                   11372: 
1.237     moko     11373: # Check whether --enable-pic was given.
                   11374: if test ${enable_pic+y}
                   11375: then :
                   11376:   enableval=$enable_pic; lt_p=${PACKAGE-default}
                   11377:      case $enableval in
                   11378:      yes|no) pic_mode=$enableval ;;
                   11379:      *)
                   11380:        pic_mode=default
                   11381:        # Look at the argument we got.  We use all the common list separators.
                   11382:        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
                   11383:        for lt_pkg in $enableval; do
                   11384:         IFS=$lt_save_ifs
                   11385:         if test "X$lt_pkg" = "X$lt_p"; then
                   11386:           pic_mode=yes
                   11387:         fi
                   11388:        done
                   11389:        IFS=$lt_save_ifs
                   11390:        ;;
                   11391:      esac
                   11392: else case e in #(
                   11393:   e)           # Check whether --with-pic was given.
                   11394: if test ${with_pic+y}
                   11395: then :
1.150     moko     11396:   withval=$with_pic; lt_p=${PACKAGE-default}
1.237     moko     11397:         case $withval in
                   11398:         yes|no) pic_mode=$withval ;;
                   11399:         *)
                   11400:           pic_mode=default
                   11401:           # Look at the argument we got.  We use all the common list separators.
                   11402:           lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
                   11403:           for lt_pkg in $withval; do
                   11404:             IFS=$lt_save_ifs
                   11405:             if test "X$lt_pkg" = "X$lt_p"; then
                   11406:               pic_mode=yes
                   11407:             fi
                   11408:           done
                   11409:           IFS=$lt_save_ifs
                   11410:           ;;
                   11411:         esac
                   11412: else case e in #(
                   11413:   e) pic_mode=no ;;
                   11414: esac
1.150     moko     11415: fi
                   11416: 
1.237     moko     11417:      ;;
                   11418: esac
                   11419: fi
1.145     moko     11420: 
                   11421: 
                   11422: 
                   11423: 
                   11424: 
                   11425: 
                   11426: 
1.128     moko     11427: 
                   11428: 
                   11429: 
                   11430: 
1.150     moko     11431:             # Check whether --enable-shared was given.
1.237     moko     11432: if test ${enable_shared+y}
                   11433: then :
1.150     moko     11434:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     11435:     case $enableval in
                   11436:     yes) enable_shared=yes ;;
                   11437:     no) enable_shared=no ;;
                   11438:     *)
                   11439:       enable_shared=no
                   11440:       # Look at the argument we got.  We use all the common list separators.
1.237     moko     11441:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.128     moko     11442:       for pkg in $enableval; do
1.237     moko     11443:        IFS=$lt_save_ifs
1.128     moko     11444:        if test "X$pkg" = "X$p"; then
                   11445:          enable_shared=yes
                   11446:        fi
                   11447:       done
1.237     moko     11448:       IFS=$lt_save_ifs
1.128     moko     11449:       ;;
                   11450:     esac
1.237     moko     11451: else case e in #(
                   11452:   e) enable_shared=yes ;;
                   11453: esac
1.150     moko     11454: fi
                   11455: 
1.128     moko     11456: 
                   11457: 
                   11458: 
                   11459: 
                   11460: 
                   11461: 
                   11462: 
                   11463: 
1.150     moko     11464:   # Check whether --enable-static was given.
1.237     moko     11465: if test ${enable_static+y}
                   11466: then :
1.150     moko     11467:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     11468:     case $enableval in
                   11469:     yes) enable_static=yes ;;
                   11470:     no) enable_static=no ;;
                   11471:     *)
                   11472:      enable_static=no
                   11473:       # Look at the argument we got.  We use all the common list separators.
1.237     moko     11474:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.138     moko     11475:       for pkg in $enableval; do
1.237     moko     11476:        IFS=$lt_save_ifs
1.138     moko     11477:        if test "X$pkg" = "X$p"; then
                   11478:          enable_static=yes
                   11479:        fi
                   11480:       done
1.237     moko     11481:       IFS=$lt_save_ifs
1.138     moko     11482:       ;;
                   11483:     esac
1.237     moko     11484: else case e in #(
                   11485:   e) enable_static=yes ;;
                   11486: esac
1.150     moko     11487: fi
                   11488: 
1.138     moko     11489: 
                   11490: 
                   11491: 
                   11492: 
                   11493: 
                   11494: 
                   11495: 
1.128     moko     11496: 
                   11497: 
1.150     moko     11498:   # Check whether --enable-fast-install was given.
1.237     moko     11499: if test ${enable_fast_install+y}
                   11500: then :
1.150     moko     11501:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     11502:     case $enableval in
                   11503:     yes) enable_fast_install=yes ;;
                   11504:     no) enable_fast_install=no ;;
                   11505:     *)
                   11506:       enable_fast_install=no
                   11507:       # Look at the argument we got.  We use all the common list separators.
1.237     moko     11508:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.128     moko     11509:       for pkg in $enableval; do
1.237     moko     11510:        IFS=$lt_save_ifs
1.128     moko     11511:        if test "X$pkg" = "X$p"; then
                   11512:          enable_fast_install=yes
                   11513:        fi
                   11514:       done
1.237     moko     11515:       IFS=$lt_save_ifs
1.128     moko     11516:       ;;
                   11517:     esac
1.237     moko     11518: else case e in #(
                   11519:   e) enable_fast_install=yes ;;
                   11520: esac
                   11521: fi
                   11522: 
                   11523: 
                   11524: 
                   11525: 
                   11526: 
                   11527: 
                   11528: 
                   11529: 
                   11530:   shared_archive_member_spec=
                   11531: case $host,$enable_shared in
                   11532: power*-*-aix[5-9]*,yes)
                   11533:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
                   11534: printf %s "checking which variant of shared library versioning to provide... " >&6; }
                   11535:   # Check whether --enable-aix-soname was given.
                   11536: if test ${enable_aix_soname+y}
                   11537: then :
                   11538:   enableval=$enable_aix_soname; case $enableval in
                   11539:      aix|svr4|both)
                   11540:        ;;
                   11541:      *)
                   11542:        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
                   11543:        ;;
                   11544:      esac
                   11545:      lt_cv_with_aix_soname=$enable_aix_soname
                   11546: else case e in #(
                   11547:   e) # Check whether --with-aix-soname was given.
                   11548: if test ${with_aix_soname+y}
                   11549: then :
                   11550:   withval=$with_aix_soname; case $withval in
                   11551:          aix|svr4|both)
                   11552:            ;;
                   11553:          *)
                   11554:            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
                   11555:            ;;
                   11556:          esac
                   11557:          lt_cv_with_aix_soname=$with_aix_soname
                   11558: else case e in #(
                   11559:   e) if test ${lt_cv_with_aix_soname+y}
                   11560: then :
                   11561:   printf %s "(cached) " >&6
                   11562: else case e in #(
                   11563:   e) lt_cv_with_aix_soname=aix ;;
                   11564: esac
                   11565: fi
                   11566:  ;;
                   11567: esac
                   11568: fi
                   11569: 
                   11570:      enable_aix_soname=$lt_cv_with_aix_soname ;;
                   11571: esac
1.150     moko     11572: fi
                   11573: 
1.237     moko     11574:   with_aix_soname=$enable_aix_soname
                   11575:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
                   11576: printf "%s\n" "$with_aix_soname" >&6; }
                   11577:   if test aix != "$with_aix_soname"; then
                   11578:     # For the AIX way of multilib, we name the shared archive member
                   11579:     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
                   11580:     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
                   11581:     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
                   11582:     # the AIX toolchain works better with OBJECT_MODE set (default 32).
                   11583:     if test 64 = "${OBJECT_MODE-32}"; then
                   11584:       shared_archive_member_spec=shr_64
                   11585:     else
                   11586:       shared_archive_member_spec=shr
                   11587:     fi
                   11588:   fi
                   11589:   ;;
                   11590: *)
                   11591:   with_aix_soname=aix
                   11592:   ;;
                   11593: esac
1.128     moko     11594: 
                   11595: 
                   11596: 
                   11597: 
                   11598: 
                   11599: 
                   11600: 
                   11601: 
                   11602: 
                   11603: 
                   11604: # This can be used to rebuild libtool when needed
1.237     moko     11605: LIBTOOL_DEPS=$ltmain
1.128     moko     11606: 
                   11607: # Always use our own libtool.
                   11608: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   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: test -z "$LN_S" && LN_S="ln -s"
                   11640: 
                   11641: 
                   11642: 
                   11643: 
                   11644: 
                   11645: 
                   11646: 
                   11647: 
                   11648: 
                   11649: 
                   11650: 
                   11651: 
                   11652: 
                   11653: 
1.237     moko     11654: if test -n "${ZSH_VERSION+set}"; then
1.128     moko     11655:    setopt NO_GLOB_SUBST
                   11656: fi
                   11657: 
1.237     moko     11658: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   11659: printf %s "checking for objdir... " >&6; }
                   11660: if test ${lt_cv_objdir+y}
                   11661: then :
                   11662:   printf %s "(cached) " >&6
                   11663: else case e in #(
                   11664:   e) rm -f .libs 2>/dev/null
1.128     moko     11665: mkdir .libs 2>/dev/null
                   11666: if test -d .libs; then
                   11667:   lt_cv_objdir=.libs
                   11668: else
                   11669:   # MS-DOS does not allow filenames that begin with a dot.
                   11670:   lt_cv_objdir=_libs
                   11671: fi
1.237     moko     11672: rmdir .libs 2>/dev/null ;;
                   11673: esac
1.128     moko     11674: fi
1.237     moko     11675: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   11676: printf "%s\n" "$lt_cv_objdir" >&6; }
1.128     moko     11677: objdir=$lt_cv_objdir
                   11678: 
                   11679: 
                   11680: 
                   11681: 
                   11682: 
1.237     moko     11683: printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
1.128     moko     11684: 
                   11685: 
                   11686: 
                   11687: 
                   11688: case $host_os in
                   11689: aix3*)
                   11690:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   11691:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   11692:   # vanish in a puff of smoke.
1.237     moko     11693:   if test set != "${COLLECT_NAMES+set}"; then
1.128     moko     11694:     COLLECT_NAMES=
                   11695:     export COLLECT_NAMES
                   11696:   fi
                   11697:   ;;
                   11698: esac
                   11699: 
                   11700: # Global variables:
                   11701: ofile=libtool
                   11702: can_build_shared=yes
                   11703: 
1.237     moko     11704: # All known linkers require a '.a' archive for static linking (except MSVC and
                   11705: # ICC, which need '.lib').
1.128     moko     11706: libext=a
                   11707: 
1.237     moko     11708: with_gnu_ld=$lt_cv_prog_gnu_ld
1.128     moko     11709: 
1.237     moko     11710: old_CC=$CC
                   11711: old_CFLAGS=$CFLAGS
1.128     moko     11712: 
                   11713: # Set sane defaults for various variables
                   11714: test -z "$CC" && CC=cc
                   11715: test -z "$LTCC" && LTCC=$CC
                   11716: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   11717: test -z "$LD" && LD=ld
                   11718: test -z "$ac_objext" && ac_objext=o
                   11719: 
1.237     moko     11720: func_cc_basename $compiler
                   11721: cc_basename=$func_cc_basename_result
1.128     moko     11722: 
                   11723: 
                   11724: # Only perform the check for file, if the check method requires it
                   11725: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   11726: case $deplibs_check_method in
                   11727: file_magic*)
                   11728:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.237     moko     11729:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   11730: printf %s "checking for ${ac_tool_prefix}file... " >&6; }
                   11731: if test ${lt_cv_path_MAGIC_CMD+y}
                   11732: then :
                   11733:   printf %s "(cached) " >&6
                   11734: else case e in #(
                   11735:   e) case $MAGIC_CMD in
1.128     moko     11736: [\\/*] |  ?:[\\/]*)
1.237     moko     11737:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1.128     moko     11738:   ;;
                   11739: *)
1.237     moko     11740:   lt_save_MAGIC_CMD=$MAGIC_CMD
                   11741:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     11742:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   11743:   for ac_dir in $ac_dummy; do
1.237     moko     11744:     IFS=$lt_save_ifs
1.128     moko     11745:     test -z "$ac_dir" && ac_dir=.
1.237     moko     11746:     if test -f "$ac_dir/${ac_tool_prefix}file"; then
                   11747:       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
1.128     moko     11748:       if test -n "$file_magic_test_file"; then
                   11749:        case $deplibs_check_method in
                   11750:        "file_magic "*)
                   11751:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.237     moko     11752:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.128     moko     11753:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   11754:            $EGREP "$file_magic_regex" > /dev/null; then
                   11755:            :
                   11756:          else
                   11757:            cat <<_LT_EOF 1>&2
                   11758: 
                   11759: *** Warning: the command libtool uses to detect shared libraries,
                   11760: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   11761: *** The result is that libtool may fail to recognize shared libraries
                   11762: *** as such.  This will affect the creation of libtool libraries that
                   11763: *** depend on shared libraries, but programs linked with such libtool
                   11764: *** libraries will work regardless of this problem.  Nevertheless, you
                   11765: *** may want to report the problem to your system manager and/or to
                   11766: *** bug-libtool@gnu.org
                   11767: 
                   11768: _LT_EOF
                   11769:          fi ;;
                   11770:        esac
                   11771:       fi
                   11772:       break
                   11773:     fi
                   11774:   done
1.237     moko     11775:   IFS=$lt_save_ifs
                   11776:   MAGIC_CMD=$lt_save_MAGIC_CMD
1.128     moko     11777:   ;;
1.237     moko     11778: esac ;;
1.128     moko     11779: esac
                   11780: fi
                   11781: 
1.237     moko     11782: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.128     moko     11783: if test -n "$MAGIC_CMD"; then
1.237     moko     11784:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   11785: printf "%s\n" "$MAGIC_CMD" >&6; }
1.128     moko     11786: else
1.237     moko     11787:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11788: printf "%s\n" "no" >&6; }
1.128     moko     11789: fi
                   11790: 
                   11791: 
                   11792: 
                   11793: 
                   11794: 
                   11795: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   11796:   if test -n "$ac_tool_prefix"; then
1.237     moko     11797:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   11798: printf %s "checking for file... " >&6; }
                   11799: if test ${lt_cv_path_MAGIC_CMD+y}
                   11800: then :
                   11801:   printf %s "(cached) " >&6
                   11802: else case e in #(
                   11803:   e) case $MAGIC_CMD in
1.128     moko     11804: [\\/*] |  ?:[\\/]*)
1.237     moko     11805:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1.128     moko     11806:   ;;
                   11807: *)
1.237     moko     11808:   lt_save_MAGIC_CMD=$MAGIC_CMD
                   11809:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     11810:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   11811:   for ac_dir in $ac_dummy; do
1.237     moko     11812:     IFS=$lt_save_ifs
1.128     moko     11813:     test -z "$ac_dir" && ac_dir=.
1.237     moko     11814:     if test -f "$ac_dir/file"; then
                   11815:       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
1.128     moko     11816:       if test -n "$file_magic_test_file"; then
                   11817:        case $deplibs_check_method in
                   11818:        "file_magic "*)
                   11819:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.237     moko     11820:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.128     moko     11821:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   11822:            $EGREP "$file_magic_regex" > /dev/null; then
                   11823:            :
                   11824:          else
                   11825:            cat <<_LT_EOF 1>&2
                   11826: 
                   11827: *** Warning: the command libtool uses to detect shared libraries,
                   11828: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   11829: *** The result is that libtool may fail to recognize shared libraries
                   11830: *** as such.  This will affect the creation of libtool libraries that
                   11831: *** depend on shared libraries, but programs linked with such libtool
                   11832: *** libraries will work regardless of this problem.  Nevertheless, you
                   11833: *** may want to report the problem to your system manager and/or to
                   11834: *** bug-libtool@gnu.org
                   11835: 
                   11836: _LT_EOF
                   11837:          fi ;;
                   11838:        esac
                   11839:       fi
                   11840:       break
                   11841:     fi
                   11842:   done
1.237     moko     11843:   IFS=$lt_save_ifs
                   11844:   MAGIC_CMD=$lt_save_MAGIC_CMD
1.128     moko     11845:   ;;
1.237     moko     11846: esac ;;
1.128     moko     11847: esac
                   11848: fi
                   11849: 
1.237     moko     11850: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.128     moko     11851: if test -n "$MAGIC_CMD"; then
1.237     moko     11852:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   11853: printf "%s\n" "$MAGIC_CMD" >&6; }
1.128     moko     11854: else
1.237     moko     11855:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11856: printf "%s\n" "no" >&6; }
1.128     moko     11857: fi
                   11858: 
                   11859: 
                   11860:   else
                   11861:     MAGIC_CMD=:
                   11862:   fi
                   11863: fi
                   11864: 
                   11865:   fi
                   11866:   ;;
                   11867: esac
                   11868: 
                   11869: # Use C for the default configuration in the libtool script
                   11870: 
1.237     moko     11871: lt_save_CC=$CC
1.128     moko     11872: ac_ext=c
                   11873: ac_cpp='$CPP $CPPFLAGS'
                   11874: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11875: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11876: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11877: 
                   11878: 
                   11879: # Source file extension for C test sources.
                   11880: ac_ext=c
                   11881: 
                   11882: # Object file extension for compiled C test sources.
                   11883: objext=o
                   11884: objext=$objext
                   11885: 
                   11886: # Code to be used in simple compile tests
                   11887: lt_simple_compile_test_code="int some_variable = 0;"
                   11888: 
                   11889: # Code to be used in simple link tests
1.237     moko     11890: lt_simple_link_test_code='int main(void){return(0);}'
1.128     moko     11891: 
                   11892: 
                   11893: 
                   11894: 
                   11895: 
                   11896: 
                   11897: 
                   11898: # If no C compiler was specified, use CC.
                   11899: LTCC=${LTCC-"$CC"}
                   11900: 
                   11901: # If no C compiler flags were specified, use CFLAGS.
                   11902: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   11903: 
                   11904: # Allow CC to be a program name with arguments.
                   11905: compiler=$CC
                   11906: 
                   11907: # Save the default compiler, since it gets overwritten when the other
                   11908: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   11909: compiler_DEFAULT=$CC
                   11910: 
                   11911: # save warnings/boilerplate of simple test code
                   11912: ac_outfile=conftest.$ac_objext
                   11913: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   11914: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   11915: _lt_compiler_boilerplate=`cat conftest.err`
                   11916: $RM conftest*
                   11917: 
                   11918: ac_outfile=conftest.$ac_objext
                   11919: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   11920: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   11921: _lt_linker_boilerplate=`cat conftest.err`
                   11922: $RM -r conftest*
                   11923: 
                   11924: 
                   11925: ## CAVEAT EMPTOR:
                   11926: ## There is no encapsulation within the following macros, do not change
                   11927: ## the running order or otherwise move them around unless you know exactly
                   11928: ## what you are doing...
                   11929: if test -n "$compiler"; then
                   11930: 
                   11931: lt_prog_compiler_no_builtin_flag=
                   11932: 
1.237     moko     11933: if test yes = "$GCC"; then
1.128     moko     11934:   case $cc_basename in
                   11935:   nvcc*)
                   11936:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   11937:   *)
                   11938:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   11939:   esac
                   11940: 
1.237     moko     11941:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   11942: printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   11943: if test ${lt_cv_prog_compiler_rtti_exceptions+y}
                   11944: then :
                   11945:   printf %s "(cached) " >&6
                   11946: else case e in #(
                   11947:   e) lt_cv_prog_compiler_rtti_exceptions=no
1.128     moko     11948:    ac_outfile=conftest.$ac_objext
                   11949:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.237     moko     11950:    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
1.128     moko     11951:    # Insert the option either (1) after the last *FLAGS variable, or
                   11952:    # (2) before a word containing "conftest.", or (3) at the end.
                   11953:    # Note that $ac_compile itself does not contain backslashes and begins
                   11954:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   11955:    # The option is referenced via a variable to avoid confusing sed.
                   11956:    lt_compile=`echo "$ac_compile" | $SED \
                   11957:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   11958:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   11959:    -e 's:$: $lt_compiler_flag:'`
                   11960:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   11961:    (eval "$lt_compile" 2>conftest.err)
                   11962:    ac_status=$?
                   11963:    cat conftest.err >&5
                   11964:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11965:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   11966:      # The compiler can only warn and ignore the option if not recognized
                   11967:      # So say no if there are warnings other than the usual output.
                   11968:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   11969:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   11970:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   11971:        lt_cv_prog_compiler_rtti_exceptions=yes
                   11972:      fi
                   11973:    fi
                   11974:    $RM conftest*
1.237     moko     11975:  ;;
                   11976: esac
1.128     moko     11977: fi
1.237     moko     11978: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   11979: printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     11980: 
1.237     moko     11981: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
1.128     moko     11982:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   11983: else
                   11984:     :
                   11985: fi
                   11986: 
                   11987: fi
                   11988: 
                   11989: 
                   11990: 
                   11991: 
                   11992: 
                   11993: 
                   11994:   lt_prog_compiler_wl=
                   11995: lt_prog_compiler_pic=
                   11996: lt_prog_compiler_static=
                   11997: 
                   11998: 
1.237     moko     11999:   if test yes = "$GCC"; then
1.128     moko     12000:     lt_prog_compiler_wl='-Wl,'
                   12001:     lt_prog_compiler_static='-static'
                   12002: 
                   12003:     case $host_os in
                   12004:       aix*)
                   12005:       # All AIX code is PIC.
1.237     moko     12006:       if test ia64 = "$host_cpu"; then
1.128     moko     12007:        # AIX 5 now supports IA64 processor
                   12008:        lt_prog_compiler_static='-Bstatic'
                   12009:       fi
1.237     moko     12010:       lt_prog_compiler_pic='-fPIC'
1.128     moko     12011:       ;;
                   12012: 
                   12013:     amigaos*)
                   12014:       case $host_cpu in
                   12015:       powerpc)
                   12016:             # see comment about AmigaOS4 .so support
                   12017:             lt_prog_compiler_pic='-fPIC'
                   12018:         ;;
                   12019:       m68k)
                   12020:             # FIXME: we need at least 68020 code to build shared libraries, but
1.237     moko     12021:             # adding the '-m68020' flag to GCC prevents building anything better,
                   12022:             # like '-m68040'.
1.128     moko     12023:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   12024:         ;;
                   12025:       esac
                   12026:       ;;
                   12027: 
                   12028:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   12029:       # PIC is the default for these OSes.
                   12030:       ;;
                   12031: 
1.237     moko     12032:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
1.128     moko     12033:       # This hack is so that the source file can tell whether it is being
                   12034:       # built for inclusion in a dll (and should export symbols for example).
                   12035:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   12036:       # (--disable-auto-import) libraries
                   12037:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.237     moko     12038:       case $host_os in
                   12039:       os2*)
                   12040:        lt_prog_compiler_static='$wl-static'
                   12041:        ;;
                   12042:       esac
1.128     moko     12043:       ;;
                   12044: 
                   12045:     darwin* | rhapsody*)
                   12046:       # PIC is the default on this platform
                   12047:       # Common symbols not allowed in MH_DYLIB files
                   12048:       lt_prog_compiler_pic='-fno-common'
                   12049:       ;;
                   12050: 
                   12051:     haiku*)
                   12052:       # PIC is the default for Haiku.
                   12053:       # The "-static" flag exists, but is broken.
                   12054:       lt_prog_compiler_static=
                   12055:       ;;
                   12056: 
                   12057:     hpux*)
                   12058:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   12059:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   12060:       # sets the default TLS model and affects inlining.
                   12061:       case $host_cpu in
                   12062:       hppa*64*)
                   12063:        # +Z the default
                   12064:        ;;
                   12065:       *)
                   12066:        lt_prog_compiler_pic='-fPIC'
                   12067:        ;;
                   12068:       esac
                   12069:       ;;
                   12070: 
                   12071:     interix[3-9]*)
                   12072:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   12073:       # Instead, we relocate shared libraries at runtime.
                   12074:       ;;
                   12075: 
                   12076:     msdosdjgpp*)
                   12077:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   12078:       # on systems that don't support them.
                   12079:       lt_prog_compiler_can_build_shared=no
                   12080:       enable_shared=no
                   12081:       ;;
                   12082: 
                   12083:     *nto* | *qnx*)
                   12084:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   12085:       # it will coredump.
                   12086:       lt_prog_compiler_pic='-fPIC -shared'
                   12087:       ;;
                   12088: 
                   12089:     sysv4*MP*)
                   12090:       if test -d /usr/nec; then
                   12091:        lt_prog_compiler_pic=-Kconform_pic
                   12092:       fi
                   12093:       ;;
                   12094: 
                   12095:     *)
                   12096:       lt_prog_compiler_pic='-fPIC'
                   12097:       ;;
                   12098:     esac
                   12099: 
                   12100:     case $cc_basename in
                   12101:     nvcc*) # Cuda Compiler Driver 2.2
                   12102:       lt_prog_compiler_wl='-Xlinker '
                   12103:       if test -n "$lt_prog_compiler_pic"; then
                   12104:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   12105:       fi
                   12106:       ;;
                   12107:     esac
                   12108:   else
                   12109:     # PORTME Check for flag to pass linker flags through the system compiler.
                   12110:     case $host_os in
                   12111:     aix*)
                   12112:       lt_prog_compiler_wl='-Wl,'
1.237     moko     12113:       if test ia64 = "$host_cpu"; then
1.128     moko     12114:        # AIX 5 now supports IA64 processor
                   12115:        lt_prog_compiler_static='-Bstatic'
                   12116:       else
                   12117:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   12118:       fi
                   12119:       ;;
                   12120: 
1.237     moko     12121:     darwin* | rhapsody*)
                   12122:       # PIC is the default on this platform
                   12123:       # Common symbols not allowed in MH_DYLIB files
                   12124:       lt_prog_compiler_pic='-fno-common'
                   12125:       case $cc_basename in
                   12126:       nagfor*)
                   12127:         # NAG Fortran compiler
                   12128:         lt_prog_compiler_wl='-Wl,-Wl,,'
                   12129:         lt_prog_compiler_pic='-PIC'
                   12130:         lt_prog_compiler_static='-Bstatic'
                   12131:         ;;
                   12132:       esac
                   12133:       ;;
                   12134: 
                   12135:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
1.128     moko     12136:       # This hack is so that the source file can tell whether it is being
                   12137:       # built for inclusion in a dll (and should export symbols for example).
                   12138:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.237     moko     12139:       case $host_os in
                   12140:       os2*)
                   12141:        lt_prog_compiler_static='$wl-static'
                   12142:        ;;
                   12143:       esac
1.128     moko     12144:       ;;
                   12145: 
                   12146:     hpux9* | hpux10* | hpux11*)
                   12147:       lt_prog_compiler_wl='-Wl,'
                   12148:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   12149:       # not for PA HP-UX.
                   12150:       case $host_cpu in
                   12151:       hppa*64*|ia64*)
                   12152:        # +Z the default
                   12153:        ;;
                   12154:       *)
                   12155:        lt_prog_compiler_pic='+Z'
                   12156:        ;;
                   12157:       esac
                   12158:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.237     moko     12159:       lt_prog_compiler_static='$wl-a ${wl}archive'
1.128     moko     12160:       ;;
                   12161: 
                   12162:     irix5* | irix6* | nonstopux*)
                   12163:       lt_prog_compiler_wl='-Wl,'
                   12164:       # PIC (with -KPIC) is the default.
                   12165:       lt_prog_compiler_static='-non_shared'
                   12166:       ;;
                   12167: 
1.237     moko     12168:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     12169:       case $cc_basename in
1.237     moko     12170:       # old Intel for x86_64, which still supported -KPIC.
1.128     moko     12171:       ecc*)
                   12172:        lt_prog_compiler_wl='-Wl,'
                   12173:        lt_prog_compiler_pic='-KPIC'
                   12174:        lt_prog_compiler_static='-static'
                   12175:         ;;
1.237     moko     12176:       *flang* | ftn | f18* | f95*)
                   12177:         # Flang compiler.
                   12178:        lt_prog_compiler_wl='-Wl,'
                   12179:        lt_prog_compiler_pic='-fPIC'
                   12180:        lt_prog_compiler_static='-static'
                   12181:         ;;
                   12182:       # flang / f18. f95 an alias for gfortran or flang on Debian
                   12183:       flang* | f18* | f95*)
                   12184:        lt_prog_compiler_wl='-Wl,'
                   12185:        lt_prog_compiler_pic='-fPIC'
                   12186:        lt_prog_compiler_static='-static'
                   12187:         ;;
1.128     moko     12188:       # icc used to be incompatible with GCC.
                   12189:       # ICC 10 doesn't accept -KPIC any more.
                   12190:       icc* | ifort*)
                   12191:        lt_prog_compiler_wl='-Wl,'
                   12192:        lt_prog_compiler_pic='-fPIC'
                   12193:        lt_prog_compiler_static='-static'
                   12194:         ;;
                   12195:       # Lahey Fortran 8.1.
                   12196:       lf95*)
                   12197:        lt_prog_compiler_wl='-Wl,'
                   12198:        lt_prog_compiler_pic='--shared'
                   12199:        lt_prog_compiler_static='--static'
                   12200:        ;;
                   12201:       nagfor*)
                   12202:        # NAG Fortran compiler
                   12203:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   12204:        lt_prog_compiler_pic='-PIC'
                   12205:        lt_prog_compiler_static='-Bstatic'
                   12206:        ;;
1.237     moko     12207:       tcc*)
                   12208:        # Fabrice Bellard et al's Tiny C Compiler
                   12209:        lt_prog_compiler_wl='-Wl,'
                   12210:        lt_prog_compiler_pic='-fPIC'
                   12211:        lt_prog_compiler_static='-static'
                   12212:        ;;
1.128     moko     12213:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   12214:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   12215:        # which looks to be a dead project)
                   12216:        lt_prog_compiler_wl='-Wl,'
                   12217:        lt_prog_compiler_pic='-fpic'
                   12218:        lt_prog_compiler_static='-Bstatic'
                   12219:         ;;
                   12220:       ccc*)
                   12221:         lt_prog_compiler_wl='-Wl,'
                   12222:         # All Alpha code is PIC.
                   12223:         lt_prog_compiler_static='-non_shared'
                   12224:         ;;
                   12225:       xl* | bgxl* | bgf* | mpixl*)
                   12226:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   12227:        lt_prog_compiler_wl='-Wl,'
                   12228:        lt_prog_compiler_pic='-qpic'
                   12229:        lt_prog_compiler_static='-qstaticlink'
                   12230:        ;;
                   12231:       *)
1.237     moko     12232:        case `$CC -V 2>&1 | $SED 5q` in
1.128     moko     12233:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   12234:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   12235:          lt_prog_compiler_pic='-KPIC'
                   12236:          lt_prog_compiler_static='-Bstatic'
                   12237:          lt_prog_compiler_wl=''
                   12238:          ;;
                   12239:        *Sun\ F* | *Sun*Fortran*)
                   12240:          lt_prog_compiler_pic='-KPIC'
                   12241:          lt_prog_compiler_static='-Bstatic'
                   12242:          lt_prog_compiler_wl='-Qoption ld '
                   12243:          ;;
                   12244:        *Sun\ C*)
                   12245:          # Sun C 5.9
                   12246:          lt_prog_compiler_pic='-KPIC'
                   12247:          lt_prog_compiler_static='-Bstatic'
                   12248:          lt_prog_compiler_wl='-Wl,'
                   12249:          ;;
                   12250:         *Intel*\ [CF]*Compiler*)
                   12251:          lt_prog_compiler_wl='-Wl,'
                   12252:          lt_prog_compiler_pic='-fPIC'
                   12253:          lt_prog_compiler_static='-static'
                   12254:          ;;
                   12255:        *Portland\ Group*)
                   12256:          lt_prog_compiler_wl='-Wl,'
                   12257:          lt_prog_compiler_pic='-fpic'
                   12258:          lt_prog_compiler_static='-Bstatic'
                   12259:          ;;
                   12260:        esac
                   12261:        ;;
                   12262:       esac
                   12263:       ;;
                   12264: 
                   12265:     newsos6)
                   12266:       lt_prog_compiler_pic='-KPIC'
                   12267:       lt_prog_compiler_static='-Bstatic'
                   12268:       ;;
                   12269: 
1.237     moko     12270:     *-mlibc)
                   12271:       lt_prog_compiler_wl='-Wl,'
                   12272:       lt_prog_compiler_pic='-fPIC'
                   12273:       lt_prog_compiler_static='-static'
                   12274:       ;;
                   12275: 
1.128     moko     12276:     *nto* | *qnx*)
                   12277:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   12278:       # it will coredump.
                   12279:       lt_prog_compiler_pic='-fPIC -shared'
                   12280:       ;;
                   12281: 
                   12282:     osf3* | osf4* | osf5*)
                   12283:       lt_prog_compiler_wl='-Wl,'
                   12284:       # All OSF/1 code is PIC.
                   12285:       lt_prog_compiler_static='-non_shared'
                   12286:       ;;
                   12287: 
                   12288:     rdos*)
                   12289:       lt_prog_compiler_static='-non_shared'
                   12290:       ;;
                   12291: 
1.237     moko     12292:     serenity*)
                   12293:       ;;
                   12294: 
1.128     moko     12295:     solaris*)
                   12296:       lt_prog_compiler_pic='-KPIC'
                   12297:       lt_prog_compiler_static='-Bstatic'
                   12298:       case $cc_basename in
                   12299:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   12300:        lt_prog_compiler_wl='-Qoption ld ';;
                   12301:       *)
                   12302:        lt_prog_compiler_wl='-Wl,';;
                   12303:       esac
                   12304:       ;;
                   12305: 
                   12306:     sunos4*)
                   12307:       lt_prog_compiler_wl='-Qoption ld '
                   12308:       lt_prog_compiler_pic='-PIC'
                   12309:       lt_prog_compiler_static='-Bstatic'
                   12310:       ;;
                   12311: 
                   12312:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   12313:       lt_prog_compiler_wl='-Wl,'
                   12314:       lt_prog_compiler_pic='-KPIC'
                   12315:       lt_prog_compiler_static='-Bstatic'
                   12316:       ;;
                   12317: 
                   12318:     sysv4*MP*)
1.237     moko     12319:       if test -d /usr/nec; then
1.128     moko     12320:        lt_prog_compiler_pic='-Kconform_pic'
                   12321:        lt_prog_compiler_static='-Bstatic'
                   12322:       fi
                   12323:       ;;
                   12324: 
                   12325:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   12326:       lt_prog_compiler_wl='-Wl,'
                   12327:       lt_prog_compiler_pic='-KPIC'
                   12328:       lt_prog_compiler_static='-Bstatic'
                   12329:       ;;
                   12330: 
                   12331:     unicos*)
                   12332:       lt_prog_compiler_wl='-Wl,'
                   12333:       lt_prog_compiler_can_build_shared=no
                   12334:       ;;
                   12335: 
                   12336:     uts4*)
                   12337:       lt_prog_compiler_pic='-pic'
                   12338:       lt_prog_compiler_static='-Bstatic'
                   12339:       ;;
                   12340: 
                   12341:     *)
                   12342:       lt_prog_compiler_can_build_shared=no
                   12343:       ;;
                   12344:     esac
                   12345:   fi
                   12346: 
                   12347: case $host_os in
1.237     moko     12348:   # For platforms that do not support PIC, -DPIC is meaningless:
1.128     moko     12349:   *djgpp*)
                   12350:     lt_prog_compiler_pic=
                   12351:     ;;
                   12352:   *)
                   12353:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   12354:     ;;
                   12355: esac
                   12356: 
1.237     moko     12357: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   12358: printf %s "checking for $compiler option to produce PIC... " >&6; }
                   12359: if test ${lt_cv_prog_compiler_pic+y}
                   12360: then :
                   12361:   printf %s "(cached) " >&6
                   12362: else case e in #(
                   12363:   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
                   12364: esac
1.128     moko     12365: fi
1.237     moko     12366: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   12367: printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     12368: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   12369: 
                   12370: #
                   12371: # Check to make sure the PIC flag actually works.
                   12372: #
                   12373: if test -n "$lt_prog_compiler_pic"; then
1.237     moko     12374:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   12375: printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   12376: if test ${lt_cv_prog_compiler_pic_works+y}
                   12377: then :
                   12378:   printf %s "(cached) " >&6
                   12379: else case e in #(
                   12380:   e) lt_cv_prog_compiler_pic_works=no
1.128     moko     12381:    ac_outfile=conftest.$ac_objext
                   12382:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.237     moko     12383:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
1.128     moko     12384:    # Insert the option either (1) after the last *FLAGS variable, or
                   12385:    # (2) before a word containing "conftest.", or (3) at the end.
                   12386:    # Note that $ac_compile itself does not contain backslashes and begins
                   12387:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   12388:    # The option is referenced via a variable to avoid confusing sed.
                   12389:    lt_compile=`echo "$ac_compile" | $SED \
                   12390:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   12391:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   12392:    -e 's:$: $lt_compiler_flag:'`
                   12393:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   12394:    (eval "$lt_compile" 2>conftest.err)
                   12395:    ac_status=$?
                   12396:    cat conftest.err >&5
                   12397:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12398:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   12399:      # The compiler can only warn and ignore the option if not recognized
                   12400:      # So say no if there are warnings other than the usual output.
                   12401:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   12402:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   12403:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   12404:        lt_cv_prog_compiler_pic_works=yes
                   12405:      fi
                   12406:    fi
                   12407:    $RM conftest*
1.237     moko     12408:  ;;
                   12409: esac
1.128     moko     12410: fi
1.237     moko     12411: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   12412: printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     12413: 
1.237     moko     12414: if test yes = "$lt_cv_prog_compiler_pic_works"; then
1.128     moko     12415:     case $lt_prog_compiler_pic in
                   12416:      "" | " "*) ;;
                   12417:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   12418:      esac
                   12419: else
                   12420:     lt_prog_compiler_pic=
                   12421:      lt_prog_compiler_can_build_shared=no
                   12422: fi
                   12423: 
                   12424: fi
                   12425: 
                   12426: 
                   12427: 
                   12428: 
                   12429: 
                   12430: 
                   12431: 
                   12432: 
                   12433: 
                   12434: 
                   12435: 
                   12436: #
                   12437: # Check to make sure the static flag actually works.
                   12438: #
                   12439: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.237     moko     12440: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   12441: printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   12442: if test ${lt_cv_prog_compiler_static_works+y}
                   12443: then :
                   12444:   printf %s "(cached) " >&6
                   12445: else case e in #(
                   12446:   e) lt_cv_prog_compiler_static_works=no
                   12447:    save_LDFLAGS=$LDFLAGS
1.128     moko     12448:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   12449:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   12450:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   12451:      # The linker can only warn and ignore the option if not recognized
                   12452:      # So say no if there are warnings
                   12453:      if test -s conftest.err; then
                   12454:        # Append any errors to the config.log.
                   12455:        cat conftest.err 1>&5
                   12456:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   12457:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   12458:        if diff conftest.exp conftest.er2 >/dev/null; then
                   12459:          lt_cv_prog_compiler_static_works=yes
                   12460:        fi
                   12461:      else
                   12462:        lt_cv_prog_compiler_static_works=yes
                   12463:      fi
                   12464:    fi
                   12465:    $RM -r conftest*
1.237     moko     12466:    LDFLAGS=$save_LDFLAGS
                   12467:  ;;
                   12468: esac
1.128     moko     12469: fi
1.237     moko     12470: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   12471: printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     12472: 
1.237     moko     12473: if test yes = "$lt_cv_prog_compiler_static_works"; then
1.128     moko     12474:     :
                   12475: else
                   12476:     lt_prog_compiler_static=
                   12477: fi
                   12478: 
                   12479: 
                   12480: 
                   12481: 
                   12482: 
                   12483: 
                   12484: 
1.237     moko     12485:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   12486: printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   12487: if test ${lt_cv_prog_compiler_c_o+y}
                   12488: then :
                   12489:   printf %s "(cached) " >&6
                   12490: else case e in #(
                   12491:   e) lt_cv_prog_compiler_c_o=no
1.128     moko     12492:    $RM -r conftest 2>/dev/null
                   12493:    mkdir conftest
                   12494:    cd conftest
                   12495:    mkdir out
                   12496:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   12497: 
                   12498:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   12499:    # Insert the option either (1) after the last *FLAGS variable, or
                   12500:    # (2) before a word containing "conftest.", or (3) at the end.
                   12501:    # Note that $ac_compile itself does not contain backslashes and begins
                   12502:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   12503:    lt_compile=`echo "$ac_compile" | $SED \
                   12504:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   12505:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   12506:    -e 's:$: $lt_compiler_flag:'`
                   12507:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   12508:    (eval "$lt_compile" 2>out/conftest.err)
                   12509:    ac_status=$?
                   12510:    cat out/conftest.err >&5
                   12511:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12512:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   12513:    then
                   12514:      # The compiler can only warn and ignore the option if not recognized
                   12515:      # So say no if there are warnings
                   12516:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   12517:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   12518:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   12519:        lt_cv_prog_compiler_c_o=yes
                   12520:      fi
                   12521:    fi
                   12522:    chmod u+w . 2>&5
                   12523:    $RM conftest*
                   12524:    # SGI C++ compiler will create directory out/ii_files/ for
                   12525:    # template instantiation
                   12526:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   12527:    $RM out/* && rmdir out
                   12528:    cd ..
                   12529:    $RM -r conftest
                   12530:    $RM conftest*
1.237     moko     12531:  ;;
                   12532: esac
1.128     moko     12533: fi
1.237     moko     12534: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   12535: printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     12536: 
                   12537: 
                   12538: 
                   12539: 
                   12540: 
                   12541: 
1.237     moko     12542:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   12543: printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   12544: if test ${lt_cv_prog_compiler_c_o+y}
                   12545: then :
                   12546:   printf %s "(cached) " >&6
                   12547: else case e in #(
                   12548:   e) lt_cv_prog_compiler_c_o=no
1.128     moko     12549:    $RM -r conftest 2>/dev/null
                   12550:    mkdir conftest
                   12551:    cd conftest
                   12552:    mkdir out
                   12553:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   12554: 
                   12555:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   12556:    # Insert the option either (1) after the last *FLAGS variable, or
                   12557:    # (2) before a word containing "conftest.", or (3) at the end.
                   12558:    # Note that $ac_compile itself does not contain backslashes and begins
                   12559:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   12560:    lt_compile=`echo "$ac_compile" | $SED \
                   12561:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   12562:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   12563:    -e 's:$: $lt_compiler_flag:'`
                   12564:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   12565:    (eval "$lt_compile" 2>out/conftest.err)
                   12566:    ac_status=$?
                   12567:    cat out/conftest.err >&5
                   12568:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12569:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   12570:    then
                   12571:      # The compiler can only warn and ignore the option if not recognized
                   12572:      # So say no if there are warnings
                   12573:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   12574:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   12575:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   12576:        lt_cv_prog_compiler_c_o=yes
                   12577:      fi
                   12578:    fi
                   12579:    chmod u+w . 2>&5
                   12580:    $RM conftest*
                   12581:    # SGI C++ compiler will create directory out/ii_files/ for
                   12582:    # template instantiation
                   12583:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   12584:    $RM out/* && rmdir out
                   12585:    cd ..
                   12586:    $RM -r conftest
                   12587:    $RM conftest*
1.237     moko     12588:  ;;
                   12589: esac
1.128     moko     12590: fi
1.237     moko     12591: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   12592: printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     12593: 
                   12594: 
                   12595: 
                   12596: 
1.237     moko     12597: hard_links=nottested
                   12598: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
1.128     moko     12599:   # do not overwrite the value of need_locks provided by the user
1.237     moko     12600:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   12601: printf %s "checking if we can lock with hard links... " >&6; }
1.128     moko     12602:   hard_links=yes
                   12603:   $RM conftest*
                   12604:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   12605:   touch conftest.a
                   12606:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   12607:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.237     moko     12608:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   12609: printf "%s\n" "$hard_links" >&6; }
                   12610:   if test no = "$hard_links"; then
                   12611:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
                   12612: printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
1.128     moko     12613:     need_locks=warn
                   12614:   fi
                   12615: else
                   12616:   need_locks=no
                   12617: fi
                   12618: 
                   12619: 
                   12620: 
                   12621: 
                   12622: 
                   12623: 
1.237     moko     12624:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12625: printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     12626: 
                   12627:   runpath_var=
                   12628:   allow_undefined_flag=
                   12629:   always_export_symbols=no
                   12630:   archive_cmds=
                   12631:   archive_expsym_cmds=
                   12632:   compiler_needs_object=no
                   12633:   enable_shared_with_static_runtimes=no
                   12634:   export_dynamic_flag_spec=
                   12635:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   12636:   hardcode_automatic=no
                   12637:   hardcode_direct=no
                   12638:   hardcode_direct_absolute=no
                   12639:   hardcode_libdir_flag_spec=
                   12640:   hardcode_libdir_separator=
                   12641:   hardcode_minus_L=no
                   12642:   hardcode_shlibpath_var=unsupported
                   12643:   inherit_rpath=no
                   12644:   link_all_deplibs=unknown
                   12645:   module_cmds=
                   12646:   module_expsym_cmds=
                   12647:   old_archive_from_new_cmds=
                   12648:   old_archive_from_expsyms_cmds=
                   12649:   thread_safe_flag_spec=
                   12650:   whole_archive_flag_spec=
                   12651:   # include_expsyms should be a list of space-separated symbols to be *always*
                   12652:   # included in the symbol list
                   12653:   include_expsyms=
                   12654:   # exclude_expsyms can be an extended regexp of symbols to exclude
1.237     moko     12655:   # it will be wrapped by ' (' and ')$', so one must not match beginning or
                   12656:   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
                   12657:   # as well as any symbol that contains 'd'.
1.128     moko     12658:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   12659:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   12660:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   12661:   # the symbol is explicitly referenced.  Since portable code cannot
                   12662:   # rely on this symbol name, it's probably fine to never include it in
                   12663:   # preloaded symbol tables.
                   12664:   # Exclude shared library initialization/finalization symbols.
                   12665:   extract_expsyms_cmds=
                   12666: 
                   12667:   case $host_os in
1.237     moko     12668:   cygwin* | mingw* | windows* | pw32* | cegcc*)
                   12669:     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
1.128     moko     12670:     # When not using gcc, we currently assume that we are using
1.237     moko     12671:     # Microsoft Visual C++ or Intel C++ Compiler.
                   12672:     if test yes != "$GCC"; then
1.128     moko     12673:       with_gnu_ld=no
                   12674:     fi
                   12675:     ;;
                   12676:   interix*)
1.237     moko     12677:     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
1.128     moko     12678:     with_gnu_ld=yes
                   12679:     ;;
1.237     moko     12680:   linux* | k*bsd*-gnu | gnu*)
                   12681:     link_all_deplibs=no
1.128     moko     12682:     ;;
                   12683:   esac
                   12684: 
                   12685:   ld_shlibs=yes
                   12686: 
                   12687:   # On some targets, GNU ld is compatible enough with the native linker
                   12688:   # that we're better off using the native interface for both.
                   12689:   lt_use_gnu_ld_interface=no
1.237     moko     12690:   if test yes = "$with_gnu_ld"; then
1.128     moko     12691:     case $host_os in
                   12692:       aix*)
                   12693:        # The AIX port of GNU ld has always aspired to compatibility
                   12694:        # with the native linker.  However, as the warning in the GNU ld
                   12695:        # block says, versions before 2.19.5* couldn't really create working
                   12696:        # shared libraries, regardless of the interface used.
                   12697:        case `$LD -v 2>&1` in
                   12698:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   12699:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   12700:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   12701:          *)
                   12702:            lt_use_gnu_ld_interface=yes
                   12703:            ;;
                   12704:        esac
                   12705:        ;;
                   12706:       *)
                   12707:        lt_use_gnu_ld_interface=yes
                   12708:        ;;
                   12709:     esac
                   12710:   fi
                   12711: 
1.237     moko     12712:   if test yes = "$lt_use_gnu_ld_interface"; then
1.128     moko     12713:     # If archive_cmds runs LD, not CC, wlarc should be empty
1.237     moko     12714:     wlarc='$wl'
1.128     moko     12715: 
                   12716:     # Set some defaults for GNU ld with shared library support. These
                   12717:     # are reset later if shared libraries are not supported. Putting them
                   12718:     # here allows them to be overridden if necessary.
                   12719:     runpath_var=LD_RUN_PATH
1.237     moko     12720:     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   12721:     export_dynamic_flag_spec='$wl--export-dynamic'
1.128     moko     12722:     # ancient GNU ld didn't support --whole-archive et. al.
                   12723:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
1.237     moko     12724:       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
1.128     moko     12725:     else
                   12726:       whole_archive_flag_spec=
                   12727:     fi
                   12728:     supports_anon_versioning=no
1.237     moko     12729:     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
1.128     moko     12730:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   12731:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   12732:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   12733:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   12734:       *\ 2.11.*) ;; # other 2.11 versions
                   12735:       *) supports_anon_versioning=yes ;;
                   12736:     esac
                   12737: 
                   12738:     # See if GNU ld supports shared libraries.
                   12739:     case $host_os in
                   12740:     aix[3-9]*)
                   12741:       # On AIX/PPC, the GNU linker is very broken
1.237     moko     12742:       if test ia64 != "$host_cpu"; then
1.128     moko     12743:        ld_shlibs=no
                   12744:        cat <<_LT_EOF 1>&2
                   12745: 
                   12746: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   12747: *** to be unable to reliably create shared libraries on AIX.
                   12748: *** Therefore, libtool is disabling shared libraries support.  If you
                   12749: *** really care for shared libraries, you may want to install binutils
                   12750: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   12751: *** You will then need to restart the configuration process.
                   12752: 
                   12753: _LT_EOF
                   12754:       fi
                   12755:       ;;
                   12756: 
                   12757:     amigaos*)
                   12758:       case $host_cpu in
                   12759:       powerpc)
                   12760:             # see comment about AmigaOS4 .so support
1.237     moko     12761:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     12762:             archive_expsym_cmds=''
                   12763:         ;;
                   12764:       m68k)
                   12765:             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)'
                   12766:             hardcode_libdir_flag_spec='-L$libdir'
                   12767:             hardcode_minus_L=yes
                   12768:         ;;
                   12769:       esac
                   12770:       ;;
                   12771: 
                   12772:     beos*)
                   12773:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   12774:        allow_undefined_flag=unsupported
                   12775:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   12776:        # support --undefined.  This deserves some investigation.  FIXME
1.237     moko     12777:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     12778:       else
                   12779:        ld_shlibs=no
                   12780:       fi
                   12781:       ;;
                   12782: 
1.237     moko     12783:     cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     12784:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   12785:       # as there is no search path for DLLs.
                   12786:       hardcode_libdir_flag_spec='-L$libdir'
1.237     moko     12787:       export_dynamic_flag_spec='$wl--export-all-symbols'
1.128     moko     12788:       allow_undefined_flag=unsupported
                   12789:       always_export_symbols=no
                   12790:       enable_shared_with_static_runtimes=yes
                   12791:       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'
                   12792:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
1.237     moko     12793:       file_list_spec='@'
1.128     moko     12794: 
                   12795:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1.237     moko     12796:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   12797:        # If the export-symbols file already is a .def file, use it as
                   12798:        # is; otherwise, prepend EXPORTS...
                   12799:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
                   12800:           cp $export_symbols $output_objdir/$soname.def;
                   12801:         else
                   12802:           echo EXPORTS > $output_objdir/$soname.def;
                   12803:           cat $export_symbols >> $output_objdir/$soname.def;
                   12804:         fi~
                   12805:         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1.128     moko     12806:       else
                   12807:        ld_shlibs=no
                   12808:       fi
                   12809:       ;;
                   12810: 
                   12811:     haiku*)
1.237     moko     12812:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   12813:       link_all_deplibs=no
                   12814:       ;;
                   12815: 
                   12816:     os2*)
                   12817:       hardcode_libdir_flag_spec='-L$libdir'
                   12818:       hardcode_minus_L=yes
                   12819:       allow_undefined_flag=unsupported
                   12820:       shrext_cmds=.dll
                   12821:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   12822:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   12823:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   12824:        $ECHO EXPORTS >> $output_objdir/$libname.def~
                   12825:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
                   12826:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   12827:        emximp -o $lib $output_objdir/$libname.def'
                   12828:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   12829:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   12830:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   12831:        $ECHO EXPORTS >> $output_objdir/$libname.def~
                   12832:        prefix_cmds="$SED"~
                   12833:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
                   12834:          prefix_cmds="$prefix_cmds -e 1d";
                   12835:        fi~
                   12836:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
                   12837:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
                   12838:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   12839:        emximp -o $lib $output_objdir/$libname.def'
                   12840:       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
                   12841:       enable_shared_with_static_runtimes=yes
                   12842:       file_list_spec='@'
1.128     moko     12843:       ;;
                   12844: 
                   12845:     interix[3-9]*)
                   12846:       hardcode_direct=no
                   12847:       hardcode_shlibpath_var=no
1.237     moko     12848:       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
                   12849:       export_dynamic_flag_spec='$wl-E'
1.128     moko     12850:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   12851:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   12852:       # default) and relocated if they conflict, which is a slow very memory
                   12853:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   12854:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   12855:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
1.237     moko     12856:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   12857:       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'
1.128     moko     12858:       ;;
                   12859: 
                   12860:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   12861:       tmp_diet=no
1.237     moko     12862:       if test linux-dietlibc = "$host_os"; then
1.128     moko     12863:        case $cc_basename in
                   12864:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   12865:        esac
                   12866:       fi
                   12867:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
1.237     moko     12868:         && test no = "$tmp_diet"
1.128     moko     12869:       then
                   12870:        tmp_addflag=' $pic_flag'
                   12871:        tmp_sharedflag='-shared'
                   12872:        case $cc_basename,$host_cpu in
                   12873:         pgcc*)                         # Portland Group C compiler
1.237     moko     12874:          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'
1.128     moko     12875:          tmp_addflag=' $pic_flag'
                   12876:          ;;
                   12877:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   12878:                                        # Portland Group f77 and f90 compilers
1.237     moko     12879:          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'
1.128     moko     12880:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   12881:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   12882:          tmp_addflag=' -i_dynamic' ;;
                   12883:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   12884:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   12885:        ifc* | ifort*)                  # Intel Fortran compiler
                   12886:          tmp_addflag=' -nofor_main' ;;
                   12887:        lf95*)                          # Lahey Fortran 8.1
                   12888:          whole_archive_flag_spec=
                   12889:          tmp_sharedflag='--shared' ;;
1.237     moko     12890:         nagfor*)                        # NAGFOR 5.3
                   12891:           tmp_sharedflag='-Wl,-shared' ;;
1.128     moko     12892:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   12893:          tmp_sharedflag='-qmkshrobj'
                   12894:          tmp_addflag= ;;
                   12895:        nvcc*)  # Cuda Compiler Driver 2.2
1.237     moko     12896:          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'
1.128     moko     12897:          compiler_needs_object=yes
                   12898:          ;;
                   12899:        esac
1.237     moko     12900:        case `$CC -V 2>&1 | $SED 5q` in
1.128     moko     12901:        *Sun\ C*)                       # Sun C 5.9
1.237     moko     12902:          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'
1.128     moko     12903:          compiler_needs_object=yes
                   12904:          tmp_sharedflag='-G' ;;
                   12905:        *Sun\ F*)                       # Sun Fortran 8.3
                   12906:          tmp_sharedflag='-G' ;;
                   12907:        esac
1.237     moko     12908:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     12909: 
1.237     moko     12910:         if test yes = "$supports_anon_versioning"; then
1.128     moko     12911:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1.237     moko     12912:             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   12913:             echo "local: *; };" >> $output_objdir/$libname.ver~
                   12914:             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
1.128     moko     12915:         fi
                   12916: 
                   12917:        case $cc_basename in
1.237     moko     12918:        tcc*)
                   12919:          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   12920:          export_dynamic_flag_spec='-rdynamic'
                   12921:          ;;
1.128     moko     12922:        xlf* | bgf* | bgxlf* | mpixlf*)
                   12923:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   12924:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
1.237     moko     12925:          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     12926:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
1.237     moko     12927:          if test yes = "$supports_anon_versioning"; then
1.128     moko     12928:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1.237     moko     12929:               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   12930:               echo "local: *; };" >> $output_objdir/$libname.ver~
                   12931:               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
1.128     moko     12932:          fi
                   12933:          ;;
                   12934:        esac
                   12935:       else
                   12936:         ld_shlibs=no
                   12937:       fi
                   12938:       ;;
                   12939: 
1.237     moko     12940:     *-mlibc)
                   12941:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   12942:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
                   12943:       ;;
                   12944: 
                   12945:     netbsd* | netbsdelf*-gnu)
1.128     moko     12946:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   12947:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   12948:        wlarc=
                   12949:       else
1.237     moko     12950:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   12951:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.128     moko     12952:       fi
                   12953:       ;;
                   12954: 
                   12955:     solaris*)
                   12956:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   12957:        ld_shlibs=no
                   12958:        cat <<_LT_EOF 1>&2
                   12959: 
                   12960: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   12961: *** create shared libraries on Solaris systems.  Therefore, libtool
                   12962: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   12963: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   12964: *** your PATH or compiler configuration so that the native linker is
                   12965: *** used, and then restart.
                   12966: 
                   12967: _LT_EOF
                   12968:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.237     moko     12969:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   12970:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.128     moko     12971:       else
                   12972:        ld_shlibs=no
                   12973:       fi
                   12974:       ;;
                   12975: 
                   12976:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   12977:       case `$LD -v 2>&1` in
                   12978:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   12979:        ld_shlibs=no
                   12980:        cat <<_LT_EOF 1>&2
                   12981: 
1.237     moko     12982: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
1.128     moko     12983: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   12984: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   12985: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   12986: *** your PATH or compiler configuration so that the native linker is
                   12987: *** used, and then restart.
                   12988: 
                   12989: _LT_EOF
                   12990:        ;;
                   12991:        *)
                   12992:          # For security reasons, it is highly recommended that you always
                   12993:          # use absolute paths for naming shared libraries, and exclude the
                   12994:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   12995:          # requires that you compile everything twice, which is a pain.
                   12996:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.237     moko     12997:            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   12998:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   12999:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.128     moko     13000:          else
                   13001:            ld_shlibs=no
                   13002:          fi
                   13003:        ;;
                   13004:       esac
                   13005:       ;;
                   13006: 
                   13007:     sunos4*)
                   13008:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   13009:       wlarc=
                   13010:       hardcode_direct=yes
                   13011:       hardcode_shlibpath_var=no
                   13012:       ;;
                   13013: 
                   13014:     *)
                   13015:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.237     moko     13016:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   13017:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
1.128     moko     13018:       else
                   13019:        ld_shlibs=no
                   13020:       fi
                   13021:       ;;
                   13022:     esac
                   13023: 
1.237     moko     13024:     if test no = "$ld_shlibs"; then
1.128     moko     13025:       runpath_var=
                   13026:       hardcode_libdir_flag_spec=
                   13027:       export_dynamic_flag_spec=
                   13028:       whole_archive_flag_spec=
                   13029:     fi
                   13030:   else
                   13031:     # PORTME fill in a description of your system's linker (not GNU ld)
                   13032:     case $host_os in
                   13033:     aix3*)
                   13034:       allow_undefined_flag=unsupported
                   13035:       always_export_symbols=yes
                   13036:       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'
                   13037:       # Note: this linker hardcodes the directories in LIBPATH if there
                   13038:       # are no directories specified by -L.
                   13039:       hardcode_minus_L=yes
1.237     moko     13040:       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
1.128     moko     13041:        # Neither direct hardcoding nor static linking is supported with a
                   13042:        # broken collect2.
                   13043:        hardcode_direct=unsupported
                   13044:       fi
                   13045:       ;;
                   13046: 
                   13047:     aix[4-9]*)
1.237     moko     13048:       if test ia64 = "$host_cpu"; then
1.128     moko     13049:        # On IA64, the linker does run time linking by default, so we don't
                   13050:        # have to do anything special.
                   13051:        aix_use_runtimelinking=no
                   13052:        exp_sym_flag='-Bexport'
1.237     moko     13053:        no_entry_flag=
1.128     moko     13054:       else
                   13055:        # If we're using GNU nm, then we don't want the "-C" option.
1.237     moko     13056:        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
                   13057:        # Without the "-l" option, or with the "-B" option, AIX nm treats
                   13058:        # weak defined symbols like other global defined symbols, whereas
                   13059:        # GNU nm marks them as "W".
                   13060:        # While the 'weak' keyword is ignored in the Export File, we need
                   13061:        # it in the Import File for the 'aix-soname' feature, so we have
                   13062:        # to replace the "-B" option with "-P" for AIX nm.
1.128     moko     13063:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1.237     moko     13064:          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
1.128     moko     13065:        else
1.237     moko     13066:          export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
1.128     moko     13067:        fi
                   13068:        aix_use_runtimelinking=no
                   13069: 
                   13070:        # Test if we are trying to use run time linking or normal
                   13071:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.237     moko     13072:        # have runtime linking enabled, and use it for executables.
                   13073:        # For shared libraries, we enable/disable runtime linking
                   13074:        # depending on the kind of the shared library created -
                   13075:        # when "with_aix_soname,aix_use_runtimelinking" is:
                   13076:        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
                   13077:        # "aix,yes"  lib.so          shared, rtl:yes, for executables
                   13078:        #            lib.a           static archive
                   13079:        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
                   13080:        #            lib.a(lib.so.V) shared, rtl:no,  for executables
                   13081:        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
                   13082:        #            lib.a(lib.so.V) shared, rtl:no
                   13083:        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
                   13084:        #            lib.a           static archive
1.128     moko     13085:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   13086:          for ld_flag in $LDFLAGS; do
1.237     moko     13087:          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
1.128     moko     13088:            aix_use_runtimelinking=yes
                   13089:            break
                   13090:          fi
                   13091:          done
1.237     moko     13092:          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
                   13093:            # With aix-soname=svr4, we create the lib.so.V shared archives only,
                   13094:            # so we don't have lib.a shared libs to link our executables.
                   13095:            # We have to force runtime linking in this case.
                   13096:            aix_use_runtimelinking=yes
                   13097:            LDFLAGS="$LDFLAGS -Wl,-brtl"
                   13098:          fi
1.128     moko     13099:          ;;
                   13100:        esac
                   13101: 
                   13102:        exp_sym_flag='-bexport'
                   13103:        no_entry_flag='-bnoentry'
                   13104:       fi
                   13105: 
                   13106:       # When large executables or shared objects are built, AIX ld can
                   13107:       # have problems creating the table of contents.  If linking a library
                   13108:       # or program results in "error TOC overflow" add -mminimal-toc to
                   13109:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13110:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13111: 
                   13112:       archive_cmds=''
                   13113:       hardcode_direct=yes
                   13114:       hardcode_direct_absolute=yes
                   13115:       hardcode_libdir_separator=':'
                   13116:       link_all_deplibs=yes
1.237     moko     13117:       file_list_spec='$wl-f,'
                   13118:       case $with_aix_soname,$aix_use_runtimelinking in
                   13119:       aix,*) ;; # traditional, no import file
                   13120:       svr4,* | *,yes) # use import file
                   13121:        # The Import File defines what to hardcode.
                   13122:        hardcode_direct=no
                   13123:        hardcode_direct_absolute=no
                   13124:        ;;
                   13125:       esac
1.128     moko     13126: 
1.237     moko     13127:       if test yes = "$GCC"; then
1.128     moko     13128:        case $host_os in aix4.[012]|aix4.[012].*)
                   13129:        # We only want to do this on AIX 4.2 and lower, the check
                   13130:        # below for broken collect2 doesn't work under 4.3+
1.237     moko     13131:          collect2name=`$CC -print-prog-name=collect2`
1.128     moko     13132:          if test -f "$collect2name" &&
                   13133:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13134:          then
                   13135:          # We have reworked collect2
                   13136:          :
                   13137:          else
                   13138:          # We have old collect2
                   13139:          hardcode_direct=unsupported
                   13140:          # It fails to find uninstalled libraries when the uninstalled
                   13141:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   13142:          # to unsupported forces relinking
                   13143:          hardcode_minus_L=yes
                   13144:          hardcode_libdir_flag_spec='-L$libdir'
                   13145:          hardcode_libdir_separator=
                   13146:          fi
                   13147:          ;;
                   13148:        esac
                   13149:        shared_flag='-shared'
1.237     moko     13150:        if test yes = "$aix_use_runtimelinking"; then
                   13151:          shared_flag="$shared_flag "'$wl-G'
1.128     moko     13152:        fi
1.237     moko     13153:        # Need to ensure runtime linking is disabled for the traditional
                   13154:        # shared library, or the linker may eventually find shared libraries
                   13155:        # /with/ Import File - we do not want to mix them.
                   13156:        shared_flag_aix='-shared'
                   13157:        shared_flag_svr4='-shared $wl-G'
1.128     moko     13158:       else
                   13159:        # not using gcc
1.237     moko     13160:        if test ia64 = "$host_cpu"; then
1.128     moko     13161:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13162:        # chokes on -Wl,-G. The following line is correct:
                   13163:          shared_flag='-G'
                   13164:        else
1.237     moko     13165:          if test yes = "$aix_use_runtimelinking"; then
                   13166:            shared_flag='$wl-G'
1.128     moko     13167:          else
1.237     moko     13168:            shared_flag='$wl-bM:SRE'
1.128     moko     13169:          fi
1.237     moko     13170:          shared_flag_aix='$wl-bM:SRE'
                   13171:          shared_flag_svr4='$wl-G'
1.128     moko     13172:        fi
                   13173:       fi
                   13174: 
1.237     moko     13175:       export_dynamic_flag_spec='$wl-bexpall'
1.128     moko     13176:       # It seems that -bexpall does not export symbols beginning with
                   13177:       # underscore (_), so it is better to generate a list of symbols to export.
                   13178:       always_export_symbols=yes
1.237     moko     13179:       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
1.128     moko     13180:        # Warning - without using the other runtime loading flags (-brtl),
                   13181:        # -berok will link without error, but may produce a broken library.
                   13182:        allow_undefined_flag='-berok'
                   13183:         # Determine the default libpath from the value encoded in an
                   13184:         # empty executable.
1.237     moko     13185:         if test set = "${lt_cv_aix_libpath+set}"; then
1.128     moko     13186:   aix_libpath=$lt_cv_aix_libpath
                   13187: else
1.237     moko     13188:   if test ${lt_cv_aix_libpath_+y}
                   13189: then :
                   13190:   printf %s "(cached) " >&6
                   13191: else case e in #(
                   13192:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13193: /* end confdefs.h.  */
                   13194: 
                   13195: int
1.237     moko     13196: main (void)
1.128     moko     13197: {
                   13198: 
                   13199:   ;
                   13200:   return 0;
                   13201: }
                   13202: _ACEOF
1.237     moko     13203: if ac_fn_c_try_link "$LINENO"
                   13204: then :
1.128     moko     13205: 
                   13206:   lt_aix_libpath_sed='
                   13207:       /Import File Strings/,/^$/ {
                   13208:          /^0/ {
                   13209:              s/^0  *\([^ ]*\) *$/\1/
                   13210:              p
                   13211:          }
                   13212:       }'
                   13213:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13214:   # Check for a 64-bit object if we didn't find anything.
                   13215:   if test -z "$lt_cv_aix_libpath_"; then
                   13216:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13217:   fi
                   13218: fi
1.237     moko     13219: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     13220:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13221:   if test -z "$lt_cv_aix_libpath_"; then
1.237     moko     13222:     lt_cv_aix_libpath_=/usr/lib:/lib
1.128     moko     13223:   fi
1.237     moko     13224:    ;;
                   13225: esac
1.128     moko     13226: fi
                   13227: 
                   13228:   aix_libpath=$lt_cv_aix_libpath_
                   13229: fi
                   13230: 
1.237     moko     13231:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
                   13232:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
1.128     moko     13233:       else
1.237     moko     13234:        if test ia64 = "$host_cpu"; then
                   13235:          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
1.128     moko     13236:          allow_undefined_flag="-z nodefs"
1.237     moko     13237:          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"
1.128     moko     13238:        else
                   13239:         # Determine the default libpath from the value encoded in an
                   13240:         # empty executable.
1.237     moko     13241:         if test set = "${lt_cv_aix_libpath+set}"; then
1.128     moko     13242:   aix_libpath=$lt_cv_aix_libpath
                   13243: else
1.237     moko     13244:   if test ${lt_cv_aix_libpath_+y}
                   13245: then :
                   13246:   printf %s "(cached) " >&6
                   13247: else case e in #(
                   13248:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13249: /* end confdefs.h.  */
                   13250: 
                   13251: int
1.237     moko     13252: main (void)
1.128     moko     13253: {
                   13254: 
                   13255:   ;
                   13256:   return 0;
                   13257: }
                   13258: _ACEOF
1.237     moko     13259: if ac_fn_c_try_link "$LINENO"
                   13260: then :
1.128     moko     13261: 
                   13262:   lt_aix_libpath_sed='
                   13263:       /Import File Strings/,/^$/ {
                   13264:          /^0/ {
                   13265:              s/^0  *\([^ ]*\) *$/\1/
                   13266:              p
                   13267:          }
                   13268:       }'
                   13269:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13270:   # Check for a 64-bit object if we didn't find anything.
                   13271:   if test -z "$lt_cv_aix_libpath_"; then
                   13272:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13273:   fi
                   13274: fi
1.237     moko     13275: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     13276:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13277:   if test -z "$lt_cv_aix_libpath_"; then
1.237     moko     13278:     lt_cv_aix_libpath_=/usr/lib:/lib
1.128     moko     13279:   fi
1.237     moko     13280:    ;;
                   13281: esac
1.128     moko     13282: fi
                   13283: 
                   13284:   aix_libpath=$lt_cv_aix_libpath_
                   13285: fi
                   13286: 
1.237     moko     13287:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
1.128     moko     13288:          # Warning - without using the other run time loading flags,
                   13289:          # -berok will link without error, but may produce a broken library.
1.237     moko     13290:          no_undefined_flag=' $wl-bernotok'
                   13291:          allow_undefined_flag=' $wl-berok'
                   13292:          if test yes = "$with_gnu_ld"; then
1.128     moko     13293:            # We only use this code for GNU lds that support --whole-archive.
1.237     moko     13294:            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
1.128     moko     13295:          else
                   13296:            # Exported symbols can be pulled into shared objects from archives
                   13297:            whole_archive_flag_spec='$convenience'
                   13298:          fi
                   13299:          archive_cmds_need_lc=yes
1.237     moko     13300:          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
                   13301:          # -brtl affects multiple linker settings, -berok does not and is overridden later
                   13302:          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
                   13303:          if test svr4 != "$with_aix_soname"; then
                   13304:            # This is similar to how AIX traditionally builds its shared libraries.
                   13305:            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
                   13306:          fi
                   13307:          if test aix != "$with_aix_soname"; then
                   13308:            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
                   13309:          else
                   13310:            # used by -dlpreopen to get the symbols
                   13311:            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
                   13312:          fi
                   13313:          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
1.128     moko     13314:        fi
                   13315:       fi
                   13316:       ;;
                   13317: 
                   13318:     amigaos*)
                   13319:       case $host_cpu in
                   13320:       powerpc)
                   13321:             # see comment about AmigaOS4 .so support
1.237     moko     13322:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     13323:             archive_expsym_cmds=''
                   13324:         ;;
                   13325:       m68k)
                   13326:             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)'
                   13327:             hardcode_libdir_flag_spec='-L$libdir'
                   13328:             hardcode_minus_L=yes
                   13329:         ;;
                   13330:       esac
                   13331:       ;;
                   13332: 
                   13333:     bsdi[45]*)
                   13334:       export_dynamic_flag_spec=-rdynamic
                   13335:       ;;
                   13336: 
1.237     moko     13337:     cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     13338:       # When not using gcc, we currently assume that we are using
1.237     moko     13339:       # Microsoft Visual C++ or Intel C++ Compiler.
1.128     moko     13340:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13341:       # no search path for DLLs.
                   13342:       case $cc_basename in
1.237     moko     13343:       cl* | icl*)
                   13344:        # Native MSVC or ICC
1.128     moko     13345:        hardcode_libdir_flag_spec=' '
                   13346:        allow_undefined_flag=unsupported
                   13347:        always_export_symbols=yes
                   13348:        file_list_spec='@'
                   13349:        # Tell ltmain to make .lib files, not .a files.
                   13350:        libext=lib
                   13351:        # Tell ltmain to make .dll files, not .so files.
1.237     moko     13352:        shrext_cmds=.dll
1.128     moko     13353:        # FIXME: Setting linknames here is a bad hack.
1.237     moko     13354:        archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
                   13355:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
                   13356:             cp "$export_symbols" "$output_objdir/$soname.def";
                   13357:             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
                   13358:           else
                   13359:             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
                   13360:           fi~
                   13361:           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13362:           linknames='
1.128     moko     13363:        # The linker will not automatically build a static lib if we build a DLL.
                   13364:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   13365:        enable_shared_with_static_runtimes=yes
                   13366:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   13367:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   13368:        # Don't use ranlib
                   13369:        old_postinstall_cmds='chmod 644 $oldlib'
                   13370:        postlink_cmds='lt_outputfile="@OUTPUT@"~
1.237     moko     13371:           lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13372:           case $lt_outputfile in
                   13373:             *.exe|*.EXE) ;;
                   13374:             *)
                   13375:               lt_outputfile=$lt_outputfile.exe
                   13376:               lt_tool_outputfile=$lt_tool_outputfile.exe
                   13377:               ;;
                   13378:           esac~
                   13379:           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
                   13380:             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13381:             $RM "$lt_outputfile.manifest";
                   13382:           fi'
1.128     moko     13383:        ;;
                   13384:       *)
1.237     moko     13385:        # Assume MSVC and ICC wrapper
1.128     moko     13386:        hardcode_libdir_flag_spec=' '
                   13387:        allow_undefined_flag=unsupported
                   13388:        # Tell ltmain to make .lib files, not .a files.
                   13389:        libext=lib
                   13390:        # Tell ltmain to make .dll files, not .so files.
1.237     moko     13391:        shrext_cmds=.dll
1.128     moko     13392:        # FIXME: Setting linknames here is a bad hack.
                   13393:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   13394:        # The linker will automatically build a .lib file if we build a DLL.
                   13395:        old_archive_from_new_cmds='true'
                   13396:        # FIXME: Should let the user specify the lib program.
                   13397:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   13398:        enable_shared_with_static_runtimes=yes
                   13399:        ;;
                   13400:       esac
                   13401:       ;;
                   13402: 
                   13403:     darwin* | rhapsody*)
                   13404: 
                   13405: 
                   13406:   archive_cmds_need_lc=no
                   13407:   hardcode_direct=no
                   13408:   hardcode_automatic=yes
                   13409:   hardcode_shlibpath_var=unsupported
1.237     moko     13410:   if test yes = "$lt_cv_ld_force_load"; then
                   13411:     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\"`'
1.128     moko     13412: 
                   13413:   else
                   13414:     whole_archive_flag_spec=''
                   13415:   fi
                   13416:   link_all_deplibs=yes
1.237     moko     13417:   allow_undefined_flag=$_lt_dar_allow_undefined
1.128     moko     13418:   case $cc_basename in
1.237     moko     13419:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
1.128     moko     13420:      *) _lt_dar_can_shared=$GCC ;;
                   13421:   esac
1.237     moko     13422:   if test yes = "$_lt_dar_can_shared"; then
1.128     moko     13423:     output_verbose_link_cmd=func_echo_all
1.237     moko     13424:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
                   13425:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
                   13426:     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"
                   13427:     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"
1.128     moko     13428: 
                   13429:   else
                   13430:   ld_shlibs=no
                   13431:   fi
                   13432: 
                   13433:       ;;
                   13434: 
                   13435:     dgux*)
                   13436:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13437:       hardcode_libdir_flag_spec='-L$libdir'
                   13438:       hardcode_shlibpath_var=no
                   13439:       ;;
                   13440: 
                   13441:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   13442:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   13443:     # does not break anything, and helps significantly (at the cost of a little
                   13444:     # extra space).
                   13445:     freebsd2.2*)
                   13446:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   13447:       hardcode_libdir_flag_spec='-R$libdir'
                   13448:       hardcode_direct=yes
                   13449:       hardcode_shlibpath_var=no
                   13450:       ;;
                   13451: 
                   13452:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   13453:     freebsd2.*)
                   13454:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   13455:       hardcode_direct=yes
                   13456:       hardcode_minus_L=yes
                   13457:       hardcode_shlibpath_var=no
                   13458:       ;;
                   13459: 
                   13460:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.237     moko     13461:     freebsd* | dragonfly* | midnightbsd*)
1.128     moko     13462:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   13463:       hardcode_libdir_flag_spec='-R$libdir'
                   13464:       hardcode_direct=yes
                   13465:       hardcode_shlibpath_var=no
                   13466:       ;;
                   13467: 
                   13468:     hpux9*)
1.237     moko     13469:       if test yes = "$GCC"; then
                   13470:        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
1.128     moko     13471:       else
1.237     moko     13472:        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
1.128     moko     13473:       fi
1.237     moko     13474:       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.128     moko     13475:       hardcode_libdir_separator=:
                   13476:       hardcode_direct=yes
                   13477: 
                   13478:       # hardcode_minus_L: Not really in the search PATH,
                   13479:       # but as the default location of the library.
                   13480:       hardcode_minus_L=yes
1.237     moko     13481:       export_dynamic_flag_spec='$wl-E'
1.128     moko     13482:       ;;
                   13483: 
                   13484:     hpux10*)
1.237     moko     13485:       if test yes,no = "$GCC,$with_gnu_ld"; then
                   13486:        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13487:       else
                   13488:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   13489:       fi
1.237     moko     13490:       if test no = "$with_gnu_ld"; then
                   13491:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.128     moko     13492:        hardcode_libdir_separator=:
                   13493:        hardcode_direct=yes
                   13494:        hardcode_direct_absolute=yes
1.237     moko     13495:        export_dynamic_flag_spec='$wl-E'
1.128     moko     13496:        # hardcode_minus_L: Not really in the search PATH,
                   13497:        # but as the default location of the library.
                   13498:        hardcode_minus_L=yes
                   13499:       fi
                   13500:       ;;
                   13501: 
                   13502:     hpux11*)
1.237     moko     13503:       if test yes,no = "$GCC,$with_gnu_ld"; then
1.128     moko     13504:        case $host_cpu in
                   13505:        hppa*64*)
1.237     moko     13506:          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13507:          ;;
                   13508:        ia64*)
1.237     moko     13509:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13510:          ;;
                   13511:        *)
1.237     moko     13512:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13513:          ;;
                   13514:        esac
                   13515:       else
                   13516:        case $host_cpu in
                   13517:        hppa*64*)
1.237     moko     13518:          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13519:          ;;
                   13520:        ia64*)
1.237     moko     13521:          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13522:          ;;
                   13523:        *)
                   13524: 
                   13525:          # Older versions of the 11.00 compiler do not understand -b yet
                   13526:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.237     moko     13527:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   13528: printf %s "checking if $CC understands -b... " >&6; }
                   13529: if test ${lt_cv_prog_compiler__b+y}
                   13530: then :
                   13531:   printf %s "(cached) " >&6
                   13532: else case e in #(
                   13533:   e) lt_cv_prog_compiler__b=no
                   13534:    save_LDFLAGS=$LDFLAGS
1.128     moko     13535:    LDFLAGS="$LDFLAGS -b"
                   13536:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   13537:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   13538:      # The linker can only warn and ignore the option if not recognized
                   13539:      # So say no if there are warnings
                   13540:      if test -s conftest.err; then
                   13541:        # Append any errors to the config.log.
                   13542:        cat conftest.err 1>&5
                   13543:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   13544:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   13545:        if diff conftest.exp conftest.er2 >/dev/null; then
                   13546:          lt_cv_prog_compiler__b=yes
                   13547:        fi
                   13548:      else
                   13549:        lt_cv_prog_compiler__b=yes
                   13550:      fi
                   13551:    fi
                   13552:    $RM -r conftest*
1.237     moko     13553:    LDFLAGS=$save_LDFLAGS
                   13554:  ;;
                   13555: esac
1.128     moko     13556: fi
1.237     moko     13557: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   13558: printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     13559: 
1.237     moko     13560: if test yes = "$lt_cv_prog_compiler__b"; then
                   13561:     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13562: else
                   13563:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   13564: fi
                   13565: 
                   13566:          ;;
                   13567:        esac
                   13568:       fi
1.237     moko     13569:       if test no = "$with_gnu_ld"; then
                   13570:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.128     moko     13571:        hardcode_libdir_separator=:
                   13572: 
                   13573:        case $host_cpu in
                   13574:        hppa*64*|ia64*)
                   13575:          hardcode_direct=no
                   13576:          hardcode_shlibpath_var=no
                   13577:          ;;
                   13578:        *)
                   13579:          hardcode_direct=yes
                   13580:          hardcode_direct_absolute=yes
1.237     moko     13581:          export_dynamic_flag_spec='$wl-E'
1.128     moko     13582: 
                   13583:          # hardcode_minus_L: Not really in the search PATH,
                   13584:          # but as the default location of the library.
                   13585:          hardcode_minus_L=yes
                   13586:          ;;
                   13587:        esac
                   13588:       fi
                   13589:       ;;
                   13590: 
                   13591:     irix5* | irix6* | nonstopux*)
1.237     moko     13592:       if test yes = "$GCC"; then
                   13593:        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'
1.128     moko     13594:        # Try to use the -exported_symbol ld option, if it does not
                   13595:        # work, assume that -exports_file does not work either and
                   13596:        # implicitly export all symbols.
                   13597:        # This should be the same for all languages, so no per-tag cache variable.
1.237     moko     13598:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   13599: printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   13600: if test ${lt_cv_irix_exported_symbol+y}
                   13601: then :
                   13602:   printf %s "(cached) " >&6
                   13603: else case e in #(
                   13604:   e) save_LDFLAGS=$LDFLAGS
                   13605:           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
1.150     moko     13606:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13607: /* end confdefs.h.  */
                   13608: int foo (void) { return 0; }
                   13609: _ACEOF
1.237     moko     13610: if ac_fn_c_try_link "$LINENO"
                   13611: then :
1.128     moko     13612:   lt_cv_irix_exported_symbol=yes
1.237     moko     13613: else case e in #(
                   13614:   e) lt_cv_irix_exported_symbol=no ;;
                   13615: esac
1.128     moko     13616: fi
1.237     moko     13617: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     13618:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     13619:            LDFLAGS=$save_LDFLAGS ;;
                   13620: esac
1.128     moko     13621: fi
1.237     moko     13622: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   13623: printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
                   13624:        if test yes = "$lt_cv_irix_exported_symbol"; then
                   13625:           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'
1.128     moko     13626:        fi
1.237     moko     13627:        link_all_deplibs=no
1.128     moko     13628:       else
1.237     moko     13629:        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'
                   13630:        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'
1.128     moko     13631:       fi
                   13632:       archive_cmds_need_lc='no'
1.237     moko     13633:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     13634:       hardcode_libdir_separator=:
                   13635:       inherit_rpath=yes
                   13636:       link_all_deplibs=yes
                   13637:       ;;
                   13638: 
1.237     moko     13639:     linux*)
                   13640:       case $cc_basename in
                   13641:       tcc*)
                   13642:        # Fabrice Bellard et al's Tiny C Compiler
                   13643:        ld_shlibs=yes
                   13644:        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   13645:        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   13646:        ;;
                   13647:       esac
                   13648:       ;;
                   13649: 
                   13650:     *-mlibc)
                   13651:       ;;
                   13652: 
                   13653:     netbsd* | netbsdelf*-gnu)
1.128     moko     13654:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13655:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   13656:       else
                   13657:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   13658:       fi
                   13659:       hardcode_libdir_flag_spec='-R$libdir'
                   13660:       hardcode_direct=yes
                   13661:       hardcode_shlibpath_var=no
                   13662:       ;;
                   13663: 
                   13664:     newsos6)
                   13665:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13666:       hardcode_direct=yes
1.237     moko     13667:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     13668:       hardcode_libdir_separator=:
                   13669:       hardcode_shlibpath_var=no
                   13670:       ;;
                   13671: 
                   13672:     *nto* | *qnx*)
                   13673:       ;;
                   13674: 
                   13675:     openbsd*)
                   13676:       if test -f /usr/libexec/ld.so; then
                   13677:        hardcode_direct=yes
                   13678:        hardcode_shlibpath_var=no
                   13679:        hardcode_direct_absolute=yes
1.237     moko     13680:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
1.128     moko     13681:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.237     moko     13682:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
                   13683:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
                   13684:          export_dynamic_flag_spec='$wl-E'
1.128     moko     13685:        else
1.237     moko     13686:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   13687:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
1.128     moko     13688:        fi
                   13689:       else
                   13690:        ld_shlibs=no
                   13691:       fi
                   13692:       ;;
                   13693: 
                   13694:     os2*)
                   13695:       hardcode_libdir_flag_spec='-L$libdir'
                   13696:       hardcode_minus_L=yes
                   13697:       allow_undefined_flag=unsupported
1.237     moko     13698:       shrext_cmds=.dll
                   13699:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   13700:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   13701:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   13702:        $ECHO EXPORTS >> $output_objdir/$libname.def~
                   13703:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
                   13704:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   13705:        emximp -o $lib $output_objdir/$libname.def'
                   13706:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   13707:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   13708:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   13709:        $ECHO EXPORTS >> $output_objdir/$libname.def~
                   13710:        prefix_cmds="$SED"~
                   13711:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
                   13712:          prefix_cmds="$prefix_cmds -e 1d";
                   13713:        fi~
                   13714:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
                   13715:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
                   13716:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   13717:        emximp -o $lib $output_objdir/$libname.def'
                   13718:       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
                   13719:       enable_shared_with_static_runtimes=yes
                   13720:       file_list_spec='@'
1.128     moko     13721:       ;;
                   13722: 
                   13723:     osf3*)
1.237     moko     13724:       if test yes = "$GCC"; then
                   13725:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
                   13726:        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'
1.128     moko     13727:       else
                   13728:        allow_undefined_flag=' -expect_unresolved \*'
1.237     moko     13729:        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'
1.128     moko     13730:       fi
                   13731:       archive_cmds_need_lc='no'
1.237     moko     13732:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     13733:       hardcode_libdir_separator=:
                   13734:       ;;
                   13735: 
                   13736:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
1.237     moko     13737:       if test yes = "$GCC"; then
                   13738:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
                   13739:        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'
                   13740:        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     13741:       else
                   13742:        allow_undefined_flag=' -expect_unresolved \*'
1.237     moko     13743:        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'
1.128     moko     13744:        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~
1.237     moko     13745:           $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
1.128     moko     13746: 
                   13747:        # Both c and cxx compiler support -rpath directly
                   13748:        hardcode_libdir_flag_spec='-rpath $libdir'
                   13749:       fi
                   13750:       archive_cmds_need_lc='no'
                   13751:       hardcode_libdir_separator=:
                   13752:       ;;
                   13753: 
1.237     moko     13754:     serenity*)
                   13755:       ;;
                   13756: 
1.128     moko     13757:     solaris*)
                   13758:       no_undefined_flag=' -z defs'
1.237     moko     13759:       if test yes = "$GCC"; then
                   13760:        wlarc='$wl'
                   13761:        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13762:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     13763:           $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'
1.128     moko     13764:       else
                   13765:        case `$CC -V 2>&1` in
                   13766:        *"Compilers 5.0"*)
                   13767:          wlarc=''
1.237     moko     13768:          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.128     moko     13769:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     13770:             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
1.128     moko     13771:          ;;
                   13772:        *)
1.237     moko     13773:          wlarc='$wl'
                   13774:          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13775:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     13776:             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
1.128     moko     13777:          ;;
                   13778:        esac
                   13779:       fi
                   13780:       hardcode_libdir_flag_spec='-R$libdir'
                   13781:       hardcode_shlibpath_var=no
                   13782:       case $host_os in
                   13783:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13784:       *)
                   13785:        # The compiler driver will combine and reorder linker options,
1.237     moko     13786:        # but understands '-z linker_flag'.  GCC discards it without '$wl',
1.128     moko     13787:        # but is careful enough not to reorder.
                   13788:        # Supported since Solaris 2.6 (maybe 2.5.1?)
1.237     moko     13789:        if test yes = "$GCC"; then
                   13790:          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
1.128     moko     13791:        else
                   13792:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   13793:        fi
                   13794:        ;;
                   13795:       esac
                   13796:       link_all_deplibs=yes
                   13797:       ;;
                   13798: 
                   13799:     sunos4*)
1.237     moko     13800:       if test sequent = "$host_vendor"; then
1.128     moko     13801:        # Use $CC to link under sequent, because it throws in some extra .o
                   13802:        # files that make .init and .fini sections work.
1.237     moko     13803:        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13804:       else
                   13805:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   13806:       fi
                   13807:       hardcode_libdir_flag_spec='-L$libdir'
                   13808:       hardcode_direct=yes
                   13809:       hardcode_minus_L=yes
                   13810:       hardcode_shlibpath_var=no
                   13811:       ;;
                   13812: 
                   13813:     sysv4)
                   13814:       case $host_vendor in
                   13815:        sni)
                   13816:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13817:          hardcode_direct=yes # is this really true???
                   13818:        ;;
                   13819:        siemens)
                   13820:          ## LD is ld it makes a PLAMLIB
                   13821:          ## CC just makes a GrossModule.
                   13822:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   13823:          reload_cmds='$CC -r -o $output$reload_objs'
                   13824:          hardcode_direct=no
                   13825:         ;;
                   13826:        motorola)
                   13827:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13828:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   13829:        ;;
                   13830:       esac
                   13831:       runpath_var='LD_RUN_PATH'
                   13832:       hardcode_shlibpath_var=no
                   13833:       ;;
                   13834: 
                   13835:     sysv4.3*)
                   13836:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13837:       hardcode_shlibpath_var=no
                   13838:       export_dynamic_flag_spec='-Bexport'
                   13839:       ;;
                   13840: 
                   13841:     sysv4*MP*)
                   13842:       if test -d /usr/nec; then
                   13843:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13844:        hardcode_shlibpath_var=no
                   13845:        runpath_var=LD_RUN_PATH
                   13846:        hardcode_runpath_var=yes
                   13847:        ld_shlibs=yes
                   13848:       fi
                   13849:       ;;
                   13850: 
                   13851:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
1.237     moko     13852:       no_undefined_flag='$wl-z,text'
1.128     moko     13853:       archive_cmds_need_lc=no
                   13854:       hardcode_shlibpath_var=no
                   13855:       runpath_var='LD_RUN_PATH'
                   13856: 
1.237     moko     13857:       if test yes = "$GCC"; then
                   13858:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13859:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13860:       else
1.237     moko     13861:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13862:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13863:       fi
                   13864:       ;;
                   13865: 
                   13866:     sysv5* | sco3.2v5* | sco5v6*)
1.237     moko     13867:       # Note: We CANNOT use -z defs as we might desire, because we do not
1.128     moko     13868:       # link with -lc, and that would cause any symbols used from libc to
                   13869:       # always be unresolved, which means just about no library would
                   13870:       # ever link correctly.  If we're not using GNU ld we use -z text
                   13871:       # though, which does catch some bad symbols but isn't as heavy-handed
                   13872:       # as -z defs.
1.237     moko     13873:       no_undefined_flag='$wl-z,text'
                   13874:       allow_undefined_flag='$wl-z,nodefs'
1.128     moko     13875:       archive_cmds_need_lc=no
                   13876:       hardcode_shlibpath_var=no
1.237     moko     13877:       hardcode_libdir_flag_spec='$wl-R,$libdir'
1.128     moko     13878:       hardcode_libdir_separator=':'
                   13879:       link_all_deplibs=yes
1.237     moko     13880:       export_dynamic_flag_spec='$wl-Bexport'
1.128     moko     13881:       runpath_var='LD_RUN_PATH'
                   13882: 
1.237     moko     13883:       if test yes = "$GCC"; then
                   13884:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13885:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13886:       else
1.237     moko     13887:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13888:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13889:       fi
                   13890:       ;;
                   13891: 
                   13892:     uts4*)
                   13893:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13894:       hardcode_libdir_flag_spec='-L$libdir'
                   13895:       hardcode_shlibpath_var=no
                   13896:       ;;
                   13897: 
                   13898:     *)
                   13899:       ld_shlibs=no
                   13900:       ;;
                   13901:     esac
                   13902: 
1.237     moko     13903:     if test sni = "$host_vendor"; then
1.128     moko     13904:       case $host in
                   13905:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.237     moko     13906:        export_dynamic_flag_spec='$wl-Blargedynsym'
1.128     moko     13907:        ;;
                   13908:       esac
                   13909:     fi
                   13910:   fi
                   13911: 
1.237     moko     13912: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   13913: printf "%s\n" "$ld_shlibs" >&6; }
                   13914: test no = "$ld_shlibs" && can_build_shared=no
1.128     moko     13915: 
                   13916: with_gnu_ld=$with_gnu_ld
                   13917: 
                   13918: 
                   13919: 
                   13920: 
                   13921: 
                   13922: 
                   13923: 
                   13924: 
                   13925: 
                   13926: 
                   13927: 
                   13928: 
                   13929: 
                   13930: 
                   13931: 
                   13932: #
                   13933: # Do we need to explicitly link libc?
                   13934: #
                   13935: case "x$archive_cmds_need_lc" in
                   13936: x|xyes)
                   13937:   # Assume -lc should be added
                   13938:   archive_cmds_need_lc=yes
                   13939: 
1.237     moko     13940:   if test yes,yes = "$GCC,$enable_shared"; then
1.128     moko     13941:     case $archive_cmds in
                   13942:     *'~'*)
                   13943:       # FIXME: we may have to deal with multi-command sequences.
                   13944:       ;;
                   13945:     '$CC '*)
                   13946:       # Test whether the compiler implicitly links with -lc since on some
                   13947:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   13948:       # to ld, don't add -lc before -lgcc.
1.237     moko     13949:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   13950: printf %s "checking whether -lc should be explicitly linked in... " >&6; }
                   13951: if test ${lt_cv_archive_cmds_need_lc+y}
                   13952: then :
                   13953:   printf %s "(cached) " >&6
                   13954: else case e in #(
                   13955:   e) $RM conftest*
1.128     moko     13956:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   13957: 
1.150     moko     13958:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     13959:   (eval $ac_compile) 2>&5
                   13960:   ac_status=$?
1.237     moko     13961:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     13962:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     13963:          soname=conftest
                   13964:          lib=conftest
                   13965:          libobjs=conftest.$ac_objext
                   13966:          deplibs=
                   13967:          wl=$lt_prog_compiler_wl
                   13968:          pic_flag=$lt_prog_compiler_pic
                   13969:          compiler_flags=-v
                   13970:          linker_flags=-v
                   13971:          verstring=
                   13972:          output_objdir=.
                   13973:          libname=conftest
                   13974:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   13975:          allow_undefined_flag=
1.150     moko     13976:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     13977:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   13978:   ac_status=$?
1.237     moko     13979:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     13980:   test $ac_status = 0; }
1.128     moko     13981:          then
                   13982:            lt_cv_archive_cmds_need_lc=no
                   13983:          else
                   13984:            lt_cv_archive_cmds_need_lc=yes
                   13985:          fi
                   13986:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   13987:        else
                   13988:          cat conftest.err 1>&5
                   13989:        fi
                   13990:        $RM conftest*
1.237     moko     13991:         ;;
                   13992: esac
1.128     moko     13993: fi
1.237     moko     13994: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   13995: printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     13996:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   13997:       ;;
                   13998:     esac
                   13999:   fi
                   14000:   ;;
                   14001: esac
                   14002: 
                   14003: 
                   14004: 
                   14005: 
                   14006: 
                   14007: 
                   14008: 
                   14009: 
                   14010: 
                   14011: 
                   14012: 
                   14013: 
                   14014: 
                   14015: 
                   14016: 
                   14017: 
                   14018: 
                   14019: 
                   14020: 
                   14021: 
                   14022: 
                   14023: 
                   14024: 
                   14025: 
                   14026: 
                   14027: 
                   14028: 
                   14029: 
                   14030: 
                   14031: 
                   14032: 
                   14033: 
                   14034: 
                   14035: 
                   14036: 
                   14037: 
                   14038: 
                   14039: 
                   14040: 
                   14041: 
                   14042: 
                   14043: 
                   14044: 
                   14045: 
                   14046: 
                   14047: 
                   14048: 
                   14049: 
                   14050: 
                   14051: 
                   14052: 
                   14053: 
                   14054: 
                   14055: 
                   14056: 
                   14057: 
                   14058: 
                   14059: 
                   14060: 
                   14061: 
                   14062: 
                   14063: 
                   14064: 
                   14065: 
                   14066: 
                   14067: 
                   14068: 
                   14069: 
                   14070: 
                   14071: 
                   14072: 
                   14073: 
                   14074: 
                   14075: 
                   14076: 
                   14077: 
                   14078: 
                   14079: 
                   14080: 
                   14081: 
                   14082: 
                   14083: 
                   14084: 
                   14085: 
                   14086: 
                   14087: 
                   14088: 
                   14089: 
                   14090: 
                   14091: 
                   14092: 
                   14093: 
                   14094: 
                   14095: 
                   14096: 
                   14097: 
                   14098: 
                   14099: 
                   14100: 
                   14101: 
                   14102: 
                   14103: 
                   14104: 
                   14105: 
                   14106: 
                   14107: 
                   14108: 
                   14109: 
                   14110: 
                   14111: 
                   14112: 
                   14113: 
                   14114: 
                   14115: 
                   14116: 
                   14117: 
                   14118: 
                   14119: 
                   14120: 
                   14121: 
                   14122: 
                   14123: 
                   14124: 
                   14125: 
                   14126: 
                   14127: 
                   14128: 
                   14129: 
                   14130: 
                   14131: 
                   14132: 
                   14133: 
                   14134: 
                   14135: 
                   14136: 
                   14137: 
                   14138: 
                   14139: 
                   14140: 
                   14141: 
                   14142: 
                   14143: 
                   14144: 
                   14145: 
                   14146: 
                   14147: 
                   14148: 
                   14149: 
                   14150: 
                   14151: 
                   14152: 
                   14153: 
1.237     moko     14154:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   14155: printf %s "checking dynamic linker characteristics... " >&6; }
1.128     moko     14156: 
1.237     moko     14157: if test yes = "$GCC"; then
1.128     moko     14158:   case $host_os in
1.237     moko     14159:     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
                   14160:     *) lt_awk_arg='/^libraries:/' ;;
1.128     moko     14161:   esac
                   14162:   case $host_os in
1.237     moko     14163:     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
                   14164:     *) lt_sed_strip_eq='s|=/|/|g' ;;
1.128     moko     14165:   esac
                   14166:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   14167:   case $lt_search_path_spec in
                   14168:   *\;*)
                   14169:     # if the path contains ";" then we assume it to be the separator
                   14170:     # otherwise default to the standard path separator (i.e. ":") - it is
                   14171:     # assumed that no part of a normal pathname contains ";" but that should
                   14172:     # okay in the real world where ";" in dirpaths is itself problematic.
                   14173:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   14174:     ;;
                   14175:   *)
                   14176:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   14177:     ;;
                   14178:   esac
                   14179:   # Ok, now we have the path, separated by spaces, we can step through it
1.237     moko     14180:   # and add multilib dir if necessary...
1.128     moko     14181:   lt_tmp_lt_search_path_spec=
1.237     moko     14182:   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   14183:   # ...but if some path component already ends with the multilib dir we assume
                   14184:   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
                   14185:   case "$lt_multi_os_dir; $lt_search_path_spec " in
                   14186:   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
                   14187:     lt_multi_os_dir=
                   14188:     ;;
                   14189:   esac
1.128     moko     14190:   for lt_sys_path in $lt_search_path_spec; do
1.237     moko     14191:     if test -d "$lt_sys_path$lt_multi_os_dir"; then
                   14192:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
                   14193:     elif test -n "$lt_multi_os_dir"; then
1.128     moko     14194:       test -d "$lt_sys_path" && \
                   14195:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   14196:     fi
                   14197:   done
                   14198:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
1.237     moko     14199: BEGIN {RS = " "; FS = "/|\n";} {
                   14200:   lt_foo = "";
                   14201:   lt_count = 0;
1.128     moko     14202:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   14203:     if ($lt_i != "" && $lt_i != ".") {
                   14204:       if ($lt_i == "..") {
                   14205:         lt_count++;
                   14206:       } else {
                   14207:         if (lt_count == 0) {
1.237     moko     14208:           lt_foo = "/" $lt_i lt_foo;
1.128     moko     14209:         } else {
                   14210:           lt_count--;
                   14211:         }
                   14212:       }
                   14213:     }
                   14214:   }
                   14215:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   14216:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   14217: }'`
                   14218:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   14219:   # for these hosts.
                   14220:   case $host_os in
1.237     moko     14221:     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   14222:       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
1.128     moko     14223:   esac
                   14224:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   14225: else
                   14226:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   14227: fi
                   14228: library_names_spec=
                   14229: libname_spec='lib$name'
                   14230: soname_spec=
1.237     moko     14231: shrext_cmds=.so
1.128     moko     14232: postinstall_cmds=
                   14233: postuninstall_cmds=
                   14234: finish_cmds=
                   14235: finish_eval=
                   14236: shlibpath_var=
                   14237: shlibpath_overrides_runpath=unknown
                   14238: version_type=none
                   14239: dynamic_linker="$host_os ld.so"
                   14240: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   14241: need_lib_prefix=unknown
                   14242: hardcode_into_libs=no
                   14243: 
                   14244: # when you set need_version to no, make sure it does not cause -set_version
                   14245: # flags to be left without arguments
                   14246: need_version=unknown
                   14247: 
1.237     moko     14248: 
                   14249: 
1.128     moko     14250: case $host_os in
                   14251: aix3*)
                   14252:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     14253:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
1.128     moko     14254:   shlibpath_var=LIBPATH
                   14255: 
                   14256:   # AIX 3 has no versioning support, so we append a major version to the name.
1.237     moko     14257:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14258:   ;;
                   14259: 
                   14260: aix[4-9]*)
                   14261:   version_type=linux # correct to gnu/linux during the next big refactor
                   14262:   need_lib_prefix=no
                   14263:   need_version=no
                   14264:   hardcode_into_libs=yes
1.237     moko     14265:   if test ia64 = "$host_cpu"; then
1.128     moko     14266:     # AIX 5 supports IA64
1.237     moko     14267:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
1.128     moko     14268:     shlibpath_var=LD_LIBRARY_PATH
                   14269:   else
                   14270:     # With GCC up to 2.95.x, collect2 would create an import file
                   14271:     # for dependence libraries.  The import file would start with
1.237     moko     14272:     # the line '#! .'.  This would cause the generated library to
                   14273:     # depend on '.', always an invalid library.  This was fixed in
1.128     moko     14274:     # development snapshots of GCC prior to 3.0.
                   14275:     case $host_os in
                   14276:       aix4 | aix4.[01] | aix4.[01].*)
                   14277:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   14278:           echo ' yes '
1.237     moko     14279:           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
1.128     moko     14280:        :
                   14281:       else
                   14282:        can_build_shared=no
                   14283:       fi
                   14284:       ;;
                   14285:     esac
1.237     moko     14286:     # Using Import Files as archive members, it is possible to support
                   14287:     # filename-based versioning of shared library archives on AIX. While
                   14288:     # this would work for both with and without runtime linking, it will
                   14289:     # prevent static linking of such archives. So we do filename-based
                   14290:     # shared library versioning with .so extension only, which is used
                   14291:     # when both runtime linking and shared linking is enabled.
                   14292:     # Unfortunately, runtime linking may impact performance, so we do
                   14293:     # not want this to be the default eventually. Also, we use the
                   14294:     # versioned .so libs for executables only if there is the -brtl
                   14295:     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
                   14296:     # To allow for filename-based versioning support, we need to create
                   14297:     # libNAME.so.V as an archive file, containing:
                   14298:     # *) an Import File, referring to the versioned filename of the
                   14299:     #    archive as well as the shared archive member, telling the
                   14300:     #    bitwidth (32 or 64) of that shared object, and providing the
                   14301:     #    list of exported symbols of that shared object, eventually
                   14302:     #    decorated with the 'weak' keyword
                   14303:     # *) the shared object with the F_LOADONLY flag set, to really avoid
                   14304:     #    it being seen by the linker.
                   14305:     # At run time we better use the real file rather than another symlink,
                   14306:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
                   14307: 
                   14308:     case $with_aix_soname,$aix_use_runtimelinking in
                   14309:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
1.128     moko     14310:     # soname into executable. Probably we can add versioning support to
                   14311:     # collect2, so additional links can be useful in future.
1.237     moko     14312:     aix,yes) # traditional libtool
                   14313:       dynamic_linker='AIX unversionable lib.so'
1.128     moko     14314:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   14315:       # instead of lib<name>.a to let people know that these are not
                   14316:       # typical AIX shared libraries.
1.237     moko     14317:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14318:       ;;
                   14319:     aix,no) # traditional AIX only
                   14320:       dynamic_linker='AIX lib.a(lib.so.V)'
1.128     moko     14321:       # We preserve .a as extension for shared libraries through AIX4.2
                   14322:       # and later when we are not doing run time linking.
1.237     moko     14323:       library_names_spec='$libname$release.a $libname.a'
                   14324:       soname_spec='$libname$release$shared_ext$major'
                   14325:       ;;
                   14326:     svr4,*) # full svr4 only
                   14327:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
                   14328:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
                   14329:       # We do not specify a path in Import Files, so LIBPATH fires.
                   14330:       shlibpath_overrides_runpath=yes
                   14331:       ;;
                   14332:     *,yes) # both, prefer svr4
                   14333:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
                   14334:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
                   14335:       # unpreferred sharedlib libNAME.a needs extra handling
                   14336:       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
                   14337:       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
                   14338:       # We do not specify a path in Import Files, so LIBPATH fires.
                   14339:       shlibpath_overrides_runpath=yes
                   14340:       ;;
                   14341:     *,no) # both, prefer aix
                   14342:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
                   14343:       library_names_spec='$libname$release.a $libname.a'
                   14344:       soname_spec='$libname$release$shared_ext$major'
                   14345:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
                   14346:       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
                   14347:       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
                   14348:       ;;
                   14349:     esac
1.128     moko     14350:     shlibpath_var=LIBPATH
                   14351:   fi
                   14352:   ;;
                   14353: 
                   14354: amigaos*)
                   14355:   case $host_cpu in
                   14356:   powerpc)
                   14357:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   14358:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
1.237     moko     14359:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     14360:     ;;
                   14361:   m68k)
                   14362:     library_names_spec='$libname.ixlibrary $libname.a'
                   14363:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.237     moko     14364:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
1.128     moko     14365:     ;;
                   14366:   esac
                   14367:   ;;
                   14368: 
                   14369: beos*)
1.237     moko     14370:   library_names_spec='$libname$shared_ext'
1.128     moko     14371:   dynamic_linker="$host_os ld.so"
                   14372:   shlibpath_var=LIBRARY_PATH
                   14373:   ;;
                   14374: 
                   14375: bsdi[45]*)
                   14376:   version_type=linux # correct to gnu/linux during the next big refactor
                   14377:   need_version=no
1.237     moko     14378:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14379:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14380:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   14381:   shlibpath_var=LD_LIBRARY_PATH
                   14382:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   14383:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   14384:   # the default ld.so.conf also contains /usr/contrib/lib and
                   14385:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   14386:   # libtool to hard-code these into programs
                   14387:   ;;
                   14388: 
1.237     moko     14389: cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     14390:   version_type=windows
1.237     moko     14391:   shrext_cmds=.dll
1.128     moko     14392:   need_version=no
                   14393:   need_lib_prefix=no
                   14394: 
                   14395:   case $GCC,$cc_basename in
                   14396:   yes,*)
                   14397:     # gcc
                   14398:     library_names_spec='$libname.dll.a'
                   14399:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.237     moko     14400:     # If user builds GCC with multilib enabled,
                   14401:     # it should just install on $(libdir)
                   14402:     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
                   14403:     if test xyes = x"$multilib"; then
                   14404:       postinstall_cmds='base_file=`basename \$file`~
                   14405:         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
                   14406:         dldir=$destdir/`dirname \$dlpath`~
                   14407:         $install_prog $dir/$dlname $destdir/$dlname~
                   14408:         chmod a+x $destdir/$dlname~
                   14409:         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14410:           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
                   14411:         fi'
                   14412:     else
                   14413:       postinstall_cmds='base_file=`basename \$file`~
                   14414:         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
                   14415:         dldir=$destdir/`dirname \$dlpath`~
                   14416:         test -d \$dldir || mkdir -p \$dldir~
                   14417:         $install_prog $dir/$dlname \$dldir/$dlname~
                   14418:         chmod a+x \$dldir/$dlname~
                   14419:         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14420:           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   14421:         fi'
                   14422:     fi
1.128     moko     14423:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14424:       dlpath=$dir/\$dldll~
                   14425:        $RM \$dlpath'
                   14426:     shlibpath_overrides_runpath=yes
                   14427: 
                   14428:     case $host_os in
                   14429:     cygwin*)
                   14430:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.237     moko     14431:       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     14432: 
                   14433:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   14434:       ;;
1.237     moko     14435:     mingw* | windows* | cegcc*)
1.128     moko     14436:       # MinGW DLLs use traditional 'lib' prefix
1.237     moko     14437:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     14438:       ;;
                   14439:     pw32*)
                   14440:       # pw32 DLLs use 'pw' prefix rather than 'lib'
1.237     moko     14441:       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     14442:       ;;
                   14443:     esac
                   14444:     dynamic_linker='Win32 ld.exe'
                   14445:     ;;
                   14446: 
1.237     moko     14447:   *,cl* | *,icl*)
                   14448:     # Native MSVC or ICC
1.128     moko     14449:     libname_spec='$name'
1.237     moko     14450:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
                   14451:     library_names_spec='$libname.dll.lib'
1.128     moko     14452: 
                   14453:     case $build_os in
1.237     moko     14454:     mingw* | windows*)
1.128     moko     14455:       sys_lib_search_path_spec=
                   14456:       lt_save_ifs=$IFS
                   14457:       IFS=';'
                   14458:       for lt_path in $LIB
                   14459:       do
                   14460:         IFS=$lt_save_ifs
                   14461:         # Let DOS variable expansion print the short 8.3 style file name.
                   14462:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   14463:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   14464:       done
                   14465:       IFS=$lt_save_ifs
                   14466:       # Convert to MSYS style.
1.237     moko     14467:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
1.128     moko     14468:       ;;
                   14469:     cygwin*)
                   14470:       # Convert to unix form, then to dos form, then back to unix form
                   14471:       # but this time dos style (no spaces!) so that the unix form looks
                   14472:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   14473:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   14474:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   14475:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14476:       ;;
                   14477:     *)
1.237     moko     14478:       sys_lib_search_path_spec=$LIB
1.128     moko     14479:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   14480:         # It is most probably a Windows format PATH.
                   14481:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   14482:       else
                   14483:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14484:       fi
                   14485:       # FIXME: find the short name or the path components, as spaces are
                   14486:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   14487:       ;;
                   14488:     esac
                   14489: 
                   14490:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.237     moko     14491:     postinstall_cmds='base_file=`basename \$file`~
                   14492:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
1.128     moko     14493:       dldir=$destdir/`dirname \$dlpath`~
                   14494:       test -d \$dldir || mkdir -p \$dldir~
                   14495:       $install_prog $dir/$dlname \$dldir/$dlname'
                   14496:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14497:       dlpath=$dir/\$dldll~
                   14498:        $RM \$dlpath'
                   14499:     shlibpath_overrides_runpath=yes
                   14500:     dynamic_linker='Win32 link.exe'
                   14501:     ;;
                   14502: 
                   14503:   *)
1.237     moko     14504:     # Assume MSVC and ICC wrapper
                   14505:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
1.128     moko     14506:     dynamic_linker='Win32 ld.exe'
                   14507:     ;;
                   14508:   esac
                   14509:   # FIXME: first we should search . and the directory the executable is in
                   14510:   shlibpath_var=PATH
                   14511:   ;;
                   14512: 
                   14513: darwin* | rhapsody*)
                   14514:   dynamic_linker="$host_os dyld"
                   14515:   version_type=darwin
                   14516:   need_lib_prefix=no
                   14517:   need_version=no
1.237     moko     14518:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
                   14519:   soname_spec='$libname$release$major$shared_ext'
1.128     moko     14520:   shlibpath_overrides_runpath=yes
                   14521:   shlibpath_var=DYLD_LIBRARY_PATH
                   14522:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   14523: 
                   14524:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   14525:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   14526:   ;;
                   14527: 
                   14528: dgux*)
                   14529:   version_type=linux # correct to gnu/linux during the next big refactor
                   14530:   need_lib_prefix=no
                   14531:   need_version=no
1.237     moko     14532:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14533:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14534:   shlibpath_var=LD_LIBRARY_PATH
                   14535:   ;;
                   14536: 
1.237     moko     14537: freebsd* | dragonfly* | midnightbsd*)
1.128     moko     14538:   # DragonFly does not have aout.  When/if they implement a new
                   14539:   # versioning mechanism, adjust this.
                   14540:   if test -x /usr/bin/objformat; then
                   14541:     objformat=`/usr/bin/objformat`
                   14542:   else
                   14543:     case $host_os in
                   14544:     freebsd[23].*) objformat=aout ;;
                   14545:     *) objformat=elf ;;
                   14546:     esac
                   14547:   fi
                   14548:   version_type=freebsd-$objformat
                   14549:   case $version_type in
                   14550:     freebsd-elf*)
1.237     moko     14551:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14552:       soname_spec='$libname$release$shared_ext$major'
1.128     moko     14553:       need_version=no
                   14554:       need_lib_prefix=no
                   14555:       ;;
                   14556:     freebsd-*)
1.237     moko     14557:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     14558:       need_version=yes
                   14559:       ;;
                   14560:   esac
1.237     moko     14561:   case $host_cpu in
                   14562:     powerpc64)
                   14563:       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
                   14564:       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
                   14565:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14566: /* end confdefs.h.  */
                   14567: int test_pointer_size[sizeof (void *) - 5];
                   14568: 
                   14569: _ACEOF
                   14570: if ac_fn_c_try_compile "$LINENO"
                   14571: then :
1.128     moko     14572:   shlibpath_var=LD_LIBRARY_PATH
1.237     moko     14573: else case e in #(
                   14574:   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
                   14575: esac
                   14576: fi
                   14577: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   14578:       ;;
                   14579:     *)
                   14580:       shlibpath_var=LD_LIBRARY_PATH
                   14581:       ;;
                   14582:   esac
1.128     moko     14583:   case $host_os in
                   14584:   freebsd2.*)
                   14585:     shlibpath_overrides_runpath=yes
                   14586:     ;;
                   14587:   freebsd3.[01]* | freebsdelf3.[01]*)
                   14588:     shlibpath_overrides_runpath=yes
                   14589:     hardcode_into_libs=yes
                   14590:     ;;
                   14591:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   14592:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   14593:     shlibpath_overrides_runpath=no
                   14594:     hardcode_into_libs=yes
                   14595:     ;;
                   14596:   *) # from 4.6 on, and DragonFly
                   14597:     shlibpath_overrides_runpath=yes
                   14598:     hardcode_into_libs=yes
                   14599:     ;;
                   14600:   esac
                   14601:   ;;
                   14602: 
                   14603: haiku*)
                   14604:   version_type=linux # correct to gnu/linux during the next big refactor
                   14605:   need_lib_prefix=no
                   14606:   need_version=no
                   14607:   dynamic_linker="$host_os runtime_loader"
1.237     moko     14608:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14609:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14610:   shlibpath_var=LIBRARY_PATH
1.237     moko     14611:   shlibpath_overrides_runpath=no
                   14612:   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
                   14613:   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
                   14614:   hardcode_into_libs=no
1.128     moko     14615:   ;;
                   14616: 
                   14617: hpux9* | hpux10* | hpux11*)
                   14618:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   14619:   # link against other versions.
                   14620:   version_type=sunos
                   14621:   need_lib_prefix=no
                   14622:   need_version=no
                   14623:   case $host_cpu in
                   14624:   ia64*)
                   14625:     shrext_cmds='.so'
                   14626:     hardcode_into_libs=yes
                   14627:     dynamic_linker="$host_os dld.so"
                   14628:     shlibpath_var=LD_LIBRARY_PATH
                   14629:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.237     moko     14630:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14631:     soname_spec='$libname$release$shared_ext$major'
                   14632:     if test 32 = "$HPUX_IA64_MODE"; then
1.128     moko     14633:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.237     moko     14634:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
1.128     moko     14635:     else
                   14636:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.237     moko     14637:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
1.128     moko     14638:     fi
                   14639:     ;;
                   14640:   hppa*64*)
                   14641:     shrext_cmds='.sl'
                   14642:     hardcode_into_libs=yes
                   14643:     dynamic_linker="$host_os dld.sl"
                   14644:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   14645:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.237     moko     14646:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14647:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     14648:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   14649:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14650:     ;;
                   14651:   *)
                   14652:     shrext_cmds='.sl'
                   14653:     dynamic_linker="$host_os dld.sl"
                   14654:     shlibpath_var=SHLIB_PATH
                   14655:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.237     moko     14656:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14657:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     14658:     ;;
                   14659:   esac
                   14660:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   14661:   postinstall_cmds='chmod 555 $lib'
                   14662:   # or fails outright, so override atomically:
                   14663:   install_override_mode=555
                   14664:   ;;
                   14665: 
                   14666: interix[3-9]*)
                   14667:   version_type=linux # correct to gnu/linux during the next big refactor
                   14668:   need_lib_prefix=no
                   14669:   need_version=no
1.237     moko     14670:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14671:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14672:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   14673:   shlibpath_var=LD_LIBRARY_PATH
                   14674:   shlibpath_overrides_runpath=no
                   14675:   hardcode_into_libs=yes
                   14676:   ;;
                   14677: 
                   14678: irix5* | irix6* | nonstopux*)
                   14679:   case $host_os in
                   14680:     nonstopux*) version_type=nonstopux ;;
                   14681:     *)
1.237     moko     14682:        if test yes = "$lt_cv_prog_gnu_ld"; then
1.128     moko     14683:                version_type=linux # correct to gnu/linux during the next big refactor
                   14684:        else
                   14685:                version_type=irix
                   14686:        fi ;;
                   14687:   esac
                   14688:   need_lib_prefix=no
                   14689:   need_version=no
1.237     moko     14690:   soname_spec='$libname$release$shared_ext$major'
                   14691:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
1.128     moko     14692:   case $host_os in
                   14693:   irix5* | nonstopux*)
                   14694:     libsuff= shlibsuff=
                   14695:     ;;
                   14696:   *)
                   14697:     case $LD in # libtool.m4 will add one of these switches to LD
                   14698:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   14699:       libsuff= shlibsuff= libmagic=32-bit;;
                   14700:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   14701:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   14702:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   14703:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   14704:     *) libsuff= shlibsuff= libmagic=never-match;;
                   14705:     esac
                   14706:     ;;
                   14707:   esac
                   14708:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   14709:   shlibpath_overrides_runpath=no
1.237     moko     14710:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
                   14711:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
1.128     moko     14712:   hardcode_into_libs=yes
                   14713:   ;;
                   14714: 
                   14715: # No shared lib support for Linux oldld, aout, or coff.
                   14716: linux*oldld* | linux*aout* | linux*coff*)
                   14717:   dynamic_linker=no
                   14718:   ;;
                   14719: 
1.237     moko     14720: linux*android*)
                   14721:   version_type=none # Android doesn't support versioned libraries.
                   14722:   need_lib_prefix=no
                   14723:   need_version=no
                   14724:   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
                   14725:   soname_spec='$libname$release$shared_ext'
                   14726:   finish_cmds=
                   14727:   shlibpath_var=LD_LIBRARY_PATH
                   14728:   shlibpath_overrides_runpath=yes
                   14729: 
                   14730:   # This implies no fast_install, which is unacceptable.
                   14731:   # Some rework will be needed to allow for fast_install
                   14732:   # before this can be enabled.
                   14733:   hardcode_into_libs=yes
                   14734: 
                   14735:   dynamic_linker='Android linker'
                   14736:   # -rpath works at least for libraries that are not overridden by
                   14737:   # libraries installed in system locations.
                   14738:   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   14739:   ;;
                   14740: 
1.128     moko     14741: # This must be glibc/ELF.
1.237     moko     14742: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     14743:   version_type=linux # correct to gnu/linux during the next big refactor
                   14744:   need_lib_prefix=no
                   14745:   need_version=no
1.237     moko     14746:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14747:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14748:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   14749:   shlibpath_var=LD_LIBRARY_PATH
                   14750:   shlibpath_overrides_runpath=no
                   14751: 
                   14752:   # Some binutils ld are patched to set DT_RUNPATH
1.237     moko     14753:   if test ${lt_cv_shlibpath_overrides_runpath+y}
                   14754: then :
                   14755:   printf %s "(cached) " >&6
                   14756: else case e in #(
                   14757:   e) lt_cv_shlibpath_overrides_runpath=no
1.128     moko     14758:     save_LDFLAGS=$LDFLAGS
                   14759:     save_libdir=$libdir
                   14760:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   14761:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150     moko     14762:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     14763: /* end confdefs.h.  */
                   14764: 
                   14765: int
1.237     moko     14766: main (void)
1.128     moko     14767: {
                   14768: 
                   14769:   ;
                   14770:   return 0;
                   14771: }
                   14772: _ACEOF
1.237     moko     14773: if ac_fn_c_try_link "$LINENO"
                   14774: then :
                   14775:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
                   14776: then :
1.128     moko     14777:   lt_cv_shlibpath_overrides_runpath=yes
                   14778: fi
                   14779: fi
1.237     moko     14780: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     14781:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     14782:     LDFLAGS=$save_LDFLAGS
                   14783:     libdir=$save_libdir
1.237     moko     14784:      ;;
                   14785: esac
1.128     moko     14786: fi
                   14787: 
                   14788:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   14789: 
                   14790:   # This implies no fast_install, which is unacceptable.
                   14791:   # Some rework will be needed to allow for fast_install
                   14792:   # before this can be enabled.
                   14793:   hardcode_into_libs=yes
                   14794: 
1.237     moko     14795:   # Ideally, we could use ldconfig to report *all* directories which are
                   14796:   # searched for libraries, however this is still not possible.  Aside from not
                   14797:   # being certain /sbin/ldconfig is available, command
                   14798:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
                   14799:   # even though it is searched at run-time.  Try to do the best guess by
                   14800:   # appending ld.so.conf contents (and includes) to the search path.
1.128     moko     14801:   if test -f /etc/ld.so.conf; then
                   14802:     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' ' '`
                   14803:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   14804:   fi
                   14805: 
                   14806:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   14807:   # powerpc, because MkLinux only supported shared libraries with the
                   14808:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   14809:   # most powerpc-linux boxes support dynamic linking these days and
                   14810:   # people can always --disable-shared, the test was removed, and we
                   14811:   # assume the GNU/Linux dynamic linker is in use.
                   14812:   dynamic_linker='GNU/Linux ld.so'
                   14813:   ;;
                   14814: 
1.237     moko     14815: netbsdelf*-gnu)
                   14816:   version_type=linux
                   14817:   need_lib_prefix=no
                   14818:   need_version=no
                   14819:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14820:   soname_spec='$libname$release$shared_ext$major'
                   14821:   shlibpath_var=LD_LIBRARY_PATH
                   14822:   shlibpath_overrides_runpath=no
                   14823:   hardcode_into_libs=yes
                   14824:   dynamic_linker='NetBSD ld.elf_so'
                   14825:   ;;
                   14826: 
                   14827: netbsdelf*-gnu)
                   14828:   version_type=linux
                   14829:   need_lib_prefix=no
                   14830:   need_version=no
                   14831:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   14832:   soname_spec='${libname}${release}${shared_ext}$major'
                   14833:   shlibpath_var=LD_LIBRARY_PATH
                   14834:   shlibpath_overrides_runpath=no
                   14835:   hardcode_into_libs=yes
                   14836:   dynamic_linker='NetBSD ld.elf_so'
                   14837:   ;;
                   14838: 
1.128     moko     14839: netbsd*)
                   14840:   version_type=sunos
                   14841:   need_lib_prefix=no
                   14842:   need_version=no
                   14843:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.237     moko     14844:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     14845:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14846:     dynamic_linker='NetBSD (a.out) ld.so'
                   14847:   else
1.237     moko     14848:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14849:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     14850:     dynamic_linker='NetBSD ld.elf_so'
                   14851:   fi
                   14852:   shlibpath_var=LD_LIBRARY_PATH
                   14853:   shlibpath_overrides_runpath=yes
                   14854:   hardcode_into_libs=yes
                   14855:   ;;
                   14856: 
1.237     moko     14857: *-mlibc)
                   14858:   version_type=linux # correct to gnu/linux during the next big refactor
                   14859:   need_lib_prefix=no
                   14860:   need_version=no
                   14861:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14862:   soname_spec='$libname$release$shared_ext$major'
                   14863:   dynamic_linker='mlibc ld.so'
                   14864:   shlibpath_var=LD_LIBRARY_PATH
                   14865:   shlibpath_overrides_runpath=no
                   14866:   hardcode_into_libs=yes
                   14867:   ;;
                   14868: 
1.128     moko     14869: newsos6)
                   14870:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     14871:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     14872:   shlibpath_var=LD_LIBRARY_PATH
                   14873:   shlibpath_overrides_runpath=yes
                   14874:   ;;
                   14875: 
                   14876: *nto* | *qnx*)
                   14877:   version_type=qnx
                   14878:   need_lib_prefix=no
                   14879:   need_version=no
1.237     moko     14880:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14881:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14882:   shlibpath_var=LD_LIBRARY_PATH
                   14883:   shlibpath_overrides_runpath=no
                   14884:   hardcode_into_libs=yes
                   14885:   dynamic_linker='ldqnx.so'
                   14886:   ;;
                   14887: 
                   14888: openbsd*)
                   14889:   version_type=sunos
1.237     moko     14890:   sys_lib_dlsearch_path_spec=/usr/lib
1.128     moko     14891:   need_lib_prefix=no
1.237     moko     14892:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
                   14893:     need_version=no
                   14894:   else
                   14895:     need_version=yes
                   14896:   fi
                   14897:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     14898:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14899:   shlibpath_var=LD_LIBRARY_PATH
1.237     moko     14900:   shlibpath_overrides_runpath=yes
1.128     moko     14901:   ;;
                   14902: 
                   14903: os2*)
                   14904:   libname_spec='$name'
1.237     moko     14905:   version_type=windows
                   14906:   shrext_cmds=.dll
                   14907:   need_version=no
1.128     moko     14908:   need_lib_prefix=no
1.237     moko     14909:   # OS/2 can only load a DLL with a base name of 8 characters or less.
                   14910:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
                   14911:     v=$($ECHO $release$versuffix | tr -d .-);
                   14912:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
                   14913:     $ECHO $n$v`$shared_ext'
                   14914:   library_names_spec='${libname}_dll.$libext'
1.128     moko     14915:   dynamic_linker='OS/2 ld.exe'
1.237     moko     14916:   shlibpath_var=BEGINLIBPATH
                   14917:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   14918:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14919:   postinstall_cmds='base_file=`basename \$file`~
                   14920:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
                   14921:     dldir=$destdir/`dirname \$dlpath`~
                   14922:     test -d \$dldir || mkdir -p \$dldir~
                   14923:     $install_prog $dir/$dlname \$dldir/$dlname~
                   14924:     chmod a+x \$dldir/$dlname~
                   14925:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14926:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   14927:     fi'
                   14928:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
                   14929:     dlpath=$dir/\$dldll~
                   14930:     $RM \$dlpath'
1.128     moko     14931:   ;;
                   14932: 
                   14933: osf3* | osf4* | osf5*)
                   14934:   version_type=osf
                   14935:   need_lib_prefix=no
                   14936:   need_version=no
1.237     moko     14937:   soname_spec='$libname$release$shared_ext$major'
                   14938:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     14939:   shlibpath_var=LD_LIBRARY_PATH
                   14940:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.237     moko     14941:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.128     moko     14942:   ;;
                   14943: 
                   14944: rdos*)
                   14945:   dynamic_linker=no
                   14946:   ;;
                   14947: 
1.237     moko     14948: serenity*)
                   14949:   version_type=linux # correct to gnu/linux during the next big refactor
                   14950:   need_lib_prefix=no
                   14951:   need_version=no
                   14952:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14953:   soname_spec='$libname$release$shared_ext$major'
                   14954:   shlibpath_var=LD_LIBRARY_PATH
                   14955:   shlibpath_overrides_runpath=no
                   14956:   dynamic_linker='SerenityOS LibELF'
                   14957:   ;;
                   14958: 
1.128     moko     14959: solaris*)
                   14960:   version_type=linux # correct to gnu/linux during the next big refactor
                   14961:   need_lib_prefix=no
                   14962:   need_version=no
1.237     moko     14963:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14964:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14965:   shlibpath_var=LD_LIBRARY_PATH
                   14966:   shlibpath_overrides_runpath=yes
                   14967:   hardcode_into_libs=yes
                   14968:   # ldd complains unless libraries are executable
                   14969:   postinstall_cmds='chmod +x $lib'
                   14970:   ;;
                   14971: 
                   14972: sunos4*)
                   14973:   version_type=sunos
1.237     moko     14974:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     14975:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   14976:   shlibpath_var=LD_LIBRARY_PATH
                   14977:   shlibpath_overrides_runpath=yes
1.237     moko     14978:   if test yes = "$with_gnu_ld"; then
1.128     moko     14979:     need_lib_prefix=no
                   14980:   fi
                   14981:   need_version=yes
                   14982:   ;;
                   14983: 
                   14984: sysv4 | sysv4.3*)
                   14985:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     14986:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14987:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14988:   shlibpath_var=LD_LIBRARY_PATH
                   14989:   case $host_vendor in
                   14990:     sni)
                   14991:       shlibpath_overrides_runpath=no
                   14992:       need_lib_prefix=no
                   14993:       runpath_var=LD_RUN_PATH
                   14994:       ;;
                   14995:     siemens)
                   14996:       need_lib_prefix=no
                   14997:       ;;
                   14998:     motorola)
                   14999:       need_lib_prefix=no
                   15000:       need_version=no
                   15001:       shlibpath_overrides_runpath=no
                   15002:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15003:       ;;
                   15004:   esac
                   15005:   ;;
                   15006: 
                   15007: sysv4*MP*)
1.237     moko     15008:   if test -d /usr/nec; then
1.128     moko     15009:     version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     15010:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
                   15011:     soname_spec='$libname$shared_ext.$major'
1.128     moko     15012:     shlibpath_var=LD_LIBRARY_PATH
                   15013:   fi
                   15014:   ;;
                   15015: 
                   15016: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.237     moko     15017:   version_type=sco
1.128     moko     15018:   need_lib_prefix=no
                   15019:   need_version=no
1.237     moko     15020:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
                   15021:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     15022:   shlibpath_var=LD_LIBRARY_PATH
                   15023:   shlibpath_overrides_runpath=yes
                   15024:   hardcode_into_libs=yes
1.237     moko     15025:   if test yes = "$with_gnu_ld"; then
1.128     moko     15026:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15027:   else
                   15028:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15029:     case $host_os in
                   15030:       sco3.2v5*)
                   15031:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15032:        ;;
                   15033:     esac
                   15034:   fi
                   15035:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15036:   ;;
                   15037: 
                   15038: tpf*)
                   15039:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15040:   version_type=linux # correct to gnu/linux during the next big refactor
                   15041:   need_lib_prefix=no
                   15042:   need_version=no
1.237     moko     15043:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     15044:   shlibpath_var=LD_LIBRARY_PATH
                   15045:   shlibpath_overrides_runpath=no
                   15046:   hardcode_into_libs=yes
                   15047:   ;;
                   15048: 
                   15049: uts4*)
                   15050:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     15051:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   15052:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     15053:   shlibpath_var=LD_LIBRARY_PATH
                   15054:   ;;
                   15055: 
1.237     moko     15056: emscripten*)
                   15057:   version_type=none
                   15058:   need_lib_prefix=no
                   15059:   need_version=no
                   15060:   library_names_spec='$libname$release$shared_ext'
                   15061:   soname_spec='$libname$release$shared_ext'
                   15062:   finish_cmds=
                   15063:   dynamic_linker="Emscripten linker"
                   15064:   lt_prog_compiler_wl=
                   15065: lt_prog_compiler_pic=
                   15066: lt_prog_compiler_static=
1.128     moko     15067: 
                   15068: 
1.237     moko     15069:   if test yes = "$GCC"; then
                   15070:     lt_prog_compiler_wl='-Wl,'
                   15071:     lt_prog_compiler_static='-static'
1.128     moko     15072: 
1.237     moko     15073:     case $host_os in
                   15074:       aix*)
                   15075:       # All AIX code is PIC.
                   15076:       if test ia64 = "$host_cpu"; then
                   15077:        # AIX 5 now supports IA64 processor
                   15078:        lt_prog_compiler_static='-Bstatic'
                   15079:       fi
                   15080:       lt_prog_compiler_pic='-fPIC'
                   15081:       ;;
1.128     moko     15082: 
1.237     moko     15083:     amigaos*)
                   15084:       case $host_cpu in
                   15085:       powerpc)
                   15086:             # see comment about AmigaOS4 .so support
                   15087:             lt_prog_compiler_pic='-fPIC'
                   15088:         ;;
                   15089:       m68k)
                   15090:             # FIXME: we need at least 68020 code to build shared libraries, but
                   15091:             # adding the '-m68020' flag to GCC prevents building anything better,
                   15092:             # like '-m68040'.
                   15093:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   15094:         ;;
                   15095:       esac
                   15096:       ;;
1.128     moko     15097: 
1.237     moko     15098:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   15099:       # PIC is the default for these OSes.
                   15100:       ;;
1.128     moko     15101: 
1.237     moko     15102:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
                   15103:       # This hack is so that the source file can tell whether it is being
                   15104:       # built for inclusion in a dll (and should export symbols for example).
                   15105:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   15106:       # (--disable-auto-import) libraries
                   15107:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   15108:       case $host_os in
                   15109:       os2*)
                   15110:        lt_prog_compiler_static='$wl-static'
                   15111:        ;;
                   15112:       esac
                   15113:       ;;
1.128     moko     15114: 
1.237     moko     15115:     darwin* | rhapsody*)
                   15116:       # PIC is the default on this platform
                   15117:       # Common symbols not allowed in MH_DYLIB files
                   15118:       lt_prog_compiler_pic='-fno-common'
                   15119:       ;;
1.128     moko     15120: 
1.237     moko     15121:     haiku*)
                   15122:       # PIC is the default for Haiku.
                   15123:       # The "-static" flag exists, but is broken.
                   15124:       lt_prog_compiler_static=
                   15125:       ;;
1.128     moko     15126: 
1.237     moko     15127:     hpux*)
                   15128:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   15129:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   15130:       # sets the default TLS model and affects inlining.
                   15131:       case $host_cpu in
                   15132:       hppa*64*)
                   15133:        # +Z the default
                   15134:        ;;
                   15135:       *)
                   15136:        lt_prog_compiler_pic='-fPIC'
                   15137:        ;;
                   15138:       esac
                   15139:       ;;
1.128     moko     15140: 
1.237     moko     15141:     interix[3-9]*)
                   15142:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   15143:       # Instead, we relocate shared libraries at runtime.
                   15144:       ;;
1.128     moko     15145: 
1.237     moko     15146:     msdosdjgpp*)
                   15147:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   15148:       # on systems that don't support them.
                   15149:       lt_prog_compiler_can_build_shared=no
                   15150:       enable_shared=no
                   15151:       ;;
1.128     moko     15152: 
1.237     moko     15153:     *nto* | *qnx*)
                   15154:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   15155:       # it will coredump.
                   15156:       lt_prog_compiler_pic='-fPIC -shared'
                   15157:       ;;
1.128     moko     15158: 
1.237     moko     15159:     sysv4*MP*)
                   15160:       if test -d /usr/nec; then
                   15161:        lt_prog_compiler_pic=-Kconform_pic
                   15162:       fi
                   15163:       ;;
1.128     moko     15164: 
1.237     moko     15165:     *)
                   15166:       lt_prog_compiler_pic='-fPIC'
                   15167:       ;;
                   15168:     esac
1.128     moko     15169: 
1.237     moko     15170:     case $cc_basename in
                   15171:     nvcc*) # Cuda Compiler Driver 2.2
                   15172:       lt_prog_compiler_wl='-Xlinker '
                   15173:       if test -n "$lt_prog_compiler_pic"; then
                   15174:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   15175:       fi
                   15176:       ;;
                   15177:     esac
                   15178:   else
                   15179:     # PORTME Check for flag to pass linker flags through the system compiler.
                   15180:     case $host_os in
                   15181:     aix*)
                   15182:       lt_prog_compiler_wl='-Wl,'
                   15183:       if test ia64 = "$host_cpu"; then
                   15184:        # AIX 5 now supports IA64 processor
                   15185:        lt_prog_compiler_static='-Bstatic'
                   15186:       else
                   15187:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   15188:       fi
                   15189:       ;;
1.128     moko     15190: 
1.237     moko     15191:     darwin* | rhapsody*)
                   15192:       # PIC is the default on this platform
                   15193:       # Common symbols not allowed in MH_DYLIB files
                   15194:       lt_prog_compiler_pic='-fno-common'
                   15195:       case $cc_basename in
                   15196:       nagfor*)
                   15197:         # NAG Fortran compiler
                   15198:         lt_prog_compiler_wl='-Wl,-Wl,,'
                   15199:         lt_prog_compiler_pic='-PIC'
                   15200:         lt_prog_compiler_static='-Bstatic'
                   15201:         ;;
                   15202:       esac
                   15203:       ;;
1.128     moko     15204: 
1.237     moko     15205:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
                   15206:       # This hack is so that the source file can tell whether it is being
                   15207:       # built for inclusion in a dll (and should export symbols for example).
                   15208:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   15209:       case $host_os in
                   15210:       os2*)
                   15211:        lt_prog_compiler_static='$wl-static'
                   15212:        ;;
                   15213:       esac
                   15214:       ;;
1.128     moko     15215: 
1.237     moko     15216:     hpux9* | hpux10* | hpux11*)
                   15217:       lt_prog_compiler_wl='-Wl,'
                   15218:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   15219:       # not for PA HP-UX.
                   15220:       case $host_cpu in
                   15221:       hppa*64*|ia64*)
                   15222:        # +Z the default
                   15223:        ;;
                   15224:       *)
                   15225:        lt_prog_compiler_pic='+Z'
                   15226:        ;;
                   15227:       esac
                   15228:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   15229:       lt_prog_compiler_static='$wl-a ${wl}archive'
                   15230:       ;;
1.128     moko     15231: 
1.237     moko     15232:     irix5* | irix6* | nonstopux*)
                   15233:       lt_prog_compiler_wl='-Wl,'
                   15234:       # PIC (with -KPIC) is the default.
                   15235:       lt_prog_compiler_static='-non_shared'
                   15236:       ;;
1.128     moko     15237: 
1.237     moko     15238:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
                   15239:       case $cc_basename in
                   15240:       # old Intel for x86_64, which still supported -KPIC.
                   15241:       ecc*)
                   15242:        lt_prog_compiler_wl='-Wl,'
                   15243:        lt_prog_compiler_pic='-KPIC'
                   15244:        lt_prog_compiler_static='-static'
                   15245:         ;;
                   15246:       *flang* | ftn | f18* | f95*)
                   15247:         # Flang compiler.
                   15248:        lt_prog_compiler_wl='-Wl,'
                   15249:        lt_prog_compiler_pic='-fPIC'
                   15250:        lt_prog_compiler_static='-static'
                   15251:         ;;
                   15252:       # flang / f18. f95 an alias for gfortran or flang on Debian
                   15253:       flang* | f18* | f95*)
                   15254:        lt_prog_compiler_wl='-Wl,'
                   15255:        lt_prog_compiler_pic='-fPIC'
                   15256:        lt_prog_compiler_static='-static'
                   15257:         ;;
                   15258:       # icc used to be incompatible with GCC.
                   15259:       # ICC 10 doesn't accept -KPIC any more.
                   15260:       icc* | ifort*)
                   15261:        lt_prog_compiler_wl='-Wl,'
                   15262:        lt_prog_compiler_pic='-fPIC'
                   15263:        lt_prog_compiler_static='-static'
                   15264:         ;;
                   15265:       # Lahey Fortran 8.1.
                   15266:       lf95*)
                   15267:        lt_prog_compiler_wl='-Wl,'
                   15268:        lt_prog_compiler_pic='--shared'
                   15269:        lt_prog_compiler_static='--static'
                   15270:        ;;
                   15271:       nagfor*)
                   15272:        # NAG Fortran compiler
                   15273:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   15274:        lt_prog_compiler_pic='-PIC'
                   15275:        lt_prog_compiler_static='-Bstatic'
                   15276:        ;;
                   15277:       tcc*)
                   15278:        # Fabrice Bellard et al's Tiny C Compiler
                   15279:        lt_prog_compiler_wl='-Wl,'
                   15280:        lt_prog_compiler_pic='-fPIC'
                   15281:        lt_prog_compiler_static='-static'
                   15282:        ;;
                   15283:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   15284:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   15285:        # which looks to be a dead project)
                   15286:        lt_prog_compiler_wl='-Wl,'
                   15287:        lt_prog_compiler_pic='-fpic'
                   15288:        lt_prog_compiler_static='-Bstatic'
                   15289:         ;;
                   15290:       ccc*)
                   15291:         lt_prog_compiler_wl='-Wl,'
                   15292:         # All Alpha code is PIC.
                   15293:         lt_prog_compiler_static='-non_shared'
                   15294:         ;;
                   15295:       xl* | bgxl* | bgf* | mpixl*)
                   15296:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   15297:        lt_prog_compiler_wl='-Wl,'
                   15298:        lt_prog_compiler_pic='-qpic'
                   15299:        lt_prog_compiler_static='-qstaticlink'
                   15300:        ;;
                   15301:       *)
                   15302:        case `$CC -V 2>&1 | $SED 5q` in
                   15303:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   15304:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   15305:          lt_prog_compiler_pic='-KPIC'
                   15306:          lt_prog_compiler_static='-Bstatic'
                   15307:          lt_prog_compiler_wl=''
                   15308:          ;;
                   15309:        *Sun\ F* | *Sun*Fortran*)
                   15310:          lt_prog_compiler_pic='-KPIC'
                   15311:          lt_prog_compiler_static='-Bstatic'
                   15312:          lt_prog_compiler_wl='-Qoption ld '
                   15313:          ;;
                   15314:        *Sun\ C*)
                   15315:          # Sun C 5.9
                   15316:          lt_prog_compiler_pic='-KPIC'
                   15317:          lt_prog_compiler_static='-Bstatic'
                   15318:          lt_prog_compiler_wl='-Wl,'
                   15319:          ;;
                   15320:         *Intel*\ [CF]*Compiler*)
                   15321:          lt_prog_compiler_wl='-Wl,'
                   15322:          lt_prog_compiler_pic='-fPIC'
                   15323:          lt_prog_compiler_static='-static'
                   15324:          ;;
                   15325:        *Portland\ Group*)
                   15326:          lt_prog_compiler_wl='-Wl,'
                   15327:          lt_prog_compiler_pic='-fpic'
                   15328:          lt_prog_compiler_static='-Bstatic'
                   15329:          ;;
                   15330:        esac
                   15331:        ;;
                   15332:       esac
                   15333:       ;;
1.128     moko     15334: 
1.237     moko     15335:     newsos6)
                   15336:       lt_prog_compiler_pic='-KPIC'
                   15337:       lt_prog_compiler_static='-Bstatic'
                   15338:       ;;
1.128     moko     15339: 
1.237     moko     15340:     *-mlibc)
                   15341:       lt_prog_compiler_wl='-Wl,'
                   15342:       lt_prog_compiler_pic='-fPIC'
                   15343:       lt_prog_compiler_static='-static'
                   15344:       ;;
1.128     moko     15345: 
1.237     moko     15346:     *nto* | *qnx*)
                   15347:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   15348:       # it will coredump.
                   15349:       lt_prog_compiler_pic='-fPIC -shared'
                   15350:       ;;
1.128     moko     15351: 
1.237     moko     15352:     osf3* | osf4* | osf5*)
                   15353:       lt_prog_compiler_wl='-Wl,'
                   15354:       # All OSF/1 code is PIC.
                   15355:       lt_prog_compiler_static='-non_shared'
                   15356:       ;;
1.128     moko     15357: 
1.237     moko     15358:     rdos*)
                   15359:       lt_prog_compiler_static='-non_shared'
                   15360:       ;;
1.128     moko     15361: 
1.237     moko     15362:     serenity*)
                   15363:       ;;
                   15364: 
                   15365:     solaris*)
                   15366:       lt_prog_compiler_pic='-KPIC'
                   15367:       lt_prog_compiler_static='-Bstatic'
                   15368:       case $cc_basename in
                   15369:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   15370:        lt_prog_compiler_wl='-Qoption ld ';;
                   15371:       *)
                   15372:        lt_prog_compiler_wl='-Wl,';;
                   15373:       esac
                   15374:       ;;
                   15375: 
                   15376:     sunos4*)
                   15377:       lt_prog_compiler_wl='-Qoption ld '
                   15378:       lt_prog_compiler_pic='-PIC'
                   15379:       lt_prog_compiler_static='-Bstatic'
                   15380:       ;;
                   15381: 
                   15382:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   15383:       lt_prog_compiler_wl='-Wl,'
                   15384:       lt_prog_compiler_pic='-KPIC'
                   15385:       lt_prog_compiler_static='-Bstatic'
                   15386:       ;;
                   15387: 
                   15388:     sysv4*MP*)
                   15389:       if test -d /usr/nec; then
                   15390:        lt_prog_compiler_pic='-Kconform_pic'
                   15391:        lt_prog_compiler_static='-Bstatic'
                   15392:       fi
                   15393:       ;;
                   15394: 
                   15395:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   15396:       lt_prog_compiler_wl='-Wl,'
                   15397:       lt_prog_compiler_pic='-KPIC'
                   15398:       lt_prog_compiler_static='-Bstatic'
                   15399:       ;;
                   15400: 
                   15401:     unicos*)
                   15402:       lt_prog_compiler_wl='-Wl,'
                   15403:       lt_prog_compiler_can_build_shared=no
                   15404:       ;;
                   15405: 
                   15406:     uts4*)
                   15407:       lt_prog_compiler_pic='-pic'
                   15408:       lt_prog_compiler_static='-Bstatic'
                   15409:       ;;
                   15410: 
                   15411:     *)
                   15412:       lt_prog_compiler_can_build_shared=no
                   15413:       ;;
                   15414:     esac
                   15415:   fi
                   15416: 
                   15417: case $host_os in
                   15418:   # For platforms that do not support PIC, -DPIC is meaningless:
                   15419:   *djgpp*)
                   15420:     lt_prog_compiler_pic=
                   15421:     ;;
                   15422:   *)
                   15423:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   15424:     ;;
                   15425: esac
                   15426: 
                   15427: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   15428: printf %s "checking for $compiler option to produce PIC... " >&6; }
                   15429: if test ${lt_cv_prog_compiler_pic+y}
                   15430: then :
                   15431:   printf %s "(cached) " >&6
                   15432: else case e in #(
                   15433:   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
                   15434: esac
                   15435: fi
                   15436: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   15437: printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
                   15438: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   15439: 
                   15440: #
                   15441: # Check to make sure the PIC flag actually works.
                   15442: #
                   15443: if test -n "$lt_prog_compiler_pic"; then
                   15444:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   15445: printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   15446: if test ${lt_cv_prog_compiler_pic_works+y}
                   15447: then :
                   15448:   printf %s "(cached) " >&6
                   15449: else case e in #(
                   15450:   e) lt_cv_prog_compiler_pic_works=no
                   15451:    ac_outfile=conftest.$ac_objext
                   15452:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15453:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
                   15454:    # Insert the option either (1) after the last *FLAGS variable, or
                   15455:    # (2) before a word containing "conftest.", or (3) at the end.
                   15456:    # Note that $ac_compile itself does not contain backslashes and begins
                   15457:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15458:    # The option is referenced via a variable to avoid confusing sed.
                   15459:    lt_compile=`echo "$ac_compile" | $SED \
                   15460:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15461:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15462:    -e 's:$: $lt_compiler_flag:'`
                   15463:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15464:    (eval "$lt_compile" 2>conftest.err)
                   15465:    ac_status=$?
                   15466:    cat conftest.err >&5
                   15467:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15468:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   15469:      # The compiler can only warn and ignore the option if not recognized
                   15470:      # So say no if there are warnings other than the usual output.
                   15471:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   15472:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15473:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   15474:        lt_cv_prog_compiler_pic_works=yes
                   15475:      fi
                   15476:    fi
                   15477:    $RM conftest*
                   15478:  ;;
                   15479: esac
                   15480: fi
                   15481: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   15482: printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
                   15483: 
                   15484: if test yes = "$lt_cv_prog_compiler_pic_works"; then
                   15485:     case $lt_prog_compiler_pic in
                   15486:      "" | " "*) ;;
                   15487:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   15488:      esac
                   15489: else
                   15490:     lt_prog_compiler_pic=
                   15491:      lt_prog_compiler_can_build_shared=no
                   15492: fi
                   15493: 
                   15494: fi
                   15495: 
                   15496: 
                   15497: 
                   15498: 
                   15499: 
                   15500: #
                   15501: # Check to make sure the static flag actually works.
                   15502: #
                   15503: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   15504: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   15505: printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   15506: if test ${lt_cv_prog_compiler_static_works+y}
                   15507: then :
                   15508:   printf %s "(cached) " >&6
                   15509: else case e in #(
                   15510:   e) lt_cv_prog_compiler_static_works=no
                   15511:    save_LDFLAGS=$LDFLAGS
                   15512:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   15513:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   15514:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   15515:      # The linker can only warn and ignore the option if not recognized
                   15516:      # So say no if there are warnings
                   15517:      if test -s conftest.err; then
                   15518:        # Append any errors to the config.log.
                   15519:        cat conftest.err 1>&5
                   15520:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   15521:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15522:        if diff conftest.exp conftest.er2 >/dev/null; then
                   15523:          lt_cv_prog_compiler_static_works=yes
                   15524:        fi
                   15525:      else
                   15526:        lt_cv_prog_compiler_static_works=yes
                   15527:      fi
                   15528:    fi
                   15529:    $RM -r conftest*
                   15530:    LDFLAGS=$save_LDFLAGS
                   15531:  ;;
                   15532: esac
                   15533: fi
                   15534: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   15535: printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
                   15536: 
                   15537: if test yes = "$lt_cv_prog_compiler_static_works"; then
                   15538:     :
                   15539: else
                   15540:     lt_prog_compiler_static=
                   15541: fi
                   15542: 
                   15543: 
                   15544: 
                   15545: ='-fPIC'
                   15546:   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
                   15547:   archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym'
                   15548:   archive_cmds_need_lc=no
                   15549:   no_undefined_flag=
                   15550:   ;;
                   15551: 
                   15552: *)
                   15553:   dynamic_linker=no
                   15554:   ;;
                   15555: esac
                   15556: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   15557: printf "%s\n" "$dynamic_linker" >&6; }
                   15558: test no = "$dynamic_linker" && can_build_shared=no
                   15559: 
                   15560: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15561: if test yes = "$GCC"; then
                   15562:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15563: fi
                   15564: 
                   15565: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
                   15566:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
                   15567: fi
                   15568: 
                   15569: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
                   15570:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
                   15571: fi
                   15572: 
                   15573: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
                   15574: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
                   15575: 
                   15576: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
                   15577: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
                   15578: 
                   15579: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
                   15580: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
1.128     moko     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: 
                   15608: 
                   15609: 
                   15610: 
                   15611: 
                   15612: 
                   15613: 
                   15614: 
                   15615: 
                   15616: 
                   15617: 
                   15618: 
                   15619: 
                   15620: 
                   15621: 
                   15622: 
                   15623: 
                   15624: 
                   15625: 
                   15626: 
                   15627: 
                   15628: 
                   15629: 
                   15630: 
                   15631: 
                   15632: 
                   15633: 
                   15634: 
                   15635: 
                   15636: 
                   15637: 
                   15638: 
                   15639: 
                   15640: 
                   15641: 
                   15642: 
                   15643: 
                   15644: 
                   15645: 
                   15646: 
                   15647: 
                   15648: 
1.237     moko     15649: 
                   15650: 
                   15651: 
                   15652: 
                   15653: 
                   15654: 
                   15655: 
                   15656: 
                   15657: 
                   15658: 
                   15659: 
                   15660: 
                   15661: 
                   15662: 
                   15663: 
                   15664: 
                   15665: 
                   15666: 
                   15667: 
                   15668: 
                   15669: 
                   15670: 
                   15671: 
                   15672: 
                   15673: 
                   15674: 
                   15675: 
                   15676: 
                   15677: 
                   15678:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   15679: printf %s "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     15680: hardcode_action=
                   15681: if test -n "$hardcode_libdir_flag_spec" ||
                   15682:    test -n "$runpath_var" ||
1.237     moko     15683:    test yes = "$hardcode_automatic"; then
1.128     moko     15684: 
                   15685:   # We can hardcode non-existent directories.
1.237     moko     15686:   if test no != "$hardcode_direct" &&
1.128     moko     15687:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15688:      # have to relink, otherwise we might link with an installed library
                   15689:      # when we should be linking with a yet-to-be-installed one
1.237     moko     15690:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
                   15691:      test no != "$hardcode_minus_L"; then
1.128     moko     15692:     # Linking always hardcodes the temporary library directory.
                   15693:     hardcode_action=relink
                   15694:   else
                   15695:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15696:     hardcode_action=immediate
                   15697:   fi
                   15698: else
                   15699:   # We cannot hardcode anything, or else we can only hardcode existing
                   15700:   # directories.
                   15701:   hardcode_action=unsupported
                   15702: fi
1.237     moko     15703: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   15704: printf "%s\n" "$hardcode_action" >&6; }
1.128     moko     15705: 
1.237     moko     15706: if test relink = "$hardcode_action" ||
                   15707:    test yes = "$inherit_rpath"; then
1.128     moko     15708:   # Fast installation is not supported
                   15709:   enable_fast_install=no
1.237     moko     15710: elif test yes = "$shlibpath_overrides_runpath" ||
                   15711:      test no = "$enable_shared"; then
1.128     moko     15712:   # Fast installation is not necessary
                   15713:   enable_fast_install=needless
                   15714: fi
                   15715: 
                   15716: 
                   15717: 
                   15718: 
                   15719: 
                   15720: 
1.237     moko     15721:   if test yes != "$enable_dlopen"; then
1.128     moko     15722:   enable_dlopen=unknown
                   15723:   enable_dlopen_self=unknown
                   15724:   enable_dlopen_self_static=unknown
                   15725: else
                   15726:   lt_cv_dlopen=no
                   15727:   lt_cv_dlopen_libs=
                   15728: 
                   15729:   case $host_os in
                   15730:   beos*)
1.237     moko     15731:     lt_cv_dlopen=load_add_on
1.128     moko     15732:     lt_cv_dlopen_libs=
                   15733:     lt_cv_dlopen_self=yes
                   15734:     ;;
                   15735: 
1.237     moko     15736:   mingw* | windows* | pw32* | cegcc*)
                   15737:     lt_cv_dlopen=LoadLibrary
1.128     moko     15738:     lt_cv_dlopen_libs=
                   15739:     ;;
                   15740: 
                   15741:   cygwin*)
1.237     moko     15742:     lt_cv_dlopen=dlopen
1.128     moko     15743:     lt_cv_dlopen_libs=
                   15744:     ;;
                   15745: 
                   15746:   darwin*)
1.237     moko     15747:     # if libdl is installed we need to link against it
                   15748:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   15749: printf %s "checking for dlopen in -ldl... " >&6; }
                   15750: if test ${ac_cv_lib_dl_dlopen+y}
                   15751: then :
                   15752:   printf %s "(cached) " >&6
                   15753: else case e in #(
                   15754:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     15755: LIBS="-ldl  $LIBS"
1.150     moko     15756: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15757: /* end confdefs.h.  */
                   15758: 
1.150     moko     15759: /* Override any GCC internal prototype to avoid an error.
                   15760:    Use char because int might match the return type of a GCC
1.237     moko     15761:    builtin and then its argument prototype would still apply.
                   15762:    The 'extern "C"' is for builds by C++ compilers;
                   15763:    although this is not generally supported in C code supporting it here
                   15764:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     15765: #ifdef __cplusplus
                   15766: extern "C"
                   15767: #endif
1.237     moko     15768: char dlopen (void);
1.128     moko     15769: int
1.237     moko     15770: main (void)
1.128     moko     15771: {
1.150     moko     15772: return dlopen ();
1.128     moko     15773:   ;
                   15774:   return 0;
                   15775: }
                   15776: _ACEOF
1.237     moko     15777: if ac_fn_c_try_link "$LINENO"
                   15778: then :
1.128     moko     15779:   ac_cv_lib_dl_dlopen=yes
1.237     moko     15780: else case e in #(
                   15781:   e) ac_cv_lib_dl_dlopen=no ;;
                   15782: esac
1.128     moko     15783: fi
1.237     moko     15784: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     15785:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     15786: LIBS=$ac_check_lib_save_LIBS ;;
                   15787: esac
1.128     moko     15788: fi
1.237     moko     15789: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   15790: printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
                   15791: if test "x$ac_cv_lib_dl_dlopen" = xyes
                   15792: then :
                   15793:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
                   15794: else case e in #(
                   15795:   e)
                   15796:     lt_cv_dlopen=dyld
1.128     moko     15797:     lt_cv_dlopen_libs=
                   15798:     lt_cv_dlopen_self=yes
1.237     moko     15799:      ;;
                   15800: esac
                   15801: fi
1.128     moko     15802: 
1.237     moko     15803:     ;;
1.128     moko     15804: 
1.237     moko     15805:   tpf*)
                   15806:     # Don't try to run any link tests for TPF.  We know it's impossible
                   15807:     # because TPF is a cross-compiler, and we know how we open DSOs.
                   15808:     lt_cv_dlopen=dlopen
                   15809:     lt_cv_dlopen_libs=
                   15810:     lt_cv_dlopen_self=no
1.128     moko     15811:     ;;
                   15812: 
                   15813:   *)
1.150     moko     15814:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
1.237     moko     15815: if test "x$ac_cv_func_shl_load" = xyes
                   15816: then :
                   15817:   lt_cv_dlopen=shl_load
                   15818: else case e in #(
                   15819:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   15820: printf %s "checking for shl_load in -ldld... " >&6; }
                   15821: if test ${ac_cv_lib_dld_shl_load+y}
                   15822: then :
                   15823:   printf %s "(cached) " >&6
                   15824: else case e in #(
                   15825:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     15826: LIBS="-ldld  $LIBS"
1.150     moko     15827: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15828: /* end confdefs.h.  */
                   15829: 
1.150     moko     15830: /* Override any GCC internal prototype to avoid an error.
                   15831:    Use char because int might match the return type of a GCC
1.237     moko     15832:    builtin and then its argument prototype would still apply.
                   15833:    The 'extern "C"' is for builds by C++ compilers;
                   15834:    although this is not generally supported in C code supporting it here
                   15835:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     15836: #ifdef __cplusplus
                   15837: extern "C"
                   15838: #endif
1.237     moko     15839: char shl_load (void);
1.128     moko     15840: int
1.237     moko     15841: main (void)
1.128     moko     15842: {
1.150     moko     15843: return shl_load ();
1.128     moko     15844:   ;
                   15845:   return 0;
                   15846: }
                   15847: _ACEOF
1.237     moko     15848: if ac_fn_c_try_link "$LINENO"
                   15849: then :
1.128     moko     15850:   ac_cv_lib_dld_shl_load=yes
1.237     moko     15851: else case e in #(
                   15852:   e) ac_cv_lib_dld_shl_load=no ;;
                   15853: esac
1.128     moko     15854: fi
1.237     moko     15855: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     15856:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     15857: LIBS=$ac_check_lib_save_LIBS ;;
                   15858: esac
1.128     moko     15859: fi
1.237     moko     15860: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   15861: printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
                   15862: if test "x$ac_cv_lib_dld_shl_load" = xyes
                   15863: then :
                   15864:   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
                   15865: else case e in #(
                   15866:   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   15867: if test "x$ac_cv_func_dlopen" = xyes
                   15868: then :
                   15869:   lt_cv_dlopen=dlopen
                   15870: else case e in #(
                   15871:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   15872: printf %s "checking for dlopen in -ldl... " >&6; }
                   15873: if test ${ac_cv_lib_dl_dlopen+y}
                   15874: then :
                   15875:   printf %s "(cached) " >&6
                   15876: else case e in #(
                   15877:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     15878: LIBS="-ldl  $LIBS"
1.150     moko     15879: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15880: /* end confdefs.h.  */
                   15881: 
1.150     moko     15882: /* Override any GCC internal prototype to avoid an error.
                   15883:    Use char because int might match the return type of a GCC
1.237     moko     15884:    builtin and then its argument prototype would still apply.
                   15885:    The 'extern "C"' is for builds by C++ compilers;
                   15886:    although this is not generally supported in C code supporting it here
                   15887:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     15888: #ifdef __cplusplus
                   15889: extern "C"
                   15890: #endif
1.237     moko     15891: char dlopen (void);
1.128     moko     15892: int
1.237     moko     15893: main (void)
1.128     moko     15894: {
1.150     moko     15895: return dlopen ();
1.128     moko     15896:   ;
                   15897:   return 0;
                   15898: }
                   15899: _ACEOF
1.237     moko     15900: if ac_fn_c_try_link "$LINENO"
                   15901: then :
1.128     moko     15902:   ac_cv_lib_dl_dlopen=yes
1.237     moko     15903: else case e in #(
                   15904:   e) ac_cv_lib_dl_dlopen=no ;;
                   15905: esac
1.128     moko     15906: fi
1.237     moko     15907: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     15908:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     15909: LIBS=$ac_check_lib_save_LIBS ;;
                   15910: esac
1.128     moko     15911: fi
1.237     moko     15912: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   15913: printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
                   15914: if test "x$ac_cv_lib_dl_dlopen" = xyes
                   15915: then :
                   15916:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
                   15917: else case e in #(
                   15918:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   15919: printf %s "checking for dlopen in -lsvld... " >&6; }
                   15920: if test ${ac_cv_lib_svld_dlopen+y}
                   15921: then :
                   15922:   printf %s "(cached) " >&6
                   15923: else case e in #(
                   15924:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     15925: LIBS="-lsvld  $LIBS"
1.150     moko     15926: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15927: /* end confdefs.h.  */
                   15928: 
1.150     moko     15929: /* Override any GCC internal prototype to avoid an error.
                   15930:    Use char because int might match the return type of a GCC
1.237     moko     15931:    builtin and then its argument prototype would still apply.
                   15932:    The 'extern "C"' is for builds by C++ compilers;
                   15933:    although this is not generally supported in C code supporting it here
                   15934:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     15935: #ifdef __cplusplus
                   15936: extern "C"
                   15937: #endif
1.237     moko     15938: char dlopen (void);
1.128     moko     15939: int
1.237     moko     15940: main (void)
1.128     moko     15941: {
1.150     moko     15942: return dlopen ();
1.128     moko     15943:   ;
                   15944:   return 0;
                   15945: }
                   15946: _ACEOF
1.237     moko     15947: if ac_fn_c_try_link "$LINENO"
                   15948: then :
1.128     moko     15949:   ac_cv_lib_svld_dlopen=yes
1.237     moko     15950: else case e in #(
                   15951:   e) ac_cv_lib_svld_dlopen=no ;;
                   15952: esac
1.128     moko     15953: fi
1.237     moko     15954: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     15955:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     15956: LIBS=$ac_check_lib_save_LIBS ;;
                   15957: esac
1.128     moko     15958: fi
1.237     moko     15959: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   15960: printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
                   15961: if test "x$ac_cv_lib_svld_dlopen" = xyes
                   15962: then :
                   15963:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
                   15964: else case e in #(
                   15965:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   15966: printf %s "checking for dld_link in -ldld... " >&6; }
                   15967: if test ${ac_cv_lib_dld_dld_link+y}
                   15968: then :
                   15969:   printf %s "(cached) " >&6
                   15970: else case e in #(
                   15971:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     15972: LIBS="-ldld  $LIBS"
1.150     moko     15973: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15974: /* end confdefs.h.  */
                   15975: 
1.150     moko     15976: /* Override any GCC internal prototype to avoid an error.
                   15977:    Use char because int might match the return type of a GCC
1.237     moko     15978:    builtin and then its argument prototype would still apply.
                   15979:    The 'extern "C"' is for builds by C++ compilers;
                   15980:    although this is not generally supported in C code supporting it here
                   15981:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     15982: #ifdef __cplusplus
                   15983: extern "C"
                   15984: #endif
1.237     moko     15985: char dld_link (void);
1.128     moko     15986: int
1.237     moko     15987: main (void)
1.128     moko     15988: {
1.150     moko     15989: return dld_link ();
1.128     moko     15990:   ;
                   15991:   return 0;
                   15992: }
                   15993: _ACEOF
1.237     moko     15994: if ac_fn_c_try_link "$LINENO"
                   15995: then :
1.128     moko     15996:   ac_cv_lib_dld_dld_link=yes
1.237     moko     15997: else case e in #(
                   15998:   e) ac_cv_lib_dld_dld_link=no ;;
                   15999: esac
1.150     moko     16000: fi
1.237     moko     16001: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     16002:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     16003: LIBS=$ac_check_lib_save_LIBS ;;
                   16004: esac
1.128     moko     16005: fi
1.237     moko     16006: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   16007: printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
                   16008: if test "x$ac_cv_lib_dld_dld_link" = xyes
                   16009: then :
                   16010:   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
1.128     moko     16011: fi
                   16012: 
1.237     moko     16013:               ;;
                   16014: esac
1.128     moko     16015: fi
                   16016: 
1.237     moko     16017:             ;;
                   16018: esac
1.128     moko     16019: fi
                   16020: 
1.237     moko     16021:           ;;
                   16022: esac
1.128     moko     16023: fi
                   16024: 
1.237     moko     16025:         ;;
                   16026: esac
1.128     moko     16027: fi
                   16028: 
1.237     moko     16029:        ;;
                   16030: esac
1.128     moko     16031: fi
                   16032: 
                   16033:     ;;
                   16034:   esac
                   16035: 
1.237     moko     16036:   if test no = "$lt_cv_dlopen"; then
                   16037:     enable_dlopen=no
                   16038:   else
1.128     moko     16039:     enable_dlopen=yes
                   16040:   fi
                   16041: 
                   16042:   case $lt_cv_dlopen in
                   16043:   dlopen)
1.237     moko     16044:     save_CPPFLAGS=$CPPFLAGS
                   16045:     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.128     moko     16046: 
1.237     moko     16047:     save_LDFLAGS=$LDFLAGS
1.128     moko     16048:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   16049: 
1.237     moko     16050:     save_LIBS=$LIBS
1.128     moko     16051:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   16052: 
1.237     moko     16053:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   16054: printf %s "checking whether a program can dlopen itself... " >&6; }
                   16055: if test ${lt_cv_dlopen_self+y}
                   16056: then :
                   16057:   printf %s "(cached) " >&6
                   16058: else case e in #(
                   16059:   e)     if test yes = "$cross_compiling"; then :
1.128     moko     16060:   lt_cv_dlopen_self=cross
                   16061: else
                   16062:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16063:   lt_status=$lt_dlunknown
                   16064:   cat > conftest.$ac_ext <<_LT_EOF
                   16065: #line $LINENO "configure"
                   16066: #include "confdefs.h"
                   16067: 
                   16068: #if HAVE_DLFCN_H
                   16069: #include <dlfcn.h>
                   16070: #endif
                   16071: 
                   16072: #include <stdio.h>
                   16073: 
                   16074: #ifdef RTLD_GLOBAL
                   16075: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16076: #else
                   16077: #  ifdef DL_GLOBAL
                   16078: #    define LT_DLGLOBAL                DL_GLOBAL
                   16079: #  else
                   16080: #    define LT_DLGLOBAL                0
                   16081: #  endif
                   16082: #endif
                   16083: 
                   16084: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16085:    find out it does not work in some platform. */
                   16086: #ifndef LT_DLLAZY_OR_NOW
                   16087: #  ifdef RTLD_LAZY
                   16088: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16089: #  else
                   16090: #    ifdef DL_LAZY
                   16091: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16092: #    else
                   16093: #      ifdef RTLD_NOW
                   16094: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16095: #      else
                   16096: #        ifdef DL_NOW
                   16097: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16098: #        else
                   16099: #          define LT_DLLAZY_OR_NOW     0
                   16100: #        endif
                   16101: #      endif
                   16102: #    endif
                   16103: #  endif
                   16104: #endif
                   16105: 
1.237     moko     16106: /* When -fvisibility=hidden is used, assume the code has been annotated
1.128     moko     16107:    correspondingly for the symbols needed.  */
1.237     moko     16108: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16109: int fnord (void) __attribute__((visibility("default")));
1.128     moko     16110: #endif
                   16111: 
1.237     moko     16112: int fnord (void) { return 42; }
                   16113: int main (void)
1.128     moko     16114: {
                   16115:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16116:   int status = $lt_dlunknown;
                   16117: 
                   16118:   if (self)
                   16119:     {
                   16120:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16121:       else
                   16122:         {
                   16123:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16124:           else puts (dlerror ());
                   16125:        }
                   16126:       /* dlclose (self); */
                   16127:     }
                   16128:   else
                   16129:     puts (dlerror ());
                   16130: 
                   16131:   return status;
                   16132: }
                   16133: _LT_EOF
1.150     moko     16134:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     16135:   (eval $ac_link) 2>&5
                   16136:   ac_status=$?
1.237     moko     16137:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16138:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1.128     moko     16139:     (./conftest; exit; ) >&5 2>/dev/null
                   16140:     lt_status=$?
                   16141:     case x$lt_status in
                   16142:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   16143:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   16144:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   16145:     esac
                   16146:   else :
                   16147:     # compilation failed
                   16148:     lt_cv_dlopen_self=no
                   16149:   fi
                   16150: fi
                   16151: rm -fr conftest*
                   16152: 
1.237     moko     16153:      ;;
                   16154: esac
1.128     moko     16155: fi
1.237     moko     16156: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   16157: printf "%s\n" "$lt_cv_dlopen_self" >&6; }
1.128     moko     16158: 
1.237     moko     16159:     if test yes = "$lt_cv_dlopen_self"; then
1.128     moko     16160:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.237     moko     16161:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   16162: printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
                   16163: if test ${lt_cv_dlopen_self_static+y}
                   16164: then :
                   16165:   printf %s "(cached) " >&6
                   16166: else case e in #(
                   16167:   e)     if test yes = "$cross_compiling"; then :
1.128     moko     16168:   lt_cv_dlopen_self_static=cross
                   16169: else
                   16170:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16171:   lt_status=$lt_dlunknown
                   16172:   cat > conftest.$ac_ext <<_LT_EOF
                   16173: #line $LINENO "configure"
                   16174: #include "confdefs.h"
                   16175: 
                   16176: #if HAVE_DLFCN_H
                   16177: #include <dlfcn.h>
                   16178: #endif
                   16179: 
                   16180: #include <stdio.h>
                   16181: 
                   16182: #ifdef RTLD_GLOBAL
                   16183: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16184: #else
                   16185: #  ifdef DL_GLOBAL
                   16186: #    define LT_DLGLOBAL                DL_GLOBAL
                   16187: #  else
                   16188: #    define LT_DLGLOBAL                0
                   16189: #  endif
                   16190: #endif
                   16191: 
                   16192: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16193:    find out it does not work in some platform. */
                   16194: #ifndef LT_DLLAZY_OR_NOW
                   16195: #  ifdef RTLD_LAZY
                   16196: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16197: #  else
                   16198: #    ifdef DL_LAZY
                   16199: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16200: #    else
                   16201: #      ifdef RTLD_NOW
                   16202: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16203: #      else
                   16204: #        ifdef DL_NOW
                   16205: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16206: #        else
                   16207: #          define LT_DLLAZY_OR_NOW     0
                   16208: #        endif
                   16209: #      endif
                   16210: #    endif
                   16211: #  endif
                   16212: #endif
                   16213: 
1.237     moko     16214: /* When -fvisibility=hidden is used, assume the code has been annotated
1.128     moko     16215:    correspondingly for the symbols needed.  */
1.237     moko     16216: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16217: int fnord (void) __attribute__((visibility("default")));
1.128     moko     16218: #endif
                   16219: 
1.237     moko     16220: int fnord (void) { return 42; }
                   16221: int main (void)
1.128     moko     16222: {
                   16223:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16224:   int status = $lt_dlunknown;
                   16225: 
                   16226:   if (self)
                   16227:     {
                   16228:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16229:       else
                   16230:         {
                   16231:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16232:           else puts (dlerror ());
                   16233:        }
                   16234:       /* dlclose (self); */
                   16235:     }
                   16236:   else
                   16237:     puts (dlerror ());
                   16238: 
                   16239:   return status;
                   16240: }
                   16241: _LT_EOF
1.150     moko     16242:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     16243:   (eval $ac_link) 2>&5
                   16244:   ac_status=$?
1.237     moko     16245:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16246:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1.128     moko     16247:     (./conftest; exit; ) >&5 2>/dev/null
                   16248:     lt_status=$?
                   16249:     case x$lt_status in
                   16250:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   16251:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   16252:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   16253:     esac
                   16254:   else :
                   16255:     # compilation failed
                   16256:     lt_cv_dlopen_self_static=no
                   16257:   fi
                   16258: fi
                   16259: rm -fr conftest*
                   16260: 
1.237     moko     16261:        ;;
                   16262: esac
1.128     moko     16263: fi
1.237     moko     16264: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   16265: printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     16266:     fi
                   16267: 
1.237     moko     16268:     CPPFLAGS=$save_CPPFLAGS
                   16269:     LDFLAGS=$save_LDFLAGS
                   16270:     LIBS=$save_LIBS
1.128     moko     16271:     ;;
                   16272:   esac
                   16273: 
                   16274:   case $lt_cv_dlopen_self in
                   16275:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   16276:   *) enable_dlopen_self=unknown ;;
                   16277:   esac
                   16278: 
                   16279:   case $lt_cv_dlopen_self_static in
                   16280:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   16281:   *) enable_dlopen_self_static=unknown ;;
                   16282:   esac
                   16283: fi
                   16284: 
                   16285: 
                   16286: 
                   16287: 
                   16288: 
                   16289: 
                   16290: 
                   16291: 
                   16292: 
                   16293: 
                   16294: 
                   16295: 
                   16296: 
                   16297: 
                   16298: 
                   16299: 
                   16300: 
                   16301: striplib=
                   16302: old_striplib=
1.237     moko     16303: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   16304: printf %s "checking whether stripping libraries is possible... " >&6; }
                   16305: if test -z "$STRIP"; then
                   16306:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   16307: printf "%s\n" "no" >&6; }
                   16308: else
                   16309:   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   16310:     old_striplib="$STRIP --strip-debug"
                   16311:     striplib="$STRIP --strip-unneeded"
                   16312:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   16313: printf "%s\n" "yes" >&6; }
                   16314:   else
                   16315:     case $host_os in
                   16316:     darwin*)
                   16317:       # FIXME - insert some real tests, host_os isn't really good enough
1.128     moko     16318:       striplib="$STRIP -x"
                   16319:       old_striplib="$STRIP -S"
1.237     moko     16320:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   16321: printf "%s\n" "yes" >&6; }
                   16322:       ;;
                   16323:     freebsd*)
                   16324:       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
                   16325:         old_striplib="$STRIP --strip-debug"
                   16326:         striplib="$STRIP --strip-unneeded"
                   16327:         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   16328: printf "%s\n" "yes" >&6; }
                   16329:       else
                   16330:         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   16331: printf "%s\n" "no" >&6; }
                   16332:       fi
                   16333:       ;;
                   16334:     *)
                   16335:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   16336: printf "%s\n" "no" >&6; }
                   16337:       ;;
                   16338:     esac
                   16339:   fi
1.128     moko     16340: fi
                   16341: 
                   16342: 
                   16343: 
                   16344: 
                   16345: 
                   16346: 
                   16347: 
                   16348: 
                   16349: 
                   16350: 
                   16351: 
                   16352: 
1.237     moko     16353:   # Report what library types will actually be built
                   16354:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   16355: printf %s "checking if libtool supports shared libraries... " >&6; }
                   16356:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   16357: printf "%s\n" "$can_build_shared" >&6; }
                   16358: 
                   16359:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   16360: printf %s "checking whether to build shared libraries... " >&6; }
                   16361:   test no = "$can_build_shared" && enable_shared=no
1.128     moko     16362: 
                   16363:   # On AIX, shared libraries and static libraries use the same namespace, and
                   16364:   # are all built from PIC.
                   16365:   case $host_os in
                   16366:   aix3*)
1.237     moko     16367:     test yes = "$enable_shared" && enable_static=no
1.128     moko     16368:     if test -n "$RANLIB"; then
                   16369:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   16370:       postinstall_cmds='$RANLIB $lib'
                   16371:     fi
                   16372:     ;;
                   16373: 
                   16374:   aix[4-9]*)
1.237     moko     16375:     if test ia64 != "$host_cpu"; then
                   16376:       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
                   16377:       yes,aix,yes) ;;                  # shared object as lib.so file only
                   16378:       yes,svr4,*) ;;                   # shared object as lib.so archive member only
                   16379:       yes,*) enable_static=no ;;       # shared object in lib.a archive as well
                   16380:       esac
1.128     moko     16381:     fi
                   16382:     ;;
                   16383:   esac
1.237     moko     16384:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   16385: printf "%s\n" "$enable_shared" >&6; }
1.128     moko     16386: 
1.237     moko     16387:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   16388: printf %s "checking whether to build static libraries... " >&6; }
1.128     moko     16389:   # Make sure either enable_shared or enable_static is yes.
1.237     moko     16390:   test yes = "$enable_shared" || enable_static=yes
                   16391:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   16392: printf "%s\n" "$enable_static" >&6; }
1.128     moko     16393: 
                   16394: 
                   16395: 
                   16396: 
                   16397: fi
                   16398: ac_ext=c
                   16399: ac_cpp='$CPP $CPPFLAGS'
                   16400: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16401: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16402: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16403: 
1.237     moko     16404: CC=$lt_save_CC
1.128     moko     16405: 
1.237     moko     16406:       if test -n "$CXX" && ( test no != "$CXX" &&
                   16407:     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
                   16408:     (test g++ != "$CXX"))); then
1.150     moko     16409:   ac_ext=cpp
1.128     moko     16410: ac_cpp='$CXXCPP $CPPFLAGS'
                   16411: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16412: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16413: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.237     moko     16414: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   16415: printf %s "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     16416: if test -z "$CXXCPP"; then
1.237     moko     16417:   if test ${ac_cv_prog_CXXCPP+y}
                   16418: then :
                   16419:   printf %s "(cached) " >&6
                   16420: else case e in #(
                   16421:   e)     # Double quotes because $CXX needs to be expanded
                   16422:     for CXXCPP in "$CXX -E" cpp /lib/cpp
1.128     moko     16423:     do
                   16424:       ac_preproc_ok=false
                   16425: for ac_cxx_preproc_warn_flag in '' yes
                   16426: do
                   16427:   # Use a header file that comes with gcc, so configuring glibc
                   16428:   # with a fresh cross-compiler works.
                   16429:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   16430:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     16431:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16432: /* end confdefs.h.  */
1.237     moko     16433: #include <limits.h>
1.128     moko     16434:                     Syntax error
                   16435: _ACEOF
1.237     moko     16436: if ac_fn_cxx_try_cpp "$LINENO"
                   16437: then :
1.150     moko     16438: 
1.237     moko     16439: else case e in #(
                   16440:   e) # Broken: fails on valid input.
                   16441: continue ;;
                   16442: esac
1.128     moko     16443: fi
1.150     moko     16444: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     16445: 
1.150     moko     16446:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     16447:   # can be detected and how.
1.150     moko     16448:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16449: /* end confdefs.h.  */
                   16450: #include <ac_nonexistent.h>
                   16451: _ACEOF
1.237     moko     16452: if ac_fn_cxx_try_cpp "$LINENO"
                   16453: then :
1.128     moko     16454:   # Broken: success on invalid input.
                   16455: continue
1.237     moko     16456: else case e in #(
                   16457:   e) # Passes both tests.
1.128     moko     16458: ac_preproc_ok=:
1.237     moko     16459: break ;;
                   16460: esac
1.128     moko     16461: fi
1.150     moko     16462: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     16463: 
                   16464: done
1.237     moko     16465: # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     16466: rm -f conftest.i conftest.err conftest.$ac_ext
1.237     moko     16467: if $ac_preproc_ok
                   16468: then :
1.128     moko     16469:   break
                   16470: fi
                   16471: 
                   16472:     done
                   16473:     ac_cv_prog_CXXCPP=$CXXCPP
1.237     moko     16474:    ;;
                   16475: esac
1.128     moko     16476: fi
                   16477:   CXXCPP=$ac_cv_prog_CXXCPP
                   16478: else
                   16479:   ac_cv_prog_CXXCPP=$CXXCPP
                   16480: fi
1.237     moko     16481: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   16482: printf "%s\n" "$CXXCPP" >&6; }
1.128     moko     16483: ac_preproc_ok=false
                   16484: for ac_cxx_preproc_warn_flag in '' yes
                   16485: do
                   16486:   # Use a header file that comes with gcc, so configuring glibc
                   16487:   # with a fresh cross-compiler works.
                   16488:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   16489:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     16490:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16491: /* end confdefs.h.  */
1.237     moko     16492: #include <limits.h>
1.128     moko     16493:                     Syntax error
                   16494: _ACEOF
1.237     moko     16495: if ac_fn_cxx_try_cpp "$LINENO"
                   16496: then :
1.150     moko     16497: 
1.237     moko     16498: else case e in #(
                   16499:   e) # Broken: fails on valid input.
                   16500: continue ;;
                   16501: esac
1.128     moko     16502: fi
1.150     moko     16503: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     16504: 
1.150     moko     16505:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     16506:   # can be detected and how.
1.150     moko     16507:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16508: /* end confdefs.h.  */
                   16509: #include <ac_nonexistent.h>
                   16510: _ACEOF
1.237     moko     16511: if ac_fn_cxx_try_cpp "$LINENO"
                   16512: then :
1.128     moko     16513:   # Broken: success on invalid input.
                   16514: continue
1.237     moko     16515: else case e in #(
                   16516:   e) # Passes both tests.
1.128     moko     16517: ac_preproc_ok=:
1.237     moko     16518: break ;;
                   16519: esac
1.128     moko     16520: fi
1.150     moko     16521: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     16522: 
                   16523: done
1.237     moko     16524: # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     16525: rm -f conftest.i conftest.err conftest.$ac_ext
1.237     moko     16526: if $ac_preproc_ok
                   16527: then :
1.150     moko     16528: 
1.237     moko     16529: else case e in #(
                   16530:   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   16531: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.150     moko     16532: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
1.237     moko     16533: See 'config.log' for more details" "$LINENO" 5; } ;;
                   16534: esac
1.128     moko     16535: fi
                   16536: 
                   16537: ac_ext=c
                   16538: ac_cpp='$CPP $CPPFLAGS'
                   16539: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16540: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16541: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16542: 
                   16543: else
                   16544:   _lt_caught_CXX_error=yes
                   16545: fi
                   16546: 
1.150     moko     16547: ac_ext=cpp
1.128     moko     16548: ac_cpp='$CXXCPP $CPPFLAGS'
                   16549: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16550: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16551: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   16552: 
                   16553: archive_cmds_need_lc_CXX=no
                   16554: allow_undefined_flag_CXX=
                   16555: always_export_symbols_CXX=no
                   16556: archive_expsym_cmds_CXX=
                   16557: compiler_needs_object_CXX=no
                   16558: export_dynamic_flag_spec_CXX=
                   16559: hardcode_direct_CXX=no
                   16560: hardcode_direct_absolute_CXX=no
                   16561: hardcode_libdir_flag_spec_CXX=
                   16562: hardcode_libdir_separator_CXX=
                   16563: hardcode_minus_L_CXX=no
                   16564: hardcode_shlibpath_var_CXX=unsupported
                   16565: hardcode_automatic_CXX=no
                   16566: inherit_rpath_CXX=no
                   16567: module_cmds_CXX=
                   16568: module_expsym_cmds_CXX=
                   16569: link_all_deplibs_CXX=unknown
                   16570: old_archive_cmds_CXX=$old_archive_cmds
                   16571: reload_flag_CXX=$reload_flag
                   16572: reload_cmds_CXX=$reload_cmds
                   16573: no_undefined_flag_CXX=
                   16574: whole_archive_flag_spec_CXX=
                   16575: enable_shared_with_static_runtimes_CXX=no
                   16576: 
                   16577: # Source file extension for C++ test sources.
                   16578: ac_ext=cpp
                   16579: 
                   16580: # Object file extension for compiled C++ test sources.
                   16581: objext=o
                   16582: objext_CXX=$objext
                   16583: 
                   16584: # No sense in running all these tests if we already determined that
                   16585: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   16586: # are currently assumed to apply to all compilers on this platform,
                   16587: # and will be corrupted by setting them based on a non-working compiler.
1.237     moko     16588: if test yes != "$_lt_caught_CXX_error"; then
1.128     moko     16589:   # Code to be used in simple compile tests
                   16590:   lt_simple_compile_test_code="int some_variable = 0;"
                   16591: 
                   16592:   # Code to be used in simple link tests
                   16593:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   16594: 
                   16595:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   16596: 
                   16597: 
                   16598: 
                   16599: 
                   16600: 
                   16601: 
                   16602: # If no C compiler was specified, use CC.
                   16603: LTCC=${LTCC-"$CC"}
                   16604: 
                   16605: # If no C compiler flags were specified, use CFLAGS.
                   16606: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   16607: 
                   16608: # Allow CC to be a program name with arguments.
                   16609: compiler=$CC
                   16610: 
                   16611: 
                   16612:   # save warnings/boilerplate of simple test code
                   16613:   ac_outfile=conftest.$ac_objext
                   16614: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   16615: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   16616: _lt_compiler_boilerplate=`cat conftest.err`
                   16617: $RM conftest*
                   16618: 
                   16619:   ac_outfile=conftest.$ac_objext
                   16620: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   16621: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   16622: _lt_linker_boilerplate=`cat conftest.err`
                   16623: $RM -r conftest*
                   16624: 
                   16625: 
                   16626:   # Allow CC to be a program name with arguments.
                   16627:   lt_save_CC=$CC
                   16628:   lt_save_CFLAGS=$CFLAGS
                   16629:   lt_save_LD=$LD
                   16630:   lt_save_GCC=$GCC
                   16631:   GCC=$GXX
                   16632:   lt_save_with_gnu_ld=$with_gnu_ld
                   16633:   lt_save_path_LD=$lt_cv_path_LD
                   16634:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   16635:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   16636:   else
                   16637:     $as_unset lt_cv_prog_gnu_ld
                   16638:   fi
                   16639:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   16640:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   16641:   else
                   16642:     $as_unset lt_cv_path_LD
                   16643:   fi
                   16644:   test -z "${LDCXX+set}" || LD=$LDCXX
                   16645:   CC=${CXX-"c++"}
                   16646:   CFLAGS=$CXXFLAGS
                   16647:   compiler=$CC
                   16648:   compiler_CXX=$CC
1.237     moko     16649:   func_cc_basename $compiler
                   16650: cc_basename=$func_cc_basename_result
1.128     moko     16651: 
                   16652: 
                   16653:   if test -n "$compiler"; then
                   16654:     # We don't want -fno-exception when compiling C++ code, so set the
                   16655:     # no_builtin_flag separately
1.237     moko     16656:     if test yes = "$GXX"; then
1.128     moko     16657:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   16658:     else
                   16659:       lt_prog_compiler_no_builtin_flag_CXX=
                   16660:     fi
                   16661: 
1.237     moko     16662:     if test yes = "$GXX"; then
1.128     moko     16663:       # Set up default GNU C++ configuration
                   16664: 
                   16665: 
                   16666: 
1.150     moko     16667: # Check whether --with-gnu-ld was given.
1.237     moko     16668: if test ${with_gnu_ld+y}
                   16669: then :
                   16670:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
                   16671: else case e in #(
                   16672:   e) with_gnu_ld=no ;;
                   16673: esac
1.150     moko     16674: fi
                   16675: 
1.128     moko     16676: ac_prog=ld
1.237     moko     16677: if test yes = "$GCC"; then
1.128     moko     16678:   # Check if gcc -print-prog-name=ld gives a path.
1.237     moko     16679:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   16680: printf %s "checking for ld used by $CC... " >&6; }
1.128     moko     16681:   case $host in
1.237     moko     16682:   *-*-mingw* | *-*-windows*)
                   16683:     # gcc leaves a trailing carriage return, which upsets mingw
1.128     moko     16684:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   16685:   *)
                   16686:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   16687:   esac
                   16688:   case $ac_prog in
                   16689:     # Accept absolute paths.
                   16690:     [\\/]* | ?:[\\/]*)
                   16691:       re_direlt='/[^/][^/]*/\.\./'
                   16692:       # Canonicalize the pathname of ld
                   16693:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   16694:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   16695:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   16696:       done
1.237     moko     16697:       test -z "$LD" && LD=$ac_prog
1.128     moko     16698:       ;;
                   16699:   "")
                   16700:     # If it fails, then pretend we aren't using GCC.
                   16701:     ac_prog=ld
                   16702:     ;;
                   16703:   *)
                   16704:     # If it is relative, then search for the first ld in PATH.
                   16705:     with_gnu_ld=unknown
                   16706:     ;;
                   16707:   esac
1.237     moko     16708: elif test yes = "$with_gnu_ld"; then
                   16709:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   16710: printf %s "checking for GNU ld... " >&6; }
                   16711: else
                   16712:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   16713: printf %s "checking for non-GNU ld... " >&6; }
                   16714: fi
                   16715: if test ${lt_cv_path_LD+y}
                   16716: then :
                   16717:   printf %s "(cached) " >&6
                   16718: else case e in #(
                   16719:   e) if test -z "$LD"; then
                   16720:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     16721:   for ac_dir in $PATH; do
1.237     moko     16722:     IFS=$lt_save_ifs
1.128     moko     16723:     test -z "$ac_dir" && ac_dir=.
                   16724:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.237     moko     16725:       lt_cv_path_LD=$ac_dir/$ac_prog
1.128     moko     16726:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   16727:       # but apparently some variants of GNU ld only accept -v.
                   16728:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   16729:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   16730:       *GNU* | *'with BFD'*)
1.237     moko     16731:        test no != "$with_gnu_ld" && break
1.128     moko     16732:        ;;
                   16733:       *)
1.237     moko     16734:        test yes != "$with_gnu_ld" && break
1.128     moko     16735:        ;;
                   16736:       esac
                   16737:     fi
                   16738:   done
1.237     moko     16739:   IFS=$lt_save_ifs
1.128     moko     16740: else
1.237     moko     16741:   lt_cv_path_LD=$LD # Let the user override the test with a path.
                   16742: fi ;;
                   16743: esac
1.128     moko     16744: fi
                   16745: 
1.237     moko     16746: LD=$lt_cv_path_LD
1.128     moko     16747: if test -n "$LD"; then
1.237     moko     16748:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   16749: printf "%s\n" "$LD" >&6; }
1.128     moko     16750: else
1.237     moko     16751:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   16752: printf "%s\n" "no" >&6; }
1.128     moko     16753: fi
1.150     moko     16754: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
1.237     moko     16755: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   16756: printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
                   16757: if test ${lt_cv_prog_gnu_ld+y}
                   16758: then :
                   16759:   printf %s "(cached) " >&6
                   16760: else case e in #(
                   16761:   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
1.128     moko     16762: case `$LD -v 2>&1 </dev/null` in
                   16763: *GNU* | *'with BFD'*)
                   16764:   lt_cv_prog_gnu_ld=yes
                   16765:   ;;
                   16766: *)
                   16767:   lt_cv_prog_gnu_ld=no
                   16768:   ;;
1.237     moko     16769: esac ;;
1.128     moko     16770: esac
                   16771: fi
1.237     moko     16772: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   16773: printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     16774: with_gnu_ld=$lt_cv_prog_gnu_ld
                   16775: 
                   16776: 
                   16777: 
                   16778: 
                   16779: 
                   16780: 
                   16781: 
                   16782:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   16783:       # archiving commands below assume that GNU ld is being used.
1.237     moko     16784:       if test yes = "$with_gnu_ld"; then
                   16785:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
                   16786:         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'
1.128     moko     16787: 
1.237     moko     16788:         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
                   16789:         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
1.128     moko     16790: 
                   16791:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   16792:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   16793:         #     investigate it a little bit more. (MM)
1.237     moko     16794:         wlarc='$wl'
1.128     moko     16795: 
                   16796:         # ancient GNU ld didn't support --whole-archive et. al.
1.237     moko     16797:         if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   16798:           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
1.128     moko     16799:         else
                   16800:           whole_archive_flag_spec_CXX=
                   16801:         fi
                   16802:       else
                   16803:         with_gnu_ld=no
                   16804:         wlarc=
                   16805: 
                   16806:         # A generic and very simple default shared library creation
                   16807:         # command for GNU C++ for the case where it uses the native
                   16808:         # linker, instead of GNU ld.  If possible, this setting should
                   16809:         # overridden to take advantage of the native linker features on
                   16810:         # the platform it is being used on.
                   16811:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   16812:       fi
                   16813: 
                   16814:       # Commands to make compiler produce verbose output that lists
                   16815:       # what "hidden" libraries, object files and flags are used when
                   16816:       # linking a shared library.
1.237     moko     16817:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
1.128     moko     16818: 
                   16819:     else
                   16820:       GXX=no
                   16821:       with_gnu_ld=no
                   16822:       wlarc=
                   16823:     fi
                   16824: 
                   16825:     # PORTME: fill in a description of your system's C++ link characteristics
1.237     moko     16826:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   16827: printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     16828:     ld_shlibs_CXX=yes
                   16829:     case $host_os in
                   16830:       aix3*)
                   16831:         # FIXME: insert proper C++ library support
                   16832:         ld_shlibs_CXX=no
                   16833:         ;;
                   16834:       aix[4-9]*)
1.237     moko     16835:         if test ia64 = "$host_cpu"; then
1.128     moko     16836:           # On IA64, the linker does run time linking by default, so we don't
                   16837:           # have to do anything special.
                   16838:           aix_use_runtimelinking=no
                   16839:           exp_sym_flag='-Bexport'
1.237     moko     16840:           no_entry_flag=
1.128     moko     16841:         else
                   16842:           aix_use_runtimelinking=no
                   16843: 
                   16844:           # Test if we are trying to use run time linking or normal
                   16845:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.237     moko     16846:           # have runtime linking enabled, and use it for executables.
                   16847:           # For shared libraries, we enable/disable runtime linking
                   16848:           # depending on the kind of the shared library created -
                   16849:           # when "with_aix_soname,aix_use_runtimelinking" is:
                   16850:           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
                   16851:           # "aix,yes"  lib.so          shared, rtl:yes, for executables
                   16852:           #            lib.a           static archive
                   16853:           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
                   16854:           #            lib.a(lib.so.V) shared, rtl:no,  for executables
                   16855:           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
                   16856:           #            lib.a(lib.so.V) shared, rtl:no
                   16857:           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
                   16858:           #            lib.a           static archive
1.128     moko     16859:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   16860:            for ld_flag in $LDFLAGS; do
                   16861:              case $ld_flag in
                   16862:              *-brtl*)
                   16863:                aix_use_runtimelinking=yes
                   16864:                break
                   16865:                ;;
                   16866:              esac
                   16867:            done
1.237     moko     16868:            if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
                   16869:              # With aix-soname=svr4, we create the lib.so.V shared archives only,
                   16870:              # so we don't have lib.a shared libs to link our executables.
                   16871:              # We have to force runtime linking in this case.
                   16872:              aix_use_runtimelinking=yes
                   16873:              LDFLAGS="$LDFLAGS -Wl,-brtl"
                   16874:            fi
1.128     moko     16875:            ;;
                   16876:           esac
                   16877: 
                   16878:           exp_sym_flag='-bexport'
                   16879:           no_entry_flag='-bnoentry'
                   16880:         fi
                   16881: 
                   16882:         # When large executables or shared objects are built, AIX ld can
                   16883:         # have problems creating the table of contents.  If linking a library
                   16884:         # or program results in "error TOC overflow" add -mminimal-toc to
                   16885:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   16886:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   16887: 
                   16888:         archive_cmds_CXX=''
                   16889:         hardcode_direct_CXX=yes
                   16890:         hardcode_direct_absolute_CXX=yes
                   16891:         hardcode_libdir_separator_CXX=':'
                   16892:         link_all_deplibs_CXX=yes
1.237     moko     16893:         file_list_spec_CXX='$wl-f,'
                   16894:         case $with_aix_soname,$aix_use_runtimelinking in
                   16895:         aix,*) ;;      # no import file
                   16896:         svr4,* | *,yes) # use import file
                   16897:           # The Import File defines what to hardcode.
                   16898:           hardcode_direct_CXX=no
                   16899:           hardcode_direct_absolute_CXX=no
                   16900:           ;;
                   16901:         esac
1.128     moko     16902: 
1.237     moko     16903:         if test yes = "$GXX"; then
1.128     moko     16904:           case $host_os in aix4.[012]|aix4.[012].*)
                   16905:           # We only want to do this on AIX 4.2 and lower, the check
                   16906:           # below for broken collect2 doesn't work under 4.3+
1.237     moko     16907:          collect2name=`$CC -print-prog-name=collect2`
1.128     moko     16908:          if test -f "$collect2name" &&
                   16909:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   16910:          then
                   16911:            # We have reworked collect2
                   16912:            :
                   16913:          else
                   16914:            # We have old collect2
                   16915:            hardcode_direct_CXX=unsupported
                   16916:            # It fails to find uninstalled libraries when the uninstalled
                   16917:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   16918:            # to unsupported forces relinking
                   16919:            hardcode_minus_L_CXX=yes
                   16920:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   16921:            hardcode_libdir_separator_CXX=
                   16922:          fi
                   16923:           esac
                   16924:           shared_flag='-shared'
1.237     moko     16925:          if test yes = "$aix_use_runtimelinking"; then
                   16926:            shared_flag=$shared_flag' $wl-G'
1.128     moko     16927:          fi
1.237     moko     16928:          # Need to ensure runtime linking is disabled for the traditional
                   16929:          # shared library, or the linker may eventually find shared libraries
                   16930:          # /with/ Import File - we do not want to mix them.
                   16931:          shared_flag_aix='-shared'
                   16932:          shared_flag_svr4='-shared $wl-G'
1.128     moko     16933:         else
                   16934:           # not using gcc
1.237     moko     16935:           if test ia64 = "$host_cpu"; then
1.128     moko     16936:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   16937:          # chokes on -Wl,-G. The following line is correct:
                   16938:          shared_flag='-G'
                   16939:           else
1.237     moko     16940:            if test yes = "$aix_use_runtimelinking"; then
                   16941:              shared_flag='$wl-G'
1.128     moko     16942:            else
1.237     moko     16943:              shared_flag='$wl-bM:SRE'
1.128     moko     16944:            fi
1.237     moko     16945:            shared_flag_aix='$wl-bM:SRE'
                   16946:            shared_flag_svr4='$wl-G'
1.128     moko     16947:           fi
                   16948:         fi
                   16949: 
1.237     moko     16950:         export_dynamic_flag_spec_CXX='$wl-bexpall'
1.128     moko     16951:         # It seems that -bexpall does not export symbols beginning with
                   16952:         # underscore (_), so it is better to generate a list of symbols to
                   16953:        # export.
                   16954:         always_export_symbols_CXX=yes
1.237     moko     16955:        if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
1.128     moko     16956:           # Warning - without using the other runtime loading flags (-brtl),
                   16957:           # -berok will link without error, but may produce a broken library.
1.237     moko     16958:           # The "-G" linker flag allows undefined symbols.
                   16959:           no_undefined_flag_CXX='-bernotok'
1.128     moko     16960:           # Determine the default libpath from the value encoded in an empty
                   16961:           # executable.
1.237     moko     16962:           if test set = "${lt_cv_aix_libpath+set}"; then
1.128     moko     16963:   aix_libpath=$lt_cv_aix_libpath
                   16964: else
1.237     moko     16965:   if test ${lt_cv_aix_libpath__CXX+y}
                   16966: then :
                   16967:   printf %s "(cached) " >&6
                   16968: else case e in #(
                   16969:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16970: /* end confdefs.h.  */
                   16971: 
                   16972: int
1.237     moko     16973: main (void)
1.128     moko     16974: {
                   16975: 
                   16976:   ;
                   16977:   return 0;
                   16978: }
                   16979: _ACEOF
1.237     moko     16980: if ac_fn_cxx_try_link "$LINENO"
                   16981: then :
1.128     moko     16982: 
                   16983:   lt_aix_libpath_sed='
                   16984:       /Import File Strings/,/^$/ {
                   16985:          /^0/ {
                   16986:              s/^0  *\([^ ]*\) *$/\1/
                   16987:              p
                   16988:          }
                   16989:       }'
                   16990:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   16991:   # Check for a 64-bit object if we didn't find anything.
                   16992:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   16993:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   16994:   fi
                   16995: fi
1.237     moko     16996: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     16997:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16998:   if test -z "$lt_cv_aix_libpath__CXX"; then
1.237     moko     16999:     lt_cv_aix_libpath__CXX=/usr/lib:/lib
1.128     moko     17000:   fi
1.237     moko     17001:    ;;
                   17002: esac
1.128     moko     17003: fi
                   17004: 
                   17005:   aix_libpath=$lt_cv_aix_libpath__CXX
                   17006: fi
                   17007: 
1.237     moko     17008:           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
1.128     moko     17009: 
1.237     moko     17010:           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
1.128     moko     17011:         else
1.237     moko     17012:           if test ia64 = "$host_cpu"; then
                   17013:            hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
1.128     moko     17014:            allow_undefined_flag_CXX="-z nodefs"
1.237     moko     17015:            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"
1.128     moko     17016:           else
                   17017:            # Determine the default libpath from the value encoded in an
                   17018:            # empty executable.
1.237     moko     17019:            if test set = "${lt_cv_aix_libpath+set}"; then
1.128     moko     17020:   aix_libpath=$lt_cv_aix_libpath
                   17021: else
1.237     moko     17022:   if test ${lt_cv_aix_libpath__CXX+y}
                   17023: then :
                   17024:   printf %s "(cached) " >&6
                   17025: else case e in #(
                   17026:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17027: /* end confdefs.h.  */
                   17028: 
                   17029: int
1.237     moko     17030: main (void)
1.128     moko     17031: {
                   17032: 
                   17033:   ;
                   17034:   return 0;
                   17035: }
                   17036: _ACEOF
1.237     moko     17037: if ac_fn_cxx_try_link "$LINENO"
                   17038: then :
1.128     moko     17039: 
                   17040:   lt_aix_libpath_sed='
                   17041:       /Import File Strings/,/^$/ {
                   17042:          /^0/ {
                   17043:              s/^0  *\([^ ]*\) *$/\1/
                   17044:              p
                   17045:          }
                   17046:       }'
                   17047:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   17048:   # Check for a 64-bit object if we didn't find anything.
                   17049:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   17050:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   17051:   fi
                   17052: fi
1.237     moko     17053: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     17054:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     17055:   if test -z "$lt_cv_aix_libpath__CXX"; then
1.237     moko     17056:     lt_cv_aix_libpath__CXX=/usr/lib:/lib
1.128     moko     17057:   fi
1.237     moko     17058:    ;;
                   17059: esac
1.128     moko     17060: fi
                   17061: 
                   17062:   aix_libpath=$lt_cv_aix_libpath__CXX
                   17063: fi
                   17064: 
1.237     moko     17065:            hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
1.128     moko     17066:            # Warning - without using the other run time loading flags,
                   17067:            # -berok will link without error, but may produce a broken library.
1.237     moko     17068:            no_undefined_flag_CXX=' $wl-bernotok'
                   17069:            allow_undefined_flag_CXX=' $wl-berok'
                   17070:            if test yes = "$with_gnu_ld"; then
1.128     moko     17071:              # We only use this code for GNU lds that support --whole-archive.
1.237     moko     17072:              whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
1.128     moko     17073:            else
                   17074:              # Exported symbols can be pulled into shared objects from archives
                   17075:              whole_archive_flag_spec_CXX='$convenience'
                   17076:            fi
                   17077:            archive_cmds_need_lc_CXX=yes
1.237     moko     17078:            archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
                   17079:            # -brtl affects multiple linker settings, -berok does not and is overridden later
                   17080:            compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
                   17081:            if test svr4 != "$with_aix_soname"; then
                   17082:              # This is similar to how AIX traditionally builds its shared
                   17083:              # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
                   17084:              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
                   17085:            fi
                   17086:            if test aix != "$with_aix_soname"; then
                   17087:              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
                   17088:            else
                   17089:              # used by -dlpreopen to get the symbols
                   17090:              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
                   17091:            fi
                   17092:            archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
1.128     moko     17093:           fi
                   17094:         fi
                   17095:         ;;
                   17096: 
                   17097:       beos*)
                   17098:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   17099:          allow_undefined_flag_CXX=unsupported
                   17100:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   17101:          # support --undefined.  This deserves some investigation.  FIXME
1.237     moko     17102:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     17103:        else
                   17104:          ld_shlibs_CXX=no
                   17105:        fi
                   17106:        ;;
                   17107: 
                   17108:       chorus*)
                   17109:         case $cc_basename in
                   17110:           *)
                   17111:          # FIXME: insert proper C++ library support
                   17112:          ld_shlibs_CXX=no
                   17113:          ;;
                   17114:         esac
                   17115:         ;;
                   17116: 
1.237     moko     17117:       cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     17118:        case $GXX,$cc_basename in
1.237     moko     17119:        ,cl* | no,cl* | ,icl* | no,icl*)
                   17120:          # Native MSVC or ICC
1.128     moko     17121:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   17122:          # no search path for DLLs.
                   17123:          hardcode_libdir_flag_spec_CXX=' '
                   17124:          allow_undefined_flag_CXX=unsupported
                   17125:          always_export_symbols_CXX=yes
                   17126:          file_list_spec_CXX='@'
                   17127:          # Tell ltmain to make .lib files, not .a files.
                   17128:          libext=lib
                   17129:          # Tell ltmain to make .dll files, not .so files.
1.237     moko     17130:          shrext_cmds=.dll
1.128     moko     17131:          # FIXME: Setting linknames here is a bad hack.
1.237     moko     17132:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
                   17133:          archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
                   17134:               cp "$export_symbols" "$output_objdir/$soname.def";
                   17135:               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
                   17136:             else
                   17137:               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
                   17138:             fi~
                   17139:             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   17140:             linknames='
1.128     moko     17141:          # The linker will not automatically build a static lib if we build a DLL.
                   17142:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   17143:          enable_shared_with_static_runtimes_CXX=yes
                   17144:          # Don't use ranlib
                   17145:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   17146:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
1.237     moko     17147:             lt_tool_outputfile="@TOOL_OUTPUT@"~
                   17148:             case $lt_outputfile in
                   17149:               *.exe|*.EXE) ;;
                   17150:               *)
                   17151:                 lt_outputfile=$lt_outputfile.exe
                   17152:                 lt_tool_outputfile=$lt_tool_outputfile.exe
                   17153:                 ;;
                   17154:             esac~
                   17155:             func_to_tool_file "$lt_outputfile"~
                   17156:             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
                   17157:               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   17158:               $RM "$lt_outputfile.manifest";
                   17159:             fi'
1.128     moko     17160:          ;;
                   17161:        *)
                   17162:          # g++
                   17163:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   17164:          # as there is no search path for DLLs.
                   17165:          hardcode_libdir_flag_spec_CXX='-L$libdir'
1.237     moko     17166:          export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
1.128     moko     17167:          allow_undefined_flag_CXX=unsupported
                   17168:          always_export_symbols_CXX=no
                   17169:          enable_shared_with_static_runtimes_CXX=yes
1.237     moko     17170:          file_list_spec_CXX='@'
1.128     moko     17171: 
                   17172:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1.237     moko     17173:            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'
                   17174:            # If the export-symbols file already is a .def file, use it as
                   17175:            # is; otherwise, prepend EXPORTS...
                   17176:            archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
                   17177:               cp $export_symbols $output_objdir/$soname.def;
                   17178:             else
                   17179:               echo EXPORTS > $output_objdir/$soname.def;
                   17180:               cat $export_symbols >> $output_objdir/$soname.def;
                   17181:             fi~
                   17182:             $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'
1.128     moko     17183:          else
                   17184:            ld_shlibs_CXX=no
                   17185:          fi
                   17186:          ;;
                   17187:        esac
                   17188:        ;;
                   17189:       darwin* | rhapsody*)
                   17190: 
                   17191: 
                   17192:   archive_cmds_need_lc_CXX=no
                   17193:   hardcode_direct_CXX=no
                   17194:   hardcode_automatic_CXX=yes
                   17195:   hardcode_shlibpath_var_CXX=unsupported
1.237     moko     17196:   if test yes = "$lt_cv_ld_force_load"; then
                   17197:     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\"`'
1.128     moko     17198: 
                   17199:   else
                   17200:     whole_archive_flag_spec_CXX=''
                   17201:   fi
                   17202:   link_all_deplibs_CXX=yes
1.237     moko     17203:   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
1.128     moko     17204:   case $cc_basename in
1.237     moko     17205:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
1.128     moko     17206:      *) _lt_dar_can_shared=$GCC ;;
                   17207:   esac
1.237     moko     17208:   if test yes = "$_lt_dar_can_shared"; then
1.128     moko     17209:     output_verbose_link_cmd=func_echo_all
1.237     moko     17210:     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"
                   17211:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
                   17212:     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"
                   17213:     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"
                   17214:        if test yes = "$_lt_dar_needs_single_mod" -a yes != "$lt_cv_apple_cc_single_mod"; then
                   17215:       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"
                   17216:       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"
1.128     moko     17217:     fi
                   17218: 
                   17219:   else
                   17220:   ld_shlibs_CXX=no
                   17221:   fi
                   17222: 
                   17223:        ;;
                   17224: 
1.237     moko     17225:       os2*)
                   17226:        hardcode_libdir_flag_spec_CXX='-L$libdir'
                   17227:        hardcode_minus_L_CXX=yes
                   17228:        allow_undefined_flag_CXX=unsupported
                   17229:        shrext_cmds=.dll
                   17230:        archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   17231:          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   17232:          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   17233:          $ECHO EXPORTS >> $output_objdir/$libname.def~
                   17234:          emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
                   17235:          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   17236:          emximp -o $lib $output_objdir/$libname.def'
                   17237:        archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   17238:          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   17239:          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   17240:          $ECHO EXPORTS >> $output_objdir/$libname.def~
                   17241:          prefix_cmds="$SED"~
                   17242:          if test EXPORTS = "`$SED 1q $export_symbols`"; then
                   17243:            prefix_cmds="$prefix_cmds -e 1d";
                   17244:          fi~
                   17245:          prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
                   17246:          cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
                   17247:          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   17248:          emximp -o $lib $output_objdir/$libname.def'
                   17249:        old_archive_from_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
                   17250:        enable_shared_with_static_runtimes_CXX=yes
                   17251:        file_list_spec_CXX='@'
                   17252:        ;;
                   17253: 
1.128     moko     17254:       dgux*)
                   17255:         case $cc_basename in
                   17256:           ec++*)
                   17257:            # FIXME: insert proper C++ library support
                   17258:            ld_shlibs_CXX=no
                   17259:            ;;
                   17260:           ghcx*)
                   17261:            # Green Hills C++ Compiler
                   17262:            # FIXME: insert proper C++ library support
                   17263:            ld_shlibs_CXX=no
                   17264:            ;;
                   17265:           *)
                   17266:            # FIXME: insert proper C++ library support
                   17267:            ld_shlibs_CXX=no
                   17268:            ;;
                   17269:         esac
                   17270:         ;;
                   17271: 
                   17272:       freebsd2.*)
                   17273:         # C++ shared libraries reported to be fairly broken before
                   17274:        # switch to ELF
                   17275:         ld_shlibs_CXX=no
                   17276:         ;;
                   17277: 
                   17278:       freebsd-elf*)
                   17279:         archive_cmds_need_lc_CXX=no
                   17280:         ;;
                   17281: 
1.237     moko     17282:       freebsd* | dragonfly* | midnightbsd*)
1.128     moko     17283:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   17284:         # conventions
                   17285:         ld_shlibs_CXX=yes
                   17286:         ;;
                   17287: 
                   17288:       haiku*)
1.237     moko     17289:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   17290:         link_all_deplibs_CXX=no
1.128     moko     17291:         ;;
                   17292: 
                   17293:       hpux9*)
1.237     moko     17294:         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
1.128     moko     17295:         hardcode_libdir_separator_CXX=:
1.237     moko     17296:         export_dynamic_flag_spec_CXX='$wl-E'
1.128     moko     17297:         hardcode_direct_CXX=yes
                   17298:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   17299:                                             # but as the default
                   17300:                                             # location of the library.
                   17301: 
                   17302:         case $cc_basename in
                   17303:           CC*)
                   17304:             # FIXME: insert proper C++ library support
                   17305:             ld_shlibs_CXX=no
                   17306:             ;;
                   17307:           aCC*)
1.237     moko     17308:             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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
1.128     moko     17309:             # Commands to make compiler produce verbose output that lists
                   17310:             # what "hidden" libraries, object files and flags are used when
                   17311:             # linking a shared library.
                   17312:             #
                   17313:             # There doesn't appear to be a way to prevent this compiler from
                   17314:             # explicitly linking system object files so we need to strip them
                   17315:             # from the output so that they don't get included in the library
                   17316:             # dependencies.
1.237     moko     17317:             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"'
1.128     moko     17318:             ;;
                   17319:           *)
1.237     moko     17320:             if test yes = "$GXX"; then
                   17321:               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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
1.128     moko     17322:             else
                   17323:               # FIXME: insert proper C++ library support
                   17324:               ld_shlibs_CXX=no
                   17325:             fi
                   17326:             ;;
                   17327:         esac
                   17328:         ;;
                   17329: 
                   17330:       hpux10*|hpux11*)
1.237     moko     17331:         if test no = "$with_gnu_ld"; then
                   17332:          hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
1.128     moko     17333:          hardcode_libdir_separator_CXX=:
                   17334: 
                   17335:           case $host_cpu in
                   17336:             hppa*64*|ia64*)
                   17337:               ;;
                   17338:             *)
1.237     moko     17339:              export_dynamic_flag_spec_CXX='$wl-E'
1.128     moko     17340:               ;;
                   17341:           esac
                   17342:         fi
                   17343:         case $host_cpu in
                   17344:           hppa*64*|ia64*)
                   17345:             hardcode_direct_CXX=no
                   17346:             hardcode_shlibpath_var_CXX=no
                   17347:             ;;
                   17348:           *)
                   17349:             hardcode_direct_CXX=yes
                   17350:             hardcode_direct_absolute_CXX=yes
                   17351:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   17352:                                                 # but as the default
                   17353:                                                 # location of the library.
                   17354:             ;;
                   17355:         esac
                   17356: 
                   17357:         case $cc_basename in
                   17358:           CC*)
                   17359:            # FIXME: insert proper C++ library support
                   17360:            ld_shlibs_CXX=no
                   17361:            ;;
                   17362:           aCC*)
                   17363:            case $host_cpu in
                   17364:              hppa*64*)
1.237     moko     17365:                archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.128     moko     17366:                ;;
                   17367:              ia64*)
1.237     moko     17368:                archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.128     moko     17369:                ;;
                   17370:              *)
1.237     moko     17371:                archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.128     moko     17372:                ;;
                   17373:            esac
                   17374:            # Commands to make compiler produce verbose output that lists
                   17375:            # what "hidden" libraries, object files and flags are used when
                   17376:            # linking a shared library.
                   17377:            #
                   17378:            # There doesn't appear to be a way to prevent this compiler from
                   17379:            # explicitly linking system object files so we need to strip them
                   17380:            # from the output so that they don't get included in the library
                   17381:            # dependencies.
1.237     moko     17382:            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"'
1.128     moko     17383:            ;;
                   17384:           *)
1.237     moko     17385:            if test yes = "$GXX"; then
                   17386:              if test no = "$with_gnu_ld"; then
1.128     moko     17387:                case $host_cpu in
                   17388:                  hppa*64*)
1.237     moko     17389:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.128     moko     17390:                    ;;
                   17391:                  ia64*)
1.237     moko     17392:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.128     moko     17393:                    ;;
                   17394:                  *)
1.237     moko     17395:                    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'
1.128     moko     17396:                    ;;
                   17397:                esac
                   17398:              fi
                   17399:            else
                   17400:              # FIXME: insert proper C++ library support
                   17401:              ld_shlibs_CXX=no
                   17402:            fi
                   17403:            ;;
                   17404:         esac
                   17405:         ;;
                   17406: 
                   17407:       interix[3-9]*)
                   17408:        hardcode_direct_CXX=no
                   17409:        hardcode_shlibpath_var_CXX=no
1.237     moko     17410:        hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
                   17411:        export_dynamic_flag_spec_CXX='$wl-E'
1.128     moko     17412:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   17413:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   17414:        # default) and relocated if they conflict, which is a slow very memory
                   17415:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   17416:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   17417:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
1.237     moko     17418:        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'
                   17419:        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'
1.128     moko     17420:        ;;
                   17421:       irix5* | irix6*)
                   17422:         case $cc_basename in
                   17423:           CC*)
                   17424:            # SGI C++
1.237     moko     17425:            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'
1.128     moko     17426: 
                   17427:            # Archives containing C++ object files must be created using
                   17428:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   17429:            # necessary to make sure instantiated templates are included
                   17430:            # in the archive.
                   17431:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   17432:            ;;
                   17433:           *)
1.237     moko     17434:            if test yes = "$GXX"; then
                   17435:              if test no = "$with_gnu_ld"; then
                   17436:                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'
1.128     moko     17437:              else
1.237     moko     17438:                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'
1.128     moko     17439:              fi
                   17440:            fi
                   17441:            link_all_deplibs_CXX=yes
                   17442:            ;;
                   17443:         esac
1.237     moko     17444:         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
1.128     moko     17445:         hardcode_libdir_separator_CXX=:
                   17446:         inherit_rpath_CXX=yes
                   17447:         ;;
                   17448: 
1.237     moko     17449:       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     17450:         case $cc_basename in
                   17451:           KCC*)
                   17452:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   17453: 
                   17454:            # KCC will only create a shared library if the output file
                   17455:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   17456:            # to its proper name (with version) after linking.
1.237     moko     17457:            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'
                   17458:            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'
1.128     moko     17459:            # Commands to make compiler produce verbose output that lists
                   17460:            # what "hidden" libraries, object files and flags are used when
                   17461:            # linking a shared library.
                   17462:            #
                   17463:            # There doesn't appear to be a way to prevent this compiler from
                   17464:            # explicitly linking system object files so we need to strip them
                   17465:            # from the output so that they don't get included in the library
                   17466:            # dependencies.
1.237     moko     17467:            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"'
1.128     moko     17468: 
1.237     moko     17469:            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
                   17470:            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
1.128     moko     17471: 
                   17472:            # Archives containing C++ object files must be created using
                   17473:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   17474:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   17475:            ;;
                   17476:          icpc* | ecpc* )
                   17477:            # Intel C++
                   17478:            with_gnu_ld=yes
                   17479:            # version 8.0 and above of icpc choke on multiply defined symbols
                   17480:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   17481:            # earlier do not add the objects themselves.
                   17482:            case `$CC -V 2>&1` in
                   17483:              *"Version 7."*)
1.237     moko     17484:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
                   17485:                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'
1.128     moko     17486:                ;;
                   17487:              *)  # Version 8.0 or newer
                   17488:                tmp_idyn=
                   17489:                case $host_cpu in
                   17490:                  ia64*) tmp_idyn=' -i_dynamic';;
                   17491:                esac
1.237     moko     17492:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   17493:                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'
1.128     moko     17494:                ;;
                   17495:            esac
                   17496:            archive_cmds_need_lc_CXX=no
1.237     moko     17497:            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
                   17498:            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
                   17499:            whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
1.128     moko     17500:            ;;
                   17501:           pgCC* | pgcpp*)
                   17502:             # Portland Group C++ compiler
                   17503:            case `$CC -V` in
                   17504:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   17505:              prelink_cmds_CXX='tpldir=Template.dir~
1.237     moko     17506:                rm -rf $tpldir~
                   17507:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   17508:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
1.128     moko     17509:              old_archive_cmds_CXX='tpldir=Template.dir~
1.237     moko     17510:                 rm -rf $tpldir~
                   17511:                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   17512:                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   17513:                 $RANLIB $oldlib'
1.128     moko     17514:              archive_cmds_CXX='tpldir=Template.dir~
1.237     moko     17515:                 rm -rf $tpldir~
                   17516:                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   17517:                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     17518:              archive_expsym_cmds_CXX='tpldir=Template.dir~
1.237     moko     17519:                 rm -rf $tpldir~
                   17520:                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   17521:                 $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'
1.128     moko     17522:              ;;
                   17523:            *) # Version 6 and above use weak symbols
1.237     moko     17524:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
                   17525:              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'
1.128     moko     17526:              ;;
                   17527:            esac
                   17528: 
1.237     moko     17529:            hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
                   17530:            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
                   17531:            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'
1.128     moko     17532:             ;;
                   17533:          cxx*)
                   17534:            # Compaq C++
1.237     moko     17535:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
                   17536:            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'
1.128     moko     17537: 
                   17538:            runpath_var=LD_RUN_PATH
                   17539:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   17540:            hardcode_libdir_separator_CXX=:
                   17541: 
                   17542:            # Commands to make compiler produce verbose output that lists
                   17543:            # what "hidden" libraries, object files and flags are used when
                   17544:            # linking a shared library.
                   17545:            #
                   17546:            # There doesn't appear to be a way to prevent this compiler from
                   17547:            # explicitly linking system object files so we need to strip them
                   17548:            # from the output so that they don't get included in the library
                   17549:            # dependencies.
1.237     moko     17550:            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'
1.128     moko     17551:            ;;
                   17552:          xl* | mpixl* | bgxl*)
                   17553:            # IBM XL 8.0 on PPC, with GNU ld
1.237     moko     17554:            hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
                   17555:            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
                   17556:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   17557:            if test yes = "$supports_anon_versioning"; then
1.128     moko     17558:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
1.237     moko     17559:                 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   17560:                 echo "local: *; };" >> $output_objdir/$libname.ver~
                   17561:                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
1.128     moko     17562:            fi
                   17563:            ;;
                   17564:          *)
1.237     moko     17565:            case `$CC -V 2>&1 | $SED 5q` in
1.128     moko     17566:            *Sun\ C*)
                   17567:              # Sun C++ 5.9
                   17568:              no_undefined_flag_CXX=' -zdefs'
1.237     moko     17569:              archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   17570:              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'
1.128     moko     17571:              hardcode_libdir_flag_spec_CXX='-R$libdir'
1.237     moko     17572:              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'
1.128     moko     17573:              compiler_needs_object_CXX=yes
                   17574: 
                   17575:              # Not sure whether something based on
                   17576:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   17577:              # would be better.
                   17578:              output_verbose_link_cmd='func_echo_all'
                   17579: 
                   17580:              # Archives containing C++ object files must be created using
                   17581:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   17582:              # necessary to make sure instantiated templates are included
                   17583:              # in the archive.
                   17584:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   17585:              ;;
                   17586:            esac
                   17587:            ;;
                   17588:        esac
                   17589:        ;;
                   17590: 
                   17591:       lynxos*)
                   17592:         # FIXME: insert proper C++ library support
                   17593:        ld_shlibs_CXX=no
                   17594:        ;;
                   17595: 
                   17596:       m88k*)
                   17597:         # FIXME: insert proper C++ library support
                   17598:         ld_shlibs_CXX=no
                   17599:        ;;
                   17600: 
                   17601:       mvs*)
                   17602:         case $cc_basename in
                   17603:           cxx*)
                   17604:            # FIXME: insert proper C++ library support
                   17605:            ld_shlibs_CXX=no
                   17606:            ;;
                   17607:          *)
                   17608:            # FIXME: insert proper C++ library support
                   17609:            ld_shlibs_CXX=no
                   17610:            ;;
                   17611:        esac
                   17612:        ;;
                   17613: 
1.237     moko     17614:       *-mlibc)
                   17615:         ld_shlibs_CXX=yes
                   17616:        ;;
                   17617: 
1.128     moko     17618:       netbsd*)
                   17619:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   17620:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   17621:          wlarc=
                   17622:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   17623:          hardcode_direct_CXX=yes
                   17624:          hardcode_shlibpath_var_CXX=no
                   17625:        fi
                   17626:        # Workaround some broken pre-1.5 toolchains
                   17627:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   17628:        ;;
                   17629: 
                   17630:       *nto* | *qnx*)
                   17631:         ld_shlibs_CXX=yes
                   17632:        ;;
                   17633: 
                   17634:       openbsd*)
                   17635:        if test -f /usr/libexec/ld.so; then
                   17636:          hardcode_direct_CXX=yes
                   17637:          hardcode_shlibpath_var_CXX=no
                   17638:          hardcode_direct_absolute_CXX=yes
                   17639:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
1.237     moko     17640:          hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
                   17641:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
                   17642:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
                   17643:            export_dynamic_flag_spec_CXX='$wl-E'
                   17644:            whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
1.128     moko     17645:          fi
                   17646:          output_verbose_link_cmd=func_echo_all
                   17647:        else
                   17648:          ld_shlibs_CXX=no
                   17649:        fi
                   17650:        ;;
                   17651: 
                   17652:       osf3* | osf4* | osf5*)
                   17653:         case $cc_basename in
                   17654:           KCC*)
                   17655:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   17656: 
                   17657:            # KCC will only create a shared library if the output file
                   17658:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   17659:            # to its proper name (with version) after linking.
1.237     moko     17660:            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'
1.128     moko     17661: 
1.237     moko     17662:            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
1.128     moko     17663:            hardcode_libdir_separator_CXX=:
                   17664: 
                   17665:            # Archives containing C++ object files must be created using
                   17666:            # the KAI C++ compiler.
                   17667:            case $host in
                   17668:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   17669:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   17670:            esac
                   17671:            ;;
                   17672:           RCC*)
                   17673:            # Rational C++ 2.4.1
                   17674:            # FIXME: insert proper C++ library support
                   17675:            ld_shlibs_CXX=no
                   17676:            ;;
                   17677:           cxx*)
                   17678:            case $host in
                   17679:              osf3*)
1.237     moko     17680:                allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
                   17681:                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'
                   17682:                hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
1.128     moko     17683:                ;;
                   17684:              *)
                   17685:                allow_undefined_flag_CXX=' -expect_unresolved \*'
1.237     moko     17686:                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'
1.128     moko     17687:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
1.237     moko     17688:                   echo "-hidden">> $lib.exp~
                   17689:                   $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~
                   17690:                   $RM $lib.exp'
1.128     moko     17691:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   17692:                ;;
                   17693:            esac
                   17694: 
                   17695:            hardcode_libdir_separator_CXX=:
                   17696: 
                   17697:            # Commands to make compiler produce verbose output that lists
                   17698:            # what "hidden" libraries, object files and flags are used when
                   17699:            # linking a shared library.
                   17700:            #
                   17701:            # There doesn't appear to be a way to prevent this compiler from
                   17702:            # explicitly linking system object files so we need to strip them
                   17703:            # from the output so that they don't get included in the library
                   17704:            # dependencies.
1.237     moko     17705:            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"'
1.128     moko     17706:            ;;
                   17707:          *)
1.237     moko     17708:            if test yes,no = "$GXX,$with_gnu_ld"; then
                   17709:              allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
1.128     moko     17710:              case $host in
                   17711:                osf3*)
1.237     moko     17712:                  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'
1.128     moko     17713:                  ;;
                   17714:                *)
1.237     moko     17715:                  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'
1.128     moko     17716:                  ;;
                   17717:              esac
                   17718: 
1.237     moko     17719:              hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
1.128     moko     17720:              hardcode_libdir_separator_CXX=:
                   17721: 
                   17722:              # Commands to make compiler produce verbose output that lists
                   17723:              # what "hidden" libraries, object files and flags are used when
                   17724:              # linking a shared library.
1.237     moko     17725:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
1.128     moko     17726: 
                   17727:            else
                   17728:              # FIXME: insert proper C++ library support
                   17729:              ld_shlibs_CXX=no
                   17730:            fi
                   17731:            ;;
                   17732:         esac
                   17733:         ;;
                   17734: 
                   17735:       psos*)
                   17736:         # FIXME: insert proper C++ library support
                   17737:         ld_shlibs_CXX=no
                   17738:         ;;
                   17739: 
1.237     moko     17740:       serenity*)
                   17741:         ;;
                   17742: 
1.128     moko     17743:       sunos4*)
                   17744:         case $cc_basename in
                   17745:           CC*)
                   17746:            # Sun C++ 4.x
                   17747:            # FIXME: insert proper C++ library support
                   17748:            ld_shlibs_CXX=no
                   17749:            ;;
                   17750:           lcc*)
                   17751:            # Lucid
                   17752:            # FIXME: insert proper C++ library support
                   17753:            ld_shlibs_CXX=no
                   17754:            ;;
                   17755:           *)
                   17756:            # FIXME: insert proper C++ library support
                   17757:            ld_shlibs_CXX=no
                   17758:            ;;
                   17759:         esac
                   17760:         ;;
                   17761: 
                   17762:       solaris*)
                   17763:         case $cc_basename in
                   17764:           CC* | sunCC*)
                   17765:            # Sun C++ 4.2, 5.x and Centerline C++
                   17766:             archive_cmds_need_lc_CXX=yes
                   17767:            no_undefined_flag_CXX=' -zdefs'
1.237     moko     17768:            archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.128     moko     17769:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     17770:               $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'
1.128     moko     17771: 
                   17772:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   17773:            hardcode_shlibpath_var_CXX=no
                   17774:            case $host_os in
                   17775:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   17776:              *)
                   17777:                # The compiler driver will combine and reorder linker options,
1.237     moko     17778:                # but understands '-z linker_flag'.
1.128     moko     17779:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   17780:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   17781:                ;;
                   17782:            esac
                   17783:            link_all_deplibs_CXX=yes
                   17784: 
                   17785:            output_verbose_link_cmd='func_echo_all'
                   17786: 
                   17787:            # Archives containing C++ object files must be created using
                   17788:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   17789:            # necessary to make sure instantiated templates are included
                   17790:            # in the archive.
                   17791:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   17792:            ;;
                   17793:           gcx*)
                   17794:            # Green Hills C++ Compiler
1.237     moko     17795:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
1.128     moko     17796: 
                   17797:            # The C++ compiler must be used to create the archive.
                   17798:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   17799:            ;;
                   17800:           *)
                   17801:            # GNU C++ compiler with Solaris linker
1.237     moko     17802:            if test yes,no = "$GXX,$with_gnu_ld"; then
                   17803:              no_undefined_flag_CXX=' $wl-z ${wl}defs'
1.128     moko     17804:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
1.237     moko     17805:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
1.128     moko     17806:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     17807:                   $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
1.128     moko     17808: 
                   17809:                # Commands to make compiler produce verbose output that lists
                   17810:                # what "hidden" libraries, object files and flags are used when
                   17811:                # linking a shared library.
1.237     moko     17812:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
1.128     moko     17813:              else
1.237     moko     17814:                # g++ 2.7 appears to require '-G' NOT '-shared' on this
1.128     moko     17815:                # platform.
1.237     moko     17816:                archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
1.128     moko     17817:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     17818:                   $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
1.128     moko     17819: 
                   17820:                # Commands to make compiler produce verbose output that lists
                   17821:                # what "hidden" libraries, object files and flags are used when
                   17822:                # linking a shared library.
1.237     moko     17823:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
1.128     moko     17824:              fi
                   17825: 
1.237     moko     17826:              hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
1.128     moko     17827:              case $host_os in
                   17828:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   17829:                *)
1.237     moko     17830:                  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
1.128     moko     17831:                  ;;
                   17832:              esac
                   17833:            fi
                   17834:            ;;
                   17835:         esac
                   17836:         ;;
                   17837: 
                   17838:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
1.237     moko     17839:       no_undefined_flag_CXX='$wl-z,text'
1.128     moko     17840:       archive_cmds_need_lc_CXX=no
                   17841:       hardcode_shlibpath_var_CXX=no
                   17842:       runpath_var='LD_RUN_PATH'
                   17843: 
                   17844:       case $cc_basename in
                   17845:         CC*)
1.237     moko     17846:          archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   17847:          archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     17848:          ;;
                   17849:        *)
1.237     moko     17850:          archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   17851:          archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     17852:          ;;
                   17853:       esac
                   17854:       ;;
                   17855: 
                   17856:       sysv5* | sco3.2v5* | sco5v6*)
1.237     moko     17857:        # Note: We CANNOT use -z defs as we might desire, because we do not
1.128     moko     17858:        # link with -lc, and that would cause any symbols used from libc to
                   17859:        # always be unresolved, which means just about no library would
                   17860:        # ever link correctly.  If we're not using GNU ld we use -z text
                   17861:        # though, which does catch some bad symbols but isn't as heavy-handed
                   17862:        # as -z defs.
1.237     moko     17863:        no_undefined_flag_CXX='$wl-z,text'
                   17864:        allow_undefined_flag_CXX='$wl-z,nodefs'
1.128     moko     17865:        archive_cmds_need_lc_CXX=no
                   17866:        hardcode_shlibpath_var_CXX=no
1.237     moko     17867:        hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
1.128     moko     17868:        hardcode_libdir_separator_CXX=':'
                   17869:        link_all_deplibs_CXX=yes
1.237     moko     17870:        export_dynamic_flag_spec_CXX='$wl-Bexport'
1.128     moko     17871:        runpath_var='LD_RUN_PATH'
                   17872: 
                   17873:        case $cc_basename in
                   17874:           CC*)
1.237     moko     17875:            archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   17876:            archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     17877:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
1.237     moko     17878:               '"$old_archive_cmds_CXX"
1.128     moko     17879:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
1.237     moko     17880:               '"$reload_cmds_CXX"
1.128     moko     17881:            ;;
                   17882:          *)
1.237     moko     17883:            archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   17884:            archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     17885:            ;;
                   17886:        esac
                   17887:       ;;
                   17888: 
                   17889:       tandem*)
                   17890:         case $cc_basename in
                   17891:           NCC*)
                   17892:            # NonStop-UX NCC 3.20
                   17893:            # FIXME: insert proper C++ library support
                   17894:            ld_shlibs_CXX=no
                   17895:            ;;
                   17896:           *)
                   17897:            # FIXME: insert proper C++ library support
                   17898:            ld_shlibs_CXX=no
                   17899:            ;;
                   17900:         esac
                   17901:         ;;
                   17902: 
                   17903:       vxworks*)
                   17904:         # FIXME: insert proper C++ library support
                   17905:         ld_shlibs_CXX=no
                   17906:         ;;
                   17907: 
                   17908:       *)
                   17909:         # FIXME: insert proper C++ library support
                   17910:         ld_shlibs_CXX=no
                   17911:         ;;
                   17912:     esac
                   17913: 
1.237     moko     17914:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   17915: printf "%s\n" "$ld_shlibs_CXX" >&6; }
                   17916:     test no = "$ld_shlibs_CXX" && can_build_shared=no
1.128     moko     17917: 
1.237     moko     17918:     GCC_CXX=$GXX
                   17919:     LD_CXX=$LD
1.128     moko     17920: 
                   17921:     ## CAVEAT EMPTOR:
                   17922:     ## There is no encapsulation within the following macros, do not change
                   17923:     ## the running order or otherwise move them around unless you know exactly
                   17924:     ## what you are doing...
                   17925:     # Dependencies to place before and after the object being linked:
                   17926: predep_objects_CXX=
                   17927: postdep_objects_CXX=
                   17928: predeps_CXX=
                   17929: postdeps_CXX=
                   17930: compiler_lib_search_path_CXX=
                   17931: 
                   17932: cat > conftest.$ac_ext <<_LT_EOF
                   17933: class Foo
                   17934: {
                   17935: public:
                   17936:   Foo (void) { a = 0; }
                   17937: private:
                   17938:   int a;
                   17939: };
                   17940: _LT_EOF
                   17941: 
                   17942: 
                   17943: _lt_libdeps_save_CFLAGS=$CFLAGS
                   17944: case "$CC $CFLAGS " in #(
                   17945: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   17946: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   17947: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   17948: esac
                   17949: 
1.150     moko     17950: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     17951:   (eval $ac_compile) 2>&5
                   17952:   ac_status=$?
1.237     moko     17953:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     17954:   test $ac_status = 0; }; then
1.128     moko     17955:   # Parse the compiler output and extract the necessary
                   17956:   # objects, libraries and library flags.
                   17957: 
                   17958:   # Sentinel used to keep track of whether or not we are before
                   17959:   # the conftest object file.
                   17960:   pre_test_object_deps_done=no
                   17961: 
                   17962:   for p in `eval "$output_verbose_link_cmd"`; do
1.237     moko     17963:     case $prev$p in
1.128     moko     17964: 
                   17965:     -L* | -R* | -l*)
1.237     moko     17966:        # Some compilers place space between "-{L,R,l}" and the path.
1.128     moko     17967:        # Remove the space.
1.237     moko     17968:        if test x-L = x"$p" ||
                   17969:           test x-R = x"$p" ||
                   17970:           test x-l = x"$p"; then
1.128     moko     17971:         prev=$p
                   17972:         continue
                   17973:        fi
                   17974: 
                   17975:        # Expand the sysroot to ease extracting the directories later.
                   17976:        if test -z "$prev"; then
                   17977:          case $p in
                   17978:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   17979:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   17980:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   17981:          esac
                   17982:        fi
                   17983:        case $p in
                   17984:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   17985:        esac
1.237     moko     17986:        if test no = "$pre_test_object_deps_done"; then
                   17987:         case $prev in
1.128     moko     17988:         -L | -R)
                   17989:           # Internal compiler library paths should come after those
                   17990:           # provided the user.  The postdeps already come after the
                   17991:           # user supplied libs so there is no need to process them.
                   17992:           if test -z "$compiler_lib_search_path_CXX"; then
1.237     moko     17993:             compiler_lib_search_path_CXX=$prev$p
1.128     moko     17994:           else
1.237     moko     17995:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
1.128     moko     17996:           fi
                   17997:           ;;
                   17998:         # The "-l" case would never come before the object being
                   17999:         # linked, so don't bother handling this case.
                   18000:         esac
                   18001:        else
                   18002:         if test -z "$postdeps_CXX"; then
1.237     moko     18003:           postdeps_CXX=$prev$p
1.128     moko     18004:         else
1.237     moko     18005:           postdeps_CXX="${postdeps_CXX} $prev$p"
1.128     moko     18006:         fi
                   18007:        fi
                   18008:        prev=
                   18009:        ;;
                   18010: 
                   18011:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   18012:     *.$objext)
                   18013:        # This assumes that the test object file only shows up
                   18014:        # once in the compiler output.
                   18015:        if test "$p" = "conftest.$objext"; then
                   18016:         pre_test_object_deps_done=yes
                   18017:         continue
                   18018:        fi
                   18019: 
1.237     moko     18020:        if test no = "$pre_test_object_deps_done"; then
1.128     moko     18021:         if test -z "$predep_objects_CXX"; then
1.237     moko     18022:           predep_objects_CXX=$p
1.128     moko     18023:         else
                   18024:           predep_objects_CXX="$predep_objects_CXX $p"
                   18025:         fi
                   18026:        else
                   18027:         if test -z "$postdep_objects_CXX"; then
1.237     moko     18028:           postdep_objects_CXX=$p
1.128     moko     18029:         else
                   18030:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   18031:         fi
                   18032:        fi
                   18033:        ;;
                   18034: 
                   18035:     *) ;; # Ignore the rest.
                   18036: 
                   18037:     esac
                   18038:   done
                   18039: 
                   18040:   # Clean up.
                   18041:   rm -f a.out a.exe
                   18042: else
                   18043:   echo "libtool.m4: error: problem compiling CXX test program"
                   18044: fi
                   18045: 
                   18046: $RM -f confest.$objext
                   18047: CFLAGS=$_lt_libdeps_save_CFLAGS
                   18048: 
                   18049: # PORTME: override above test on systems where it is broken
                   18050: case $host_os in
                   18051: interix[3-9]*)
                   18052:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   18053:   # hack all around it, let's just trust "g++" to DTRT.
                   18054:   predep_objects_CXX=
                   18055:   postdep_objects_CXX=
                   18056:   postdeps_CXX=
                   18057:   ;;
1.237     moko     18058: esac
1.128     moko     18059: 
                   18060: 
1.237     moko     18061: case " $postdeps_CXX " in
                   18062: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   18063: esac
1.128     moko     18064:  compiler_lib_search_dirs_CXX=
                   18065: if test -n "${compiler_lib_search_path_CXX}"; then
1.237     moko     18066:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
1.128     moko     18067: fi
                   18068: 
                   18069: 
                   18070: 
                   18071: 
                   18072: 
                   18073: 
                   18074: 
                   18075: 
                   18076: 
                   18077: 
                   18078: 
                   18079: 
                   18080: 
                   18081: 
                   18082: 
                   18083: 
                   18084: 
                   18085: 
                   18086: 
                   18087: 
                   18088: 
                   18089: 
                   18090: 
                   18091: 
                   18092: 
                   18093: 
                   18094: 
                   18095: 
                   18096: 
                   18097: 
                   18098: 
                   18099:     lt_prog_compiler_wl_CXX=
                   18100: lt_prog_compiler_pic_CXX=
                   18101: lt_prog_compiler_static_CXX=
                   18102: 
                   18103: 
                   18104:   # C++ specific cases for pic, static, wl, etc.
1.237     moko     18105:   if test yes = "$GXX"; then
1.128     moko     18106:     lt_prog_compiler_wl_CXX='-Wl,'
                   18107:     lt_prog_compiler_static_CXX='-static'
                   18108: 
                   18109:     case $host_os in
                   18110:     aix*)
                   18111:       # All AIX code is PIC.
1.237     moko     18112:       if test ia64 = "$host_cpu"; then
1.128     moko     18113:        # AIX 5 now supports IA64 processor
                   18114:        lt_prog_compiler_static_CXX='-Bstatic'
                   18115:       fi
1.237     moko     18116:       lt_prog_compiler_pic_CXX='-fPIC'
1.128     moko     18117:       ;;
                   18118: 
                   18119:     amigaos*)
                   18120:       case $host_cpu in
                   18121:       powerpc)
                   18122:             # see comment about AmigaOS4 .so support
                   18123:             lt_prog_compiler_pic_CXX='-fPIC'
                   18124:         ;;
                   18125:       m68k)
                   18126:             # FIXME: we need at least 68020 code to build shared libraries, but
1.237     moko     18127:             # adding the '-m68020' flag to GCC prevents building anything better,
                   18128:             # like '-m68040'.
1.128     moko     18129:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   18130:         ;;
                   18131:       esac
                   18132:       ;;
                   18133: 
                   18134:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   18135:       # PIC is the default for these OSes.
                   18136:       ;;
1.237     moko     18137:     mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
1.128     moko     18138:       # This hack is so that the source file can tell whether it is being
                   18139:       # built for inclusion in a dll (and should export symbols for example).
                   18140:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   18141:       # (--disable-auto-import) libraries
                   18142:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
1.237     moko     18143:       case $host_os in
                   18144:       os2*)
                   18145:        lt_prog_compiler_static_CXX='$wl-static'
                   18146:        ;;
                   18147:       esac
1.128     moko     18148:       ;;
                   18149:     darwin* | rhapsody*)
                   18150:       # PIC is the default on this platform
                   18151:       # Common symbols not allowed in MH_DYLIB files
                   18152:       lt_prog_compiler_pic_CXX='-fno-common'
                   18153:       ;;
                   18154:     *djgpp*)
                   18155:       # DJGPP does not support shared libraries at all
                   18156:       lt_prog_compiler_pic_CXX=
                   18157:       ;;
                   18158:     haiku*)
                   18159:       # PIC is the default for Haiku.
                   18160:       # The "-static" flag exists, but is broken.
                   18161:       lt_prog_compiler_static_CXX=
                   18162:       ;;
                   18163:     interix[3-9]*)
                   18164:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   18165:       # Instead, we relocate shared libraries at runtime.
                   18166:       ;;
                   18167:     sysv4*MP*)
                   18168:       if test -d /usr/nec; then
                   18169:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   18170:       fi
                   18171:       ;;
                   18172:     hpux*)
                   18173:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   18174:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   18175:       # sets the default TLS model and affects inlining.
                   18176:       case $host_cpu in
                   18177:       hppa*64*)
                   18178:        ;;
                   18179:       *)
                   18180:        lt_prog_compiler_pic_CXX='-fPIC'
                   18181:        ;;
                   18182:       esac
                   18183:       ;;
                   18184:     *qnx* | *nto*)
                   18185:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   18186:       # it will coredump.
                   18187:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   18188:       ;;
                   18189:     *)
                   18190:       lt_prog_compiler_pic_CXX='-fPIC'
                   18191:       ;;
                   18192:     esac
                   18193:   else
                   18194:     case $host_os in
                   18195:       aix[4-9]*)
                   18196:        # All AIX code is PIC.
1.237     moko     18197:        if test ia64 = "$host_cpu"; then
1.128     moko     18198:          # AIX 5 now supports IA64 processor
                   18199:          lt_prog_compiler_static_CXX='-Bstatic'
                   18200:        else
                   18201:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   18202:        fi
                   18203:        ;;
                   18204:       chorus*)
                   18205:        case $cc_basename in
                   18206:        cxch68*)
                   18207:          # Green Hills C++ Compiler
                   18208:          # _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"
                   18209:          ;;
                   18210:        esac
                   18211:        ;;
1.237     moko     18212:       mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
1.128     moko     18213:        # This hack is so that the source file can tell whether it is being
                   18214:        # built for inclusion in a dll (and should export symbols for example).
                   18215:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   18216:        ;;
                   18217:       dgux*)
                   18218:        case $cc_basename in
                   18219:          ec++*)
                   18220:            lt_prog_compiler_pic_CXX='-KPIC'
                   18221:            ;;
                   18222:          ghcx*)
                   18223:            # Green Hills C++ Compiler
                   18224:            lt_prog_compiler_pic_CXX='-pic'
                   18225:            ;;
                   18226:          *)
                   18227:            ;;
                   18228:        esac
                   18229:        ;;
1.237     moko     18230:       freebsd* | dragonfly* | midnightbsd*)
1.128     moko     18231:        # FreeBSD uses GNU C++
                   18232:        ;;
                   18233:       hpux9* | hpux10* | hpux11*)
                   18234:        case $cc_basename in
                   18235:          CC*)
                   18236:            lt_prog_compiler_wl_CXX='-Wl,'
1.237     moko     18237:            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
                   18238:            if test ia64 != "$host_cpu"; then
1.128     moko     18239:              lt_prog_compiler_pic_CXX='+Z'
                   18240:            fi
                   18241:            ;;
                   18242:          aCC*)
                   18243:            lt_prog_compiler_wl_CXX='-Wl,'
1.237     moko     18244:            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
1.128     moko     18245:            case $host_cpu in
                   18246:            hppa*64*|ia64*)
                   18247:              # +Z the default
                   18248:              ;;
                   18249:            *)
                   18250:              lt_prog_compiler_pic_CXX='+Z'
                   18251:              ;;
                   18252:            esac
                   18253:            ;;
                   18254:          *)
                   18255:            ;;
                   18256:        esac
                   18257:        ;;
                   18258:       interix*)
                   18259:        # This is c89, which is MS Visual C++ (no shared libs)
                   18260:        # Anyone wants to do a port?
                   18261:        ;;
                   18262:       irix5* | irix6* | nonstopux*)
                   18263:        case $cc_basename in
                   18264:          CC*)
                   18265:            lt_prog_compiler_wl_CXX='-Wl,'
                   18266:            lt_prog_compiler_static_CXX='-non_shared'
                   18267:            # CC pic flag -KPIC is the default.
                   18268:            ;;
                   18269:          *)
                   18270:            ;;
                   18271:        esac
                   18272:        ;;
1.237     moko     18273:       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     18274:        case $cc_basename in
                   18275:          KCC*)
                   18276:            # KAI C++ Compiler
                   18277:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   18278:            lt_prog_compiler_pic_CXX='-fPIC'
                   18279:            ;;
                   18280:          ecpc* )
1.237     moko     18281:            # old Intel C++ for x86_64, which still supported -KPIC.
1.128     moko     18282:            lt_prog_compiler_wl_CXX='-Wl,'
                   18283:            lt_prog_compiler_pic_CXX='-KPIC'
                   18284:            lt_prog_compiler_static_CXX='-static'
                   18285:            ;;
                   18286:          icpc* )
                   18287:            # Intel C++, used to be incompatible with GCC.
                   18288:            # ICC 10 doesn't accept -KPIC any more.
                   18289:            lt_prog_compiler_wl_CXX='-Wl,'
                   18290:            lt_prog_compiler_pic_CXX='-fPIC'
                   18291:            lt_prog_compiler_static_CXX='-static'
                   18292:            ;;
                   18293:          pgCC* | pgcpp*)
                   18294:            # Portland Group C++ compiler
                   18295:            lt_prog_compiler_wl_CXX='-Wl,'
                   18296:            lt_prog_compiler_pic_CXX='-fpic'
                   18297:            lt_prog_compiler_static_CXX='-Bstatic'
                   18298:            ;;
                   18299:          cxx*)
                   18300:            # Compaq C++
                   18301:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   18302:            # Linux and Compaq Tru64 Unix objects are PIC.
                   18303:            lt_prog_compiler_pic_CXX=
                   18304:            lt_prog_compiler_static_CXX='-non_shared'
                   18305:            ;;
                   18306:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   18307:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   18308:            lt_prog_compiler_wl_CXX='-Wl,'
                   18309:            lt_prog_compiler_pic_CXX='-qpic'
                   18310:            lt_prog_compiler_static_CXX='-qstaticlink'
                   18311:            ;;
                   18312:          *)
1.237     moko     18313:            case `$CC -V 2>&1 | $SED 5q` in
1.128     moko     18314:            *Sun\ C*)
                   18315:              # Sun C++ 5.9
                   18316:              lt_prog_compiler_pic_CXX='-KPIC'
                   18317:              lt_prog_compiler_static_CXX='-Bstatic'
                   18318:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   18319:              ;;
                   18320:            esac
                   18321:            ;;
                   18322:        esac
                   18323:        ;;
                   18324:       lynxos*)
                   18325:        ;;
                   18326:       m88k*)
                   18327:        ;;
                   18328:       mvs*)
                   18329:        case $cc_basename in
                   18330:          cxx*)
                   18331:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   18332:            ;;
                   18333:          *)
                   18334:            ;;
                   18335:        esac
                   18336:        ;;
1.237     moko     18337:       netbsd* | netbsdelf*-gnu)
                   18338:        ;;
                   18339:       *-mlibc)
1.128     moko     18340:        ;;
                   18341:       *qnx* | *nto*)
                   18342:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   18343:         # it will coredump.
                   18344:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   18345:         ;;
                   18346:       osf3* | osf4* | osf5*)
                   18347:        case $cc_basename in
                   18348:          KCC*)
                   18349:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   18350:            ;;
                   18351:          RCC*)
                   18352:            # Rational C++ 2.4.1
                   18353:            lt_prog_compiler_pic_CXX='-pic'
                   18354:            ;;
                   18355:          cxx*)
                   18356:            # Digital/Compaq C++
                   18357:            lt_prog_compiler_wl_CXX='-Wl,'
                   18358:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   18359:            # Linux and Compaq Tru64 Unix objects are PIC.
                   18360:            lt_prog_compiler_pic_CXX=
                   18361:            lt_prog_compiler_static_CXX='-non_shared'
                   18362:            ;;
                   18363:          *)
                   18364:            ;;
                   18365:        esac
                   18366:        ;;
                   18367:       psos*)
                   18368:        ;;
1.237     moko     18369:       serenity*)
                   18370:         ;;
1.128     moko     18371:       solaris*)
                   18372:        case $cc_basename in
                   18373:          CC* | sunCC*)
                   18374:            # Sun C++ 4.2, 5.x and Centerline C++
                   18375:            lt_prog_compiler_pic_CXX='-KPIC'
                   18376:            lt_prog_compiler_static_CXX='-Bstatic'
                   18377:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   18378:            ;;
                   18379:          gcx*)
                   18380:            # Green Hills C++ Compiler
                   18381:            lt_prog_compiler_pic_CXX='-PIC'
                   18382:            ;;
                   18383:          *)
                   18384:            ;;
                   18385:        esac
                   18386:        ;;
                   18387:       sunos4*)
                   18388:        case $cc_basename in
                   18389:          CC*)
                   18390:            # Sun C++ 4.x
                   18391:            lt_prog_compiler_pic_CXX='-pic'
                   18392:            lt_prog_compiler_static_CXX='-Bstatic'
                   18393:            ;;
                   18394:          lcc*)
                   18395:            # Lucid
                   18396:            lt_prog_compiler_pic_CXX='-pic'
                   18397:            ;;
                   18398:          *)
                   18399:            ;;
                   18400:        esac
                   18401:        ;;
                   18402:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   18403:        case $cc_basename in
                   18404:          CC*)
                   18405:            lt_prog_compiler_wl_CXX='-Wl,'
                   18406:            lt_prog_compiler_pic_CXX='-KPIC'
                   18407:            lt_prog_compiler_static_CXX='-Bstatic'
                   18408:            ;;
                   18409:        esac
                   18410:        ;;
                   18411:       tandem*)
                   18412:        case $cc_basename in
                   18413:          NCC*)
                   18414:            # NonStop-UX NCC 3.20
                   18415:            lt_prog_compiler_pic_CXX='-KPIC'
                   18416:            ;;
                   18417:          *)
                   18418:            ;;
                   18419:        esac
                   18420:        ;;
                   18421:       vxworks*)
                   18422:        ;;
                   18423:       *)
                   18424:        lt_prog_compiler_can_build_shared_CXX=no
                   18425:        ;;
                   18426:     esac
                   18427:   fi
                   18428: 
                   18429: case $host_os in
1.237     moko     18430:   # For platforms that do not support PIC, -DPIC is meaningless:
1.128     moko     18431:   *djgpp*)
                   18432:     lt_prog_compiler_pic_CXX=
                   18433:     ;;
                   18434:   *)
                   18435:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   18436:     ;;
                   18437: esac
                   18438: 
1.237     moko     18439: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   18440: printf %s "checking for $compiler option to produce PIC... " >&6; }
                   18441: if test ${lt_cv_prog_compiler_pic_CXX+y}
                   18442: then :
                   18443:   printf %s "(cached) " >&6
                   18444: else case e in #(
                   18445:   e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
                   18446: esac
1.128     moko     18447: fi
1.237     moko     18448: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   18449: printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     18450: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   18451: 
                   18452: #
                   18453: # Check to make sure the PIC flag actually works.
                   18454: #
                   18455: if test -n "$lt_prog_compiler_pic_CXX"; then
1.237     moko     18456:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   18457: printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   18458: if test ${lt_cv_prog_compiler_pic_works_CXX+y}
                   18459: then :
                   18460:   printf %s "(cached) " >&6
                   18461: else case e in #(
                   18462:   e) lt_cv_prog_compiler_pic_works_CXX=no
1.128     moko     18463:    ac_outfile=conftest.$ac_objext
                   18464:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.237     moko     18465:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
1.128     moko     18466:    # Insert the option either (1) after the last *FLAGS variable, or
                   18467:    # (2) before a word containing "conftest.", or (3) at the end.
                   18468:    # Note that $ac_compile itself does not contain backslashes and begins
                   18469:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   18470:    # The option is referenced via a variable to avoid confusing sed.
                   18471:    lt_compile=`echo "$ac_compile" | $SED \
                   18472:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   18473:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   18474:    -e 's:$: $lt_compiler_flag:'`
                   18475:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   18476:    (eval "$lt_compile" 2>conftest.err)
                   18477:    ac_status=$?
                   18478:    cat conftest.err >&5
                   18479:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18480:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   18481:      # The compiler can only warn and ignore the option if not recognized
                   18482:      # So say no if there are warnings other than the usual output.
                   18483:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   18484:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   18485:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   18486:        lt_cv_prog_compiler_pic_works_CXX=yes
                   18487:      fi
                   18488:    fi
                   18489:    $RM conftest*
1.237     moko     18490:  ;;
                   18491: esac
1.128     moko     18492: fi
1.237     moko     18493: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   18494: printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     18495: 
1.237     moko     18496: if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
1.128     moko     18497:     case $lt_prog_compiler_pic_CXX in
                   18498:      "" | " "*) ;;
                   18499:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   18500:      esac
                   18501: else
                   18502:     lt_prog_compiler_pic_CXX=
                   18503:      lt_prog_compiler_can_build_shared_CXX=no
                   18504: fi
                   18505: 
                   18506: fi
                   18507: 
                   18508: 
                   18509: 
                   18510: 
                   18511: 
                   18512: #
                   18513: # Check to make sure the static flag actually works.
                   18514: #
                   18515: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.237     moko     18516: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   18517: printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   18518: if test ${lt_cv_prog_compiler_static_works_CXX+y}
                   18519: then :
                   18520:   printf %s "(cached) " >&6
                   18521: else case e in #(
                   18522:   e) lt_cv_prog_compiler_static_works_CXX=no
                   18523:    save_LDFLAGS=$LDFLAGS
1.128     moko     18524:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   18525:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   18526:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   18527:      # The linker can only warn and ignore the option if not recognized
                   18528:      # So say no if there are warnings
                   18529:      if test -s conftest.err; then
                   18530:        # Append any errors to the config.log.
                   18531:        cat conftest.err 1>&5
                   18532:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   18533:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   18534:        if diff conftest.exp conftest.er2 >/dev/null; then
                   18535:          lt_cv_prog_compiler_static_works_CXX=yes
                   18536:        fi
                   18537:      else
                   18538:        lt_cv_prog_compiler_static_works_CXX=yes
                   18539:      fi
                   18540:    fi
                   18541:    $RM -r conftest*
1.237     moko     18542:    LDFLAGS=$save_LDFLAGS
                   18543:  ;;
                   18544: esac
1.128     moko     18545: fi
1.237     moko     18546: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   18547: printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     18548: 
1.237     moko     18549: if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
1.128     moko     18550:     :
                   18551: else
                   18552:     lt_prog_compiler_static_CXX=
                   18553: fi
                   18554: 
                   18555: 
                   18556: 
                   18557: 
1.237     moko     18558:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   18559: printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   18560: if test ${lt_cv_prog_compiler_c_o_CXX+y}
                   18561: then :
                   18562:   printf %s "(cached) " >&6
                   18563: else case e in #(
                   18564:   e) lt_cv_prog_compiler_c_o_CXX=no
1.128     moko     18565:    $RM -r conftest 2>/dev/null
                   18566:    mkdir conftest
                   18567:    cd conftest
                   18568:    mkdir out
                   18569:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   18570: 
                   18571:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   18572:    # Insert the option either (1) after the last *FLAGS variable, or
                   18573:    # (2) before a word containing "conftest.", or (3) at the end.
                   18574:    # Note that $ac_compile itself does not contain backslashes and begins
                   18575:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   18576:    lt_compile=`echo "$ac_compile" | $SED \
                   18577:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   18578:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   18579:    -e 's:$: $lt_compiler_flag:'`
                   18580:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   18581:    (eval "$lt_compile" 2>out/conftest.err)
                   18582:    ac_status=$?
                   18583:    cat out/conftest.err >&5
                   18584:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18585:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   18586:    then
                   18587:      # The compiler can only warn and ignore the option if not recognized
                   18588:      # So say no if there are warnings
                   18589:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   18590:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   18591:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   18592:        lt_cv_prog_compiler_c_o_CXX=yes
                   18593:      fi
                   18594:    fi
                   18595:    chmod u+w . 2>&5
                   18596:    $RM conftest*
                   18597:    # SGI C++ compiler will create directory out/ii_files/ for
                   18598:    # template instantiation
                   18599:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   18600:    $RM out/* && rmdir out
                   18601:    cd ..
                   18602:    $RM -r conftest
                   18603:    $RM conftest*
1.237     moko     18604:  ;;
                   18605: esac
1.128     moko     18606: fi
1.237     moko     18607: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   18608: printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     18609: 
                   18610: 
                   18611: 
1.237     moko     18612:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   18613: printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   18614: if test ${lt_cv_prog_compiler_c_o_CXX+y}
                   18615: then :
                   18616:   printf %s "(cached) " >&6
                   18617: else case e in #(
                   18618:   e) lt_cv_prog_compiler_c_o_CXX=no
1.128     moko     18619:    $RM -r conftest 2>/dev/null
                   18620:    mkdir conftest
                   18621:    cd conftest
                   18622:    mkdir out
                   18623:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   18624: 
                   18625:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   18626:    # Insert the option either (1) after the last *FLAGS variable, or
                   18627:    # (2) before a word containing "conftest.", or (3) at the end.
                   18628:    # Note that $ac_compile itself does not contain backslashes and begins
                   18629:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   18630:    lt_compile=`echo "$ac_compile" | $SED \
                   18631:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   18632:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   18633:    -e 's:$: $lt_compiler_flag:'`
                   18634:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   18635:    (eval "$lt_compile" 2>out/conftest.err)
                   18636:    ac_status=$?
                   18637:    cat out/conftest.err >&5
                   18638:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18639:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   18640:    then
                   18641:      # The compiler can only warn and ignore the option if not recognized
                   18642:      # So say no if there are warnings
                   18643:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   18644:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   18645:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   18646:        lt_cv_prog_compiler_c_o_CXX=yes
                   18647:      fi
                   18648:    fi
                   18649:    chmod u+w . 2>&5
                   18650:    $RM conftest*
                   18651:    # SGI C++ compiler will create directory out/ii_files/ for
                   18652:    # template instantiation
                   18653:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   18654:    $RM out/* && rmdir out
                   18655:    cd ..
                   18656:    $RM -r conftest
                   18657:    $RM conftest*
1.237     moko     18658:  ;;
                   18659: esac
1.128     moko     18660: fi
1.237     moko     18661: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   18662: printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     18663: 
                   18664: 
                   18665: 
                   18666: 
1.237     moko     18667: hard_links=nottested
                   18668: if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
1.128     moko     18669:   # do not overwrite the value of need_locks provided by the user
1.237     moko     18670:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   18671: printf %s "checking if we can lock with hard links... " >&6; }
1.128     moko     18672:   hard_links=yes
                   18673:   $RM conftest*
                   18674:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   18675:   touch conftest.a
                   18676:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   18677:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.237     moko     18678:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   18679: printf "%s\n" "$hard_links" >&6; }
                   18680:   if test no = "$hard_links"; then
                   18681:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
                   18682: printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
1.128     moko     18683:     need_locks=warn
                   18684:   fi
                   18685: else
                   18686:   need_locks=no
                   18687: fi
                   18688: 
                   18689: 
                   18690: 
1.237     moko     18691:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   18692: printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     18693: 
                   18694:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   18695:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   18696:   case $host_os in
                   18697:   aix[4-9]*)
                   18698:     # If we're using GNU nm, then we don't want the "-C" option.
1.237     moko     18699:     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
                   18700:     # Without the "-l" option, or with the "-B" option, AIX nm treats
                   18701:     # weak defined symbols like other global defined symbols, whereas
                   18702:     # GNU nm marks them as "W".
                   18703:     # While the 'weak' keyword is ignored in the Export File, we need
                   18704:     # it in the Import File for the 'aix-soname' feature, so we have
                   18705:     # to replace the "-B" option with "-P" for AIX nm.
1.128     moko     18706:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1.237     moko     18707:       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
1.128     moko     18708:     else
1.237     moko     18709:       export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
1.128     moko     18710:     fi
                   18711:     ;;
                   18712:   pw32*)
1.237     moko     18713:     export_symbols_cmds_CXX=$ltdll_cmds
1.128     moko     18714:     ;;
1.237     moko     18715:   cygwin* | mingw* | windows* | cegcc*)
1.128     moko     18716:     case $cc_basename in
1.237     moko     18717:     cl* | icl*)
1.128     moko     18718:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   18719:       ;;
                   18720:     *)
                   18721:       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'
                   18722:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   18723:       ;;
                   18724:     esac
                   18725:     ;;
1.237     moko     18726:   linux* | k*bsd*-gnu | gnu*)
                   18727:     link_all_deplibs_CXX=no
                   18728:     ;;
1.128     moko     18729:   *)
                   18730:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   18731:     ;;
                   18732:   esac
                   18733: 
1.237     moko     18734: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   18735: printf "%s\n" "$ld_shlibs_CXX" >&6; }
                   18736: test no = "$ld_shlibs_CXX" && can_build_shared=no
1.128     moko     18737: 
                   18738: with_gnu_ld_CXX=$with_gnu_ld
                   18739: 
                   18740: 
                   18741: 
                   18742: 
                   18743: 
                   18744: 
                   18745: #
                   18746: # Do we need to explicitly link libc?
                   18747: #
                   18748: case "x$archive_cmds_need_lc_CXX" in
                   18749: x|xyes)
                   18750:   # Assume -lc should be added
                   18751:   archive_cmds_need_lc_CXX=yes
                   18752: 
1.237     moko     18753:   if test yes,yes = "$GCC,$enable_shared"; then
1.128     moko     18754:     case $archive_cmds_CXX in
                   18755:     *'~'*)
                   18756:       # FIXME: we may have to deal with multi-command sequences.
                   18757:       ;;
                   18758:     '$CC '*)
                   18759:       # Test whether the compiler implicitly links with -lc since on some
                   18760:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   18761:       # to ld, don't add -lc before -lgcc.
1.237     moko     18762:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   18763: printf %s "checking whether -lc should be explicitly linked in... " >&6; }
                   18764: if test ${lt_cv_archive_cmds_need_lc_CXX+y}
                   18765: then :
                   18766:   printf %s "(cached) " >&6
                   18767: else case e in #(
                   18768:   e) $RM conftest*
1.128     moko     18769:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   18770: 
1.150     moko     18771:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     18772:   (eval $ac_compile) 2>&5
                   18773:   ac_status=$?
1.237     moko     18774:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     18775:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     18776:          soname=conftest
                   18777:          lib=conftest
                   18778:          libobjs=conftest.$ac_objext
                   18779:          deplibs=
                   18780:          wl=$lt_prog_compiler_wl_CXX
                   18781:          pic_flag=$lt_prog_compiler_pic_CXX
                   18782:          compiler_flags=-v
                   18783:          linker_flags=-v
                   18784:          verstring=
                   18785:          output_objdir=.
                   18786:          libname=conftest
                   18787:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   18788:          allow_undefined_flag_CXX=
1.150     moko     18789:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     18790:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   18791:   ac_status=$?
1.237     moko     18792:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     18793:   test $ac_status = 0; }
1.128     moko     18794:          then
                   18795:            lt_cv_archive_cmds_need_lc_CXX=no
                   18796:          else
                   18797:            lt_cv_archive_cmds_need_lc_CXX=yes
                   18798:          fi
                   18799:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   18800:        else
                   18801:          cat conftest.err 1>&5
                   18802:        fi
                   18803:        $RM conftest*
1.237     moko     18804:         ;;
                   18805: esac
1.128     moko     18806: fi
1.237     moko     18807: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   18808: printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     18809:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   18810:       ;;
                   18811:     esac
                   18812:   fi
                   18813:   ;;
                   18814: esac
                   18815: 
                   18816: 
                   18817: 
                   18818: 
                   18819: 
                   18820: 
                   18821: 
                   18822: 
                   18823: 
                   18824: 
                   18825: 
                   18826: 
                   18827: 
                   18828: 
                   18829: 
                   18830: 
                   18831: 
                   18832: 
                   18833: 
                   18834: 
                   18835: 
                   18836: 
                   18837: 
                   18838: 
                   18839: 
                   18840: 
                   18841: 
                   18842: 
                   18843: 
                   18844: 
                   18845: 
                   18846: 
                   18847: 
                   18848: 
                   18849: 
                   18850: 
                   18851: 
                   18852: 
                   18853: 
                   18854: 
                   18855: 
                   18856: 
                   18857: 
                   18858: 
                   18859: 
                   18860: 
                   18861: 
                   18862: 
                   18863: 
                   18864: 
                   18865: 
                   18866: 
                   18867: 
                   18868: 
                   18869: 
                   18870: 
                   18871: 
                   18872: 
                   18873: 
                   18874: 
                   18875: 
                   18876: 
1.237     moko     18877:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   18878: printf %s "checking dynamic linker characteristics... " >&6; }
1.128     moko     18879: 
                   18880: library_names_spec=
                   18881: libname_spec='lib$name'
                   18882: soname_spec=
1.237     moko     18883: shrext_cmds=.so
1.128     moko     18884: postinstall_cmds=
                   18885: postuninstall_cmds=
                   18886: finish_cmds=
                   18887: finish_eval=
                   18888: shlibpath_var=
                   18889: shlibpath_overrides_runpath=unknown
                   18890: version_type=none
                   18891: dynamic_linker="$host_os ld.so"
                   18892: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   18893: need_lib_prefix=unknown
                   18894: hardcode_into_libs=no
                   18895: 
                   18896: # when you set need_version to no, make sure it does not cause -set_version
                   18897: # flags to be left without arguments
                   18898: need_version=unknown
                   18899: 
1.237     moko     18900: 
                   18901: 
1.128     moko     18902: case $host_os in
                   18903: aix3*)
                   18904:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     18905:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
1.128     moko     18906:   shlibpath_var=LIBPATH
                   18907: 
                   18908:   # AIX 3 has no versioning support, so we append a major version to the name.
1.237     moko     18909:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     18910:   ;;
                   18911: 
                   18912: aix[4-9]*)
                   18913:   version_type=linux # correct to gnu/linux during the next big refactor
                   18914:   need_lib_prefix=no
                   18915:   need_version=no
                   18916:   hardcode_into_libs=yes
1.237     moko     18917:   if test ia64 = "$host_cpu"; then
1.128     moko     18918:     # AIX 5 supports IA64
1.237     moko     18919:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
1.128     moko     18920:     shlibpath_var=LD_LIBRARY_PATH
                   18921:   else
                   18922:     # With GCC up to 2.95.x, collect2 would create an import file
                   18923:     # for dependence libraries.  The import file would start with
1.237     moko     18924:     # the line '#! .'.  This would cause the generated library to
                   18925:     # depend on '.', always an invalid library.  This was fixed in
1.128     moko     18926:     # development snapshots of GCC prior to 3.0.
                   18927:     case $host_os in
                   18928:       aix4 | aix4.[01] | aix4.[01].*)
                   18929:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   18930:           echo ' yes '
1.237     moko     18931:           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
1.128     moko     18932:        :
                   18933:       else
                   18934:        can_build_shared=no
                   18935:       fi
                   18936:       ;;
                   18937:     esac
1.237     moko     18938:     # Using Import Files as archive members, it is possible to support
                   18939:     # filename-based versioning of shared library archives on AIX. While
                   18940:     # this would work for both with and without runtime linking, it will
                   18941:     # prevent static linking of such archives. So we do filename-based
                   18942:     # shared library versioning with .so extension only, which is used
                   18943:     # when both runtime linking and shared linking is enabled.
                   18944:     # Unfortunately, runtime linking may impact performance, so we do
                   18945:     # not want this to be the default eventually. Also, we use the
                   18946:     # versioned .so libs for executables only if there is the -brtl
                   18947:     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
                   18948:     # To allow for filename-based versioning support, we need to create
                   18949:     # libNAME.so.V as an archive file, containing:
                   18950:     # *) an Import File, referring to the versioned filename of the
                   18951:     #    archive as well as the shared archive member, telling the
                   18952:     #    bitwidth (32 or 64) of that shared object, and providing the
                   18953:     #    list of exported symbols of that shared object, eventually
                   18954:     #    decorated with the 'weak' keyword
                   18955:     # *) the shared object with the F_LOADONLY flag set, to really avoid
                   18956:     #    it being seen by the linker.
                   18957:     # At run time we better use the real file rather than another symlink,
                   18958:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
                   18959: 
                   18960:     case $with_aix_soname,$aix_use_runtimelinking in
                   18961:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
1.128     moko     18962:     # soname into executable. Probably we can add versioning support to
                   18963:     # collect2, so additional links can be useful in future.
1.237     moko     18964:     aix,yes) # traditional libtool
                   18965:       dynamic_linker='AIX unversionable lib.so'
1.128     moko     18966:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   18967:       # instead of lib<name>.a to let people know that these are not
                   18968:       # typical AIX shared libraries.
1.237     moko     18969:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   18970:       ;;
                   18971:     aix,no) # traditional AIX only
                   18972:       dynamic_linker='AIX lib.a(lib.so.V)'
1.128     moko     18973:       # We preserve .a as extension for shared libraries through AIX4.2
                   18974:       # and later when we are not doing run time linking.
1.237     moko     18975:       library_names_spec='$libname$release.a $libname.a'
                   18976:       soname_spec='$libname$release$shared_ext$major'
                   18977:       ;;
                   18978:     svr4,*) # full svr4 only
                   18979:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
                   18980:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
                   18981:       # We do not specify a path in Import Files, so LIBPATH fires.
                   18982:       shlibpath_overrides_runpath=yes
                   18983:       ;;
                   18984:     *,yes) # both, prefer svr4
                   18985:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
                   18986:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
                   18987:       # unpreferred sharedlib libNAME.a needs extra handling
                   18988:       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
                   18989:       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
                   18990:       # We do not specify a path in Import Files, so LIBPATH fires.
                   18991:       shlibpath_overrides_runpath=yes
                   18992:       ;;
                   18993:     *,no) # both, prefer aix
                   18994:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
                   18995:       library_names_spec='$libname$release.a $libname.a'
                   18996:       soname_spec='$libname$release$shared_ext$major'
                   18997:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
                   18998:       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
                   18999:       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
                   19000:       ;;
                   19001:     esac
1.128     moko     19002:     shlibpath_var=LIBPATH
                   19003:   fi
                   19004:   ;;
                   19005: 
                   19006: amigaos*)
                   19007:   case $host_cpu in
                   19008:   powerpc)
                   19009:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   19010:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
1.237     moko     19011:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     19012:     ;;
                   19013:   m68k)
                   19014:     library_names_spec='$libname.ixlibrary $libname.a'
                   19015:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.237     moko     19016:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
1.128     moko     19017:     ;;
                   19018:   esac
                   19019:   ;;
                   19020: 
                   19021: beos*)
1.237     moko     19022:   library_names_spec='$libname$shared_ext'
1.128     moko     19023:   dynamic_linker="$host_os ld.so"
                   19024:   shlibpath_var=LIBRARY_PATH
                   19025:   ;;
                   19026: 
                   19027: bsdi[45]*)
                   19028:   version_type=linux # correct to gnu/linux during the next big refactor
                   19029:   need_version=no
1.237     moko     19030:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19031:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19032:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   19033:   shlibpath_var=LD_LIBRARY_PATH
                   19034:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   19035:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   19036:   # the default ld.so.conf also contains /usr/contrib/lib and
                   19037:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   19038:   # libtool to hard-code these into programs
                   19039:   ;;
                   19040: 
1.237     moko     19041: cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     19042:   version_type=windows
1.237     moko     19043:   shrext_cmds=.dll
1.128     moko     19044:   need_version=no
                   19045:   need_lib_prefix=no
                   19046: 
                   19047:   case $GCC,$cc_basename in
                   19048:   yes,*)
                   19049:     # gcc
                   19050:     library_names_spec='$libname.dll.a'
                   19051:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.237     moko     19052:     # If user builds GCC with multilib enabled,
                   19053:     # it should just install on $(libdir)
                   19054:     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
                   19055:     if test xyes = x"$multilib"; then
                   19056:       postinstall_cmds='base_file=`basename \$file`~
                   19057:         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
                   19058:         dldir=$destdir/`dirname \$dlpath`~
                   19059:         $install_prog $dir/$dlname $destdir/$dlname~
                   19060:         chmod a+x $destdir/$dlname~
                   19061:         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   19062:           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
                   19063:         fi'
                   19064:     else
                   19065:       postinstall_cmds='base_file=`basename \$file`~
                   19066:         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
                   19067:         dldir=$destdir/`dirname \$dlpath`~
                   19068:         test -d \$dldir || mkdir -p \$dldir~
                   19069:         $install_prog $dir/$dlname \$dldir/$dlname~
                   19070:         chmod a+x \$dldir/$dlname~
                   19071:         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   19072:           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   19073:         fi'
                   19074:     fi
1.128     moko     19075:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   19076:       dlpath=$dir/\$dldll~
                   19077:        $RM \$dlpath'
                   19078:     shlibpath_overrides_runpath=yes
                   19079: 
                   19080:     case $host_os in
                   19081:     cygwin*)
                   19082:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.237     moko     19083:       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     19084: 
                   19085:       ;;
1.237     moko     19086:     mingw* | windows* | cegcc*)
1.128     moko     19087:       # MinGW DLLs use traditional 'lib' prefix
1.237     moko     19088:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     19089:       ;;
                   19090:     pw32*)
                   19091:       # pw32 DLLs use 'pw' prefix rather than 'lib'
1.237     moko     19092:       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     19093:       ;;
                   19094:     esac
                   19095:     dynamic_linker='Win32 ld.exe'
                   19096:     ;;
                   19097: 
1.237     moko     19098:   *,cl* | *,icl*)
                   19099:     # Native MSVC or ICC
1.128     moko     19100:     libname_spec='$name'
1.237     moko     19101:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
                   19102:     library_names_spec='$libname.dll.lib'
1.128     moko     19103: 
                   19104:     case $build_os in
1.237     moko     19105:     mingw* | windows*)
1.128     moko     19106:       sys_lib_search_path_spec=
                   19107:       lt_save_ifs=$IFS
                   19108:       IFS=';'
                   19109:       for lt_path in $LIB
                   19110:       do
                   19111:         IFS=$lt_save_ifs
                   19112:         # Let DOS variable expansion print the short 8.3 style file name.
                   19113:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   19114:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   19115:       done
                   19116:       IFS=$lt_save_ifs
                   19117:       # Convert to MSYS style.
1.237     moko     19118:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
1.128     moko     19119:       ;;
                   19120:     cygwin*)
                   19121:       # Convert to unix form, then to dos form, then back to unix form
                   19122:       # but this time dos style (no spaces!) so that the unix form looks
                   19123:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   19124:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   19125:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   19126:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   19127:       ;;
                   19128:     *)
1.237     moko     19129:       sys_lib_search_path_spec=$LIB
1.128     moko     19130:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   19131:         # It is most probably a Windows format PATH.
                   19132:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   19133:       else
                   19134:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   19135:       fi
                   19136:       # FIXME: find the short name or the path components, as spaces are
                   19137:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   19138:       ;;
                   19139:     esac
                   19140: 
                   19141:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.237     moko     19142:     postinstall_cmds='base_file=`basename \$file`~
                   19143:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
1.128     moko     19144:       dldir=$destdir/`dirname \$dlpath`~
                   19145:       test -d \$dldir || mkdir -p \$dldir~
                   19146:       $install_prog $dir/$dlname \$dldir/$dlname'
                   19147:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   19148:       dlpath=$dir/\$dldll~
                   19149:        $RM \$dlpath'
                   19150:     shlibpath_overrides_runpath=yes
                   19151:     dynamic_linker='Win32 link.exe'
                   19152:     ;;
                   19153: 
                   19154:   *)
1.237     moko     19155:     # Assume MSVC and ICC wrapper
                   19156:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
1.128     moko     19157:     dynamic_linker='Win32 ld.exe'
                   19158:     ;;
                   19159:   esac
                   19160:   # FIXME: first we should search . and the directory the executable is in
                   19161:   shlibpath_var=PATH
                   19162:   ;;
                   19163: 
                   19164: darwin* | rhapsody*)
                   19165:   dynamic_linker="$host_os dyld"
                   19166:   version_type=darwin
                   19167:   need_lib_prefix=no
                   19168:   need_version=no
1.237     moko     19169:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
                   19170:   soname_spec='$libname$release$major$shared_ext'
1.128     moko     19171:   shlibpath_overrides_runpath=yes
                   19172:   shlibpath_var=DYLD_LIBRARY_PATH
                   19173:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   19174: 
                   19175:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   19176:   ;;
                   19177: 
                   19178: dgux*)
                   19179:   version_type=linux # correct to gnu/linux during the next big refactor
                   19180:   need_lib_prefix=no
                   19181:   need_version=no
1.237     moko     19182:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19183:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19184:   shlibpath_var=LD_LIBRARY_PATH
                   19185:   ;;
                   19186: 
1.237     moko     19187: freebsd* | dragonfly* | midnightbsd*)
1.128     moko     19188:   # DragonFly does not have aout.  When/if they implement a new
                   19189:   # versioning mechanism, adjust this.
                   19190:   if test -x /usr/bin/objformat; then
                   19191:     objformat=`/usr/bin/objformat`
                   19192:   else
                   19193:     case $host_os in
                   19194:     freebsd[23].*) objformat=aout ;;
                   19195:     *) objformat=elf ;;
                   19196:     esac
                   19197:   fi
                   19198:   version_type=freebsd-$objformat
                   19199:   case $version_type in
                   19200:     freebsd-elf*)
1.237     moko     19201:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19202:       soname_spec='$libname$release$shared_ext$major'
1.128     moko     19203:       need_version=no
                   19204:       need_lib_prefix=no
                   19205:       ;;
                   19206:     freebsd-*)
1.237     moko     19207:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     19208:       need_version=yes
                   19209:       ;;
                   19210:   esac
1.237     moko     19211:   case $host_cpu in
                   19212:     powerpc64)
                   19213:       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
                   19214:       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
                   19215:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   19216: /* end confdefs.h.  */
                   19217: int test_pointer_size[sizeof (void *) - 5];
                   19218: 
                   19219: _ACEOF
                   19220: if ac_fn_cxx_try_compile "$LINENO"
                   19221: then :
1.128     moko     19222:   shlibpath_var=LD_LIBRARY_PATH
1.237     moko     19223: else case e in #(
                   19224:   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
                   19225: esac
                   19226: fi
                   19227: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   19228:       ;;
                   19229:     *)
                   19230:       shlibpath_var=LD_LIBRARY_PATH
                   19231:       ;;
                   19232:   esac
1.128     moko     19233:   case $host_os in
                   19234:   freebsd2.*)
                   19235:     shlibpath_overrides_runpath=yes
                   19236:     ;;
                   19237:   freebsd3.[01]* | freebsdelf3.[01]*)
                   19238:     shlibpath_overrides_runpath=yes
                   19239:     hardcode_into_libs=yes
                   19240:     ;;
                   19241:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   19242:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   19243:     shlibpath_overrides_runpath=no
                   19244:     hardcode_into_libs=yes
                   19245:     ;;
                   19246:   *) # from 4.6 on, and DragonFly
                   19247:     shlibpath_overrides_runpath=yes
                   19248:     hardcode_into_libs=yes
                   19249:     ;;
                   19250:   esac
                   19251:   ;;
                   19252: 
                   19253: haiku*)
                   19254:   version_type=linux # correct to gnu/linux during the next big refactor
                   19255:   need_lib_prefix=no
                   19256:   need_version=no
                   19257:   dynamic_linker="$host_os runtime_loader"
1.237     moko     19258:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19259:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19260:   shlibpath_var=LIBRARY_PATH
1.237     moko     19261:   shlibpath_overrides_runpath=no
                   19262:   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
                   19263:   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
                   19264:   hardcode_into_libs=no
1.128     moko     19265:   ;;
                   19266: 
                   19267: hpux9* | hpux10* | hpux11*)
                   19268:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   19269:   # link against other versions.
                   19270:   version_type=sunos
                   19271:   need_lib_prefix=no
                   19272:   need_version=no
                   19273:   case $host_cpu in
                   19274:   ia64*)
                   19275:     shrext_cmds='.so'
                   19276:     hardcode_into_libs=yes
                   19277:     dynamic_linker="$host_os dld.so"
                   19278:     shlibpath_var=LD_LIBRARY_PATH
                   19279:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.237     moko     19280:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19281:     soname_spec='$libname$release$shared_ext$major'
                   19282:     if test 32 = "$HPUX_IA64_MODE"; then
1.128     moko     19283:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.237     moko     19284:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
1.128     moko     19285:     else
                   19286:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.237     moko     19287:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
1.128     moko     19288:     fi
                   19289:     ;;
                   19290:   hppa*64*)
                   19291:     shrext_cmds='.sl'
                   19292:     hardcode_into_libs=yes
                   19293:     dynamic_linker="$host_os dld.sl"
                   19294:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   19295:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.237     moko     19296:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19297:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     19298:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   19299:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   19300:     ;;
                   19301:   *)
                   19302:     shrext_cmds='.sl'
                   19303:     dynamic_linker="$host_os dld.sl"
                   19304:     shlibpath_var=SHLIB_PATH
                   19305:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.237     moko     19306:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19307:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     19308:     ;;
                   19309:   esac
                   19310:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   19311:   postinstall_cmds='chmod 555 $lib'
                   19312:   # or fails outright, so override atomically:
                   19313:   install_override_mode=555
                   19314:   ;;
                   19315: 
                   19316: interix[3-9]*)
                   19317:   version_type=linux # correct to gnu/linux during the next big refactor
                   19318:   need_lib_prefix=no
                   19319:   need_version=no
1.237     moko     19320:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19321:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19322:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   19323:   shlibpath_var=LD_LIBRARY_PATH
                   19324:   shlibpath_overrides_runpath=no
                   19325:   hardcode_into_libs=yes
                   19326:   ;;
                   19327: 
                   19328: irix5* | irix6* | nonstopux*)
                   19329:   case $host_os in
                   19330:     nonstopux*) version_type=nonstopux ;;
                   19331:     *)
1.237     moko     19332:        if test yes = "$lt_cv_prog_gnu_ld"; then
1.128     moko     19333:                version_type=linux # correct to gnu/linux during the next big refactor
                   19334:        else
                   19335:                version_type=irix
                   19336:        fi ;;
                   19337:   esac
                   19338:   need_lib_prefix=no
                   19339:   need_version=no
1.237     moko     19340:   soname_spec='$libname$release$shared_ext$major'
                   19341:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
1.128     moko     19342:   case $host_os in
                   19343:   irix5* | nonstopux*)
                   19344:     libsuff= shlibsuff=
                   19345:     ;;
                   19346:   *)
                   19347:     case $LD in # libtool.m4 will add one of these switches to LD
                   19348:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   19349:       libsuff= shlibsuff= libmagic=32-bit;;
                   19350:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   19351:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   19352:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   19353:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   19354:     *) libsuff= shlibsuff= libmagic=never-match;;
                   19355:     esac
                   19356:     ;;
                   19357:   esac
                   19358:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   19359:   shlibpath_overrides_runpath=no
1.237     moko     19360:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
                   19361:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
1.128     moko     19362:   hardcode_into_libs=yes
                   19363:   ;;
                   19364: 
                   19365: # No shared lib support for Linux oldld, aout, or coff.
                   19366: linux*oldld* | linux*aout* | linux*coff*)
                   19367:   dynamic_linker=no
                   19368:   ;;
                   19369: 
1.237     moko     19370: linux*android*)
                   19371:   version_type=none # Android doesn't support versioned libraries.
                   19372:   need_lib_prefix=no
                   19373:   need_version=no
                   19374:   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
                   19375:   soname_spec='$libname$release$shared_ext'
                   19376:   finish_cmds=
                   19377:   shlibpath_var=LD_LIBRARY_PATH
                   19378:   shlibpath_overrides_runpath=yes
                   19379: 
                   19380:   # This implies no fast_install, which is unacceptable.
                   19381:   # Some rework will be needed to allow for fast_install
                   19382:   # before this can be enabled.
                   19383:   hardcode_into_libs=yes
                   19384: 
                   19385:   dynamic_linker='Android linker'
                   19386:   # -rpath works at least for libraries that are not overridden by
                   19387:   # libraries installed in system locations.
                   19388:   hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
                   19389:   ;;
                   19390: 
1.128     moko     19391: # This must be glibc/ELF.
1.237     moko     19392: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     19393:   version_type=linux # correct to gnu/linux during the next big refactor
                   19394:   need_lib_prefix=no
                   19395:   need_version=no
1.237     moko     19396:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19397:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19398:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   19399:   shlibpath_var=LD_LIBRARY_PATH
                   19400:   shlibpath_overrides_runpath=no
                   19401: 
                   19402:   # Some binutils ld are patched to set DT_RUNPATH
1.237     moko     19403:   if test ${lt_cv_shlibpath_overrides_runpath+y}
                   19404: then :
                   19405:   printf %s "(cached) " >&6
                   19406: else case e in #(
                   19407:   e) lt_cv_shlibpath_overrides_runpath=no
1.128     moko     19408:     save_LDFLAGS=$LDFLAGS
                   19409:     save_libdir=$libdir
                   19410:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   19411:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150     moko     19412:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     19413: /* end confdefs.h.  */
                   19414: 
                   19415: int
1.237     moko     19416: main (void)
1.128     moko     19417: {
                   19418: 
                   19419:   ;
                   19420:   return 0;
                   19421: }
                   19422: _ACEOF
1.237     moko     19423: if ac_fn_cxx_try_link "$LINENO"
                   19424: then :
                   19425:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
                   19426: then :
1.128     moko     19427:   lt_cv_shlibpath_overrides_runpath=yes
                   19428: fi
                   19429: fi
1.237     moko     19430: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     19431:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     19432:     LDFLAGS=$save_LDFLAGS
                   19433:     libdir=$save_libdir
1.237     moko     19434:      ;;
                   19435: esac
1.128     moko     19436: fi
                   19437: 
                   19438:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   19439: 
                   19440:   # This implies no fast_install, which is unacceptable.
                   19441:   # Some rework will be needed to allow for fast_install
                   19442:   # before this can be enabled.
                   19443:   hardcode_into_libs=yes
                   19444: 
1.237     moko     19445:   # Ideally, we could use ldconfig to report *all* directories which are
                   19446:   # searched for libraries, however this is still not possible.  Aside from not
                   19447:   # being certain /sbin/ldconfig is available, command
                   19448:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
                   19449:   # even though it is searched at run-time.  Try to do the best guess by
                   19450:   # appending ld.so.conf contents (and includes) to the search path.
1.128     moko     19451:   if test -f /etc/ld.so.conf; then
                   19452:     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' ' '`
                   19453:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   19454:   fi
                   19455: 
                   19456:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   19457:   # powerpc, because MkLinux only supported shared libraries with the
                   19458:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   19459:   # most powerpc-linux boxes support dynamic linking these days and
                   19460:   # people can always --disable-shared, the test was removed, and we
                   19461:   # assume the GNU/Linux dynamic linker is in use.
                   19462:   dynamic_linker='GNU/Linux ld.so'
                   19463:   ;;
                   19464: 
1.237     moko     19465: netbsdelf*-gnu)
                   19466:   version_type=linux
                   19467:   need_lib_prefix=no
                   19468:   need_version=no
                   19469:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19470:   soname_spec='$libname$release$shared_ext$major'
                   19471:   shlibpath_var=LD_LIBRARY_PATH
                   19472:   shlibpath_overrides_runpath=no
                   19473:   hardcode_into_libs=yes
                   19474:   dynamic_linker='NetBSD ld.elf_so'
                   19475:   ;;
                   19476: 
                   19477: netbsdelf*-gnu)
                   19478:   version_type=linux
                   19479:   need_lib_prefix=no
                   19480:   need_version=no
                   19481:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   19482:   soname_spec='${libname}${release}${shared_ext}$major'
                   19483:   shlibpath_var=LD_LIBRARY_PATH
                   19484:   shlibpath_overrides_runpath=no
                   19485:   hardcode_into_libs=yes
                   19486:   dynamic_linker='NetBSD ld.elf_so'
                   19487:   ;;
                   19488: 
1.128     moko     19489: netbsd*)
                   19490:   version_type=sunos
                   19491:   need_lib_prefix=no
                   19492:   need_version=no
                   19493:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.237     moko     19494:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     19495:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   19496:     dynamic_linker='NetBSD (a.out) ld.so'
                   19497:   else
1.237     moko     19498:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19499:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     19500:     dynamic_linker='NetBSD ld.elf_so'
                   19501:   fi
                   19502:   shlibpath_var=LD_LIBRARY_PATH
                   19503:   shlibpath_overrides_runpath=yes
                   19504:   hardcode_into_libs=yes
                   19505:   ;;
                   19506: 
1.237     moko     19507: *-mlibc)
                   19508:   version_type=linux # correct to gnu/linux during the next big refactor
                   19509:   need_lib_prefix=no
                   19510:   need_version=no
                   19511:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19512:   soname_spec='$libname$release$shared_ext$major'
                   19513:   dynamic_linker='mlibc ld.so'
                   19514:   shlibpath_var=LD_LIBRARY_PATH
                   19515:   shlibpath_overrides_runpath=no
                   19516:   hardcode_into_libs=yes
                   19517:   ;;
                   19518: 
1.128     moko     19519: newsos6)
                   19520:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     19521:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     19522:   shlibpath_var=LD_LIBRARY_PATH
                   19523:   shlibpath_overrides_runpath=yes
                   19524:   ;;
                   19525: 
                   19526: *nto* | *qnx*)
                   19527:   version_type=qnx
                   19528:   need_lib_prefix=no
                   19529:   need_version=no
1.237     moko     19530:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19531:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19532:   shlibpath_var=LD_LIBRARY_PATH
                   19533:   shlibpath_overrides_runpath=no
                   19534:   hardcode_into_libs=yes
                   19535:   dynamic_linker='ldqnx.so'
                   19536:   ;;
                   19537: 
                   19538: openbsd*)
                   19539:   version_type=sunos
1.237     moko     19540:   sys_lib_dlsearch_path_spec=/usr/lib
1.128     moko     19541:   need_lib_prefix=no
1.237     moko     19542:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
                   19543:     need_version=no
                   19544:   else
                   19545:     need_version=yes
                   19546:   fi
                   19547:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     19548:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   19549:   shlibpath_var=LD_LIBRARY_PATH
1.237     moko     19550:   shlibpath_overrides_runpath=yes
1.128     moko     19551:   ;;
                   19552: 
                   19553: os2*)
                   19554:   libname_spec='$name'
1.237     moko     19555:   version_type=windows
                   19556:   shrext_cmds=.dll
                   19557:   need_version=no
1.128     moko     19558:   need_lib_prefix=no
1.237     moko     19559:   # OS/2 can only load a DLL with a base name of 8 characters or less.
                   19560:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
                   19561:     v=$($ECHO $release$versuffix | tr -d .-);
                   19562:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
                   19563:     $ECHO $n$v`$shared_ext'
                   19564:   library_names_spec='${libname}_dll.$libext'
1.128     moko     19565:   dynamic_linker='OS/2 ld.exe'
1.237     moko     19566:   shlibpath_var=BEGINLIBPATH
                   19567:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   19568:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   19569:   postinstall_cmds='base_file=`basename \$file`~
                   19570:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
                   19571:     dldir=$destdir/`dirname \$dlpath`~
                   19572:     test -d \$dldir || mkdir -p \$dldir~
                   19573:     $install_prog $dir/$dlname \$dldir/$dlname~
                   19574:     chmod a+x \$dldir/$dlname~
                   19575:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   19576:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   19577:     fi'
                   19578:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
                   19579:     dlpath=$dir/\$dldll~
                   19580:     $RM \$dlpath'
1.128     moko     19581:   ;;
                   19582: 
                   19583: osf3* | osf4* | osf5*)
                   19584:   version_type=osf
                   19585:   need_lib_prefix=no
                   19586:   need_version=no
1.237     moko     19587:   soname_spec='$libname$release$shared_ext$major'
                   19588:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     19589:   shlibpath_var=LD_LIBRARY_PATH
                   19590:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.237     moko     19591:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.128     moko     19592:   ;;
                   19593: 
                   19594: rdos*)
                   19595:   dynamic_linker=no
                   19596:   ;;
                   19597: 
1.237     moko     19598: serenity*)
                   19599:   version_type=linux # correct to gnu/linux during the next big refactor
                   19600:   need_lib_prefix=no
                   19601:   need_version=no
                   19602:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19603:   soname_spec='$libname$release$shared_ext$major'
                   19604:   shlibpath_var=LD_LIBRARY_PATH
                   19605:   shlibpath_overrides_runpath=no
                   19606:   dynamic_linker='SerenityOS LibELF'
                   19607:   ;;
                   19608: 
1.128     moko     19609: solaris*)
                   19610:   version_type=linux # correct to gnu/linux during the next big refactor
                   19611:   need_lib_prefix=no
                   19612:   need_version=no
1.237     moko     19613:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19614:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19615:   shlibpath_var=LD_LIBRARY_PATH
                   19616:   shlibpath_overrides_runpath=yes
                   19617:   hardcode_into_libs=yes
                   19618:   # ldd complains unless libraries are executable
                   19619:   postinstall_cmds='chmod +x $lib'
                   19620:   ;;
                   19621: 
                   19622: sunos4*)
                   19623:   version_type=sunos
1.237     moko     19624:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     19625:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   19626:   shlibpath_var=LD_LIBRARY_PATH
                   19627:   shlibpath_overrides_runpath=yes
1.237     moko     19628:   if test yes = "$with_gnu_ld"; then
1.128     moko     19629:     need_lib_prefix=no
                   19630:   fi
                   19631:   need_version=yes
                   19632:   ;;
                   19633: 
                   19634: sysv4 | sysv4.3*)
                   19635:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     19636:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19637:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19638:   shlibpath_var=LD_LIBRARY_PATH
                   19639:   case $host_vendor in
                   19640:     sni)
                   19641:       shlibpath_overrides_runpath=no
                   19642:       need_lib_prefix=no
                   19643:       runpath_var=LD_RUN_PATH
1.237     moko     19644:       ;;
                   19645:     siemens)
                   19646:       need_lib_prefix=no
                   19647:       ;;
                   19648:     motorola)
                   19649:       need_lib_prefix=no
                   19650:       need_version=no
                   19651:       shlibpath_overrides_runpath=no
                   19652:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   19653:       ;;
                   19654:   esac
                   19655:   ;;
                   19656: 
                   19657: sysv4*MP*)
                   19658:   if test -d /usr/nec; then
                   19659:     version_type=linux # correct to gnu/linux during the next big refactor
                   19660:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
                   19661:     soname_spec='$libname$shared_ext.$major'
                   19662:     shlibpath_var=LD_LIBRARY_PATH
                   19663:   fi
                   19664:   ;;
                   19665: 
                   19666: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   19667:   version_type=sco
                   19668:   need_lib_prefix=no
                   19669:   need_version=no
                   19670:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
                   19671:   soname_spec='$libname$release$shared_ext$major'
                   19672:   shlibpath_var=LD_LIBRARY_PATH
                   19673:   shlibpath_overrides_runpath=yes
                   19674:   hardcode_into_libs=yes
                   19675:   if test yes = "$with_gnu_ld"; then
                   19676:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   19677:   else
                   19678:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   19679:     case $host_os in
                   19680:       sco3.2v5*)
                   19681:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   19682:        ;;
                   19683:     esac
                   19684:   fi
                   19685:   sys_lib_dlsearch_path_spec='/usr/lib'
                   19686:   ;;
                   19687: 
                   19688: tpf*)
                   19689:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   19690:   version_type=linux # correct to gnu/linux during the next big refactor
                   19691:   need_lib_prefix=no
                   19692:   need_version=no
                   19693:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19694:   shlibpath_var=LD_LIBRARY_PATH
                   19695:   shlibpath_overrides_runpath=no
                   19696:   hardcode_into_libs=yes
                   19697:   ;;
                   19698: 
                   19699: uts4*)
                   19700:   version_type=linux # correct to gnu/linux during the next big refactor
                   19701:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19702:   soname_spec='$libname$release$shared_ext$major'
                   19703:   shlibpath_var=LD_LIBRARY_PATH
                   19704:   ;;
                   19705: 
                   19706: emscripten*)
                   19707:   version_type=none
                   19708:   need_lib_prefix=no
                   19709:   need_version=no
                   19710:   library_names_spec='$libname$release$shared_ext'
                   19711:   soname_spec='$libname$release$shared_ext'
                   19712:   finish_cmds=
                   19713:   dynamic_linker="Emscripten linker"
                   19714:   lt_prog_compiler_wl_CXX=
                   19715: lt_prog_compiler_pic_CXX=
                   19716: lt_prog_compiler_static_CXX=
                   19717: 
                   19718: 
                   19719:   # C++ specific cases for pic, static, wl, etc.
                   19720:   if test yes = "$GXX"; then
                   19721:     lt_prog_compiler_wl_CXX='-Wl,'
                   19722:     lt_prog_compiler_static_CXX='-static'
                   19723: 
                   19724:     case $host_os in
                   19725:     aix*)
                   19726:       # All AIX code is PIC.
                   19727:       if test ia64 = "$host_cpu"; then
                   19728:        # AIX 5 now supports IA64 processor
                   19729:        lt_prog_compiler_static_CXX='-Bstatic'
                   19730:       fi
                   19731:       lt_prog_compiler_pic_CXX='-fPIC'
                   19732:       ;;
                   19733: 
                   19734:     amigaos*)
                   19735:       case $host_cpu in
                   19736:       powerpc)
                   19737:             # see comment about AmigaOS4 .so support
                   19738:             lt_prog_compiler_pic_CXX='-fPIC'
                   19739:         ;;
                   19740:       m68k)
                   19741:             # FIXME: we need at least 68020 code to build shared libraries, but
                   19742:             # adding the '-m68020' flag to GCC prevents building anything better,
                   19743:             # like '-m68040'.
                   19744:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   19745:         ;;
                   19746:       esac
                   19747:       ;;
                   19748: 
                   19749:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   19750:       # PIC is the default for these OSes.
                   19751:       ;;
                   19752:     mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
                   19753:       # This hack is so that the source file can tell whether it is being
                   19754:       # built for inclusion in a dll (and should export symbols for example).
                   19755:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   19756:       # (--disable-auto-import) libraries
                   19757:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   19758:       case $host_os in
                   19759:       os2*)
                   19760:        lt_prog_compiler_static_CXX='$wl-static'
                   19761:        ;;
                   19762:       esac
                   19763:       ;;
                   19764:     darwin* | rhapsody*)
                   19765:       # PIC is the default on this platform
                   19766:       # Common symbols not allowed in MH_DYLIB files
                   19767:       lt_prog_compiler_pic_CXX='-fno-common'
                   19768:       ;;
                   19769:     *djgpp*)
                   19770:       # DJGPP does not support shared libraries at all
                   19771:       lt_prog_compiler_pic_CXX=
                   19772:       ;;
                   19773:     haiku*)
                   19774:       # PIC is the default for Haiku.
                   19775:       # The "-static" flag exists, but is broken.
                   19776:       lt_prog_compiler_static_CXX=
                   19777:       ;;
                   19778:     interix[3-9]*)
                   19779:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   19780:       # Instead, we relocate shared libraries at runtime.
                   19781:       ;;
                   19782:     sysv4*MP*)
                   19783:       if test -d /usr/nec; then
                   19784:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   19785:       fi
                   19786:       ;;
                   19787:     hpux*)
                   19788:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   19789:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   19790:       # sets the default TLS model and affects inlining.
                   19791:       case $host_cpu in
                   19792:       hppa*64*)
                   19793:        ;;
                   19794:       *)
                   19795:        lt_prog_compiler_pic_CXX='-fPIC'
                   19796:        ;;
                   19797:       esac
                   19798:       ;;
                   19799:     *qnx* | *nto*)
                   19800:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   19801:       # it will coredump.
                   19802:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   19803:       ;;
                   19804:     *)
                   19805:       lt_prog_compiler_pic_CXX='-fPIC'
                   19806:       ;;
                   19807:     esac
                   19808:   else
                   19809:     case $host_os in
                   19810:       aix[4-9]*)
                   19811:        # All AIX code is PIC.
                   19812:        if test ia64 = "$host_cpu"; then
                   19813:          # AIX 5 now supports IA64 processor
                   19814:          lt_prog_compiler_static_CXX='-Bstatic'
                   19815:        else
                   19816:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   19817:        fi
                   19818:        ;;
                   19819:       chorus*)
                   19820:        case $cc_basename in
                   19821:        cxch68*)
                   19822:          # Green Hills C++ Compiler
                   19823:          # _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"
                   19824:          ;;
                   19825:        esac
                   19826:        ;;
                   19827:       mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
                   19828:        # This hack is so that the source file can tell whether it is being
                   19829:        # built for inclusion in a dll (and should export symbols for example).
                   19830:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   19831:        ;;
                   19832:       dgux*)
                   19833:        case $cc_basename in
                   19834:          ec++*)
                   19835:            lt_prog_compiler_pic_CXX='-KPIC'
                   19836:            ;;
                   19837:          ghcx*)
                   19838:            # Green Hills C++ Compiler
                   19839:            lt_prog_compiler_pic_CXX='-pic'
                   19840:            ;;
                   19841:          *)
                   19842:            ;;
                   19843:        esac
                   19844:        ;;
                   19845:       freebsd* | dragonfly* | midnightbsd*)
                   19846:        # FreeBSD uses GNU C++
                   19847:        ;;
                   19848:       hpux9* | hpux10* | hpux11*)
                   19849:        case $cc_basename in
                   19850:          CC*)
                   19851:            lt_prog_compiler_wl_CXX='-Wl,'
                   19852:            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
                   19853:            if test ia64 != "$host_cpu"; then
                   19854:              lt_prog_compiler_pic_CXX='+Z'
                   19855:            fi
                   19856:            ;;
                   19857:          aCC*)
                   19858:            lt_prog_compiler_wl_CXX='-Wl,'
                   19859:            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
                   19860:            case $host_cpu in
                   19861:            hppa*64*|ia64*)
                   19862:              # +Z the default
                   19863:              ;;
                   19864:            *)
                   19865:              lt_prog_compiler_pic_CXX='+Z'
                   19866:              ;;
                   19867:            esac
                   19868:            ;;
                   19869:          *)
                   19870:            ;;
                   19871:        esac
                   19872:        ;;
                   19873:       interix*)
                   19874:        # This is c89, which is MS Visual C++ (no shared libs)
                   19875:        # Anyone wants to do a port?
                   19876:        ;;
                   19877:       irix5* | irix6* | nonstopux*)
                   19878:        case $cc_basename in
                   19879:          CC*)
                   19880:            lt_prog_compiler_wl_CXX='-Wl,'
                   19881:            lt_prog_compiler_static_CXX='-non_shared'
                   19882:            # CC pic flag -KPIC is the default.
                   19883:            ;;
                   19884:          *)
                   19885:            ;;
                   19886:        esac
                   19887:        ;;
                   19888:       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
                   19889:        case $cc_basename in
                   19890:          KCC*)
                   19891:            # KAI C++ Compiler
                   19892:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   19893:            lt_prog_compiler_pic_CXX='-fPIC'
                   19894:            ;;
                   19895:          ecpc* )
                   19896:            # old Intel C++ for x86_64, which still supported -KPIC.
                   19897:            lt_prog_compiler_wl_CXX='-Wl,'
                   19898:            lt_prog_compiler_pic_CXX='-KPIC'
                   19899:            lt_prog_compiler_static_CXX='-static'
                   19900:            ;;
                   19901:          icpc* )
                   19902:            # Intel C++, used to be incompatible with GCC.
                   19903:            # ICC 10 doesn't accept -KPIC any more.
                   19904:            lt_prog_compiler_wl_CXX='-Wl,'
                   19905:            lt_prog_compiler_pic_CXX='-fPIC'
                   19906:            lt_prog_compiler_static_CXX='-static'
                   19907:            ;;
                   19908:          pgCC* | pgcpp*)
                   19909:            # Portland Group C++ compiler
                   19910:            lt_prog_compiler_wl_CXX='-Wl,'
                   19911:            lt_prog_compiler_pic_CXX='-fpic'
                   19912:            lt_prog_compiler_static_CXX='-Bstatic'
                   19913:            ;;
                   19914:          cxx*)
                   19915:            # Compaq C++
                   19916:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   19917:            # Linux and Compaq Tru64 Unix objects are PIC.
                   19918:            lt_prog_compiler_pic_CXX=
                   19919:            lt_prog_compiler_static_CXX='-non_shared'
                   19920:            ;;
                   19921:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   19922:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   19923:            lt_prog_compiler_wl_CXX='-Wl,'
                   19924:            lt_prog_compiler_pic_CXX='-qpic'
                   19925:            lt_prog_compiler_static_CXX='-qstaticlink'
                   19926:            ;;
                   19927:          *)
                   19928:            case `$CC -V 2>&1 | $SED 5q` in
                   19929:            *Sun\ C*)
                   19930:              # Sun C++ 5.9
                   19931:              lt_prog_compiler_pic_CXX='-KPIC'
                   19932:              lt_prog_compiler_static_CXX='-Bstatic'
                   19933:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   19934:              ;;
                   19935:            esac
                   19936:            ;;
                   19937:        esac
                   19938:        ;;
                   19939:       lynxos*)
                   19940:        ;;
                   19941:       m88k*)
                   19942:        ;;
                   19943:       mvs*)
                   19944:        case $cc_basename in
                   19945:          cxx*)
                   19946:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   19947:            ;;
                   19948:          *)
                   19949:            ;;
                   19950:        esac
                   19951:        ;;
                   19952:       netbsd* | netbsdelf*-gnu)
                   19953:        ;;
                   19954:       *-mlibc)
                   19955:        ;;
                   19956:       *qnx* | *nto*)
                   19957:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   19958:         # it will coredump.
                   19959:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   19960:         ;;
                   19961:       osf3* | osf4* | osf5*)
                   19962:        case $cc_basename in
                   19963:          KCC*)
                   19964:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   19965:            ;;
                   19966:          RCC*)
                   19967:            # Rational C++ 2.4.1
                   19968:            lt_prog_compiler_pic_CXX='-pic'
                   19969:            ;;
                   19970:          cxx*)
                   19971:            # Digital/Compaq C++
                   19972:            lt_prog_compiler_wl_CXX='-Wl,'
                   19973:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   19974:            # Linux and Compaq Tru64 Unix objects are PIC.
                   19975:            lt_prog_compiler_pic_CXX=
                   19976:            lt_prog_compiler_static_CXX='-non_shared'
                   19977:            ;;
                   19978:          *)
                   19979:            ;;
                   19980:        esac
                   19981:        ;;
                   19982:       psos*)
                   19983:        ;;
                   19984:       serenity*)
                   19985:         ;;
                   19986:       solaris*)
                   19987:        case $cc_basename in
                   19988:          CC* | sunCC*)
                   19989:            # Sun C++ 4.2, 5.x and Centerline C++
                   19990:            lt_prog_compiler_pic_CXX='-KPIC'
                   19991:            lt_prog_compiler_static_CXX='-Bstatic'
                   19992:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   19993:            ;;
                   19994:          gcx*)
                   19995:            # Green Hills C++ Compiler
                   19996:            lt_prog_compiler_pic_CXX='-PIC'
                   19997:            ;;
                   19998:          *)
                   19999:            ;;
                   20000:        esac
                   20001:        ;;
                   20002:       sunos4*)
                   20003:        case $cc_basename in
                   20004:          CC*)
                   20005:            # Sun C++ 4.x
                   20006:            lt_prog_compiler_pic_CXX='-pic'
                   20007:            lt_prog_compiler_static_CXX='-Bstatic'
                   20008:            ;;
                   20009:          lcc*)
                   20010:            # Lucid
                   20011:            lt_prog_compiler_pic_CXX='-pic'
                   20012:            ;;
                   20013:          *)
                   20014:            ;;
                   20015:        esac
                   20016:        ;;
                   20017:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   20018:        case $cc_basename in
                   20019:          CC*)
                   20020:            lt_prog_compiler_wl_CXX='-Wl,'
                   20021:            lt_prog_compiler_pic_CXX='-KPIC'
                   20022:            lt_prog_compiler_static_CXX='-Bstatic'
                   20023:            ;;
                   20024:        esac
                   20025:        ;;
                   20026:       tandem*)
                   20027:        case $cc_basename in
                   20028:          NCC*)
                   20029:            # NonStop-UX NCC 3.20
                   20030:            lt_prog_compiler_pic_CXX='-KPIC'
                   20031:            ;;
                   20032:          *)
                   20033:            ;;
                   20034:        esac
                   20035:        ;;
                   20036:       vxworks*)
                   20037:        ;;
                   20038:       *)
                   20039:        lt_prog_compiler_can_build_shared_CXX=no
                   20040:        ;;
                   20041:     esac
                   20042:   fi
                   20043: 
                   20044: case $host_os in
                   20045:   # For platforms that do not support PIC, -DPIC is meaningless:
                   20046:   *djgpp*)
                   20047:     lt_prog_compiler_pic_CXX=
                   20048:     ;;
                   20049:   *)
                   20050:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   20051:     ;;
                   20052: esac
                   20053: 
                   20054: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   20055: printf %s "checking for $compiler option to produce PIC... " >&6; }
                   20056: if test ${lt_cv_prog_compiler_pic_CXX+y}
                   20057: then :
                   20058:   printf %s "(cached) " >&6
                   20059: else case e in #(
                   20060:   e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
                   20061: esac
                   20062: fi
                   20063: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   20064: printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
                   20065: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   20066: 
                   20067: #
                   20068: # Check to make sure the PIC flag actually works.
                   20069: #
                   20070: if test -n "$lt_prog_compiler_pic_CXX"; then
                   20071:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   20072: printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   20073: if test ${lt_cv_prog_compiler_pic_works_CXX+y}
                   20074: then :
                   20075:   printf %s "(cached) " >&6
                   20076: else case e in #(
                   20077:   e) lt_cv_prog_compiler_pic_works_CXX=no
                   20078:    ac_outfile=conftest.$ac_objext
                   20079:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   20080:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
                   20081:    # Insert the option either (1) after the last *FLAGS variable, or
                   20082:    # (2) before a word containing "conftest.", or (3) at the end.
                   20083:    # Note that $ac_compile itself does not contain backslashes and begins
                   20084:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   20085:    # The option is referenced via a variable to avoid confusing sed.
                   20086:    lt_compile=`echo "$ac_compile" | $SED \
                   20087:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   20088:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   20089:    -e 's:$: $lt_compiler_flag:'`
                   20090:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   20091:    (eval "$lt_compile" 2>conftest.err)
                   20092:    ac_status=$?
                   20093:    cat conftest.err >&5
                   20094:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   20095:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   20096:      # The compiler can only warn and ignore the option if not recognized
                   20097:      # So say no if there are warnings other than the usual output.
                   20098:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   20099:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   20100:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   20101:        lt_cv_prog_compiler_pic_works_CXX=yes
                   20102:      fi
                   20103:    fi
                   20104:    $RM conftest*
                   20105:  ;;
                   20106: esac
                   20107: fi
                   20108: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   20109: printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
                   20110: 
                   20111: if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
                   20112:     case $lt_prog_compiler_pic_CXX in
                   20113:      "" | " "*) ;;
                   20114:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   20115:      esac
                   20116: else
                   20117:     lt_prog_compiler_pic_CXX=
                   20118:      lt_prog_compiler_can_build_shared_CXX=no
                   20119: fi
                   20120: 
                   20121: fi
                   20122: 
                   20123: 
                   20124: 
                   20125: 
                   20126: 
                   20127: #
                   20128: # Check to make sure the static flag actually works.
                   20129: #
                   20130: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
                   20131: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   20132: printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   20133: if test ${lt_cv_prog_compiler_static_works_CXX+y}
                   20134: then :
                   20135:   printf %s "(cached) " >&6
                   20136: else case e in #(
                   20137:   e) lt_cv_prog_compiler_static_works_CXX=no
                   20138:    save_LDFLAGS=$LDFLAGS
                   20139:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   20140:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   20141:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   20142:      # The linker can only warn and ignore the option if not recognized
                   20143:      # So say no if there are warnings
                   20144:      if test -s conftest.err; then
                   20145:        # Append any errors to the config.log.
                   20146:        cat conftest.err 1>&5
                   20147:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   20148:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   20149:        if diff conftest.exp conftest.er2 >/dev/null; then
                   20150:          lt_cv_prog_compiler_static_works_CXX=yes
                   20151:        fi
                   20152:      else
                   20153:        lt_cv_prog_compiler_static_works_CXX=yes
                   20154:      fi
                   20155:    fi
                   20156:    $RM -r conftest*
                   20157:    LDFLAGS=$save_LDFLAGS
                   20158:  ;;
                   20159: esac
                   20160: fi
                   20161: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   20162: printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     20163: 
1.237     moko     20164: if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
                   20165:     :
                   20166: else
                   20167:     lt_prog_compiler_static_CXX=
                   20168: fi
1.128     moko     20169: 
                   20170: 
                   20171: 
1.237     moko     20172: ='-fPIC'
                   20173:   archive_cmds_CXX='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
                   20174:   archive_expsym_cmds_CXX='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym'
                   20175:   archive_cmds_need_lc_CXX=no
                   20176:   no_undefined_flag_CXX=
1.128     moko     20177:   ;;
                   20178: 
                   20179: *)
                   20180:   dynamic_linker=no
                   20181:   ;;
                   20182: esac
1.237     moko     20183: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   20184: printf "%s\n" "$dynamic_linker" >&6; }
                   20185: test no = "$dynamic_linker" && can_build_shared=no
1.128     moko     20186: 
                   20187: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.237     moko     20188: if test yes = "$GCC"; then
1.128     moko     20189:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   20190: fi
                   20191: 
1.237     moko     20192: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
                   20193:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
1.128     moko     20194: fi
1.237     moko     20195: 
                   20196: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
                   20197:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
1.128     moko     20198: fi
                   20199: 
1.237     moko     20200: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
                   20201: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
                   20202: 
                   20203: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
                   20204: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
                   20205: 
                   20206: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
                   20207: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
1.128     moko     20208: 
                   20209: 
                   20210: 
                   20211: 
                   20212: 
                   20213: 
                   20214: 
                   20215: 
                   20216: 
                   20217: 
                   20218: 
                   20219: 
                   20220: 
                   20221: 
                   20222: 
                   20223: 
                   20224: 
                   20225: 
                   20226: 
                   20227: 
                   20228: 
                   20229: 
                   20230: 
                   20231: 
                   20232: 
                   20233: 
                   20234: 
                   20235: 
                   20236: 
                   20237: 
                   20238: 
                   20239: 
                   20240: 
                   20241: 
                   20242: 
                   20243: 
                   20244: 
1.237     moko     20245: 
                   20246: 
                   20247: 
                   20248:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   20249: printf %s "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     20250: hardcode_action_CXX=
                   20251: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   20252:    test -n "$runpath_var_CXX" ||
1.237     moko     20253:    test yes = "$hardcode_automatic_CXX"; then
1.128     moko     20254: 
                   20255:   # We can hardcode non-existent directories.
1.237     moko     20256:   if test no != "$hardcode_direct_CXX" &&
1.128     moko     20257:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   20258:      # have to relink, otherwise we might link with an installed library
                   20259:      # when we should be linking with a yet-to-be-installed one
1.237     moko     20260:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
                   20261:      test no != "$hardcode_minus_L_CXX"; then
1.128     moko     20262:     # Linking always hardcodes the temporary library directory.
                   20263:     hardcode_action_CXX=relink
                   20264:   else
                   20265:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   20266:     hardcode_action_CXX=immediate
                   20267:   fi
                   20268: else
                   20269:   # We cannot hardcode anything, or else we can only hardcode existing
                   20270:   # directories.
                   20271:   hardcode_action_CXX=unsupported
                   20272: fi
1.237     moko     20273: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   20274: printf "%s\n" "$hardcode_action_CXX" >&6; }
1.128     moko     20275: 
1.237     moko     20276: if test relink = "$hardcode_action_CXX" ||
                   20277:    test yes = "$inherit_rpath_CXX"; then
1.128     moko     20278:   # Fast installation is not supported
                   20279:   enable_fast_install=no
1.237     moko     20280: elif test yes = "$shlibpath_overrides_runpath" ||
                   20281:      test no = "$enable_shared"; then
1.128     moko     20282:   # Fast installation is not necessary
                   20283:   enable_fast_install=needless
                   20284: fi
                   20285: 
                   20286: 
                   20287: 
                   20288: 
                   20289: 
                   20290: 
                   20291: 
                   20292:   fi # test -n "$compiler"
                   20293: 
                   20294:   CC=$lt_save_CC
                   20295:   CFLAGS=$lt_save_CFLAGS
                   20296:   LDCXX=$LD
                   20297:   LD=$lt_save_LD
                   20298:   GCC=$lt_save_GCC
                   20299:   with_gnu_ld=$lt_save_with_gnu_ld
                   20300:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   20301:   lt_cv_path_LD=$lt_save_path_LD
                   20302:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   20303:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
1.237     moko     20304: fi # test yes != "$_lt_caught_CXX_error"
1.128     moko     20305: 
                   20306: ac_ext=c
                   20307: ac_cpp='$CPP $CPPFLAGS'
                   20308: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   20309: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   20310: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   20311: 
                   20312: 
                   20313: 
                   20314: 
                   20315: 
                   20316: 
                   20317: 
                   20318: 
                   20319: 
                   20320: 
                   20321: 
                   20322: 
                   20323: 
                   20324: 
                   20325: 
1.150     moko     20326:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     20327: 
                   20328: 
                   20329: 
                   20330: 
                   20331: # Only expand once:
                   20332: 
                   20333: 
1.237     moko     20334: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
                   20335: printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
                   20336: if test ${ac_cv_c_undeclared_builtin_options+y}
                   20337: then :
                   20338:   printf %s "(cached) " >&6
                   20339: else case e in #(
                   20340:   e) ac_save_CFLAGS=$CFLAGS
                   20341:    ac_cv_c_undeclared_builtin_options='cannot detect'
                   20342:    for ac_arg in '' -fno-builtin; do
                   20343:      CFLAGS="$ac_save_CFLAGS $ac_arg"
                   20344:      # This test program should *not* compile successfully.
                   20345:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20346: /* end confdefs.h.  */
                   20347: 
                   20348: int
                   20349: main (void)
                   20350: {
                   20351: (void) strchr;
                   20352:   ;
                   20353:   return 0;
                   20354: }
                   20355: _ACEOF
                   20356: if ac_fn_c_try_compile "$LINENO"
                   20357: then :
                   20358: 
                   20359: else case e in #(
                   20360:   e) # This test program should compile successfully.
                   20361:         # No library function is consistently available on
                   20362:         # freestanding implementations, so test against a dummy
                   20363:         # declaration.  Include always-available headers on the
                   20364:         # off chance that they somehow elicit warnings.
                   20365:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20366: /* end confdefs.h.  */
                   20367: #include <float.h>
                   20368: #include <limits.h>
                   20369: #include <stdarg.h>
                   20370: #include <stddef.h>
                   20371: extern void ac_decl (int, char *);
                   20372: 
                   20373: int
                   20374: main (void)
                   20375: {
                   20376: (void) ac_decl (0, (char *) 0);
                   20377:   (void) ac_decl;
                   20378: 
                   20379:   ;
                   20380:   return 0;
                   20381: }
                   20382: _ACEOF
                   20383: if ac_fn_c_try_compile "$LINENO"
                   20384: then :
                   20385:   if test x"$ac_arg" = x
                   20386: then :
                   20387:   ac_cv_c_undeclared_builtin_options='none needed'
                   20388: else case e in #(
                   20389:   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
                   20390: esac
                   20391: fi
                   20392:           break
                   20393: fi
                   20394: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   20395: esac
                   20396: fi
                   20397: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   20398:     done
                   20399:     CFLAGS=$ac_save_CFLAGS
                   20400:    ;;
                   20401: esac
                   20402: fi
                   20403: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
                   20404: printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
                   20405:   case $ac_cv_c_undeclared_builtin_options in #(
                   20406:   'cannot detect') :
                   20407:     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   20408: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
                   20409: as_fn_error $? "cannot make $CC report undeclared builtins
                   20410: See 'config.log' for more details" "$LINENO" 5; } ;; #(
                   20411:   'none needed') :
                   20412:     ac_c_undeclared_builtin_options='' ;; #(
                   20413:   *) :
                   20414:     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
                   20415: esac
1.128     moko     20416: 
1.237     moko     20417: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
                   20418: printf %s "checking what extension is used for runtime loadable modules... " >&6; }
                   20419: if test ${libltdl_cv_shlibext+y}
                   20420: then :
                   20421:   printf %s "(cached) " >&6
                   20422: else case e in #(
                   20423:   e)
1.128     moko     20424: module=yes
                   20425: eval libltdl_cv_shlibext=$shrext_cmds
                   20426: module=no
                   20427: eval libltdl_cv_shrext=$shrext_cmds
1.237     moko     20428:    ;;
                   20429: esac
1.128     moko     20430: fi
1.237     moko     20431: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   20432: printf "%s\n" "$libltdl_cv_shlibext" >&6; }
1.128     moko     20433: if test -n "$libltdl_cv_shlibext"; then
                   20434: 
1.237     moko     20435: printf "%s\n" "#define LT_MODULE_EXT \"$libltdl_cv_shlibext\"" >>confdefs.h
1.128     moko     20436: 
                   20437: fi
                   20438: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   20439: 
1.237     moko     20440: printf "%s\n" "#define LT_SHARED_EXT \"$libltdl_cv_shrext\"" >>confdefs.h
                   20441: 
                   20442: fi
                   20443: if test -n "$shared_archive_member_spec"; then
                   20444: 
                   20445: printf "%s\n" "#define LT_SHARED_LIB_MEMBER \"($shared_archive_member_spec.o)\"" >>confdefs.h
1.128     moko     20446: 
                   20447: fi
                   20448: 
1.237     moko     20449: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
                   20450: printf %s "checking what variable specifies run-time module search path... " >&6; }
                   20451: if test ${lt_cv_module_path_var+y}
                   20452: then :
                   20453:   printf %s "(cached) " >&6
                   20454: else case e in #(
                   20455:   e) lt_cv_module_path_var=$shlibpath_var ;;
                   20456: esac
1.128     moko     20457: fi
1.237     moko     20458: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   20459: printf "%s\n" "$lt_cv_module_path_var" >&6; }
1.128     moko     20460: if test -n "$lt_cv_module_path_var"; then
                   20461: 
1.237     moko     20462: printf "%s\n" "#define LT_MODULE_PATH_VAR \"$lt_cv_module_path_var\"" >>confdefs.h
1.128     moko     20463: 
                   20464: fi
                   20465: 
1.237     moko     20466: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   20467: printf %s "checking for the default library search path... " >&6; }
                   20468: if test ${lt_cv_sys_dlsearch_path+y}
                   20469: then :
                   20470:   printf %s "(cached) " >&6
                   20471: else case e in #(
                   20472:   e) lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec ;;
                   20473: esac
1.128     moko     20474: fi
1.237     moko     20475: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   20476: printf "%s\n" "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     20477: if test -n "$lt_cv_sys_dlsearch_path"; then
                   20478:   sys_dlsearch_path=
                   20479:   for dir in $lt_cv_sys_dlsearch_path; do
                   20480:     if test -z "$sys_dlsearch_path"; then
1.237     moko     20481:       sys_dlsearch_path=$dir
1.128     moko     20482:     else
1.237     moko     20483:       sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
1.128     moko     20484:     fi
                   20485:   done
                   20486: 
1.237     moko     20487: printf "%s\n" "#define LT_DLSEARCH_PATH \"$sys_dlsearch_path\"" >>confdefs.h
1.128     moko     20488: 
                   20489: fi
                   20490: 
                   20491: 
                   20492: LT_DLLOADERS=
                   20493: 
                   20494: 
                   20495: ac_ext=c
                   20496: ac_cpp='$CPP $CPPFLAGS'
                   20497: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   20498: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   20499: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   20500: 
1.237     moko     20501: lt_dlload_save_LIBS=$LIBS
1.128     moko     20502: 
                   20503: LIBADD_DLOPEN=
1.237     moko     20504: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   20505: printf %s "checking for library containing dlopen... " >&6; }
                   20506: if test ${ac_cv_search_dlopen+y}
                   20507: then :
                   20508:   printf %s "(cached) " >&6
                   20509: else case e in #(
                   20510:   e) ac_func_search_save_LIBS=$LIBS
1.150     moko     20511: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     20512: /* end confdefs.h.  */
                   20513: 
1.150     moko     20514: /* Override any GCC internal prototype to avoid an error.
                   20515:    Use char because int might match the return type of a GCC
1.237     moko     20516:    builtin and then its argument prototype would still apply.
                   20517:    The 'extern "C"' is for builds by C++ compilers;
                   20518:    although this is not generally supported in C code supporting it here
                   20519:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     20520: #ifdef __cplusplus
                   20521: extern "C"
                   20522: #endif
1.237     moko     20523: char dlopen (void);
1.128     moko     20524: int
1.237     moko     20525: main (void)
1.128     moko     20526: {
1.150     moko     20527: return dlopen ();
1.128     moko     20528:   ;
                   20529:   return 0;
                   20530: }
                   20531: _ACEOF
1.237     moko     20532: for ac_lib in '' dl
                   20533: do
1.150     moko     20534:   if test -z "$ac_lib"; then
                   20535:     ac_res="none required"
                   20536:   else
                   20537:     ac_res=-l$ac_lib
                   20538:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   20539:   fi
1.237     moko     20540:   if ac_fn_c_try_link "$LINENO"
                   20541: then :
1.150     moko     20542:   ac_cv_search_dlopen=$ac_res
                   20543: fi
1.237     moko     20544: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     20545:     conftest$ac_exeext
1.237     moko     20546:   if test ${ac_cv_search_dlopen+y}
                   20547: then :
1.150     moko     20548:   break
1.128     moko     20549: fi
1.150     moko     20550: done
1.237     moko     20551: if test ${ac_cv_search_dlopen+y}
                   20552: then :
1.128     moko     20553: 
1.237     moko     20554: else case e in #(
                   20555:   e) ac_cv_search_dlopen=no ;;
                   20556: esac
1.128     moko     20557: fi
1.150     moko     20558: rm conftest.$ac_ext
1.237     moko     20559: LIBS=$ac_func_search_save_LIBS ;;
                   20560: esac
1.128     moko     20561: fi
1.237     moko     20562: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   20563: printf "%s\n" "$ac_cv_search_dlopen" >&6; }
1.150     moko     20564: ac_res=$ac_cv_search_dlopen
1.237     moko     20565: if test "$ac_res" != no
                   20566: then :
1.150     moko     20567:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     20568: 
1.237     moko     20569: printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     20570: 
1.237     moko     20571:        if test "$ac_cv_search_dlopen" != "none required"; then
                   20572:          LIBADD_DLOPEN=-ldl
1.128     moko     20573:        fi
1.237     moko     20574:        libltdl_cv_lib_dl_dlopen=yes
1.128     moko     20575:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
1.237     moko     20576: else case e in #(
                   20577:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     20578: /* end confdefs.h.  */
                   20579: #if HAVE_DLFCN_H
                   20580: #  include <dlfcn.h>
                   20581: #endif
                   20582: 
                   20583: int
1.237     moko     20584: main (void)
1.128     moko     20585: {
                   20586: dlopen(0, 0);
                   20587:   ;
                   20588:   return 0;
                   20589: }
                   20590: _ACEOF
1.237     moko     20591: if ac_fn_c_try_link "$LINENO"
                   20592: then :
1.128     moko     20593: 
1.237     moko     20594: printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     20595: 
1.237     moko     20596:            libltdl_cv_func_dlopen=yes
1.128     moko     20597:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
1.237     moko     20598: else case e in #(
                   20599:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   20600: printf %s "checking for dlopen in -lsvld... " >&6; }
                   20601: if test ${ac_cv_lib_svld_dlopen+y}
                   20602: then :
                   20603:   printf %s "(cached) " >&6
                   20604: else case e in #(
                   20605:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     20606: LIBS="-lsvld  $LIBS"
1.150     moko     20607: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     20608: /* end confdefs.h.  */
                   20609: 
1.150     moko     20610: /* Override any GCC internal prototype to avoid an error.
                   20611:    Use char because int might match the return type of a GCC
1.237     moko     20612:    builtin and then its argument prototype would still apply.
                   20613:    The 'extern "C"' is for builds by C++ compilers;
                   20614:    although this is not generally supported in C code supporting it here
                   20615:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     20616: #ifdef __cplusplus
                   20617: extern "C"
                   20618: #endif
1.237     moko     20619: char dlopen (void);
1.128     moko     20620: int
1.237     moko     20621: main (void)
1.128     moko     20622: {
1.150     moko     20623: return dlopen ();
1.128     moko     20624:   ;
                   20625:   return 0;
                   20626: }
                   20627: _ACEOF
1.237     moko     20628: if ac_fn_c_try_link "$LINENO"
                   20629: then :
1.128     moko     20630:   ac_cv_lib_svld_dlopen=yes
1.237     moko     20631: else case e in #(
                   20632:   e) ac_cv_lib_svld_dlopen=no ;;
                   20633: esac
1.128     moko     20634: fi
1.237     moko     20635: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     20636:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     20637: LIBS=$ac_check_lib_save_LIBS ;;
                   20638: esac
1.128     moko     20639: fi
1.237     moko     20640: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   20641: printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
                   20642: if test "x$ac_cv_lib_svld_dlopen" = xyes
                   20643: then :
1.128     moko     20644: 
1.237     moko     20645: printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     20646: 
1.237     moko     20647:                LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
1.128     moko     20648:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   20649: fi
1.237     moko     20650:  ;;
                   20651: esac
1.128     moko     20652: fi
1.237     moko     20653: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   20654:     conftest$ac_exeext conftest.$ac_ext ;;
                   20655: esac
1.128     moko     20656: fi
                   20657: 
1.237     moko     20658: if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
1.128     moko     20659: then
1.237     moko     20660:   lt_save_LIBS=$LIBS
1.128     moko     20661:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150     moko     20662:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
1.237     moko     20663: if test "x$ac_cv_func_dlerror" = xyes
                   20664: then :
                   20665:   printf "%s\n" "#define HAVE_DLERROR 1" >>confdefs.h
1.128     moko     20666: 
                   20667: fi
                   20668: 
1.237     moko     20669:   LIBS=$lt_save_LIBS
1.128     moko     20670: fi
                   20671: 
                   20672: 
                   20673: LIBADD_SHL_LOAD=
1.150     moko     20674: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
1.237     moko     20675: if test "x$ac_cv_func_shl_load" = xyes
                   20676: then :
1.128     moko     20677: 
1.237     moko     20678: printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     20679: 
                   20680:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.237     moko     20681: else case e in #(
                   20682:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   20683: printf %s "checking for shl_load in -ldld... " >&6; }
                   20684: if test ${ac_cv_lib_dld_shl_load+y}
                   20685: then :
                   20686:   printf %s "(cached) " >&6
                   20687: else case e in #(
                   20688:   e) ac_check_lib_save_LIBS=$LIBS
1.66      paf      20689: LIBS="-ldld  $LIBS"
1.150     moko     20690: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      20691: /* end confdefs.h.  */
1.10      paf      20692: 
1.150     moko     20693: /* Override any GCC internal prototype to avoid an error.
                   20694:    Use char because int might match the return type of a GCC
1.237     moko     20695:    builtin and then its argument prototype would still apply.
                   20696:    The 'extern "C"' is for builds by C++ compilers;
                   20697:    although this is not generally supported in C code supporting it here
                   20698:    has little cost and some practical benefit (sr 110532).  */
1.66      paf      20699: #ifdef __cplusplus
                   20700: extern "C"
                   20701: #endif
1.237     moko     20702: char shl_load (void);
1.66      paf      20703: int
1.237     moko     20704: main (void)
1.66      paf      20705: {
1.150     moko     20706: return shl_load ();
1.66      paf      20707:   ;
                   20708:   return 0;
                   20709: }
                   20710: _ACEOF
1.237     moko     20711: if ac_fn_c_try_link "$LINENO"
                   20712: then :
1.66      paf      20713:   ac_cv_lib_dld_shl_load=yes
1.237     moko     20714: else case e in #(
                   20715:   e) ac_cv_lib_dld_shl_load=no ;;
                   20716: esac
1.66      paf      20717: fi
1.237     moko     20718: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     20719:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     20720: LIBS=$ac_check_lib_save_LIBS ;;
                   20721: esac
1.66      paf      20722: fi
1.237     moko     20723: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   20724: printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
                   20725: if test "x$ac_cv_lib_dld_shl_load" = xyes
                   20726: then :
1.1       paf      20727: 
1.237     moko     20728: printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      20729: 
1.128     moko     20730:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.237     moko     20731:            LIBADD_SHL_LOAD=-ldld
1.128     moko     20732: fi
1.237     moko     20733:  ;;
                   20734: esac
1.128     moko     20735: fi
                   20736: 
                   20737: 
                   20738: 
                   20739: case $host_os in
                   20740: darwin[1567].*)
                   20741: # We only want this for pre-Mac OS X 10.4.
1.150     moko     20742:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
1.237     moko     20743: if test "x$ac_cv_func__dyld_func_lookup" = xyes
                   20744: then :
1.150     moko     20745: 
1.237     moko     20746: printf "%s\n" "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     20747: 
1.150     moko     20748:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   20749: fi
1.128     moko     20750: 
1.150     moko     20751:   ;;
                   20752: beos*)
1.128     moko     20753:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   20754:   ;;
1.237     moko     20755: cygwin* | mingw* | windows* | pw32*)
                   20756:   ac_fn_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   20757: " "$ac_c_undeclared_builtin_options" "CFLAGS"
                   20758: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes
                   20759: then :
1.150     moko     20760:   ac_have_decl=1
1.237     moko     20761: else case e in #(
                   20762:   e) ac_have_decl=0 ;;
                   20763: esac
1.128     moko     20764: fi
1.237     moko     20765: printf "%s\n" "#define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl" >>confdefs.h
1.128     moko     20766: 
                   20767:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   20768:   ;;
                   20769: esac
                   20770: 
1.237     moko     20771: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   20772: printf %s "checking for dld_link in -ldld... " >&6; }
                   20773: if test ${ac_cv_lib_dld_dld_link+y}
                   20774: then :
                   20775:   printf %s "(cached) " >&6
                   20776: else case e in #(
                   20777:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     20778: LIBS="-ldld  $LIBS"
1.150     moko     20779: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      20780: /* end confdefs.h.  */
1.62      paf      20781: 
1.150     moko     20782: /* Override any GCC internal prototype to avoid an error.
                   20783:    Use char because int might match the return type of a GCC
1.237     moko     20784:    builtin and then its argument prototype would still apply.
                   20785:    The 'extern "C"' is for builds by C++ compilers;
                   20786:    although this is not generally supported in C code supporting it here
                   20787:    has little cost and some practical benefit (sr 110532).  */
1.66      paf      20788: #ifdef __cplusplus
                   20789: extern "C"
                   20790: #endif
1.237     moko     20791: char dld_link (void);
1.66      paf      20792: int
1.237     moko     20793: main (void)
1.66      paf      20794: {
1.150     moko     20795: return dld_link ();
1.66      paf      20796:   ;
                   20797:   return 0;
                   20798: }
                   20799: _ACEOF
1.237     moko     20800: if ac_fn_c_try_link "$LINENO"
                   20801: then :
1.128     moko     20802:   ac_cv_lib_dld_dld_link=yes
1.237     moko     20803: else case e in #(
                   20804:   e) ac_cv_lib_dld_dld_link=no ;;
                   20805: esac
1.128     moko     20806: fi
1.237     moko     20807: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     20808:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     20809: LIBS=$ac_check_lib_save_LIBS ;;
                   20810: esac
1.128     moko     20811: fi
1.237     moko     20812: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   20813: printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
                   20814: if test "x$ac_cv_lib_dld_dld_link" = xyes
                   20815: then :
1.128     moko     20816: 
1.237     moko     20817: printf "%s\n" "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     20818: 
                   20819:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   20820: fi
                   20821: 
                   20822: 
                   20823: 
                   20824: 
                   20825: LT_DLPREOPEN=
                   20826: if test -n "$LT_DLLOADERS"
                   20827: then
                   20828:   for lt_loader in $LT_DLLOADERS; do
                   20829:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   20830:   done
                   20831: 
1.237     moko     20832: printf "%s\n" "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     20833: 
                   20834: fi
                   20835: 
                   20836: 
                   20837: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   20838: 
                   20839: 
1.237     moko     20840: LIBS=$lt_dlload_save_LIBS
1.128     moko     20841: ac_ext=c
                   20842: ac_cpp='$CPP $CPPFLAGS'
                   20843: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   20844: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   20845: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   20846: 
                   20847: 
1.237     moko     20848: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   20849: printf %s "checking for _ prefix in compiled symbols... " >&6; }
                   20850: if test ${lt_cv_sys_symbol_underscore+y}
                   20851: then :
                   20852:   printf %s "(cached) " >&6
                   20853: else case e in #(
                   20854:   e) lt_cv_sys_symbol_underscore=no
1.128     moko     20855:   cat > conftest.$ac_ext <<_LT_EOF
                   20856: void nm_test_func(){}
1.237     moko     20857: int main(void){nm_test_func;return 0;}
1.128     moko     20858: _LT_EOF
1.150     moko     20859:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     20860:   (eval $ac_compile) 2>&5
                   20861:   ac_status=$?
1.237     moko     20862:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     20863:   test $ac_status = 0; }; then
1.128     moko     20864:     # Now try to grab the symbols.
                   20865:     ac_nlist=conftest.nm
1.150     moko     20866:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     20867:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   20868:   ac_status=$?
1.237     moko     20869:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     20870:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     20871:       # See whether the symbols have a leading underscore.
                   20872:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   20873:         lt_cv_sys_symbol_underscore=yes
                   20874:       else
                   20875:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   20876:          :
                   20877:         else
                   20878:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   20879:         fi
                   20880:       fi
                   20881:     else
                   20882:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   20883:     fi
                   20884:   else
                   20885:     echo "configure: failed program was:" >&5
                   20886:     cat conftest.c >&5
                   20887:   fi
                   20888:   rm -rf conftest*
1.237     moko     20889:    ;;
                   20890: esac
1.66      paf      20891: fi
1.237     moko     20892: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   20893: printf "%s\n" "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     20894:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      20895: 
1.62      paf      20896: 
1.237     moko     20897: if test yes = "$lt_cv_sys_symbol_underscore"; then
                   20898:   if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
                   20899:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   20900: printf %s "checking whether we have to add an underscore for dlsym... " >&6; }
                   20901: if test ${libltdl_cv_need_uscore+y}
                   20902: then :
                   20903:   printf %s "(cached) " >&6
                   20904: else case e in #(
                   20905:   e) libltdl_cv_need_uscore=unknown
                   20906:       dlsym_uscore_save_LIBS=$LIBS
                   20907:       LIBS="$LIBS $LIBADD_DLOPEN"
                   20908:       libname=conftmod # stay within 8.3 filename limits!
                   20909:       cat >$libname.$ac_ext <<_LT_EOF
1.128     moko     20910: #line $LINENO "configure"
                   20911: #include "confdefs.h"
1.237     moko     20912: /* When -fvisibility=hidden is used, assume the code has been annotated
                   20913:    correspondingly for the symbols needed.  */
                   20914: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   20915: int fnord () __attribute__((visibility("default")));
                   20916: #endif
                   20917: int fnord () { return 42; }
                   20918: _LT_EOF
1.128     moko     20919: 
1.237     moko     20920:       # ltfn_module_cmds module_cmds
                   20921:       # Execute tilde-delimited MODULE_CMDS with environment primed for
                   20922:       # $module_cmds or $archive_cmds type content.
                   20923:       ltfn_module_cmds ()
                   20924:       {( # subshell avoids polluting parent global environment
                   20925:           module_cmds_save_ifs=$IFS; IFS='~'
                   20926:           for cmd in $1; do
                   20927:             IFS=$module_cmds_save_ifs
                   20928:             libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
                   20929:             rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
                   20930:             major=; versuffix=; verstring=; deplibs=
                   20931:             ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
                   20932:             eval $cmd
                   20933:           done
                   20934:           IFS=$module_cmds_save_ifs
                   20935:       )}
                   20936: 
                   20937:       # Compile a loadable module using libtool macro expansion results.
                   20938:       $CC $pic_flag -c $libname.$ac_ext
                   20939:       ltfn_module_cmds "${module_cmds:-$archive_cmds}"
                   20940: 
                   20941:       # Try to fetch fnord with dlsym().
                   20942:       libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
                   20943:       cat >conftest.$ac_ext <<_LT_EOF
                   20944: #line $LINENO "configure"
                   20945: #include "confdefs.h"
1.66      paf      20946: #if HAVE_DLFCN_H
1.128     moko     20947: #include <dlfcn.h>
                   20948: #endif
                   20949: #include <stdio.h>
1.237     moko     20950: #ifndef RTLD_GLOBAL
1.128     moko     20951: #  ifdef DL_GLOBAL
1.237     moko     20952: #    define RTLD_GLOBAL DL_GLOBAL
1.128     moko     20953: #  else
1.237     moko     20954: #    define RTLD_GLOBAL 0
1.128     moko     20955: #  endif
                   20956: #endif
1.237     moko     20957: #ifndef RTLD_NOW
                   20958: #  ifdef DL_NOW
                   20959: #    define RTLD_NOW DL_NOW
1.128     moko     20960: #  else
1.237     moko     20961: #    define RTLD_NOW 0
1.128     moko     20962: #  endif
                   20963: #endif
1.237     moko     20964: int main (void) {
                   20965:   void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
                   20966:   int status = $libltdl_dlunknown;
                   20967:   if (handle) {
                   20968:     if (dlsym (handle, "fnord"))
                   20969:       status = $libltdl_dlnouscore;
                   20970:     else {
                   20971:       if (dlsym (handle, "_fnord"))
                   20972:         status = $libltdl_dluscore;
1.128     moko     20973:       else
1.237     moko     20974:        puts (dlerror ());
1.128     moko     20975:     }
1.237     moko     20976:     dlclose (handle);
                   20977:   } else
1.128     moko     20978:     puts (dlerror ());
                   20979:   return status;
1.66      paf      20980: }
1.128     moko     20981: _LT_EOF
1.237     moko     20982:       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     20983:   (eval $ac_link) 2>&5
1.66      paf      20984:   ac_status=$?
1.237     moko     20985:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   20986:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
                   20987:         (./conftest; exit; ) >&5 2>/dev/null
                   20988:         libltdl_status=$?
                   20989:         case x$libltdl_status in
                   20990:           x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
                   20991:          x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
                   20992:          x*) libltdl_cv_need_uscore=unknown ;;
                   20993:         esac
                   20994:       fi
                   20995:       rm -rf conftest* $libname*
                   20996:       LIBS=$dlsym_uscore_save_LIBS
                   20997:      ;;
                   20998: esac
1.128     moko     20999: fi
1.237     moko     21000: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   21001: printf "%s\n" "$libltdl_cv_need_uscore" >&6; }
1.128     moko     21002:   fi
                   21003: fi
                   21004: 
1.237     moko     21005: if test yes = "$libltdl_cv_need_uscore"; then
1.29      paf      21006: 
1.237     moko     21007: printf "%s\n" "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      21008: 
1.128     moko     21009: fi
                   21010: 
1.237     moko     21011: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   21012: printf %s "checking whether deplibs are loaded by dlopen... " >&6; }
                   21013: if test ${lt_cv_sys_dlopen_deplibs+y}
                   21014: then :
                   21015:   printf %s "(cached) " >&6
                   21016: else case e in #(
                   21017:   e) # PORTME does your system automatically load deplibs for dlopen?
1.128     moko     21018:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   21019:   # For now, we just catch OSes we know something about -- in the
                   21020:   # future, we'll try test this programmatically.
                   21021:   lt_cv_sys_dlopen_deplibs=unknown
                   21022:   case $host_os in
                   21023:   aix3*|aix4.1.*|aix4.2.*)
                   21024:     # Unknown whether this is true for these versions of AIX, but
1.237     moko     21025:     # we want this 'case' here to explicitly catch those versions.
1.128     moko     21026:     lt_cv_sys_dlopen_deplibs=unknown
                   21027:     ;;
                   21028:   aix[4-9]*)
                   21029:     lt_cv_sys_dlopen_deplibs=yes
                   21030:     ;;
                   21031:   amigaos*)
                   21032:     case $host_cpu in
                   21033:     powerpc)
                   21034:       lt_cv_sys_dlopen_deplibs=no
                   21035:       ;;
                   21036:     esac
                   21037:     ;;
                   21038:   darwin*)
                   21039:     # Assuming the user has installed a libdl from somewhere, this is true
                   21040:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   21041:     lt_cv_sys_dlopen_deplibs=yes
                   21042:     ;;
1.237     moko     21043:   freebsd* | dragonfly* | midnightbsd*)
1.128     moko     21044:     lt_cv_sys_dlopen_deplibs=yes
                   21045:     ;;
                   21046:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   21047:     # GNU and its variants, using gnu ld.so (Glibc)
                   21048:     lt_cv_sys_dlopen_deplibs=yes
                   21049:     ;;
                   21050:   hpux10*|hpux11*)
                   21051:     lt_cv_sys_dlopen_deplibs=yes
                   21052:     ;;
                   21053:   interix*)
                   21054:     lt_cv_sys_dlopen_deplibs=yes
                   21055:     ;;
                   21056:   irix[12345]*|irix6.[01]*)
                   21057:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   21058:     # know how it worked for any of those versions.
                   21059:     lt_cv_sys_dlopen_deplibs=unknown
                   21060:     ;;
                   21061:   irix*)
                   21062:     # The case above catches anything before 6.2, and it's known that
                   21063:     # at 6.2 and later dlopen does load deplibs.
                   21064:     lt_cv_sys_dlopen_deplibs=yes
                   21065:     ;;
1.237     moko     21066:   *-mlibc)
                   21067:     lt_cv_sys_dlopen_deplibs=yes
                   21068:     ;;
                   21069:   netbsd* | netbsdelf*-gnu)
1.128     moko     21070:     lt_cv_sys_dlopen_deplibs=yes
                   21071:     ;;
                   21072:   openbsd*)
                   21073:     lt_cv_sys_dlopen_deplibs=yes
                   21074:     ;;
                   21075:   osf[1234]*)
                   21076:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   21077:     # it did *not* use an RPATH in a shared library to find objects the
1.237     moko     21078:     # library depends on, so we explicitly say 'no'.
1.128     moko     21079:     lt_cv_sys_dlopen_deplibs=no
                   21080:     ;;
                   21081:   osf5.0|osf5.0a|osf5.1)
                   21082:     # dlopen *does* load deplibs and with the right loader patch applied
                   21083:     # it even uses RPATH in a shared library to search for shared objects
                   21084:     # that the library depends on, but there's no easy way to know if that
                   21085:     # patch is installed.  Since this is the case, all we can really
                   21086:     # say is unknown -- it depends on the patch being installed.  If
1.237     moko     21087:     # it is, this changes to 'yes'.  Without it, it would be 'no'.
1.128     moko     21088:     lt_cv_sys_dlopen_deplibs=unknown
                   21089:     ;;
                   21090:   osf*)
                   21091:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   21092:     # the comments above for what we know about them.
                   21093:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
1.237     moko     21094:     # is used to find them so we can finally say 'yes'.
1.128     moko     21095:     lt_cv_sys_dlopen_deplibs=yes
                   21096:     ;;
                   21097:   qnx*)
                   21098:     lt_cv_sys_dlopen_deplibs=yes
                   21099:     ;;
                   21100:   solaris*)
                   21101:     lt_cv_sys_dlopen_deplibs=yes
                   21102:     ;;
                   21103:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   21104:     libltdl_cv_sys_dlopen_deplibs=yes
                   21105:     ;;
                   21106:   esac
1.237     moko     21107:    ;;
                   21108: esac
1.128     moko     21109: fi
1.237     moko     21110: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   21111: printf "%s\n" "$lt_cv_sys_dlopen_deplibs" >&6; }
                   21112: if test yes != "$lt_cv_sys_dlopen_deplibs"; then
1.128     moko     21113: 
1.237     moko     21114: printf "%s\n" "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     21115: 
1.243   ! moko     21116: fi
1.128     moko     21117: 
                   21118: 
1.243   ! moko     21119: ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
1.237     moko     21120: "
1.243   ! moko     21121: if test "x$ac_cv_header_argz_h" = xyes
1.237     moko     21122: then :
1.243   ! moko     21123:   printf "%s\n" "#define HAVE_ARGZ_H 1" >>confdefs.h
1.237     moko     21124: 
                   21125: fi
1.243   ! moko     21126: 
        !          21127: 
        !          21128: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
        !          21129: #  include <argz.h>
        !          21130: #endif
1.237     moko     21131: "
1.243   ! moko     21132: if test "x$ac_cv_type_error_t" = xyes
1.237     moko     21133: then :
                   21134: 
1.243   ! moko     21135: printf "%s\n" "#define HAVE_ERROR_T 1" >>confdefs.h
1.237     moko     21136: 
                   21137: 
1.243   ! moko     21138: else case e in #(
        !          21139:   e)
        !          21140: printf "%s\n" "#define error_t int" >>confdefs.h
1.237     moko     21141: 
1.128     moko     21142: 
1.243   ! moko     21143: printf "%s\n" "#define __error_t_defined 1" >>confdefs.h
        !          21144:  ;;
        !          21145: esac
1.150     moko     21146: fi
1.128     moko     21147: 
                   21148: 
1.243   ! moko     21149: LT_ARGZ_H=
1.128     moko     21150: 
1.243   ! moko     21151:   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert argz_next argz_stringify
1.150     moko     21152: do :
1.237     moko     21153:   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
1.150     moko     21154: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.237     moko     21155: if eval test \"x\$"$as_ac_var"\" = x"yes"
                   21156: then :
1.150     moko     21157:   cat >>confdefs.h <<_ACEOF
1.237     moko     21158: #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
1.150     moko     21159: _ACEOF
1.66      paf      21160: 
1.237     moko     21161: else case e in #(
1.243   ! moko     21162:   e) LT_ARGZ_H=lt__argz.h;
1.66      paf      21163: 
1.243   ! moko     21164:   _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
1.237     moko     21165:  ;;
                   21166: esac
                   21167: fi
1.1       paf      21168: 
1.128     moko     21169: done
                   21170: 
1.243   ! moko     21171: if test -z "$LT_ARGZ_H"
        !          21172: then :
        !          21173:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
        !          21174: printf %s "checking if argz actually works... " >&6; }
        !          21175: if test ${lt_cv_sys_argz_works+y}
        !          21176: then :
        !          21177:   printf %s "(cached) " >&6
        !          21178: else case e in #(
        !          21179:   e) case $host_os in #(
        !          21180:         *cygwin*)
        !          21181:           lt_cv_sys_argz_works=no
        !          21182:           if test no != "$cross_compiling"; then
        !          21183:             lt_cv_sys_argz_works="guessing no"
        !          21184:           else
        !          21185:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
        !          21186:             save_IFS=$IFS
        !          21187:             IFS=-.
        !          21188:             set x `uname -r | $SED -e "$lt_sed_extract_leading_digits"`
        !          21189:             IFS=$save_IFS
        !          21190:             lt_os_major=${2-0}
        !          21191:             lt_os_minor=${3-0}
        !          21192:             lt_os_micro=${4-0}
        !          21193:             if test 1 -lt "$lt_os_major" \
        !          21194:                || { test 1 -eq "$lt_os_major" \
        !          21195:                  && { test 5 -lt "$lt_os_minor" \
        !          21196:                    || { test 5 -eq "$lt_os_minor" \
        !          21197:                      && test 24 -lt "$lt_os_micro"; }; }; }; then
        !          21198:               lt_cv_sys_argz_works=yes
        !          21199:             fi
        !          21200:           fi
        !          21201:           ;; #(
        !          21202:         *) lt_cv_sys_argz_works=yes ;;
        !          21203:         esac ;;
        !          21204: esac
        !          21205: fi
        !          21206: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
        !          21207: printf "%s\n" "$lt_cv_sys_argz_works" >&6; }
        !          21208:      if test yes = "$lt_cv_sys_argz_works"
1.237     moko     21209: then :
1.243   ! moko     21210: 
        !          21211: printf "%s\n" "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     21212: 
1.237     moko     21213: else case e in #(
1.243   ! moko     21214:   e) LT_ARGZ_H=lt__argz.h
        !          21215: 
1.128     moko     21216: 
1.243   ! moko     21217:   _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
1.237     moko     21218:  ;;
                   21219: esac
                   21220: fi
1.243   ! moko     21221: fi
1.128     moko     21222: 
                   21223: 
                   21224: 
1.243   ! moko     21225: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
        !          21226: printf %s "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
        !          21227: if test ${libltdl_cv_preloaded_symbols+y}
        !          21228: then :
        !          21229:   printf %s "(cached) " >&6
        !          21230: else case e in #(
        !          21231:   e) if test -n "$lt_cv_sys_global_symbol_pipe"; then
        !          21232:     libltdl_cv_preloaded_symbols=yes
        !          21233:   else
        !          21234:     libltdl_cv_preloaded_symbols=no
        !          21235:   fi
        !          21236:    ;;
        !          21237: esac
        !          21238: fi
        !          21239: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
        !          21240: printf "%s\n" "$libltdl_cv_preloaded_symbols" >&6; }
        !          21241: if test yes = "$libltdl_cv_preloaded_symbols"; then
1.64      paf      21242: 
1.243   ! moko     21243: printf "%s\n" "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.128     moko     21244: 
1.243   ! moko     21245: fi
1.128     moko     21246: 
                   21247: 
                   21248: 
1.243   ! moko     21249: # Set options
1.128     moko     21250: 
                   21251: 
                   21252: 
                   21253: 
                   21254: 
                   21255: 
                   21256: 
                   21257: 
                   21258: 
                   21259: 
                   21260: 
                   21261: 
1.243   ! moko     21262: # Check whether --with-included_ltdl was given.
        !          21263: if test ${with_included_ltdl+y}
1.237     moko     21264: then :
1.243   ! moko     21265:   withval=$with_included_ltdl;
        !          21266: fi
1.150     moko     21267: 
                   21268: 
1.243   ! moko     21269: if test yes != "$with_included_ltdl"; then
        !          21270:   # We are not being forced to use the included libltdl sources, so
        !          21271:   # decide whether there is a useful installed version we can use.
        !          21272:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     21273: 
1.243   ! moko     21274: "
        !          21275: if test "x$ac_cv_header_ltdl_h" = xyes
1.237     moko     21276: then :
1.243   ! moko     21277:   ac_fn_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
        !          21278:            #include <ltdl.h>
        !          21279: " "$ac_c_undeclared_builtin_options" "CFLAGS"
        !          21280: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes
1.237     moko     21281: then :
1.243   ! moko     21282:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
        !          21283: printf %s "checking for lt_dladvise_preload in -lltdl... " >&6; }
        !          21284: if test ${ac_cv_lib_ltdl_lt_dladvise_preload+y}
1.237     moko     21285: then :
1.243   ! moko     21286:   printf %s "(cached) " >&6
        !          21287: else case e in #(
        !          21288:   e) ac_check_lib_save_LIBS=$LIBS
        !          21289: LIBS="-lltdl  $LIBS"
        !          21290: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      21291: /* end confdefs.h.  */
1.150     moko     21292: 
1.243   ! moko     21293: /* Override any GCC internal prototype to avoid an error.
        !          21294:    Use char because int might match the return type of a GCC
        !          21295:    builtin and then its argument prototype would still apply.
        !          21296:    The 'extern "C"' is for builds by C++ compilers;
        !          21297:    although this is not generally supported in C code supporting it here
        !          21298:    has little cost and some practical benefit (sr 110532).  */
        !          21299: #ifdef __cplusplus
        !          21300: extern "C"
        !          21301: #endif
        !          21302: char lt_dladvise_preload (void);
1.128     moko     21303: int
1.237     moko     21304: main (void)
1.128     moko     21305: {
1.243   ! moko     21306: return lt_dladvise_preload ();
1.128     moko     21307:   ;
                   21308:   return 0;
                   21309: }
1.62      paf      21310: _ACEOF
1.243   ! moko     21311: if ac_fn_c_try_link "$LINENO"
1.237     moko     21312: then :
1.243   ! moko     21313:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.237     moko     21314: else case e in #(
1.243   ! moko     21315:   e) ac_cv_lib_ltdl_lt_dladvise_preload=no ;;
1.237     moko     21316: esac
1.128     moko     21317: fi
1.243   ! moko     21318: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          21319:     conftest$ac_exeext conftest.$ac_ext
        !          21320: LIBS=$ac_check_lib_save_LIBS ;;
        !          21321: esac
1.128     moko     21322: fi
1.243   ! moko     21323: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
        !          21324: printf "%s\n" "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
        !          21325: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes
1.237     moko     21326: then :
1.243   ! moko     21327:   with_included_ltdl=no
        !          21328: else case e in #(
        !          21329:   e) with_included_ltdl=yes ;;
        !          21330: esac
1.128     moko     21331: fi
1.150     moko     21332: 
1.237     moko     21333: else case e in #(
1.243   ! moko     21334:   e) with_included_ltdl=yes ;;
1.237     moko     21335: esac
1.128     moko     21336: fi
1.243   ! moko     21337: else case e in #(
        !          21338:   e) with_included_ltdl=yes ;;
1.237     moko     21339: esac
1.128     moko     21340: fi
1.150     moko     21341: 
1.66      paf      21342: fi
1.150     moko     21343: 
                   21344: 
1.128     moko     21345: 
1.66      paf      21346: 
1.243   ! moko     21347: # Check whether --with-ltdl_include was given.
        !          21348: if test ${with_ltdl_include+y}
        !          21349: then :
        !          21350:   withval=$with_ltdl_include;
        !          21351: fi
1.128     moko     21352: 
1.1       paf      21353: 
1.243   ! moko     21354: if test -n "$with_ltdl_include"; then
        !          21355:   if test -f "$with_ltdl_include/ltdl.h"; then :
        !          21356:   else
        !          21357:     as_fn_error $? "invalid ltdl include directory: '$with_ltdl_include'" "$LINENO" 5
        !          21358:   fi
        !          21359: else
        !          21360:   with_ltdl_include=no
        !          21361: fi
1.66      paf      21362: 
                   21363: 
1.243   ! moko     21364: # Check whether --with-ltdl_lib was given.
        !          21365: if test ${with_ltdl_lib+y}
1.237     moko     21366: then :
1.243   ! moko     21367:   withval=$with_ltdl_lib;
        !          21368: fi
        !          21369: 
        !          21370: 
        !          21371: if test -n "$with_ltdl_lib"; then
        !          21372:   if test -f "$with_ltdl_lib/libltdl.la"; then :
        !          21373:   else
        !          21374:     as_fn_error $? "invalid ltdl library directory: '$with_ltdl_lib'" "$LINENO" 5
        !          21375:   fi
        !          21376: else
        !          21377:   with_ltdl_lib=no
        !          21378: fi
1.62      paf      21379: 
1.243   ! moko     21380: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
        !          21381:   ,yes,no,no,)
        !          21382:        case $enable_ltdl_convenience in
        !          21383:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
        !          21384:   "") enable_ltdl_convenience=yes
        !          21385:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
1.237     moko     21386: esac
1.243   ! moko     21387: LIBLTDL='$(top_build_prefix)'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
        !          21388: LTDLDEPS=$LIBLTDL
        !          21389: LTDLINCL='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
        !          21390: 
        !          21391: 
        !          21392: 
        !          21393: 
        !          21394: 
        !          21395: # For backwards non-gettext consistent compatibility...
        !          21396: INCLTDL=$LTDLINCL
        !          21397: 
        !          21398: 
        !          21399:        ;;
        !          21400:   ,no,no,no,)
        !          21401:        # If the included ltdl is not to be used, then use the
        !          21402:        # preinstalled libltdl we found.
1.66      paf      21403: 
1.243   ! moko     21404: printf "%s\n" "#define HAVE_LTDL 1" >>confdefs.h
1.156     moko     21405: 
1.243   ! moko     21406:        LIBLTDL=-lltdl
        !          21407:        LTDLDEPS=
        !          21408:        LTDLINCL=
        !          21409:        ;;
        !          21410:   ,no*,no,*)
        !          21411:        as_fn_error $? "'--with-ltdl-include' and '--with-ltdl-lib' options must be used together" "$LINENO" 5
        !          21412:        ;;
        !          21413:   *)   with_included_ltdl=no
        !          21414:        LIBLTDL="-L$with_ltdl_lib -lltdl"
        !          21415:        LTDLDEPS=
        !          21416:        LTDLINCL=-I$with_ltdl_include
        !          21417:        ;;
1.237     moko     21418: esac
1.243   ! moko     21419: INCLTDL=$LTDLINCL
1.156     moko     21420: 
1.243   ! moko     21421: # Report our decision...
        !          21422: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
        !          21423: printf %s "checking where to find libltdl headers... " >&6; }
        !          21424: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
        !          21425: printf "%s\n" "$LTDLINCL" >&6; }
        !          21426: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
        !          21427: printf %s "checking where to find libltdl library... " >&6; }
        !          21428: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
        !          21429: printf "%s\n" "$LIBLTDL" >&6; }
1.159     moko     21430: 
                   21431: 
                   21432: 
1.243   ! moko     21433: # Check whether --enable-ltdl-install was given.
        !          21434: if test ${enable_ltdl_install+y}
        !          21435: then :
        !          21436:   enableval=$enable_ltdl_install;
        !          21437: fi
1.159     moko     21438: 
1.165     moko     21439: 
1.243   ! moko     21440: case ,$enable_ltdl_install,$enable_ltdl_convenience in
        !          21441:   *yes*) ;;
        !          21442:   *) enable_ltdl_convenience=yes ;;
        !          21443: esac
1.165     moko     21444: 
1.243   ! moko     21445:  if test no != "${enable_ltdl_install-no}"; then
        !          21446:   INSTALL_LTDL_TRUE=
        !          21447:   INSTALL_LTDL_FALSE='#'
        !          21448: else
        !          21449:   INSTALL_LTDL_TRUE='#'
        !          21450:   INSTALL_LTDL_FALSE=
        !          21451: fi
1.165     moko     21452: 
1.243   ! moko     21453:   if test no != "${enable_ltdl_convenience-no}"; then
        !          21454:   CONVENIENCE_LTDL_TRUE=
        !          21455:   CONVENIENCE_LTDL_FALSE='#'
        !          21456: else
        !          21457:   CONVENIENCE_LTDL_TRUE='#'
        !          21458:   CONVENIENCE_LTDL_FALSE=
        !          21459: fi
1.156     moko     21460: 
1.243   ! moko     21461:   if test -n "$LT_ARGZ_H"; then
        !          21462:   LTARGZH_EXISTS_TRUE=
        !          21463:   LTARGZH_EXISTS_FALSE='#'
        !          21464: else
        !          21465:   LTARGZH_EXISTS_TRUE='#'
        !          21466:   LTARGZH_EXISTS_FALSE=
        !          21467: fi
1.156     moko     21468: 
                   21469: 
1.128     moko     21470: 
1.243   ! moko     21471:     subdirs="$subdirs src/lib/ltdl"
1.159     moko     21472: 
                   21473: 
                   21474: 
                   21475: 
1.243   ! moko     21476: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
        !          21477: # the user used.  This is so that ltdl.h can pick up the parent projects
        !          21478: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
        !          21479: # definitions required by ltdl.c.
        !          21480: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
1.234     moko     21481: 
                   21482: 
1.159     moko     21483: 
1.243   ! moko     21484: ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default
        !          21485: "
        !          21486: if test "x$ac_cv_header_unistd_h" = xyes
1.237     moko     21487: then :
1.243   ! moko     21488:   printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
1.161     moko     21489: 
1.243   ! moko     21490: fi
        !          21491: ac_fn_c_check_header_compile "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default
        !          21492: "
        !          21493: if test "x$ac_cv_header_dl_h" = xyes
1.237     moko     21494: then :
1.243   ! moko     21495:   printf "%s\n" "#define HAVE_DL_H 1" >>confdefs.h
        !          21496: 
1.161     moko     21497: fi
1.243   ! moko     21498: ac_fn_c_check_header_compile "$LINENO" "sys/dl.h" "ac_cv_header_sys_dl_h" "$ac_includes_default
        !          21499: "
        !          21500: if test "x$ac_cv_header_sys_dl_h" = xyes
        !          21501: then :
        !          21502:   printf "%s\n" "#define HAVE_SYS_DL_H 1" >>confdefs.h
        !          21503: 
1.161     moko     21504: fi
1.243   ! moko     21505: ac_fn_c_check_header_compile "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default
        !          21506: "
        !          21507: if test "x$ac_cv_header_dld_h" = xyes
1.237     moko     21508: then :
1.243   ! moko     21509:   printf "%s\n" "#define HAVE_DLD_H 1" >>confdefs.h
1.161     moko     21510: 
                   21511: fi
1.243   ! moko     21512: ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default
        !          21513: "
        !          21514: if test "x$ac_cv_header_mach_o_dyld_h" = xyes
1.237     moko     21515: then :
1.243   ! moko     21516:   printf "%s\n" "#define HAVE_MACH_O_DYLD_H 1" >>confdefs.h
1.161     moko     21517: 
                   21518: fi
1.243   ! moko     21519: ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default
        !          21520: "
        !          21521: if test "x$ac_cv_header_dirent_h" = xyes
1.237     moko     21522: then :
1.243   ! moko     21523:   printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
        !          21524: 
1.161     moko     21525: fi
1.243   ! moko     21526: 
        !          21527: 
        !          21528: 
        !          21529:   for ac_func in closedir opendir readdir
        !          21530: do :
        !          21531:   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
        !          21532: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
        !          21533: if eval test \"x\$"$as_ac_var"\" = x"yes"
1.237     moko     21534: then :
1.243   ! moko     21535:   cat >>confdefs.h <<_ACEOF
        !          21536: #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
        !          21537: _ACEOF
1.161     moko     21538: 
1.237     moko     21539: else case e in #(
1.243   ! moko     21540:   e)
        !          21541: 
        !          21542:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
        !          21543:  ;;
1.237     moko     21544: esac
1.161     moko     21545: fi
                   21546: 
1.243   ! moko     21547: done
1.161     moko     21548: 
1.243   ! moko     21549:   for ac_func in strlcat strlcpy
        !          21550: do :
        !          21551:   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
        !          21552: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
        !          21553: if eval test \"x\$"$as_ac_var"\" = x"yes"
1.237     moko     21554: then :
1.243   ! moko     21555:   cat >>confdefs.h <<_ACEOF
        !          21556: #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
        !          21557: _ACEOF
        !          21558: 
1.237     moko     21559: else case e in #(
1.243   ! moko     21560:   e)
1.161     moko     21561: 
1.243   ! moko     21562:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
        !          21563:  ;;
        !          21564: esac
1.161     moko     21565: fi
1.243   ! moko     21566: 
1.161     moko     21567: done
                   21568: 
                   21569: 
1.243   ! moko     21570: printf "%s\n" "#define LT_LIBEXT \"$libext\"" >>confdefs.h
        !          21571: 
        !          21572: 
        !          21573: name=
        !          21574: eval "lt_libprefix=\"$libname_spec\""
        !          21575: 
        !          21576: printf "%s\n" "#define LT_LIBPREFIX \"$lt_libprefix\"" >>confdefs.h
        !          21577: 
        !          21578: 
        !          21579: name=ltdl
        !          21580: eval "LTDLOPEN=\"$libname_spec\""
        !          21581: 
1.161     moko     21582: 
                   21583: 
                   21584: 
                   21585: 
                   21586: 
                   21587: 
                   21588: 
1.243   ! moko     21589: # Only expand once:
1.161     moko     21590: 
                   21591: 
                   21592: 
1.159     moko     21593: 
1.243   ! moko     21594:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
        !          21595: printf %s "checking whether byte ordering is bigendian... " >&6; }
        !          21596: if test ${ac_cv_c_bigendian+y}
1.237     moko     21597: then :
                   21598:   printf %s "(cached) " >&6
                   21599: else case e in #(
1.243   ! moko     21600:   e) ac_cv_c_bigendian=unknown
        !          21601:     # See if we're dealing with a universal compiler.
        !          21602:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21603: /* end confdefs.h.  */
        !          21604: #ifndef __APPLE_CC__
        !          21605:               not a universal capable compiler
        !          21606:             #endif
        !          21607:             typedef int dummy;
        !          21608: 
        !          21609: _ACEOF
        !          21610: if ac_fn_c_try_compile "$LINENO"
1.237     moko     21611: then :
1.243   ! moko     21612: 
        !          21613:        # Check for potential -arch flags.  It is not universal unless
        !          21614:        # there are at least two -arch flags with different values.
        !          21615:        ac_arch=
        !          21616:        ac_prev=
        !          21617:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
        !          21618:         if test -n "$ac_prev"; then
        !          21619:           case $ac_word in
        !          21620:             i?86 | x86_64 | ppc | ppc64)
        !          21621:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
        !          21622:                 ac_arch=$ac_word
        !          21623:               else
        !          21624:                 ac_cv_c_bigendian=universal
        !          21625:                 break
        !          21626:               fi
        !          21627:               ;;
        !          21628:           esac
        !          21629:           ac_prev=
        !          21630:         elif test "x$ac_word" = "x-arch"; then
        !          21631:           ac_prev=arch
        !          21632:         fi
        !          21633:        done
1.237     moko     21634: fi
1.243   ! moko     21635: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          21636:     if test $ac_cv_c_bigendian = unknown; then
        !          21637:       # See if sys/param.h defines the BYTE_ORDER macro.
        !          21638:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.171     moko     21639: /* end confdefs.h.  */
                   21640: #include <sys/types.h>
1.243   ! moko     21641:             #include <sys/param.h>
        !          21642: 
1.171     moko     21643: int
1.237     moko     21644: main (void)
1.171     moko     21645: {
1.243   ! moko     21646: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\
        !          21647:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\
        !          21648:                     && LITTLE_ENDIAN)
        !          21649:              bogus endian macros
        !          21650:             #endif
1.171     moko     21651: 
                   21652:   ;
                   21653:   return 0;
                   21654: }
                   21655: _ACEOF
1.237     moko     21656: if ac_fn_c_try_compile "$LINENO"
                   21657: then :
1.243   ! moko     21658:   # It does; now see whether it defined to BIG_ENDIAN or not.
        !          21659:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21660: /* end confdefs.h.  */
        !          21661: #include <sys/types.h>
        !          21662:                #include <sys/param.h>
        !          21663: 
        !          21664: int
        !          21665: main (void)
        !          21666: {
        !          21667: #if BYTE_ORDER != BIG_ENDIAN
        !          21668:                 not big endian
        !          21669:                #endif
        !          21670: 
        !          21671:   ;
        !          21672:   return 0;
        !          21673: }
        !          21674: _ACEOF
        !          21675: if ac_fn_c_try_compile "$LINENO"
1.237     moko     21676: then :
1.243   ! moko     21677:   ac_cv_c_bigendian=yes
1.237     moko     21678: else case e in #(
1.243   ! moko     21679:   e) ac_cv_c_bigendian=no ;;
1.237     moko     21680: esac
                   21681: fi
1.243   ! moko     21682: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.171     moko     21683: fi
1.237     moko     21684: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.243   ! moko     21685:     fi
        !          21686:     if test $ac_cv_c_bigendian = unknown; then
        !          21687:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
        !          21688:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21689: /* end confdefs.h.  */
        !          21690: #include <limits.h>
1.237     moko     21691: 
1.243   ! moko     21692: int
        !          21693: main (void)
        !          21694: {
        !          21695: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
        !          21696:              bogus endian macros
        !          21697:             #endif
1.237     moko     21698: 
1.243   ! moko     21699:   ;
        !          21700:   return 0;
        !          21701: }
        !          21702: _ACEOF
        !          21703: if ac_fn_c_try_compile "$LINENO"
        !          21704: then :
        !          21705:   # It does; now see whether it defined to _BIG_ENDIAN or not.
        !          21706:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21707: /* end confdefs.h.  */
        !          21708: #include <limits.h>
1.237     moko     21709: 
1.243   ! moko     21710: int
        !          21711: main (void)
        !          21712: {
        !          21713: #ifndef _BIG_ENDIAN
        !          21714:                 not big endian
        !          21715:                #endif
1.171     moko     21716: 
1.243   ! moko     21717:   ;
        !          21718:   return 0;
        !          21719: }
        !          21720: _ACEOF
        !          21721: if ac_fn_c_try_compile "$LINENO"
        !          21722: then :
        !          21723:   ac_cv_c_bigendian=yes
        !          21724: else case e in #(
        !          21725:   e) ac_cv_c_bigendian=no ;;
1.237     moko     21726: esac
1.243   ! moko     21727: fi
        !          21728: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          21729: fi
        !          21730: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          21731:     fi
        !          21732:     if test $ac_cv_c_bigendian = unknown; then
        !          21733:       # Compile a test program.
        !          21734:       if test "$cross_compiling" = yes
1.237     moko     21735: then :
1.243   ! moko     21736:   # Try to guess by grepping values from an object file.
        !          21737:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21738: /* end confdefs.h.  */
        !          21739: unsigned short int ascii_mm[] =
        !          21740:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
        !          21741:                unsigned short int ascii_ii[] =
        !          21742:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
        !          21743:                int use_ascii (int i) {
        !          21744:                  return ascii_mm[i] + ascii_ii[i];
        !          21745:                }
        !          21746:                unsigned short int ebcdic_ii[] =
        !          21747:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
        !          21748:                unsigned short int ebcdic_mm[] =
        !          21749:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
        !          21750:                int use_ebcdic (int i) {
        !          21751:                  return ebcdic_mm[i] + ebcdic_ii[i];
        !          21752:                }
        !          21753:                int
        !          21754:                main (int argc, char **argv)
        !          21755:                {
        !          21756:                  /* Intimidate the compiler so that it does not
        !          21757:                     optimize the arrays away.  */
        !          21758:                  char *p = argv[0];
        !          21759:                  ascii_mm[1] = *p++; ebcdic_mm[1] = *p++;
        !          21760:                  ascii_ii[1] = *p++; ebcdic_ii[1] = *p++;
        !          21761:                  return use_ascii (argc) == use_ebcdic (*p);
        !          21762:                }
        !          21763: _ACEOF
        !          21764: if ac_fn_c_try_link "$LINENO"
1.237     moko     21765: then :
1.243   ! moko     21766:   if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then
        !          21767:              ac_cv_c_bigendian=yes
        !          21768:            fi
        !          21769:            if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then
        !          21770:              if test "$ac_cv_c_bigendian" = unknown; then
        !          21771:                ac_cv_c_bigendian=no
        !          21772:              else
        !          21773:                # finding both strings is unlikely to happen, but who knows?
        !          21774:                ac_cv_c_bigendian=unknown
        !          21775:              fi
        !          21776:            fi
1.171     moko     21777: fi
1.243   ! moko     21778: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          21779:     conftest$ac_exeext conftest.$ac_ext
        !          21780: else case e in #(
        !          21781:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.171     moko     21782: /* end confdefs.h.  */
1.243   ! moko     21783: $ac_includes_default
1.171     moko     21784: int
1.237     moko     21785: main (void)
1.171     moko     21786: {
                   21787: 
1.243   ! moko     21788:             /* Are we little or big endian?  From Harbison&Steele.  */
        !          21789:             union
        !          21790:             {
        !          21791:               long int l;
        !          21792:               char c[sizeof (long int)];
        !          21793:             } u;
        !          21794:             u.l = 1;
        !          21795:             return u.c[sizeof (long int) - 1] == 1;
        !          21796: 
1.171     moko     21797:   ;
                   21798:   return 0;
                   21799: }
                   21800: _ACEOF
1.243   ! moko     21801: if ac_fn_c_try_run "$LINENO"
1.237     moko     21802: then :
1.243   ! moko     21803:   ac_cv_c_bigendian=no
        !          21804: else case e in #(
        !          21805:   e) ac_cv_c_bigendian=yes ;;
        !          21806: esac
        !          21807: fi
        !          21808: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          21809:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
        !          21810: esac
1.171     moko     21811: fi
1.243   ! moko     21812: 
        !          21813:     fi ;;
1.237     moko     21814: esac
1.171     moko     21815: fi
1.243   ! moko     21816: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
        !          21817: printf "%s\n" "$ac_cv_c_bigendian" >&6; }
        !          21818:  case $ac_cv_c_bigendian in #(
        !          21819:    yes)
        !          21820: 
        !          21821: printf "%s\n" "#define PA_BIG_ENDIAN /**/" >>confdefs.h
        !          21822: 
        !          21823: ;; #(
        !          21824:    no)
1.237     moko     21825: 
1.243   ! moko     21826: printf "%s\n" "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.237     moko     21827: 
                   21828:  ;; #(
1.243   ! moko     21829:    universal)
1.237     moko     21830: 
1.243   ! moko     21831: printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.171     moko     21832: 
1.243   ! moko     21833:      ;; #(
        !          21834:    *)
        !          21835:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
        !          21836:  ;;
        !          21837:  esac
1.171     moko     21838: 
1.237     moko     21839: 
1.243   ! moko     21840: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
        !          21841: if test "x$ac_cv_type_size_t" = xyes
1.237     moko     21842: then :
                   21843: 
1.243   ! moko     21844: else case e in #(
        !          21845:   e)
        !          21846: printf "%s\n" "#define size_t unsigned int" >>confdefs.h
        !          21847:  ;;
        !          21848: esac
1.237     moko     21849: fi
1.243   ! moko     21850: 
        !          21851: ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
        !          21852: if test "x$ac_cv_type_ssize_t" = xyes
1.237     moko     21853: then :
                   21854: 
1.243   ! moko     21855: else case e in #(
        !          21856:   e)
        !          21857: printf "%s\n" "#define ssize_t int" >>confdefs.h
        !          21858:  ;;
        !          21859: esac
1.237     moko     21860: fi
                   21861: 
1.243   ! moko     21862: ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
        !          21863: case $ac_cv_c_uint8_t in #(
        !          21864:   no|yes) ;; #(
        !          21865:   *)
        !          21866: 
        !          21867: printf "%s\n" "#define _UINT8_T 1" >>confdefs.h
        !          21868: 
        !          21869: 
        !          21870: printf "%s\n" "#define uint8_t $ac_cv_c_uint8_t" >>confdefs.h
        !          21871: ;;
        !          21872:   esac
        !          21873: 
        !          21874: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
        !          21875: case $ac_cv_c_uint16_t in #(
        !          21876:   no|yes) ;; #(
        !          21877:   *)
        !          21878: 
        !          21879: 
        !          21880: printf "%s\n" "#define uint16_t $ac_cv_c_uint16_t" >>confdefs.h
        !          21881: ;;
        !          21882:   esac
        !          21883: 
        !          21884: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
        !          21885: case $ac_cv_c_uint32_t in #(
        !          21886:   no|yes) ;; #(
        !          21887:   *)
        !          21888: 
        !          21889: printf "%s\n" "#define _UINT32_T 1" >>confdefs.h
        !          21890: 
1.237     moko     21891: 
1.243   ! moko     21892: printf "%s\n" "#define uint32_t $ac_cv_c_uint32_t" >>confdefs.h
        !          21893: ;;
        !          21894:   esac
1.237     moko     21895: 
1.243   ! moko     21896: ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
        !          21897: case $ac_cv_c_uint64_t in #(
        !          21898:   no|yes) ;; #(
        !          21899:   *)
1.237     moko     21900: 
1.243   ! moko     21901: printf "%s\n" "#define _UINT64_T 1" >>confdefs.h
1.237     moko     21902: 
                   21903: 
1.243   ! moko     21904: printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
        !          21905: ;;
        !          21906:   esac
1.237     moko     21907: 
1.243   ! moko     21908: ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
        !          21909: case $ac_cv_c_int64_t in #(
        !          21910:   no|yes) ;; #(
        !          21911:   *)
1.237     moko     21912: 
1.243   ! moko     21913: printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
        !          21914: ;;
        !          21915: esac
1.237     moko     21916: 
                   21917: 
1.243   ! moko     21918: ac_header_dirent=no
        !          21919: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
        !          21920:   as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"`
        !          21921: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
        !          21922: printf %s "checking for $ac_hdr that defines DIR... " >&6; }
        !          21923: if eval test \${$as_ac_Header+y}
1.237     moko     21924: then :
1.243   ! moko     21925:   printf %s "(cached) " >&6
        !          21926: else case e in #(
        !          21927:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21928: /* end confdefs.h.  */
        !          21929: #include <sys/types.h>
        !          21930: #include <$ac_hdr>
1.237     moko     21931: 
1.243   ! moko     21932: int
        !          21933: main (void)
        !          21934: {
        !          21935: if ((DIR *) 0)
        !          21936: return 0;
        !          21937:   ;
        !          21938:   return 0;
        !          21939: }
        !          21940: _ACEOF
        !          21941: if ac_fn_c_try_compile "$LINENO"
        !          21942: then :
        !          21943:   eval "$as_ac_Header=yes"
        !          21944: else case e in #(
        !          21945:   e) eval "$as_ac_Header=no" ;;
        !          21946: esac
1.237     moko     21947: fi
1.243   ! moko     21948: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
        !          21949: esac
1.237     moko     21950: fi
1.243   ! moko     21951: eval ac_res=\$$as_ac_Header
        !          21952:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          21953: printf "%s\n" "$ac_res" >&6; }
        !          21954: if eval test \"x\$"$as_ac_Header"\" = x"yes"
1.237     moko     21955: then :
1.243   ! moko     21956:   cat >>confdefs.h <<_ACEOF
        !          21957: #define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1
        !          21958: _ACEOF
1.237     moko     21959: 
1.243   ! moko     21960: ac_header_dirent=$ac_hdr; break
1.237     moko     21961: fi
                   21962: 
1.243   ! moko     21963: done
        !          21964: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
        !          21965: if test $ac_header_dirent = dirent.h; then
        !          21966:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
        !          21967: printf %s "checking for library containing opendir... " >&6; }
        !          21968: if test ${ac_cv_search_opendir+y}
1.237     moko     21969: then :
1.243   ! moko     21970:   printf %s "(cached) " >&6
        !          21971: else case e in #(
        !          21972:   e) ac_func_search_save_LIBS=$LIBS
        !          21973: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          21974: /* end confdefs.h.  */
1.237     moko     21975: 
1.243   ! moko     21976: /* Override any GCC internal prototype to avoid an error.
        !          21977:    Use char because int might match the return type of a GCC
        !          21978:    builtin and then its argument prototype would still apply.
        !          21979:    The 'extern "C"' is for builds by C++ compilers;
        !          21980:    although this is not generally supported in C code supporting it here
        !          21981:    has little cost and some practical benefit (sr 110532).  */
        !          21982: #ifdef __cplusplus
        !          21983: extern "C"
        !          21984: #endif
        !          21985: char opendir (void);
        !          21986: int
        !          21987: main (void)
        !          21988: {
        !          21989: return opendir ();
        !          21990:   ;
        !          21991:   return 0;
        !          21992: }
        !          21993: _ACEOF
        !          21994: for ac_lib in '' dir
        !          21995: do
        !          21996:   if test -z "$ac_lib"; then
        !          21997:     ac_res="none required"
        !          21998:   else
        !          21999:     ac_res=-l$ac_lib
        !          22000:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
        !          22001:   fi
        !          22002:   if ac_fn_c_try_link "$LINENO"
1.237     moko     22003: then :
1.243   ! moko     22004:   ac_cv_search_opendir=$ac_res
1.237     moko     22005: fi
1.243   ! moko     22006: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          22007:     conftest$ac_exeext
        !          22008:   if test ${ac_cv_search_opendir+y}
1.237     moko     22009: then :
1.243   ! moko     22010:   break
1.237     moko     22011: fi
1.243   ! moko     22012: done
        !          22013: if test ${ac_cv_search_opendir+y}
1.237     moko     22014: then :
                   22015: 
1.243   ! moko     22016: else case e in #(
        !          22017:   e) ac_cv_search_opendir=no ;;
        !          22018: esac
1.171     moko     22019: fi
1.243   ! moko     22020: rm conftest.$ac_ext
        !          22021: LIBS=$ac_func_search_save_LIBS ;;
        !          22022: esac
1.237     moko     22023: fi
1.243   ! moko     22024: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
        !          22025: printf "%s\n" "$ac_cv_search_opendir" >&6; }
        !          22026: ac_res=$ac_cv_search_opendir
        !          22027: if test "$ac_res" != no
1.237     moko     22028: then :
1.243   ! moko     22029:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.171     moko     22030: 
                   22031: fi
                   22032: 
1.243   ! moko     22033: else
        !          22034:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
        !          22035: printf %s "checking for library containing opendir... " >&6; }
        !          22036: if test ${ac_cv_search_opendir+y}
1.237     moko     22037: then :
1.243   ! moko     22038:   printf %s "(cached) " >&6
        !          22039: else case e in #(
        !          22040:   e) ac_func_search_save_LIBS=$LIBS
        !          22041: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22042: /* end confdefs.h.  */
1.237     moko     22043: 
1.243   ! moko     22044: /* Override any GCC internal prototype to avoid an error.
        !          22045:    Use char because int might match the return type of a GCC
        !          22046:    builtin and then its argument prototype would still apply.
        !          22047:    The 'extern "C"' is for builds by C++ compilers;
        !          22048:    although this is not generally supported in C code supporting it here
        !          22049:    has little cost and some practical benefit (sr 110532).  */
        !          22050: #ifdef __cplusplus
        !          22051: extern "C"
        !          22052: #endif
        !          22053: char opendir (void);
        !          22054: int
        !          22055: main (void)
        !          22056: {
        !          22057: return opendir ();
        !          22058:   ;
        !          22059:   return 0;
        !          22060: }
        !          22061: _ACEOF
        !          22062: for ac_lib in '' x
        !          22063: do
        !          22064:   if test -z "$ac_lib"; then
        !          22065:     ac_res="none required"
        !          22066:   else
        !          22067:     ac_res=-l$ac_lib
        !          22068:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
        !          22069:   fi
        !          22070:   if ac_fn_c_try_link "$LINENO"
1.237     moko     22071: then :
1.243   ! moko     22072:   ac_cv_search_opendir=$ac_res
1.237     moko     22073: fi
1.243   ! moko     22074: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          22075:     conftest$ac_exeext
        !          22076:   if test ${ac_cv_search_opendir+y}
1.237     moko     22077: then :
1.243   ! moko     22078:   break
1.159     moko     22079: fi
1.243   ! moko     22080: done
        !          22081: if test ${ac_cv_search_opendir+y}
1.237     moko     22082: then :
1.150     moko     22083: 
1.243   ! moko     22084: else case e in #(
        !          22085:   e) ac_cv_search_opendir=no ;;
        !          22086: esac
1.237     moko     22087: fi
1.243   ! moko     22088: rm conftest.$ac_ext
        !          22089: LIBS=$ac_func_search_save_LIBS ;;
        !          22090: esac
1.237     moko     22091: fi
1.243   ! moko     22092: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
        !          22093: printf "%s\n" "$ac_cv_search_opendir" >&6; }
        !          22094: ac_res=$ac_cv_search_opendir
        !          22095: if test "$ac_res" != no
1.237     moko     22096: then :
1.243   ! moko     22097:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.159     moko     22098: 
                   22099: fi
                   22100: 
1.237     moko     22101: fi
1.159     moko     22102: 
                   22103: 
                   22104: 
1.243   ! moko     22105:   ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
        !          22106: #include <sys/types.h>
        !          22107: #ifdef HAVE_DIRENT_H
        !          22108: # include <dirent.h>
        !          22109: #else
        !          22110: # define dirent direct
        !          22111: # ifdef HAVE_SYS_NDIR_H
        !          22112: #  include <sys/ndir.h>
        !          22113: # endif
        !          22114: # ifdef HAVE_SYS_DIR_H
        !          22115: #  include <sys/dir.h>
        !          22116: # endif
        !          22117: # ifdef HAVE_NDIR_H
        !          22118: #  include <ndir.h>
        !          22119: # endif
        !          22120: #endif
1.237     moko     22121: 
1.243   ! moko     22122: "
        !          22123: if test "x$ac_cv_member_struct_dirent_d_type" = xyes
1.237     moko     22124: then :
1.159     moko     22125: 
1.243   ! moko     22126: printf "%s\n" "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
1.62      paf      22127: 
                   22128: 
1.237     moko     22129: fi
1.62      paf      22130: 
                   22131: 
                   22132: 
1.243   ! moko     22133: # Check whether --enable-largefile was given.
        !          22134: if test ${enable_largefile+y}
        !          22135: then :
        !          22136:   enableval=$enable_largefile;
        !          22137: fi
        !          22138: if test "$enable_largefile,$enable_year2038" != no,no
        !          22139: then :
        !          22140:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CPPFLAGS option for large files" >&5
        !          22141: printf %s "checking for $CPPFLAGS option for large files... " >&6; }
        !          22142: if test ${ac_cv_sys_largefile_opts+y}
1.237     moko     22143: then :
                   22144:   printf %s "(cached) " >&6
                   22145: else case e in #(
1.243   ! moko     22146:   e) ac_save_CPPFLAGS=$CPPFLAGS
        !          22147:   ac_opt_found=no
        !          22148:   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1"; do
        !          22149:     if test x"$ac_opt" != x"none needed"
        !          22150: then :
        !          22151:   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
        !          22152: fi
        !          22153:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22154: /* end confdefs.h.  */
1.243   ! moko     22155: #include <sys/types.h>
        !          22156: #ifndef FTYPE
        !          22157: # define FTYPE off_t
        !          22158: #endif
        !          22159:  /* Check that FTYPE can represent 2**63 - 1 correctly.
        !          22160:     We can't simply define LARGE_FTYPE to be 9223372036854775807,
        !          22161:     since some C++ compilers masquerading as C compilers
        !          22162:     incorrectly reject 9223372036854775807.  */
        !          22163: #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
        !          22164:   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
        !          22165:                       && LARGE_FTYPE % 2147483647 == 1)
        !          22166:                      ? 1 : -1];
1.66      paf      22167: int
1.237     moko     22168: main (void)
1.66      paf      22169: {
1.243   ! moko     22170: 
1.66      paf      22171:   ;
                   22172:   return 0;
                   22173: }
1.62      paf      22174: _ACEOF
1.243   ! moko     22175: if ac_fn_c_try_compile "$LINENO"
        !          22176: then :
        !          22177:   if test x"$ac_opt" = x"none needed"
        !          22178: then :
        !          22179:   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
        !          22180:         CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t"
        !          22181:         if ac_fn_c_try_compile "$LINENO"
1.237     moko     22182: then :
1.243   ! moko     22183: 
1.237     moko     22184: else case e in #(
1.243   ! moko     22185:   e) CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
        !          22186:            if ac_fn_c_try_compile "$LINENO"
        !          22187: then :
        !          22188:   ac_opt='-D_FILE_OFFSET_BITS=64'
        !          22189: fi
        !          22190: rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
1.237     moko     22191: esac
1.62      paf      22192: fi
1.243   ! moko     22193: rm -f core conftest.err conftest.$ac_objext conftest.beam
        !          22194: fi
        !          22195:       ac_cv_sys_largefile_opts=$ac_opt
        !          22196:       ac_opt_found=yes
        !          22197: fi
        !          22198: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          22199:     test $ac_opt_found = no || break
        !          22200:   done
        !          22201:   CPPFLAGS=$ac_save_CPPFLAGS
        !          22202: 
        !          22203:   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
1.237     moko     22204: esac
1.62      paf      22205: fi
1.243   ! moko     22206: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
        !          22207: printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
        !          22208: 
        !          22209: ac_have_largefile=yes
        !          22210: case $ac_cv_sys_largefile_opts in #(
        !          22211:   "none needed") :
        !          22212:      ;; #(
        !          22213:   "supported through gnulib") :
        !          22214:      ;; #(
        !          22215:   "support not detected") :
        !          22216:     ac_have_largefile=no ;; #(
        !          22217:   "-D_FILE_OFFSET_BITS=64") :
1.1       paf      22218: 
1.243   ! moko     22219: printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
        !          22220:  ;; #(
        !          22221:   "-D_LARGE_FILES=1") :
1.66      paf      22222: 
1.243   ! moko     22223: printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
        !          22224:  ;; #(
        !          22225:   *) :
        !          22226:     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
        !          22227: esac
1.1       paf      22228: 
1.243   ! moko     22229: if test "$enable_year2038" != no
        !          22230: then :
        !          22231:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CPPFLAGS option for timestamps after 2038" >&5
        !          22232: printf %s "checking for $CPPFLAGS option for timestamps after 2038... " >&6; }
        !          22233: if test ${ac_cv_sys_year2038_opts+y}
1.237     moko     22234: then :
                   22235:   printf %s "(cached) " >&6
                   22236: else case e in #(
1.243   ! moko     22237:   e) ac_save_CPPFLAGS="$CPPFLAGS"
        !          22238:   ac_opt_found=no
        !          22239:   for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
        !          22240:     if test x"$ac_opt" != x"none needed"
        !          22241: then :
        !          22242:   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
        !          22243: fi
        !          22244:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22245: /* end confdefs.h.  */
1.66      paf      22246: 
1.243   ! moko     22247:   #include <time.h>
        !          22248:   /* Check that time_t can represent 2**32 - 1 correctly.  */
        !          22249:   #define LARGE_TIME_T \\
        !          22250:     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
        !          22251:   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
        !          22252:                            && LARGE_TIME_T % 65537 == 0)
        !          22253:                           ? 1 : -1];
1.66      paf      22254: 
1.62      paf      22255: int
1.237     moko     22256: main (void)
1.62      paf      22257: {
1.243   ! moko     22258: 
1.62      paf      22259:   ;
                   22260:   return 0;
                   22261: }
                   22262: _ACEOF
1.243   ! moko     22263: if ac_fn_c_try_compile "$LINENO"
1.237     moko     22264: then :
1.243   ! moko     22265:   ac_cv_sys_year2038_opts="$ac_opt"
        !          22266:       ac_opt_found=yes
        !          22267: fi
        !          22268: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          22269:     test $ac_opt_found = no || break
        !          22270:   done
        !          22271:   CPPFLAGS="$ac_save_CPPFLAGS"
        !          22272:   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
1.237     moko     22273: esac
1.1       paf      22274: fi
1.243   ! moko     22275: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
        !          22276: printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
        !          22277: 
        !          22278: ac_have_year2038=yes
        !          22279: case $ac_cv_sys_year2038_opts in #(
        !          22280:   "none needed") :
        !          22281:      ;; #(
        !          22282:   "support not detected") :
        !          22283:     ac_have_year2038=no ;; #(
        !          22284:   "-D_TIME_BITS=64") :
        !          22285: 
        !          22286: printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
        !          22287:  ;; #(
        !          22288:   "-D__MINGW_USE_VC2005_COMPAT") :
        !          22289: 
        !          22290: printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
        !          22291:  ;; #(
        !          22292:   "-U_USE_32_BIT_TIME_T"*) :
        !          22293:     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
        !          22294: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
        !          22295: as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
        !          22296: will stop working after mid-January 2038. Remove
        !          22297: _USE_32BIT_TIME_T from the compiler flags.
        !          22298: See 'config.log' for more details" "$LINENO" 5; } ;; #(
        !          22299:   *) :
        !          22300:     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
1.237     moko     22301: esac
1.243   ! moko     22302: 
        !          22303: fi
        !          22304: 
1.62      paf      22305: fi
1.243   ! moko     22306: 
        !          22307: ac_fn_c_check_header_compile "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
        !          22308: if test "x$ac_cv_header_stdio_h" = xyes
1.237     moko     22309: then :
1.243   ! moko     22310:   printf "%s\n" "#define HAVE_STDIO_H 1" >>confdefs.h
1.1       paf      22311: 
1.243   ! moko     22312: fi
        !          22313: ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
        !          22314: if test "x$ac_cv_header_sys_types_h" = xyes
        !          22315: then :
        !          22316:   printf "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h
1.1       paf      22317: 
                   22318: fi
1.243   ! moko     22319: ac_fn_c_check_header_compile "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
        !          22320: if test "x$ac_cv_header_sys_stat_h" = xyes
        !          22321: then :
        !          22322:   printf "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h
1.1       paf      22323: 
1.243   ! moko     22324: fi
        !          22325: ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
        !          22326: if test "x$ac_cv_header_stdlib_h" = xyes
1.237     moko     22327: then :
1.243   ! moko     22328:   printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
1.66      paf      22329: 
1.243   ! moko     22330: fi
        !          22331: ac_fn_c_check_header_compile "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default"
        !          22332: if test "x$ac_cv_header_stddef_h" = xyes
        !          22333: then :
        !          22334:   printf "%s\n" "#define HAVE_STDDEF_H 1" >>confdefs.h
1.66      paf      22335: 
1.243   ! moko     22336: fi
        !          22337: ac_fn_c_check_header_compile "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default"
        !          22338: if test "x$ac_cv_header_memory_h" = xyes
1.237     moko     22339: then :
1.243   ! moko     22340:   printf "%s\n" "#define HAVE_MEMORY_H 1" >>confdefs.h
        !          22341: 
1.30      paf      22342: fi
1.243   ! moko     22343: ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
        !          22344: if test "x$ac_cv_header_string_h" = xyes
        !          22345: then :
        !          22346:   printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
        !          22347: 
1.62      paf      22348: fi
1.243   ! moko     22349: ac_fn_c_check_header_compile "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
        !          22350: if test "x$ac_cv_header_strings_h" = xyes
1.237     moko     22351: then :
1.243   ! moko     22352:   printf "%s\n" "#define HAVE_STRINGS_H 1" >>confdefs.h
1.30      paf      22353: 
1.243   ! moko     22354: fi
        !          22355: ac_fn_c_check_header_compile "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
        !          22356: if test "x$ac_cv_header_inttypes_h" = xyes
        !          22357: then :
        !          22358:   printf "%s\n" "#define HAVE_INTTYPES_H 1" >>confdefs.h
1.30      paf      22359: 
                   22360: fi
1.243   ! moko     22361: ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
        !          22362: if test "x$ac_cv_header_stdint_h" = xyes
        !          22363: then :
        !          22364:   printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
1.30      paf      22365: 
1.243   ! moko     22366: fi
        !          22367: ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
        !          22368: if test "x$ac_cv_header_unistd_h" = xyes
1.237     moko     22369: then :
1.243   ! moko     22370:   printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
        !          22371: 
        !          22372: fi
1.66      paf      22373: 
1.243   ! moko     22374: ac_fn_c_check_header_compile "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
        !          22375: if test "x$ac_cv_header_time_h" = xyes
1.237     moko     22376: then :
1.243   ! moko     22377:   printf "%s\n" "#define HAVE_TIME_H 1" >>confdefs.h
        !          22378: 
1.30      paf      22379: fi
1.243   ! moko     22380: ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
        !          22381: if test "x$ac_cv_header_sys_time_h" = xyes
        !          22382: then :
        !          22383:   printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
        !          22384: 
1.62      paf      22385: fi
1.243   ! moko     22386: ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
        !          22387: if test "x$ac_cv_header_assert_h" = xyes
1.237     moko     22388: then :
1.243   ! moko     22389:   printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h
1.30      paf      22390: 
1.243   ! moko     22391: fi
        !          22392: ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
        !          22393: if test "x$ac_cv_header_limits_h" = xyes
        !          22394: then :
        !          22395:   printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
1.30      paf      22396: 
                   22397: fi
1.243   ! moko     22398: ac_fn_c_check_header_compile "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
        !          22399: if test "x$ac_cv_header_ctype_h" = xyes
        !          22400: then :
        !          22401:   printf "%s\n" "#define HAVE_CTYPE_H 1" >>confdefs.h
1.30      paf      22402: 
1.243   ! moko     22403: fi
        !          22404: ac_fn_c_check_header_compile "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
        !          22405: if test "x$ac_cv_header_math_h" = xyes
1.237     moko     22406: then :
1.243   ! moko     22407:   printf "%s\n" "#define HAVE_MATH_H 1" >>confdefs.h
1.62      paf      22408: 
1.243   ! moko     22409: fi
        !          22410: ac_fn_c_check_header_compile "$LINENO" "process.h" "ac_cv_header_process_h" "$ac_includes_default"
        !          22411: if test "x$ac_cv_header_process_h" = xyes
1.237     moko     22412: then :
1.243   ! moko     22413:   printf "%s\n" "#define HAVE_PROCESS_H 1" >>confdefs.h
        !          22414: 
1.8       paf      22415: fi
1.243   ! moko     22416: ac_fn_c_check_header_compile "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
        !          22417: if test "x$ac_cv_header_stdarg_h" = xyes
        !          22418: then :
        !          22419:   printf "%s\n" "#define HAVE_STDARG_H 1" >>confdefs.h
        !          22420: 
1.8       paf      22421: fi
1.243   ! moko     22422: ac_fn_c_check_header_compile "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default"
        !          22423: if test "x$ac_cv_header_setjmp_h" = xyes
1.237     moko     22424: then :
1.243   ! moko     22425:   printf "%s\n" "#define HAVE_SETJMP_H 1" >>confdefs.h
1.66      paf      22426: 
1.243   ! moko     22427: fi
        !          22428: ac_fn_c_check_header_compile "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
        !          22429: if test "x$ac_cv_header_signal_h" = xyes
        !          22430: then :
        !          22431:   printf "%s\n" "#define HAVE_SIGNAL_H 1" >>confdefs.h
1.66      paf      22432: 
1.62      paf      22433: fi
1.243   ! moko     22434: ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
        !          22435: if test "x$ac_cv_header_pthread_h" = xyes
        !          22436: then :
        !          22437:   printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
1.62      paf      22438: 
1.243   ! moko     22439: fi
1.128     moko     22440: 
1.243   ! moko     22441: ac_fn_c_check_header_compile "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
        !          22442: if test "x$ac_cv_header_errno_h" = xyes
        !          22443: then :
        !          22444:   printf "%s\n" "#define HAVE_ERRNO_H 1" >>confdefs.h
1.128     moko     22445: 
1.243   ! moko     22446: fi
        !          22447: ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
        !          22448: if test "x$ac_cv_header_dirent_h" = xyes
        !          22449: then :
        !          22450:   printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
1.1       paf      22451: 
1.243   ! moko     22452: fi
        !          22453: ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
        !          22454: if test "x$ac_cv_header_fcntl_h" = xyes
1.237     moko     22455: then :
1.243   ! moko     22456:   printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
1.62      paf      22457: 
1.243   ! moko     22458: fi
        !          22459: ac_fn_c_check_header_compile "$LINENO" "io.h" "ac_cv_header_io_h" "$ac_includes_default"
        !          22460: if test "x$ac_cv_header_io_h" = xyes
1.237     moko     22461: then :
1.243   ! moko     22462:   printf "%s\n" "#define HAVE_IO_H 1" >>confdefs.h
        !          22463: 
1.62      paf      22464: fi
1.243   ! moko     22465: ac_fn_c_check_header_compile "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
        !          22466: if test "x$ac_cv_header_sys_file_h" = xyes
        !          22467: then :
        !          22468:   printf "%s\n" "#define HAVE_SYS_FILE_H 1" >>confdefs.h
        !          22469: 
1.62      paf      22470: fi
1.243   ! moko     22471: ac_fn_c_check_header_compile "$LINENO" "sys/locking.h" "ac_cv_header_sys_locking_h" "$ac_includes_default"
        !          22472: if test "x$ac_cv_header_sys_locking_h" = xyes
1.237     moko     22473: then :
1.243   ! moko     22474:   printf "%s\n" "#define HAVE_SYS_LOCKING_H 1" >>confdefs.h
1.1       paf      22475: 
1.243   ! moko     22476: fi
        !          22477: ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
        !          22478: if test "x$ac_cv_header_sys_select_h" = xyes
        !          22479: then :
        !          22480:   printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
1.1       paf      22481: 
                   22482: fi
1.243   ! moko     22483: ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
        !          22484: if test "x$ac_cv_header_sys_resource_h" = xyes
        !          22485: then :
        !          22486:   printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
1.1       paf      22487: 
1.243   ! moko     22488: fi
        !          22489: ac_fn_c_check_header_compile "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
        !          22490: if test "x$ac_cv_header_sys_wait_h" = xyes
1.237     moko     22491: then :
1.243   ! moko     22492:   printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
        !          22493: 
        !          22494: fi
1.62      paf      22495: 
1.243   ! moko     22496: ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
        !          22497: if test "x$ac_cv_header_sys_socket_h" = xyes
1.237     moko     22498: then :
1.243   ! moko     22499:   printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
        !          22500: 
1.62      paf      22501: fi
1.243   ! moko     22502: ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
        !          22503: if test "x$ac_cv_header_netinet_in_h" = xyes
        !          22504: then :
        !          22505:   printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
        !          22506: 
1.62      paf      22507: fi
1.243   ! moko     22508: ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
        !          22509: if test "x$ac_cv_header_arpa_inet_h" = xyes
1.237     moko     22510: then :
1.243   ! moko     22511:   printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
1.1       paf      22512: 
1.243   ! moko     22513: fi
        !          22514: ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
        !          22515: if test "x$ac_cv_header_netdb_h" = xyes
        !          22516: then :
        !          22517:   printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
1.66      paf      22518: 
                   22519: fi
                   22520: 
                   22521: 
                   22522: 
1.237     moko     22523: ac_fn_c_check_func "$LINENO" "flock" "ac_cv_func_flock"
                   22524: if test "x$ac_cv_func_flock" = xyes
                   22525: then :
                   22526:   printf "%s\n" "#define HAVE_FLOCK 1" >>confdefs.h
                   22527: 
                   22528: fi
                   22529: ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
                   22530: if test "x$ac_cv_func_fcntl" = xyes
                   22531: then :
                   22532:   printf "%s\n" "#define HAVE_FCNTL 1" >>confdefs.h
                   22533: 
                   22534: fi
                   22535: ac_fn_c_check_func "$LINENO" "lockf" "ac_cv_func_lockf"
                   22536: if test "x$ac_cv_func_lockf" = xyes
                   22537: then :
                   22538:   printf "%s\n" "#define HAVE_LOCKF 1" >>confdefs.h
                   22539: 
                   22540: fi
                   22541: ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate"
                   22542: if test "x$ac_cv_func_ftruncate" = xyes
                   22543: then :
                   22544:   printf "%s\n" "#define HAVE_FTRUNCATE 1" >>confdefs.h
                   22545: 
                   22546: fi
                   22547: ac_fn_c_check_func "$LINENO" "fchmod" "ac_cv_func_fchmod"
                   22548: if test "x$ac_cv_func_fchmod" = xyes
                   22549: then :
                   22550:   printf "%s\n" "#define HAVE_FCHMOD 1" >>confdefs.h
                   22551: 
                   22552: fi
                   22553: 
                   22554: ac_fn_c_check_func "$LINENO" "getrusage" "ac_cv_func_getrusage"
                   22555: if test "x$ac_cv_func_getrusage" = xyes
                   22556: then :
                   22557:   printf "%s\n" "#define HAVE_GETRUSAGE 1" >>confdefs.h
                   22558: 
                   22559: fi
                   22560: ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
                   22561: if test "x$ac_cv_func_gettimeofday" = xyes
                   22562: then :
                   22563:   printf "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
                   22564: 
                   22565: fi
                   22566: ac_fn_c_check_func "$LINENO" "crypt" "ac_cv_func_crypt"
                   22567: if test "x$ac_cv_func_crypt" = xyes
                   22568: then :
                   22569:   printf "%s\n" "#define HAVE_CRYPT 1" >>confdefs.h
                   22570: 
                   22571: fi
                   22572: ac_fn_c_check_func "$LINENO" "sigsetjmp" "ac_cv_func_sigsetjmp"
                   22573: if test "x$ac_cv_func_sigsetjmp" = xyes
                   22574: then :
                   22575:   printf "%s\n" "#define HAVE_SIGSETJMP 1" >>confdefs.h
                   22576: 
                   22577: fi
                   22578: ac_fn_c_check_func "$LINENO" "siglongjmp" "ac_cv_func_siglongjmp"
                   22579: if test "x$ac_cv_func_siglongjmp" = xyes
                   22580: then :
                   22581:   printf "%s\n" "#define HAVE_SIGLONGJMP 1" >>confdefs.h
1.159     moko     22582: 
                   22583: fi
1.237     moko     22584: ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
                   22585: if test "x$ac_cv_func_unsetenv" = xyes
                   22586: then :
                   22587:   printf "%s\n" "#define HAVE_UNSETENV 1" >>confdefs.h
1.66      paf      22588: 
1.237     moko     22589: fi
                   22590: ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog"
                   22591: if test "x$ac_cv_func_syslog" = xyes
                   22592: then :
                   22593:   printf "%s\n" "#define HAVE_SYSLOG 1" >>confdefs.h
1.1       paf      22594: 
1.66      paf      22595: fi
                   22596: 
1.1       paf      22597: 
                   22598: 
1.159     moko     22599: 
1.67      paf      22600: pa_func=sigsetjmp
1.237     moko     22601: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
                   22602: printf %s "checking for (maybe built-in) function $pa_func... " >&6; }
1.229     moko     22603: 
                   22604:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      22605: /* end confdefs.h.  */
                   22606: 
                   22607: #ifdef HAVE_SETJMP_H
                   22608: #      include <setjmp.h>
                   22609: #endif
                   22610: 
                   22611: int
1.237     moko     22612: main (void)
1.67      paf      22613: {
                   22614: 
                   22615:         $pa_func(0,0);
                   22616: 
                   22617:   ;
                   22618:   return 0;
                   22619: }
                   22620: _ACEOF
1.237     moko     22621: if ac_fn_c_try_compile "$LINENO"
                   22622: then :
                   22623:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22624: printf "%s\n" "yes" >&6; }
1.67      paf      22625: cat >>confdefs.h <<_ACEOF
1.237     moko     22626: #define `printf "%s\n" "HAVE_$pa_func" | sed "$as_sed_cpp"` 1
1.67      paf      22627: _ACEOF
                   22628: 
                   22629: 
1.237     moko     22630: else case e in #(
                   22631:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22632: printf "%s\n" "no" >&6; }
1.229     moko     22633: 
1.237     moko     22634:    ;;
                   22635: esac
1.67      paf      22636: fi
1.237     moko     22637: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.67      paf      22638: 
                   22639: 
                   22640: 
1.159     moko     22641: 
1.229     moko     22642: 
1.150     moko     22643: ac_ext=cpp
1.67      paf      22644: ac_cpp='$CXXCPP $CPPFLAGS'
                   22645: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   22646: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   22647: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   22648: 
                   22649: 
                   22650: 
1.188     moko     22651: for pa_func in trunc round sign isfinite
1.67      paf      22652: do
                   22653: 
1.237     moko     22654: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
                   22655: printf %s "checking for (maybe built-in) math function $pa_func... " >&6; }
1.229     moko     22656: 
                   22657:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      22658: /* end confdefs.h.  */
                   22659: 
                   22660: #ifdef HAVE_MATH_H
                   22661: #       include <math.h>
                   22662: #endif
                   22663: 
                   22664: int
1.237     moko     22665: main (void)
1.67      paf      22666: {
                   22667: 
                   22668:         double result=$pa_func(1.6);
                   22669: 
                   22670:   ;
                   22671:   return 0;
                   22672: }
                   22673: _ACEOF
1.237     moko     22674: if ac_fn_cxx_try_compile "$LINENO"
                   22675: then :
                   22676:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22677: printf "%s\n" "yes" >&6; }
1.67      paf      22678: cat >>confdefs.h <<_ACEOF
1.237     moko     22679: #define `printf "%s\n" "HAVE_$pa_func" | sed "$as_sed_cpp"`  1
1.62      paf      22680: _ACEOF
1.66      paf      22681: 
1.237     moko     22682: else case e in #(
                   22683:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22684: printf "%s\n" "no" >&6; }
1.229     moko     22685: 
1.237     moko     22686:    ;;
                   22687: esac
1.62      paf      22688: fi
1.237     moko     22689: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.150     moko     22690: 
1.229     moko     22691: 
1.150     moko     22692: done
                   22693: 
                   22694: ac_ext=c
                   22695: ac_cpp='$CPP $CPPFLAGS'
                   22696: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   22697: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   22698: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   22699: 
                   22700: 
                   22701: 
1.237     moko     22702: 
                   22703:   for ac_func in qsort
1.150     moko     22704: do :
                   22705:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
1.237     moko     22706: if test "x$ac_cv_func_qsort" = xyes
                   22707: then :
                   22708:   printf "%s\n" "#define HAVE_QSORT 1" >>confdefs.h
1.1       paf      22709: 
1.237     moko     22710: else case e in #(
                   22711:   e) as_fn_error $? "No qsort library function." "$LINENO" 5 ;;
                   22712: esac
1.1       paf      22713: fi
1.237     moko     22714: 
1.66      paf      22715: done
1.1       paf      22716: 
                   22717: 
1.62      paf      22718: 
1.177     moko     22719: ac_ext=cpp
                   22720: ac_cpp='$CXXCPP $CPPFLAGS'
                   22721: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   22722: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   22723: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   22724: 
1.237     moko     22725: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
                   22726: printf %s "checking for timezone variable... " >&6; }
1.229     moko     22727: 
                   22728:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22729: /* end confdefs.h.  */
1.66      paf      22730: #include <time.h>
1.62      paf      22731: int
1.237     moko     22732: main (void)
1.62      paf      22733: {
1.177     moko     22734: int test=timezone;
1.62      paf      22735:   ;
                   22736:   return 0;
                   22737: }
                   22738: _ACEOF
1.237     moko     22739: if ac_fn_cxx_try_compile "$LINENO"
                   22740: then :
                   22741:   printf "%s\n" "#define HAVE_TIMEZONE 1" >>confdefs.h
                   22742:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22743: printf "%s\n" "yes" >&6; }
                   22744: else case e in #(
                   22745:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22746: printf "%s\n" "no" >&6; }
                   22747:    ;;
                   22748: esac
1.62      paf      22749: fi
1.237     moko     22750: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.229     moko     22751: 
1.177     moko     22752: ac_ext=c
                   22753: ac_cpp='$CPP $CPPFLAGS'
                   22754: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   22755: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   22756: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   22757: 
1.1       paf      22758: 
1.237     moko     22759: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
                   22760: printf %s "checking for tm_gmtoff in struct tm... " >&6; }
1.229     moko     22761: 
                   22762:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22763: /* end confdefs.h.  */
1.66      paf      22764: #include <time.h>
1.62      paf      22765: int
1.237     moko     22766: main (void)
1.62      paf      22767: {
1.176     moko     22768: struct tm tm; tm.tm_gmtoff=0;
1.62      paf      22769:   ;
                   22770:   return 0;
                   22771: }
                   22772: _ACEOF
1.237     moko     22773: if ac_fn_c_try_compile "$LINENO"
                   22774: then :
                   22775:   printf "%s\n" "#define HAVE_TM_GMTOFF 1" >>confdefs.h
                   22776:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22777: printf "%s\n" "yes" >&6; }
                   22778: else case e in #(
                   22779:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22780: printf "%s\n" "no" >&6; }
                   22781:    ;;
                   22782: esac
1.62      paf      22783: fi
1.237     moko     22784: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.62      paf      22785: 
1.229     moko     22786: 
1.237     moko     22787: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
                   22788: printf %s "checking for tm_tzadj in struct tm... " >&6; }
1.229     moko     22789: 
                   22790:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22791: /* end confdefs.h.  */
1.66      paf      22792: #include <time.h>
1.62      paf      22793: int
1.237     moko     22794: main (void)
1.62      paf      22795: {
1.176     moko     22796: struct tm tm; tm.tm_tzadj=0;
1.62      paf      22797:   ;
                   22798:   return 0;
                   22799: }
                   22800: _ACEOF
1.237     moko     22801: if ac_fn_c_try_compile "$LINENO"
                   22802: then :
                   22803:   printf "%s\n" "#define HAVE_TM_TZADJ 1" >>confdefs.h
                   22804:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22805: printf "%s\n" "yes" >&6; }
                   22806: else case e in #(
                   22807:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22808: printf "%s\n" "no" >&6; }
                   22809:    ;;
                   22810: esac
1.62      paf      22811: fi
1.237     moko     22812: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       paf      22813: 
1.229     moko     22814: 
1.237     moko     22815: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gettid" >&5
                   22816: printf %s "checking for gettid... " >&6; }
1.229     moko     22817: 
                   22818:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.206     moko     22819: /* end confdefs.h.  */
                   22820: 
                   22821: #include <sys/types.h>
                   22822: #include <sys/syscall.h>
                   22823: 
                   22824: int
1.237     moko     22825: main (void)
1.206     moko     22826: {
                   22827: uint tid=syscall(__NR_gettid);
                   22828:   ;
                   22829:   return 0;
                   22830: }
                   22831: _ACEOF
1.237     moko     22832: if ac_fn_c_try_compile "$LINENO"
                   22833: then :
                   22834:   printf "%s\n" "#define HAVE_GETTID 1" >>confdefs.h
                   22835:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22836: printf "%s\n" "yes" >&6; }
                   22837: else case e in #(
                   22838:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22839: printf "%s\n" "no" >&6; }
                   22840:    ;;
                   22841: esac
1.206     moko     22842: fi
1.237     moko     22843: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.206     moko     22844: 
1.229     moko     22845: 
1.237     moko     22846: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5
                   22847: printf %s "checking for TLS... " >&6; }
1.229     moko     22848: 
                   22849:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.208     moko     22850: /* end confdefs.h.  */
1.209     moko     22851: __thread int i=0;
1.208     moko     22852: int
1.237     moko     22853: main (void)
1.208     moko     22854: {
1.209     moko     22855: 
1.208     moko     22856:   ;
                   22857:   return 0;
                   22858: }
                   22859: _ACEOF
1.237     moko     22860: if ac_fn_c_try_compile "$LINENO"
                   22861: then :
                   22862:   printf "%s\n" "#define HAVE_TLS 1" >>confdefs.h
                   22863:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22864: printf "%s\n" "yes" >&6; }
                   22865: else case e in #(
                   22866:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22867: printf "%s\n" "no" >&6; }
                   22868:    ;;
                   22869: esac
1.208     moko     22870: fi
1.237     moko     22871: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.208     moko     22872: 
1.229     moko     22873: 
1.237     moko     22874: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 0..9999 year date range support" >&5
                   22875: printf %s "checking for 0..9999 year date range support... " >&6; }
                   22876: if test "$cross_compiling" = yes
                   22877: then :
                   22878:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22879: printf "%s\n" "no" >&6; }
                   22880: else case e in #(
                   22881:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22882: /* end confdefs.h.  */
1.176     moko     22883: 
                   22884: #include <string.h>
1.66      paf      22885: #include <time.h>
1.176     moko     22886: 
                   22887: int main() {
                   22888:        struct tm tmL,tmH;
                   22889:        memset(&tmL, 0, sizeof(tmL));
                   22890:        memset(&tmH, 0, sizeof(tmH));
                   22891:        tmL.tm_year=-1900;
                   22892:        tmL.tm_mon=-1;
                   22893:        tmH.tm_year=9999-1900;
                   22894:        tmH.tm_mon=12-1;
                   22895:        tmH.tm_mday=31;
                   22896:        return mktime(&tmL)==-1 || mktime(&tmH)==-1;
1.62      paf      22897: }
1.176     moko     22898: 
1.62      paf      22899: _ACEOF
1.237     moko     22900: if ac_fn_c_try_run "$LINENO"
                   22901: then :
                   22902:   printf "%s\n" "#define PA_DATE64 1" >>confdefs.h
                   22903:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22904: printf "%s\n" "yes" >&6; }
                   22905: else case e in #(
                   22906:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22907: printf "%s\n" "no" >&6; } ;;
                   22908: esac
1.62      paf      22909: fi
1.176     moko     22910: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1.237     moko     22911:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   22912: esac
1.176     moko     22913: fi
1.31      paf      22914: 
1.1       paf      22915: 
                   22916: 
                   22917: 
1.62      paf      22918: 
                   22919: 
                   22920: 
1.206     moko     22921: 
1.208     moko     22922: 
1.150     moko     22923: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      22924: 
                   22925: 
1.200     moko     22926: 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      22927: 
                   22928: cat >confcache <<\_ACEOF
1.1       paf      22929: # This file is a shell script that caches the results of configure
                   22930: # tests run on this system so they can be shared between configure
1.62      paf      22931: # scripts and configure runs, see configure's option --config-cache.
                   22932: # It is not useful on other systems.  If it contains results you don't
                   22933: # want to keep, you may remove or edit it.
1.1       paf      22934: #
1.62      paf      22935: # config.status only pays attention to the cache file if you give it
                   22936: # the --recheck option to rerun configure.
1.1       paf      22937: #
1.237     moko     22938: # 'ac_cv_env_foo' variables (set or unset) will be overridden when
                   22939: # loading this file, other *unset* 'ac_cv_foo' will be assigned the
1.62      paf      22940: # following values.
                   22941: 
                   22942: _ACEOF
                   22943: 
1.1       paf      22944: # The following way of writing the cache mishandles newlines in values,
                   22945: # but we know of no workaround that is simple, portable, and efficient.
1.150     moko     22946: # So, we kill variables containing newlines.
1.1       paf      22947: # Ultrix sh set writes to stderr and can't be redirected directly,
                   22948: # and sets the high bit in the cache file unless we assign to the vars.
1.150     moko     22949: (
                   22950:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   22951:     eval ac_val=\$$ac_var
                   22952:     case $ac_val in #(
                   22953:     *${as_nl}*)
                   22954:       case $ac_var in #(
1.237     moko     22955:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   22956: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.150     moko     22957:       esac
                   22958:       case $ac_var in #(
                   22959:       _ | IFS | as_nl) ;; #(
                   22960:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   22961:       *) { eval $ac_var=; unset $ac_var;} ;;
                   22962:       esac ;;
                   22963:     esac
                   22964:   done
                   22965: 
1.62      paf      22966:   (set) 2>&1 |
1.150     moko     22967:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   22968:     *${as_nl}ac_space=\ *)
1.237     moko     22969:       # 'set' does not quote correctly, so add quotes: double-quote
1.150     moko     22970:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      22971:       sed -n \
1.86      paf      22972:        "s/'/'\\\\''/g;
                   22973:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150     moko     22974:       ;; #(
1.62      paf      22975:     *)
1.237     moko     22976:       # 'set' quotes correctly as required by POSIX, so do not add quotes.
1.150     moko     22977:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      22978:       ;;
1.150     moko     22979:     esac |
                   22980:     sort
                   22981: ) |
1.62      paf      22982:   sed '
1.150     moko     22983:      /^ac_cv_env_/b end
1.62      paf      22984:      t clear
1.150     moko     22985:      :clear
1.237     moko     22986:      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1.62      paf      22987:      t end
1.150     moko     22988:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   22989:      :end' >>confcache
                   22990: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   22991:   if test -w "$cache_file"; then
                   22992:     if test "x$cache_file" != "x/dev/null"; then
1.237     moko     22993:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   22994: printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1.150     moko     22995:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   22996:        cat confcache >"$cache_file"
                   22997:       else
                   22998:         case $cache_file in #(
                   22999:         */* | ?:*)
                   23000:          mv -f confcache "$cache_file"$$ &&
                   23001:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   23002:         *)
                   23003:          mv -f confcache "$cache_file" ;;
                   23004:        esac
                   23005:       fi
                   23006:     fi
1.1       paf      23007:   else
1.237     moko     23008:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   23009: printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      23010:   fi
                   23011: fi
                   23012: rm -f confcache
                   23013: 
                   23014: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   23015: # Let make expand exec_prefix.
                   23016: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   23017: 
1.62      paf      23018: DEFS=-DHAVE_CONFIG_H
                   23019: 
                   23020: ac_libobjs=
                   23021: ac_ltlibobjs=
1.229     moko     23022: U=
1.62      paf      23023: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   23024:   # 1. Remove the extension, and $U if already installed.
1.150     moko     23025:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.237     moko     23026:   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1.150     moko     23027:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   23028:   #    will be set to the directory where LIBOBJS objects are built.
                   23029:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   23030:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      23031: done
                   23032: LIBOBJS=$ac_libobjs
                   23033: 
                   23034: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      23035: 
                   23036: 
1.237     moko     23037: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
                   23038: printf %s "checking that generated files are newer than configure... " >&6; }
1.187     moko     23039:    if test -n "$am_sleep_pid"; then
                   23040:      # Hide warnings about reused PIDs.
                   23041:      wait $am_sleep_pid 2>/dev/null
                   23042:    fi
1.237     moko     23043:    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
                   23044: printf "%s\n" "done" >&6; }
                   23045: case $enable_silent_rules in # (((
                   23046:   yes) AM_DEFAULT_VERBOSITY=0;;
                   23047:    no) AM_DEFAULT_VERBOSITY=1;;
                   23048: esac
                   23049: if test $am_cv_make_support_nested_variables = yes; then
                   23050:     AM_V='$(V)'
                   23051:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
                   23052: else
                   23053:   AM_V=$AM_DEFAULT_VERBOSITY
                   23054:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
                   23055: fi
                   23056: 
1.150     moko     23057:  if test -n "$EXEEXT"; then
                   23058:   am__EXEEXT_TRUE=
                   23059:   am__EXEEXT_FALSE='#'
                   23060: else
                   23061:   am__EXEEXT_TRUE='#'
                   23062:   am__EXEEXT_FALSE=
                   23063: fi
                   23064: 
1.62      paf      23065: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150     moko     23066:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   23067: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      23068: fi
1.66      paf      23069: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150     moko     23070:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   23071: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      23072: fi
1.66      paf      23073: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150     moko     23074:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   23075: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      23076: fi
1.122     moko     23077: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150     moko     23078:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
                   23079: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      23080: fi
1.128     moko     23081: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150     moko     23082:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   23083: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     23084: fi
                   23085: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150     moko     23086:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   23087: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     23088: fi
1.237     moko     23089: if test -z "${LTARGZH_EXISTS_TRUE}" && test -z "${LTARGZH_EXISTS_FALSE}"; then
                   23090:   as_fn_error $? "conditional \"LTARGZH_EXISTS\" was never defined.
                   23091: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23092: fi
1.150     moko     23093: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     23094: 
                   23095:     _ltdl_libobjs=
                   23096:     _ltdl_ltlibobjs=
                   23097:     if test -n "$_LT_LIBOBJS"; then
                   23098:       # Remove the extension.
                   23099:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
1.237     moko     23100:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | $SED "$_lt_sed_drop_objext" | sort -u`; do
1.128     moko     23101:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   23102:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   23103:       done
                   23104:     fi
                   23105:     ltdl_LIBOBJS=$_ltdl_libobjs
                   23106: 
                   23107:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   23108: 
                   23109: 
1.62      paf      23110: 
1.237     moko     23111: # Check whether --enable-year2038 was given.
                   23112: if test ${enable_year2038+y}
                   23113: then :
                   23114:   enableval=$enable_year2038;
                   23115: fi
                   23116: 
1.150     moko     23117: 
                   23118: : "${CONFIG_STATUS=./config.status}"
                   23119: ac_write_fail=0
1.62      paf      23120: ac_clean_files_save=$ac_clean_files
                   23121: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.237     moko     23122: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   23123: printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1.150     moko     23124: as_write_fail=0
                   23125: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      23126: #! $SHELL
                   23127: # Generated by $as_me.
                   23128: # Run this file to recreate the current configuration.
                   23129: # Compiler output produced by configure, useful for debugging
                   23130: # configure, is in config.log if it exists.
                   23131: 
                   23132: debug=false
                   23133: ac_cs_recheck=false
                   23134: ac_cs_silent=false
1.150     moko     23135: 
1.62      paf      23136: SHELL=\${CONFIG_SHELL-$SHELL}
1.150     moko     23137: export SHELL
                   23138: _ASEOF
                   23139: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   23140: ## -------------------- ##
                   23141: ## M4sh Initialization. ##
                   23142: ## -------------------- ##
1.62      paf      23143: 
1.150     moko     23144: # Be more Bourne compatible
                   23145: DUALCASE=1; export DUALCASE # for MKS sh
1.237     moko     23146: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
                   23147: then :
1.62      paf      23148:   emulate sh
                   23149:   NULLCMD=:
1.150     moko     23150:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      23151:   # is contrary to our usage.  Disable this feature.
                   23152:   alias -g '${1+"$@"}'='"$@"'
1.150     moko     23153:   setopt NO_GLOB_SUBST
1.237     moko     23154: else case e in #(
                   23155:   e) case `(set -o) 2>/dev/null` in #(
1.150     moko     23156:   *posix*) :
                   23157:     set -o posix ;; #(
                   23158:   *) :
                   23159:      ;;
1.237     moko     23160: esac ;;
1.150     moko     23161: esac
                   23162: fi
                   23163: 
                   23164: 
1.237     moko     23165: 
                   23166: # Reset variables that may have inherited troublesome values from
                   23167: # the environment.
                   23168: 
                   23169: # IFS needs to be set, to space, tab, and newline, in precisely that order.
                   23170: # (If _AS_PATH_WALK were called with IFS unset, it would have the
                   23171: # side effect of setting IFS to empty, thus disabling word splitting.)
                   23172: # Quoting is to prevent editors from complaining about space-tab.
1.150     moko     23173: as_nl='
                   23174: '
                   23175: export as_nl
1.237     moko     23176: IFS=" ""       $as_nl"
                   23177: 
                   23178: PS1='$ '
                   23179: PS2='> '
                   23180: PS4='+ '
                   23181: 
                   23182: # Ensure predictable behavior from utilities with locale-dependent output.
                   23183: LC_ALL=C
                   23184: export LC_ALL
                   23185: LANGUAGE=C
                   23186: export LANGUAGE
                   23187: 
                   23188: # We cannot yet rely on "unset" to work, but we need these variables
                   23189: # to be unset--not just set to an empty or harmless value--now, to
                   23190: # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
                   23191: # also avoids known problems related to "unset" and subshell syntax
                   23192: # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
                   23193: for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
                   23194: do eval test \${$as_var+y} \
                   23195:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   23196: done
                   23197: 
                   23198: # Ensure that fds 0, 1, and 2 are open.
                   23199: if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
                   23200: if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
                   23201: if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
1.62      paf      23202: 
1.150     moko     23203: # The user is always right.
1.237     moko     23204: if ${PATH_SEPARATOR+false} :; then
1.150     moko     23205:   PATH_SEPARATOR=:
                   23206:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   23207:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   23208:       PATH_SEPARATOR=';'
                   23209:   }
1.62      paf      23210: fi
                   23211: 
                   23212: 
1.150     moko     23213: # Find who we are.  Look in the path if we contain no directory separator.
                   23214: as_myself=
                   23215: case $0 in #((
                   23216:   *[\\/]* ) as_myself=$0 ;;
                   23217:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   23218: for as_dir in $PATH
                   23219: do
                   23220:   IFS=$as_save_IFS
1.237     moko     23221:   case $as_dir in #(((
                   23222:     '') as_dir=./ ;;
                   23223:     */) ;;
                   23224:     *) as_dir=$as_dir/ ;;
                   23225:   esac
                   23226:     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1.150     moko     23227:   done
                   23228: IFS=$as_save_IFS
                   23229: 
                   23230:      ;;
                   23231: esac
1.237     moko     23232: # We did not find ourselves, most probably we were run as 'sh COMMAND'
1.150     moko     23233: # in which case we are not to be found in the path.
                   23234: if test "x$as_myself" = x; then
                   23235:   as_myself=$0
                   23236: fi
                   23237: if test ! -f "$as_myself"; then
1.237     moko     23238:   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.150     moko     23239:   exit 1
                   23240: fi
                   23241: 
                   23242: 
                   23243: 
                   23244: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   23245: # ----------------------------------------
                   23246: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   23247: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   23248: # script with STATUS, using 1 if that was 0.
                   23249: as_fn_error ()
                   23250: {
                   23251:   as_status=$1; test $as_status -eq 0 && as_status=1
                   23252:   if test "$4"; then
                   23253:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.237     moko     23254:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.150     moko     23255:   fi
1.237     moko     23256:   printf "%s\n" "$as_me: error: $2" >&2
1.150     moko     23257:   as_fn_exit $as_status
                   23258: } # as_fn_error
                   23259: 
                   23260: 
                   23261: # as_fn_set_status STATUS
                   23262: # -----------------------
                   23263: # Set $? to STATUS, without forking.
                   23264: as_fn_set_status ()
                   23265: {
                   23266:   return $1
                   23267: } # as_fn_set_status
                   23268: 
                   23269: # as_fn_exit STATUS
                   23270: # -----------------
                   23271: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   23272: as_fn_exit ()
                   23273: {
                   23274:   set +e
                   23275:   as_fn_set_status $1
                   23276:   exit $1
                   23277: } # as_fn_exit
                   23278: 
                   23279: # as_fn_unset VAR
                   23280: # ---------------
                   23281: # Portably unset VAR.
                   23282: as_fn_unset ()
                   23283: {
                   23284:   { eval $1=; unset $1;}
                   23285: }
                   23286: as_unset=as_fn_unset
1.237     moko     23287: 
1.150     moko     23288: # as_fn_append VAR VALUE
                   23289: # ----------------------
                   23290: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   23291: # advantage of any shell optimizations that allow amortized linear growth over
                   23292: # repeated appends, instead of the typical quadratic growth present in naive
                   23293: # implementations.
1.237     moko     23294: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
                   23295: then :
1.150     moko     23296:   eval 'as_fn_append ()
                   23297:   {
                   23298:     eval $1+=\$2
                   23299:   }'
1.237     moko     23300: else case e in #(
                   23301:   e) as_fn_append ()
1.150     moko     23302:   {
                   23303:     eval $1=\$$1\$2
1.237     moko     23304:   } ;;
                   23305: esac
1.150     moko     23306: fi # as_fn_append
                   23307: 
                   23308: # as_fn_arith ARG...
                   23309: # ------------------
                   23310: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   23311: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   23312: # must be portable across $(()) and expr.
1.237     moko     23313: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
                   23314: then :
1.150     moko     23315:   eval 'as_fn_arith ()
                   23316:   {
                   23317:     as_val=$(( $* ))
                   23318:   }'
1.237     moko     23319: else case e in #(
                   23320:   e) as_fn_arith ()
1.150     moko     23321:   {
                   23322:     as_val=`expr "$@" || test $? -eq 1`
1.237     moko     23323:   } ;;
                   23324: esac
1.150     moko     23325: fi # as_fn_arith
                   23326: 
1.1       paf      23327: 
1.150     moko     23328: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   23329:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      23330:   as_expr=expr
                   23331: else
                   23332:   as_expr=false
                   23333: fi
                   23334: 
1.150     moko     23335: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      23336:   as_basename=basename
                   23337: else
                   23338:   as_basename=false
                   23339: fi
                   23340: 
1.150     moko     23341: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   23342:   as_dirname=dirname
                   23343: else
                   23344:   as_dirname=false
                   23345: fi
1.62      paf      23346: 
1.150     moko     23347: as_me=`$as_basename -- "$0" ||
1.62      paf      23348: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   23349:         X"$0" : 'X\(//\)$' \| \
1.150     moko     23350:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     23351: printf "%s\n" X/"$0" |
1.150     moko     23352:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   23353:            s//\1/
                   23354:            q
                   23355:          }
                   23356:          /^X\/\(\/\/\)$/{
                   23357:            s//\1/
                   23358:            q
                   23359:          }
                   23360:          /^X\/\(\/\).*/{
                   23361:            s//\1/
                   23362:            q
                   23363:          }
                   23364:          s/.*/./; q'`
1.62      paf      23365: 
                   23366: # Avoid depending upon Character Ranges.
                   23367: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   23368: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   23369: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   23370: as_cr_digits='0123456789'
                   23371: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   23372: 
1.237     moko     23373: 
                   23374: # Determine whether it's possible to make 'echo' print without a newline.
                   23375: # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
                   23376: # for compatibility with existing Makefiles.
1.150     moko     23377: ECHO_C= ECHO_N= ECHO_T=
                   23378: case `echo -n x` in #(((((
                   23379: -n*)
                   23380:   case `echo 'xy\c'` in
                   23381:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   23382:   xy)  ECHO_C='\c';;
                   23383:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   23384:        ECHO_T='        ';;
                   23385:   esac;;
                   23386: *)
                   23387:   ECHO_N='-n';;
1.62      paf      23388: esac
                   23389: 
1.237     moko     23390: # For backward compatibility with old third-party macros, we provide
                   23391: # the shell variables $as_echo and $as_echo_n.  New code should use
                   23392: # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
                   23393: as_echo='printf %s\n'
                   23394: as_echo_n='printf %s'
                   23395: 
1.150     moko     23396: rm -f conf$$ conf$$.exe conf$$.file
                   23397: if test -d conf$$.dir; then
                   23398:   rm -f conf$$.dir/conf$$.file
1.62      paf      23399: else
1.150     moko     23400:   rm -f conf$$.dir
                   23401:   mkdir conf$$.dir 2>/dev/null
1.62      paf      23402: fi
1.150     moko     23403: if (echo >conf$$.file) 2>/dev/null; then
                   23404:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   23405:     as_ln_s='ln -s'
                   23406:     # ... but there are two gotchas:
1.237     moko     23407:     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
                   23408:     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
                   23409:     # In both cases, we have to default to 'cp -pR'.
1.150     moko     23410:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.166     moko     23411:       as_ln_s='cp -pR'
1.150     moko     23412:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   23413:     as_ln_s=ln
                   23414:   else
1.166     moko     23415:     as_ln_s='cp -pR'
1.62      paf      23416:   fi
                   23417: else
1.166     moko     23418:   as_ln_s='cp -pR'
1.62      paf      23419: fi
1.150     moko     23420: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   23421: rmdir conf$$.dir 2>/dev/null
                   23422: 
                   23423: 
                   23424: # as_fn_mkdir_p
                   23425: # -------------
                   23426: # Create "$as_dir" as a directory, including parents if necessary.
                   23427: as_fn_mkdir_p ()
                   23428: {
                   23429: 
                   23430:   case $as_dir in #(
                   23431:   -*) as_dir=./$as_dir;;
                   23432:   esac
                   23433:   test -d "$as_dir" || eval $as_mkdir_p || {
                   23434:     as_dirs=
                   23435:     while :; do
                   23436:       case $as_dir in #(
1.237     moko     23437:       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.150     moko     23438:       *) as_qdir=$as_dir;;
                   23439:       esac
                   23440:       as_dirs="'$as_qdir' $as_dirs"
                   23441:       as_dir=`$as_dirname -- "$as_dir" ||
                   23442: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   23443:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   23444:         X"$as_dir" : 'X\(//\)$' \| \
                   23445:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     23446: printf "%s\n" X"$as_dir" |
1.150     moko     23447:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   23448:            s//\1/
                   23449:            q
                   23450:          }
                   23451:          /^X\(\/\/\)[^/].*/{
                   23452:            s//\1/
                   23453:            q
                   23454:          }
                   23455:          /^X\(\/\/\)$/{
                   23456:            s//\1/
                   23457:            q
                   23458:          }
                   23459:          /^X\(\/\).*/{
                   23460:            s//\1/
                   23461:            q
                   23462:          }
                   23463:          s/.*/./; q'`
                   23464:       test -d "$as_dir" && break
                   23465:     done
                   23466:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   23467:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   23468: 
1.62      paf      23469: 
1.150     moko     23470: } # as_fn_mkdir_p
1.62      paf      23471: if mkdir -p . 2>/dev/null; then
1.150     moko     23472:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      23473: else
1.86      paf      23474:   test -d ./-p && rmdir ./-p
1.62      paf      23475:   as_mkdir_p=false
                   23476: fi
                   23477: 
1.166     moko     23478: 
                   23479: # as_fn_executable_p FILE
                   23480: # -----------------------
                   23481: # Test if FILE is an executable regular file.
                   23482: as_fn_executable_p ()
                   23483: {
                   23484:   test -f "$1" && test -x "$1"
                   23485: } # as_fn_executable_p
                   23486: as_test_x='test -x'
                   23487: as_executable_p=as_fn_executable_p
1.62      paf      23488: 
                   23489: # Sed expression to map a string onto a valid CPP name.
1.237     moko     23490: as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   23491: as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
1.62      paf      23492: 
                   23493: # Sed expression to map a string onto a valid variable name.
1.237     moko     23494: as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   23495: as_tr_sh="eval sed '$as_sed_sh'" # deprecated
1.62      paf      23496: 
                   23497: 
                   23498: exec 6>&1
1.150     moko     23499: ## ----------------------------------- ##
                   23500: ## Main body of $CONFIG_STATUS script. ##
                   23501: ## ----------------------------------- ##
                   23502: _ASEOF
                   23503: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      23504: 
1.150     moko     23505: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   23506: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      23507: # report actual input values of CONFIG_FILES etc. instead of their
1.150     moko     23508: # values after options handling.
                   23509: ac_log="
1.230     moko     23510: This file was extended by parser $as_me 3.5.2b, which was
1.237     moko     23511: generated by GNU Autoconf 2.72.  Invocation command line was
1.62      paf      23512: 
                   23513:   CONFIG_FILES    = $CONFIG_FILES
                   23514:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   23515:   CONFIG_LINKS    = $CONFIG_LINKS
                   23516:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   23517:   $ $0 $@
                   23518: 
1.150     moko     23519: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   23520: "
                   23521: 
1.62      paf      23522: _ACEOF
                   23523: 
1.150     moko     23524: case $ac_config_files in *"
                   23525: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   23526: esac
1.62      paf      23527: 
1.150     moko     23528: case $ac_config_headers in *"
                   23529: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   23530: esac
1.62      paf      23531: 
                   23532: 
1.150     moko     23533: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   23534: # Files that config.status was made for.
                   23535: config_files="$ac_config_files"
                   23536: config_headers="$ac_config_headers"
                   23537: config_commands="$ac_config_commands"
1.62      paf      23538: 
1.150     moko     23539: _ACEOF
1.62      paf      23540: 
1.150     moko     23541: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      23542: ac_cs_usage="\
1.237     moko     23543: '$as_me' instantiates files and other configuration actions
1.150     moko     23544: from templates according to the current configuration.  Unless the files
                   23545: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      23546: 
1.150     moko     23547: Usage: $0 [OPTION]... [TAG]...
1.62      paf      23548: 
                   23549:   -h, --help       print this help, then exit
1.150     moko     23550:   -V, --version    print version number and configuration settings, then exit
                   23551:       --config     print configuration, then exit
                   23552:   -q, --quiet, --silent
                   23553:                    do not print progress messages
1.62      paf      23554:   -d, --debug      don't remove temporary files
                   23555:       --recheck    update $as_me by reconfiguring in the same conditions
1.150     moko     23556:       --file=FILE[:TEMPLATE]
                   23557:                    instantiate the configuration file FILE
                   23558:       --header=FILE[:TEMPLATE]
                   23559:                    instantiate the configuration header FILE
1.62      paf      23560: 
                   23561: Configuration files:
                   23562: $config_files
                   23563: 
                   23564: Configuration headers:
                   23565: $config_headers
                   23566: 
                   23567: Configuration commands:
                   23568: $config_commands
                   23569: 
1.150     moko     23570: Report bugs to the package provider."
                   23571: 
1.62      paf      23572: _ACEOF
1.237     moko     23573: ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
                   23574: ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1.150     moko     23575: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.237     moko     23576: ac_cs_config='$ac_cs_config_escaped'
1.62      paf      23577: ac_cs_version="\\
1.230     moko     23578: parser config.status 3.5.2b
1.237     moko     23579: configured by $0, generated by GNU Autoconf 2.72,
1.150     moko     23580:   with options \\"\$ac_cs_config\\"
1.62      paf      23581: 
1.237     moko     23582: Copyright (C) 2023 Free Software Foundation, Inc.
1.62      paf      23583: This config.status script is free software; the Free Software Foundation
                   23584: gives unlimited permission to copy, distribute and modify it."
1.150     moko     23585: 
                   23586: ac_pwd='$ac_pwd'
                   23587: srcdir='$srcdir'
                   23588: INSTALL='$INSTALL'
                   23589: MKDIR_P='$MKDIR_P'
                   23590: AWK='$AWK'
                   23591: test -n "\$AWK" || AWK=awk
1.62      paf      23592: _ACEOF
                   23593: 
1.150     moko     23594: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   23595: # The default lists apply if the user does not specify any file.
1.62      paf      23596: ac_need_defaults=:
                   23597: while test $# != 0
                   23598: do
                   23599:   case $1 in
1.150     moko     23600:   --*=?*)
                   23601:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   23602:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      23603:     ac_shift=:
                   23604:     ;;
1.150     moko     23605:   --*=)
                   23606:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   23607:     ac_optarg=
                   23608:     ac_shift=:
                   23609:     ;;
                   23610:   *)
1.62      paf      23611:     ac_option=$1
                   23612:     ac_optarg=$2
                   23613:     ac_shift=shift
                   23614:     ;;
                   23615:   esac
                   23616: 
                   23617:   case $ac_option in
                   23618:   # Handling of the options.
                   23619:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   23620:     ac_cs_recheck=: ;;
1.150     moko     23621:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.237     moko     23622:     printf "%s\n" "$ac_cs_version"; exit ;;
1.150     moko     23623:   --config | --confi | --conf | --con | --co | --c )
1.237     moko     23624:     printf "%s\n" "$ac_cs_config"; exit ;;
1.150     moko     23625:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      23626:     debug=: ;;
                   23627:   --file | --fil | --fi | --f )
                   23628:     $ac_shift
1.150     moko     23629:     case $ac_optarg in
1.237     moko     23630:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.150     moko     23631:     '') as_fn_error $? "missing file argument" ;;
                   23632:     esac
                   23633:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      23634:     ac_need_defaults=false;;
                   23635:   --header | --heade | --head | --hea )
                   23636:     $ac_shift
1.150     moko     23637:     case $ac_optarg in
1.237     moko     23638:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.150     moko     23639:     esac
                   23640:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      23641:     ac_need_defaults=false;;
1.150     moko     23642:   --he | --h)
                   23643:     # Conflict between --help and --header
1.237     moko     23644:     as_fn_error $? "ambiguous option: '$1'
                   23645: Try '$0 --help' for more information.";;
1.150     moko     23646:   --help | --hel | -h )
1.237     moko     23647:     printf "%s\n" "$ac_cs_usage"; exit ;;
1.62      paf      23648:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   23649:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   23650:     ac_cs_silent=: ;;
                   23651: 
                   23652:   # This is an error.
1.237     moko     23653:   -*) as_fn_error $? "unrecognized option: '$1'
                   23654: Try '$0 --help' for more information." ;;
1.62      paf      23655: 
1.150     moko     23656:   *) as_fn_append ac_config_targets " $1"
                   23657:      ac_need_defaults=false ;;
1.62      paf      23658: 
                   23659:   esac
                   23660:   shift
                   23661: done
                   23662: 
                   23663: ac_configure_extra_args=
                   23664: 
                   23665: if $ac_cs_silent; then
                   23666:   exec 6>/dev/null
1.150     moko     23667:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   23668: fi
                   23669: 
                   23670: _ACEOF
                   23671: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   23672: if \$ac_cs_recheck; then
1.166     moko     23673:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.150     moko     23674:   shift
1.237     moko     23675:   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1.150     moko     23676:   CONFIG_SHELL='$SHELL'
                   23677:   export CONFIG_SHELL
                   23678:   exec "\$@"
                   23679: fi
                   23680: 
                   23681: _ACEOF
                   23682: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   23683: exec 5>>config.log
                   23684: {
                   23685:   echo
                   23686:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   23687: ## Running $as_me. ##
                   23688: _ASBOX
1.237     moko     23689:   printf "%s\n" "$ac_log"
1.150     moko     23690: } >&5
1.62      paf      23691: 
                   23692: _ACEOF
1.150     moko     23693: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      23694: #
1.150     moko     23695: # INIT-COMMANDS
1.1       paf      23696: #
1.199     moko     23697: AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1.62      paf      23698: 
1.128     moko     23699: 
                   23700: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   23701: # if CDPATH is set.
                   23702: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   23703: 
                   23704: sed_quote_subst='$sed_quote_subst'
                   23705: double_quote_subst='$double_quote_subst'
                   23706: delay_variable_subst='$delay_variable_subst'
                   23707: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   23708: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   23709: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   23710: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   23711: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     23712: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     23713: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     23714: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     23715: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
1.237     moko     23716: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
1.128     moko     23717: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   23718: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   23719: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   23720: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   23721: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   23722: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   23723: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   23724: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   23725: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   23726: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   23727: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   23728: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   23729: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   23730: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   23731: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   23732: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   23733: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   23734: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   23735: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   23736: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   23737: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   23738: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   23739: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   23740: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   23741: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   23742: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   23743: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
1.237     moko     23744: FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
1.128     moko     23745: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   23746: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   23747: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   23748: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   23749: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   23750: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
1.237     moko     23751: lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
1.128     moko     23752: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   23753: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   23754: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   23755: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   23756: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   23757: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   23758: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   23759: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   23760: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   23761: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   23762: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   23763: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   23764: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   23765: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
1.237     moko     23766: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
1.128     moko     23767: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   23768: 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"`'
1.237     moko     23769: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
1.128     moko     23770: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   23771: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
1.237     moko     23772: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
1.128     moko     23773: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   23774: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   23775: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   23776: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   23777: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   23778: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   23779: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   23780: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   23781: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   23782: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   23783: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   23784: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   23785: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   23786: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   23787: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   23788: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   23789: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   23790: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   23791: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   23792: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   23793: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   23794: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   23795: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   23796: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   23797: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   23798: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   23799: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   23800: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   23801: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   23802: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   23803: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   23804: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   23805: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   23806: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   23807: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   23808: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   23809: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   23810: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   23811: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   23812: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   23813: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   23814: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   23815: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   23816: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   23817: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   23818: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   23819: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   23820: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   23821: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   23822: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   23823: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   23824: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   23825: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   23826: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   23827: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   23828: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   23829: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   23830: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   23831: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   23832: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   23833: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   23834: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   23835: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   23836: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
1.237     moko     23837: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
                   23838: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
1.128     moko     23839: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   23840: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   23841: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   23842: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   23843: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   23844: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   23845: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   23846: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   23847: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   23848: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   23849: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   23850: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   23851: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   23852: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   23853: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23854: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23855: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   23856: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   23857: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   23858: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   23859: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   23860: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   23861: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   23862: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   23863: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   23864: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   23865: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   23866: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   23867: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23868: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23869: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23870: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23871: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23872: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23873: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   23874: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   23875: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   23876: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   23877: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   23878: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   23879: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   23880: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   23881: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   23882: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   23883: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   23884: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   23885: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   23886: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23887: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   23888: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   23889: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23890: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23891: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   23892: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   23893: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   23894: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   23895: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   23896: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   23897: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   23898: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   23899: 
                   23900: LTCC='$LTCC'
                   23901: LTCFLAGS='$LTCFLAGS'
                   23902: compiler='$compiler_DEFAULT'
                   23903: 
                   23904: # A function that is used when there is no print builtin or printf.
                   23905: func_fallback_echo ()
                   23906: {
                   23907:   eval 'cat <<_LTECHO_EOF
                   23908: \$1
                   23909: _LTECHO_EOF'
                   23910: }
                   23911: 
                   23912: # Quote evaled strings.
                   23913: for var in AS \
                   23914: DLLTOOL \
                   23915: OBJDUMP \
                   23916: SHELL \
                   23917: ECHO \
                   23918: PATH_SEPARATOR \
                   23919: SED \
                   23920: GREP \
                   23921: EGREP \
                   23922: FGREP \
                   23923: LD \
                   23924: NM \
                   23925: LN_S \
                   23926: lt_SP2NL \
                   23927: lt_NL2SP \
                   23928: reload_flag \
1.237     moko     23929: FILECMD \
1.128     moko     23930: deplibs_check_method \
                   23931: file_magic_cmd \
                   23932: file_magic_glob \
                   23933: want_nocaseglob \
                   23934: sharedlib_from_linklib_cmd \
                   23935: AR \
                   23936: archiver_list_spec \
                   23937: STRIP \
                   23938: RANLIB \
                   23939: CC \
                   23940: CFLAGS \
                   23941: compiler \
                   23942: lt_cv_sys_global_symbol_pipe \
                   23943: lt_cv_sys_global_symbol_to_cdecl \
1.237     moko     23944: lt_cv_sys_global_symbol_to_import \
1.128     moko     23945: lt_cv_sys_global_symbol_to_c_name_address \
                   23946: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
1.237     moko     23947: lt_cv_nm_interface \
1.128     moko     23948: nm_file_list_spec \
1.237     moko     23949: lt_cv_truncate_bin \
1.128     moko     23950: lt_prog_compiler_no_builtin_flag \
                   23951: lt_prog_compiler_pic \
                   23952: lt_prog_compiler_wl \
                   23953: lt_prog_compiler_static \
                   23954: lt_cv_prog_compiler_c_o \
                   23955: need_locks \
                   23956: MANIFEST_TOOL \
                   23957: DSYMUTIL \
                   23958: NMEDIT \
                   23959: LIPO \
                   23960: OTOOL \
                   23961: OTOOL64 \
                   23962: shrext_cmds \
                   23963: export_dynamic_flag_spec \
                   23964: whole_archive_flag_spec \
                   23965: compiler_needs_object \
                   23966: with_gnu_ld \
                   23967: allow_undefined_flag \
                   23968: no_undefined_flag \
                   23969: hardcode_libdir_flag_spec \
                   23970: hardcode_libdir_separator \
                   23971: exclude_expsyms \
                   23972: include_expsyms \
                   23973: file_list_spec \
                   23974: variables_saved_for_relink \
                   23975: libname_spec \
                   23976: library_names_spec \
                   23977: soname_spec \
                   23978: install_override_mode \
                   23979: finish_eval \
                   23980: old_striplib \
                   23981: striplib \
                   23982: compiler_lib_search_dirs \
                   23983: predep_objects \
                   23984: postdep_objects \
                   23985: predeps \
                   23986: postdeps \
                   23987: compiler_lib_search_path \
                   23988: LD_CXX \
                   23989: reload_flag_CXX \
                   23990: compiler_CXX \
                   23991: lt_prog_compiler_no_builtin_flag_CXX \
                   23992: lt_prog_compiler_pic_CXX \
                   23993: lt_prog_compiler_wl_CXX \
                   23994: lt_prog_compiler_static_CXX \
                   23995: lt_cv_prog_compiler_c_o_CXX \
                   23996: export_dynamic_flag_spec_CXX \
                   23997: whole_archive_flag_spec_CXX \
                   23998: compiler_needs_object_CXX \
                   23999: with_gnu_ld_CXX \
                   24000: allow_undefined_flag_CXX \
                   24001: no_undefined_flag_CXX \
                   24002: hardcode_libdir_flag_spec_CXX \
                   24003: hardcode_libdir_separator_CXX \
                   24004: exclude_expsyms_CXX \
                   24005: include_expsyms_CXX \
                   24006: file_list_spec_CXX \
                   24007: compiler_lib_search_dirs_CXX \
                   24008: predep_objects_CXX \
                   24009: postdep_objects_CXX \
                   24010: predeps_CXX \
                   24011: postdeps_CXX \
                   24012: compiler_lib_search_path_CXX; do
                   24013:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   24014:     *[\\\\\\\`\\"\\\$]*)
1.237     moko     24015:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
1.128     moko     24016:       ;;
                   24017:     *)
                   24018:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   24019:       ;;
                   24020:     esac
                   24021: done
                   24022: 
                   24023: # Double-quote double-evaled strings.
                   24024: for var in reload_cmds \
                   24025: old_postinstall_cmds \
                   24026: old_postuninstall_cmds \
                   24027: old_archive_cmds \
                   24028: extract_expsyms_cmds \
                   24029: old_archive_from_new_cmds \
                   24030: old_archive_from_expsyms_cmds \
                   24031: archive_cmds \
                   24032: archive_expsym_cmds \
                   24033: module_cmds \
                   24034: module_expsym_cmds \
                   24035: export_symbols_cmds \
                   24036: prelink_cmds \
                   24037: postlink_cmds \
                   24038: postinstall_cmds \
                   24039: postuninstall_cmds \
                   24040: finish_cmds \
                   24041: sys_lib_search_path_spec \
1.237     moko     24042: configure_time_dlsearch_path \
                   24043: configure_time_lt_sys_library_path \
1.128     moko     24044: reload_cmds_CXX \
                   24045: old_archive_cmds_CXX \
                   24046: old_archive_from_new_cmds_CXX \
                   24047: old_archive_from_expsyms_cmds_CXX \
                   24048: archive_cmds_CXX \
                   24049: archive_expsym_cmds_CXX \
                   24050: module_cmds_CXX \
                   24051: module_expsym_cmds_CXX \
                   24052: export_symbols_cmds_CXX \
                   24053: prelink_cmds_CXX \
                   24054: postlink_cmds_CXX; do
                   24055:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   24056:     *[\\\\\\\`\\"\\\$]*)
1.237     moko     24057:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
1.128     moko     24058:       ;;
                   24059:     *)
                   24060:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   24061:       ;;
                   24062:     esac
                   24063: done
                   24064: 
                   24065: ac_aux_dir='$ac_aux_dir'
                   24066: 
1.237     moko     24067: # See if we are running on zsh, and set the options that allow our
1.128     moko     24068: # commands through without removal of \ escapes INIT.
1.237     moko     24069: if test -n "\${ZSH_VERSION+set}"; then
1.128     moko     24070:    setopt NO_GLOB_SUBST
                   24071: fi
                   24072: 
                   24073: 
                   24074:     PACKAGE='$PACKAGE'
                   24075:     VERSION='$VERSION'
                   24076:     RM='$RM'
                   24077:     ofile='$ofile'
                   24078: 
                   24079: 
                   24080: 
                   24081: 
                   24082: 
                   24083: 
1.62      paf      24084: _ACEOF
                   24085: 
1.150     moko     24086: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      24087: 
1.150     moko     24088: # Handling of arguments.
1.62      paf      24089: for ac_config_target in $ac_config_targets
1.1       paf      24090: do
1.150     moko     24091:   case $ac_config_target in
                   24092:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   24093:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   24094:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   24095:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   24096:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   24097:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   24098:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   24099:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   24100:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   24101:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   24102:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   24103:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   24104:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
                   24105:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   24106:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   24107:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   24108:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   24109:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   24110:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
                   24111:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   24112:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   24113:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
                   24114:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.173     moko     24115:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
                   24116:     "src/lib/punycode/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/punycode/Makefile" ;;
1.150     moko     24117:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
                   24118:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   24119:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   24120:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
                   24121:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   24122:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   24123:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
1.200     moko     24124:     "etc/auto.p") CONFIG_FILES="$CONFIG_FILES etc/auto.p" ;;
1.150     moko     24125: 
1.237     moko     24126:   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
1.1       paf      24127:   esac
                   24128: done
                   24129: 
1.150     moko     24130: 
1.62      paf      24131: # If the user did not use the arguments to specify the items to instantiate,
                   24132: # then the envvar interface is used.  Set only those that are not.
                   24133: # We use the long form for the default assignment because of an extremely
                   24134: # bizarre bug on SunOS 4.1.3.
                   24135: if $ac_need_defaults; then
1.237     moko     24136:   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
                   24137:   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
                   24138:   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
1.62      paf      24139: fi
                   24140: 
                   24141: # Have a temporary directory for convenience.  Make it in the build tree
1.150     moko     24142: # simply because there is no reason against having it here, and in addition,
1.62      paf      24143: # creating and moving files from /tmp can sometimes cause problems.
1.150     moko     24144: # Hook for its removal unless debugging.
                   24145: # Note that there is a small window in which the directory will not be cleaned:
1.237     moko     24146: # after its creation but before its name has been assigned to '$tmp'.
1.62      paf      24147: $debug ||
                   24148: {
1.150     moko     24149:   tmp= ac_tmp=
                   24150:   trap 'exit_status=$?
                   24151:   : "${ac_tmp:=$tmp}"
                   24152:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   24153: ' 0
                   24154:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      24155: }
                   24156: # Create a (secure) tmp directory for tmp files.
                   24157: 
                   24158: {
1.150     moko     24159:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   24160:   test -d "$tmp"
1.62      paf      24161: }  ||
                   24162: {
1.150     moko     24163:   tmp=./conf$$-$RANDOM
                   24164:   (umask 077 && mkdir "$tmp")
                   24165: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   24166: ac_tmp=$tmp
                   24167: 
                   24168: # Set up the scripts for CONFIG_FILES section.
                   24169: # No need to generate them if there are no CONFIG_FILES.
1.237     moko     24170: # This happens for instance with './config.status config.h'.
1.150     moko     24171: if test -n "$CONFIG_FILES"; then
                   24172: 
                   24173: 
                   24174: ac_cr=`echo X | tr X '\015'`
                   24175: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   24176: # But we know of no other shell where ac_cr would be empty at this
                   24177: # point, so we can use a bashism as a fallback.
                   24178: if test "x$ac_cr" = x; then
                   24179:   eval ac_cr=\$\'\\r\'
                   24180: fi
                   24181: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   24182: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   24183:   ac_cs_awk_cr='\\r'
                   24184: else
                   24185:   ac_cs_awk_cr=$ac_cr
                   24186: fi
                   24187: 
                   24188: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   24189: _ACEOF
                   24190: 
                   24191: 
1.62      paf      24192: {
1.150     moko     24193:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   24194:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   24195:   echo "_ACEOF"
                   24196: } >conf$$subs.sh ||
                   24197:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   24198: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   24199: ac_delim='%!_!# '
                   24200: for ac_last_try in false false false false false :; do
                   24201:   . ./conf$$subs.sh ||
                   24202:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   24203: 
                   24204:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   24205:   if test $ac_delim_n = $ac_delim_num; then
                   24206:     break
                   24207:   elif $ac_last_try; then
                   24208:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   24209:   else
                   24210:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   24211:   fi
                   24212: done
                   24213: rm -f conf$$subs.sh
                   24214: 
                   24215: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24216: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   24217: _ACEOF
                   24218: sed -n '
                   24219: h
                   24220: s/^/S["/; s/!.*/"]=/
                   24221: p
                   24222: g
                   24223: s/^[^!]*!//
                   24224: :repl
                   24225: t repl
                   24226: s/'"$ac_delim"'$//
                   24227: t delim
                   24228: :nl
                   24229: h
                   24230: s/\(.\{148\}\)..*/\1/
                   24231: t more1
                   24232: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   24233: p
                   24234: n
                   24235: b repl
                   24236: :more1
                   24237: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   24238: p
                   24239: g
                   24240: s/.\{148\}//
                   24241: t nl
                   24242: :delim
                   24243: h
                   24244: s/\(.\{148\}\)..*/\1/
                   24245: t more2
                   24246: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   24247: p
                   24248: b
                   24249: :more2
                   24250: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   24251: p
                   24252: g
                   24253: s/.\{148\}//
                   24254: t delim
                   24255: ' <conf$$subs.awk | sed '
                   24256: /^[^""]/{
                   24257:   N
                   24258:   s/\n//
                   24259: }
                   24260: ' >>$CONFIG_STATUS || ac_write_fail=1
                   24261: rm -f conf$$subs.awk
                   24262: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24263: _ACAWK
                   24264: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   24265:   for (key in S) S_is_set[key] = 1
                   24266:   FS = ""
                   24267: 
                   24268: }
                   24269: {
                   24270:   line = $ 0
                   24271:   nfields = split(line, field, "@")
                   24272:   substed = 0
                   24273:   len = length(field[1])
                   24274:   for (i = 2; i < nfields; i++) {
                   24275:     key = field[i]
                   24276:     keylen = length(key)
                   24277:     if (S_is_set[key]) {
                   24278:       value = S[key]
                   24279:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   24280:       len += length(value) + length(field[++i])
                   24281:       substed = 1
                   24282:     } else
                   24283:       len += 1 + keylen
                   24284:   }
                   24285: 
                   24286:   print line
1.62      paf      24287: }
                   24288: 
1.150     moko     24289: _ACAWK
                   24290: _ACEOF
                   24291: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24292: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   24293:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   24294: else
                   24295:   cat
                   24296: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   24297:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      24298: _ACEOF
1.1       paf      24299: 
1.150     moko     24300: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   24301: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   24302: # trailing colons and then remove the whole line if VPATH becomes empty
                   24303: # (actually we leave an empty line to preserve line numbers).
                   24304: if test "x$srcdir" = x.; then
                   24305:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   24306: h
                   24307: s///
                   24308: s/^/:/
                   24309: s/[     ]*$/:/
                   24310: s/:\$(srcdir):/:/g
                   24311: s/:\${srcdir}:/:/g
                   24312: s/:@srcdir@:/:/g
                   24313: s/^:*//
                   24314: s/:*$//
                   24315: x
                   24316: s/\(=[  ]*\).*/\1/
                   24317: G
                   24318: s/\n//
                   24319: s/^[^=]*=[      ]*$//
                   24320: }'
                   24321: fi
1.62      paf      24322: 
1.150     moko     24323: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24324: fi # test -n "$CONFIG_FILES"
1.1       paf      24325: 
1.150     moko     24326: # Set up the scripts for CONFIG_HEADERS section.
                   24327: # No need to generate them if there are no CONFIG_HEADERS.
1.237     moko     24328: # This happens for instance with './config.status Makefile'.
1.150     moko     24329: if test -n "$CONFIG_HEADERS"; then
                   24330: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   24331: BEGIN {
                   24332: _ACEOF
                   24333: 
1.237     moko     24334: # Transform confdefs.h into an awk script 'defines.awk', embedded as
1.150     moko     24335: # here-document in config.status, that substitutes the proper values into
                   24336: # config.h.in to produce config.h.
                   24337: 
                   24338: # Create a delimiter string that does not exist in confdefs.h, to ease
                   24339: # handling of long lines.
                   24340: ac_delim='%!_!# '
                   24341: for ac_last_try in false false :; do
                   24342:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   24343:   if test -z "$ac_tt"; then
                   24344:     break
                   24345:   elif $ac_last_try; then
                   24346:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   24347:   else
                   24348:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      24349:   fi
1.150     moko     24350: done
1.1       paf      24351: 
1.150     moko     24352: # For the awk script, D is an array of macro values keyed by name,
                   24353: # likewise P contains macro parameters if any.  Preserve backslash
                   24354: # newline sequences.
                   24355: 
                   24356: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   24357: sed -n '
                   24358: s/.\{148\}/&'"$ac_delim"'/g
                   24359: t rset
                   24360: :rset
                   24361: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   24362: t def
                   24363: d
                   24364: :def
                   24365: s/\\$//
                   24366: t bsnl
                   24367: s/["\\]/\\&/g
                   24368: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   24369: D["\1"]=" \3"/p
                   24370: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   24371: d
                   24372: :bsnl
                   24373: s/["\\]/\\&/g
                   24374: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   24375: D["\1"]=" \3\\\\\\n"\\/p
                   24376: t cont
                   24377: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   24378: t cont
                   24379: d
                   24380: :cont
                   24381: n
                   24382: s/.\{148\}/&'"$ac_delim"'/g
                   24383: t clear
                   24384: :clear
                   24385: s/\\$//
                   24386: t bsnlc
                   24387: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   24388: d
                   24389: :bsnlc
                   24390: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   24391: b cont
                   24392: ' <confdefs.h | sed '
                   24393: s/'"$ac_delim"'/"\\\
                   24394: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   24395: 
                   24396: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24397:   for (key in D) D_is_set[key] = 1
                   24398:   FS = ""
                   24399: }
                   24400: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   24401:   line = \$ 0
                   24402:   split(line, arg, " ")
                   24403:   if (arg[1] == "#") {
                   24404:     defundef = arg[2]
                   24405:     mac1 = arg[3]
                   24406:   } else {
                   24407:     defundef = substr(arg[1], 2)
                   24408:     mac1 = arg[2]
                   24409:   }
                   24410:   split(mac1, mac2, "(") #)
                   24411:   macro = mac2[1]
                   24412:   prefix = substr(line, 1, index(line, defundef) - 1)
                   24413:   if (D_is_set[macro]) {
                   24414:     # Preserve the white space surrounding the "#".
                   24415:     print prefix "define", macro P[macro] D[macro]
                   24416:     next
                   24417:   } else {
                   24418:     # Replace #undef with comments.  This is necessary, for example,
                   24419:     # in the case of _POSIX_SOURCE, which is predefined and required
                   24420:     # on some systems where configure will not decide to define it.
                   24421:     if (defundef == "undef") {
                   24422:       print "/*", prefix defundef, macro, "*/"
                   24423:       next
                   24424:     }
                   24425:   }
                   24426: }
                   24427: { print }
                   24428: _ACAWK
1.62      paf      24429: _ACEOF
1.150     moko     24430: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24431:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   24432: fi # test -n "$CONFIG_HEADERS"
                   24433: 
                   24434: 
                   24435: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   24436: shift
                   24437: for ac_tag
                   24438: do
                   24439:   case $ac_tag in
                   24440:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   24441:   esac
                   24442:   case $ac_mode$ac_tag in
                   24443:   :[FHL]*:*);;
1.237     moko     24444:   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
1.150     moko     24445:   :[FH]-) ac_tag=-:-;;
                   24446:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   24447:   esac
                   24448:   ac_save_IFS=$IFS
                   24449:   IFS=:
                   24450:   set x $ac_tag
                   24451:   IFS=$ac_save_IFS
                   24452:   shift
                   24453:   ac_file=$1
                   24454:   shift
                   24455: 
                   24456:   case $ac_mode in
                   24457:   :L) ac_source=$1;;
                   24458:   :[FH])
                   24459:     ac_file_inputs=
                   24460:     for ac_f
                   24461:     do
                   24462:       case $ac_f in
                   24463:       -) ac_f="$ac_tmp/stdin";;
                   24464:       *) # Look for the file first in the build tree, then in the source tree
                   24465:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
1.237     moko     24466:         # because $ac_f cannot contain ':'.
1.150     moko     24467:         test -f "$ac_f" ||
                   24468:           case $ac_f in
                   24469:           [\\/$]*) false;;
                   24470:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   24471:           esac ||
1.237     moko     24472:           as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
1.150     moko     24473:       esac
1.237     moko     24474:       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.150     moko     24475:       as_fn_append ac_file_inputs " '$ac_f'"
                   24476:     done
                   24477: 
1.237     moko     24478:     # Let's still pretend it is 'configure' which instantiates (i.e., don't
1.150     moko     24479:     # use $as_me), people would be surprised to read:
                   24480:     #    /* config.h.  Generated by config.status.  */
                   24481:     configure_input='Generated from '`
1.237     moko     24482:          printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1.150     moko     24483:        `' by configure.'
                   24484:     if test x"$ac_file" != x-; then
                   24485:       configure_input="$ac_file.  $configure_input"
1.237     moko     24486:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   24487: printf "%s\n" "$as_me: creating $ac_file" >&6;}
1.150     moko     24488:     fi
                   24489:     # Neutralize special characters interpreted by sed in replacement strings.
                   24490:     case $configure_input in #(
                   24491:     *\&* | *\|* | *\\* )
1.237     moko     24492:        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1.150     moko     24493:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   24494:     *) ac_sed_conf_input=$configure_input;;
                   24495:     esac
                   24496: 
                   24497:     case $ac_tag in
                   24498:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   24499:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   24500:     esac
                   24501:     ;;
1.1       paf      24502:   esac
                   24503: 
1.150     moko     24504:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      24505: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      24506:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   24507:         X"$ac_file" : 'X\(//\)$' \| \
1.150     moko     24508:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     24509: printf "%s\n" X"$ac_file" |
1.150     moko     24510:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   24511:            s//\1/
                   24512:            q
                   24513:          }
                   24514:          /^X\(\/\/\)[^/].*/{
                   24515:            s//\1/
                   24516:            q
                   24517:          }
                   24518:          /^X\(\/\/\)$/{
                   24519:            s//\1/
                   24520:            q
                   24521:          }
                   24522:          /^X\(\/\).*/{
                   24523:            s//\1/
                   24524:            q
                   24525:          }
                   24526:          s/.*/./; q'`
                   24527:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      24528:   ac_builddir=.
                   24529: 
1.150     moko     24530: case "$ac_dir" in
                   24531: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   24532: *)
1.237     moko     24533:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.150     moko     24534:   # A ".." for each directory in $ac_dir_suffix.
1.237     moko     24535:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.150     moko     24536:   case $ac_top_builddir_sub in
                   24537:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   24538:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   24539:   esac ;;
                   24540: esac
                   24541: ac_abs_top_builddir=$ac_pwd
                   24542: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   24543: # for backward compatibility:
                   24544: ac_top_builddir=$ac_top_build_prefix
1.62      paf      24545: 
                   24546: case $srcdir in
1.150     moko     24547:   .)  # We are building in place.
1.62      paf      24548:     ac_srcdir=.
1.150     moko     24549:     ac_top_srcdir=$ac_top_builddir_sub
                   24550:     ac_abs_top_srcdir=$ac_pwd ;;
                   24551:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      24552:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     24553:     ac_top_srcdir=$srcdir
                   24554:     ac_abs_top_srcdir=$srcdir ;;
                   24555:   *) # Relative name.
                   24556:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   24557:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   24558:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      24559: esac
1.150     moko     24560: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      24561: 
1.62      paf      24562: 
1.150     moko     24563:   case $ac_mode in
                   24564:   :F)
                   24565:   #
                   24566:   # CONFIG_FILE
                   24567:   #
1.1       paf      24568: 
1.62      paf      24569:   case $INSTALL in
                   24570:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150     moko     24571:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      24572:   esac
1.150     moko     24573:   ac_MKDIR_P=$MKDIR_P
                   24574:   case $MKDIR_P in
                   24575:   [\\/$]* | ?:[\\/]* ) ;;
                   24576:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   24577:   esac
                   24578: _ACEOF
1.1       paf      24579: 
1.150     moko     24580: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24581: # If the template does not know about datarootdir, expand it.
                   24582: # FIXME: This hack should be removed a few years after 2.60.
                   24583: ac_datarootdir_hack=; ac_datarootdir_seen=
                   24584: ac_sed_dataroot='
                   24585: /datarootdir/ {
                   24586:   p
                   24587:   q
                   24588: }
                   24589: /@datadir@/p
                   24590: /@docdir@/p
                   24591: /@infodir@/p
                   24592: /@localedir@/p
                   24593: /@mandir@/p'
                   24594: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   24595: *datarootdir*) ac_datarootdir_seen=yes;;
                   24596: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.237     moko     24597:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   24598: printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.150     moko     24599: _ACEOF
                   24600: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24601:   ac_datarootdir_hack='
                   24602:   s&@datadir@&$datadir&g
                   24603:   s&@docdir@&$docdir&g
                   24604:   s&@infodir@&$infodir&g
                   24605:   s&@localedir@&$localedir&g
                   24606:   s&@mandir@&$mandir&g
                   24607:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   24608: esac
                   24609: _ACEOF
1.62      paf      24610: 
1.237     moko     24611: # Neutralize VPATH when '$srcdir' = '.'.
1.150     moko     24612: # Shell code in configure.ac might set extrasub.
                   24613: # FIXME: do we really want to maintain this feature?
                   24614: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24615: ac_sed_extra="$ac_vpsub
1.62      paf      24616: $extrasub
                   24617: _ACEOF
1.150     moko     24618: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      24619: :t
                   24620: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150     moko     24621: s|@configure_input@|$ac_sed_conf_input|;t t
                   24622: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   24623: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   24624: s&@srcdir@&$ac_srcdir&;t t
                   24625: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   24626: s&@top_srcdir@&$ac_top_srcdir&;t t
                   24627: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   24628: s&@builddir@&$ac_builddir&;t t
                   24629: s&@abs_builddir@&$ac_abs_builddir&;t t
                   24630: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   24631: s&@INSTALL@&$ac_INSTALL&;t t
                   24632: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   24633: $ac_datarootdir_hack
                   24634: "
                   24635: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   24636:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   24637: 
                   24638: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   24639:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   24640:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   24641:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.237     moko     24642:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1.150     moko     24643: which seems to be undefined.  Please make sure it is defined" >&5
1.237     moko     24644: printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1.150     moko     24645: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      24646: 
1.150     moko     24647:   rm -f "$ac_tmp/stdin"
1.62      paf      24648:   case $ac_file in
1.150     moko     24649:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   24650:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   24651:   esac \
                   24652:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   24653:  ;;
                   24654:   :H)
                   24655:   #
                   24656:   # CONFIG_HEADER
                   24657:   #
1.62      paf      24658:   if test x"$ac_file" != x-; then
1.150     moko     24659:     {
1.237     moko     24660:       printf "%s\n" "/* $configure_input  */" >&1 \
1.150     moko     24661:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   24662:     } >"$ac_tmp/config.h" \
                   24663:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   24664:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.237     moko     24665:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   24666: printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      24667:     else
1.150     moko     24668:       rm -f "$ac_file"
                   24669:       mv "$ac_tmp/config.h" "$ac_file" \
                   24670:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      24671:     fi
                   24672:   else
1.237     moko     24673:     printf "%s\n" "/* $configure_input  */" >&1 \
1.150     moko     24674:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   24675:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      24676:   fi
1.150     moko     24677: # Compute "$ac_file"'s index in $config_headers.
                   24678: _am_arg="$ac_file"
1.86      paf      24679: _am_stamp_count=1
                   24680: for _am_header in $config_headers :; do
                   24681:   case $_am_header in
1.150     moko     24682:     $_am_arg | $_am_arg:* )
1.86      paf      24683:       break ;;
                   24684:     * )
                   24685:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   24686:   esac
                   24687: done
1.150     moko     24688: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   24689: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   24690:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   24691:         X"$_am_arg" : 'X\(//\)$' \| \
                   24692:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     24693: printf "%s\n" X"$_am_arg" |
1.150     moko     24694:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   24695:            s//\1/
                   24696:            q
                   24697:          }
                   24698:          /^X\(\/\/\)[^/].*/{
                   24699:            s//\1/
                   24700:            q
                   24701:          }
                   24702:          /^X\(\/\/\)$/{
                   24703:            s//\1/
                   24704:            q
                   24705:          }
                   24706:          /^X\(\/\).*/{
                   24707:            s//\1/
                   24708:            q
                   24709:          }
                   24710:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   24711:  ;;
1.62      paf      24712: 
1.237     moko     24713:   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   24714: printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
1.150     moko     24715:  ;;
                   24716:   esac
1.86      paf      24717: 
1.62      paf      24718: 
1.150     moko     24719:   case $ac_file$ac_mode in
                   24720:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.187     moko     24721:   # Older Autoconf quotes --file arguments for eval, but not when files
1.150     moko     24722:   # are listed without --file.  Let's play safe and only enable the eval
                   24723:   # if we detect the quoting.
1.199     moko     24724:   # TODO: see whether this extra hack can be removed once we start
                   24725:   # requiring Autoconf 2.70 or later.
                   24726:   case $CONFIG_FILES in #(
                   24727:   *\'*) :
                   24728:     eval set x "$CONFIG_FILES" ;; #(
                   24729:   *) :
                   24730:     set x $CONFIG_FILES ;; #(
                   24731:   *) :
                   24732:      ;;
                   24733: esac
1.150     moko     24734:   shift
1.199     moko     24735:   # Used to flag and report bootstrapping failures.
                   24736:   am_rc=0
                   24737:   for am_mf
1.150     moko     24738:   do
                   24739:     # Strip MF so we end up with the name of the file.
1.237     moko     24740:     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
1.199     moko     24741:     # Check whether this is an Automake generated Makefile which includes
                   24742:     # dependency-tracking related rules and includes.
                   24743:     # Grep'ing the whole file directly is not great: AIX grep has a line
1.150     moko     24744:     # limit of 2048, but all sed's we know have understand at least 4000.
1.199     moko     24745:     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
                   24746:       || continue
                   24747:     am_dirpart=`$as_dirname -- "$am_mf" ||
                   24748: $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   24749:         X"$am_mf" : 'X\(//\)[^/]' \| \
                   24750:         X"$am_mf" : 'X\(//\)$' \| \
                   24751:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     24752: printf "%s\n" X"$am_mf" |
1.150     moko     24753:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   24754:            s//\1/
                   24755:            q
                   24756:          }
                   24757:          /^X\(\/\/\)[^/].*/{
                   24758:            s//\1/
                   24759:            q
                   24760:          }
                   24761:          /^X\(\/\/\)$/{
                   24762:            s//\1/
                   24763:            q
                   24764:          }
                   24765:          /^X\(\/\).*/{
                   24766:            s//\1/
                   24767:            q
                   24768:          }
                   24769:          s/.*/./; q'`
1.199     moko     24770:     am_filepart=`$as_basename -- "$am_mf" ||
                   24771: $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
                   24772:         X"$am_mf" : 'X\(//\)$' \| \
                   24773:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     24774: printf "%s\n" X/"$am_mf" |
1.199     moko     24775:     sed '/^.*\/\([^/][^/]*\)\/*$/{
1.150     moko     24776:            s//\1/
                   24777:            q
                   24778:          }
1.199     moko     24779:          /^X\/\(\/\/\)$/{
1.150     moko     24780:            s//\1/
                   24781:            q
                   24782:          }
1.199     moko     24783:          /^X\/\(\/\).*/{
1.150     moko     24784:            s//\1/
                   24785:            q
                   24786:          }
                   24787:          s/.*/./; q'`
1.199     moko     24788:     { echo "$as_me:$LINENO: cd "$am_dirpart" \
                   24789:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   24790:         | $MAKE -f - am--depfiles" >&5
                   24791:    (cd "$am_dirpart" \
                   24792:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   24793:         | $MAKE -f - am--depfiles) >&5 2>&5
                   24794:    ac_status=$?
                   24795:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   24796:    (exit $ac_status); } || am_rc=$?
1.62      paf      24797:   done
1.199     moko     24798:   if test $am_rc -ne 0; then
1.237     moko     24799:     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   24800: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.199     moko     24801: as_fn_error $? "Something went wrong bootstrapping makefile fragments
1.216     moko     24802:     for automatic dependency tracking.  If GNU make was not used, consider
                   24803:     re-running the configure script with MAKE=\"gmake\" (or whatever is
                   24804:     necessary).  You can also try re-running configure with the
1.199     moko     24805:     '--disable-dependency-tracking' option to at least be able to build
                   24806:     the package (albeit without support for automatic dependency tracking).
1.237     moko     24807: See 'config.log' for more details" "$LINENO" 5; }
1.199     moko     24808:   fi
                   24809:   { am_dirpart=; unset am_dirpart;}
                   24810:   { am_filepart=; unset am_filepart;}
                   24811:   { am_mf=; unset am_mf;}
                   24812:   { am_rc=; unset am_rc;}
                   24813:   rm -f conftest-deps.mk
1.150     moko     24814: }
1.62      paf      24815:  ;;
1.150     moko     24816:     "libtool":C)
1.128     moko     24817: 
1.237     moko     24818:     # See if we are running on zsh, and set the options that allow our
1.128     moko     24819:     # commands through without removal of \ escapes.
1.237     moko     24820:     if test -n "${ZSH_VERSION+set}"; then
1.128     moko     24821:       setopt NO_GLOB_SUBST
                   24822:     fi
                   24823: 
1.237     moko     24824:     cfgfile=${ofile}T
1.128     moko     24825:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   24826:     $RM "$cfgfile"
                   24827: 
                   24828:     cat <<_LT_EOF >> "$cfgfile"
                   24829: #! $SHELL
1.237     moko     24830: # Generated automatically by $as_me ($PACKAGE) $VERSION
                   24831: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   24832: 
                   24833: # Provide generalized library-building support services.
                   24834: # Written by Gordon Matzigkeit, 1996
1.128     moko     24835: 
1.237     moko     24836: # Copyright (C) 2024 Free Software Foundation, Inc.
                   24837: # This is free software; see the source for copying conditions.  There is NO
                   24838: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
                   24839: 
                   24840: # GNU Libtool is free software; you can redistribute it and/or modify
                   24841: # it under the terms of the GNU General Public License as published by
                   24842: # the Free Software Foundation; either version 2 of the License, or
                   24843: # (at your option) any later version.
1.128     moko     24844: #
1.237     moko     24845: # As a special exception to the GNU General Public License, if you
                   24846: # distribute this file as part of a program or library that is built
                   24847: # using GNU Libtool, you may include this file under the  same
                   24848: # distribution terms that you use for the rest of that program.
1.128     moko     24849: #
1.237     moko     24850: # GNU Libtool is distributed in the hope that it will be useful, but
                   24851: # WITHOUT ANY WARRANTY; without even the implied warranty of
1.128     moko     24852: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   24853: # GNU General Public License for more details.
                   24854: #
                   24855: # You should have received a copy of the GNU General Public License
1.237     moko     24856: # along with this program.  If not, see <http://www.gnu.org/licenses/>.
1.128     moko     24857: 
                   24858: 
                   24859: # The names of the tagged configurations supported by this script.
1.237     moko     24860: available_tags='CXX '
                   24861: 
                   24862: # Configured defaults for sys_lib_dlsearch_path munging.
                   24863: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
1.128     moko     24864: 
                   24865: # ### BEGIN LIBTOOL CONFIG
                   24866: 
                   24867: # Which release of libtool.m4 was used?
                   24868: macro_version=$macro_version
                   24869: macro_revision=$macro_revision
                   24870: 
                   24871: # Assembler program.
                   24872: AS=$lt_AS
                   24873: 
                   24874: # DLL creation program.
                   24875: DLLTOOL=$lt_DLLTOOL
                   24876: 
                   24877: # Object dumper program.
                   24878: OBJDUMP=$lt_OBJDUMP
                   24879: 
1.145     moko     24880: # What type of objects to build.
                   24881: pic_mode=$pic_mode
                   24882: 
1.128     moko     24883: # Whether or not to build shared libraries.
                   24884: build_libtool_libs=$enable_shared
                   24885: 
1.138     moko     24886: # Whether or not to build static libraries.
                   24887: build_old_libs=$enable_static
                   24888: 
1.128     moko     24889: # Whether or not to optimize for fast installation.
                   24890: fast_install=$enable_fast_install
                   24891: 
1.237     moko     24892: # Shared archive member basename,for filename based shared library versioning on AIX.
                   24893: shared_archive_member_spec=$shared_archive_member_spec
                   24894: 
1.128     moko     24895: # Shell to use when invoking shell scripts.
                   24896: SHELL=$lt_SHELL
                   24897: 
                   24898: # An echo program that protects backslashes.
                   24899: ECHO=$lt_ECHO
                   24900: 
                   24901: # The PATH separator for the build system.
                   24902: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   24903: 
                   24904: # The host system.
                   24905: host_alias=$host_alias
                   24906: host=$host
                   24907: host_os=$host_os
                   24908: 
                   24909: # The build system.
                   24910: build_alias=$build_alias
                   24911: build=$build
                   24912: build_os=$build_os
                   24913: 
                   24914: # A sed program that does not truncate output.
                   24915: SED=$lt_SED
                   24916: 
                   24917: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   24918: Xsed="\$SED -e 1s/^X//"
                   24919: 
                   24920: # A grep program that handles long lines.
                   24921: GREP=$lt_GREP
                   24922: 
                   24923: # An ERE matcher.
                   24924: EGREP=$lt_EGREP
                   24925: 
                   24926: # A literal string matcher.
                   24927: FGREP=$lt_FGREP
                   24928: 
                   24929: # A BSD- or MS-compatible name lister.
                   24930: NM=$lt_NM
                   24931: 
                   24932: # Whether we need soft or hard links.
                   24933: LN_S=$lt_LN_S
                   24934: 
                   24935: # What is the maximum length of a command?
                   24936: max_cmd_len=$max_cmd_len
                   24937: 
                   24938: # Object file suffix (normally "o").
                   24939: objext=$ac_objext
                   24940: 
                   24941: # Executable file suffix (normally "").
                   24942: exeext=$exeext
                   24943: 
                   24944: # whether the shell understands "unset".
                   24945: lt_unset=$lt_unset
                   24946: 
                   24947: # turn spaces into newlines.
                   24948: SP2NL=$lt_lt_SP2NL
                   24949: 
                   24950: # turn newlines into spaces.
                   24951: NL2SP=$lt_lt_NL2SP
                   24952: 
                   24953: # convert \$build file names to \$host format.
                   24954: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   24955: 
                   24956: # convert \$build files to toolchain format.
                   24957: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   24958: 
1.237     moko     24959: # A file(cmd) program that detects file types.
                   24960: FILECMD=$lt_FILECMD
                   24961: 
1.128     moko     24962: # Method to check whether dependent libraries are shared objects.
                   24963: deplibs_check_method=$lt_deplibs_check_method
                   24964: 
                   24965: # Command to use when deplibs_check_method = "file_magic".
                   24966: file_magic_cmd=$lt_file_magic_cmd
                   24967: 
                   24968: # How to find potential files when deplibs_check_method = "file_magic".
                   24969: file_magic_glob=$lt_file_magic_glob
                   24970: 
                   24971: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   24972: want_nocaseglob=$lt_want_nocaseglob
                   24973: 
                   24974: # Command to associate shared and link libraries.
                   24975: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   24976: 
                   24977: # The archiver.
                   24978: AR=$lt_AR
                   24979: 
1.237     moko     24980: # Flags to create an archive (by configure).
                   24981: lt_ar_flags=$lt_ar_flags
                   24982: 
1.128     moko     24983: # Flags to create an archive.
1.237     moko     24984: AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
1.128     moko     24985: 
                   24986: # How to feed a file listing to the archiver.
                   24987: archiver_list_spec=$lt_archiver_list_spec
                   24988: 
                   24989: # A symbol stripping program.
                   24990: STRIP=$lt_STRIP
                   24991: 
                   24992: # Commands used to install an old-style archive.
                   24993: RANLIB=$lt_RANLIB
                   24994: old_postinstall_cmds=$lt_old_postinstall_cmds
                   24995: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   24996: 
                   24997: # Whether to use a lock for old archive extraction.
                   24998: lock_old_archive_extraction=$lock_old_archive_extraction
                   24999: 
                   25000: # A C compiler.
                   25001: LTCC=$lt_CC
                   25002: 
                   25003: # LTCC compiler flags.
                   25004: LTCFLAGS=$lt_CFLAGS
                   25005: 
                   25006: # Take the output of nm and produce a listing of raw symbols and C names.
                   25007: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   25008: 
                   25009: # Transform the output of nm in a proper C declaration.
                   25010: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   25011: 
1.237     moko     25012: # Transform the output of nm into a list of symbols to manually relocate.
                   25013: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
                   25014: 
1.128     moko     25015: # Transform the output of nm in a C name address pair.
                   25016: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   25017: 
                   25018: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   25019: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   25020: 
1.237     moko     25021: # The name lister interface.
                   25022: nm_interface=$lt_lt_cv_nm_interface
                   25023: 
1.128     moko     25024: # Specify filename containing input files for \$NM.
                   25025: nm_file_list_spec=$lt_nm_file_list_spec
                   25026: 
1.237     moko     25027: # The root where to search for dependent libraries,and where our libraries should be installed.
1.128     moko     25028: lt_sysroot=$lt_sysroot
                   25029: 
1.237     moko     25030: # Command to truncate a binary pipe.
                   25031: lt_truncate_bin=$lt_lt_cv_truncate_bin
                   25032: 
1.128     moko     25033: # The name of the directory that contains temporary libtool files.
                   25034: objdir=$objdir
                   25035: 
                   25036: # Used to examine libraries when file_magic_cmd begins with "file".
                   25037: MAGIC_CMD=$MAGIC_CMD
                   25038: 
                   25039: # Must we lock files when doing compilation?
                   25040: need_locks=$lt_need_locks
                   25041: 
                   25042: # Manifest tool.
                   25043: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   25044: 
                   25045: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   25046: DSYMUTIL=$lt_DSYMUTIL
                   25047: 
                   25048: # Tool to change global to local symbols on Mac OS X.
                   25049: NMEDIT=$lt_NMEDIT
                   25050: 
                   25051: # Tool to manipulate fat objects and archives on Mac OS X.
                   25052: LIPO=$lt_LIPO
                   25053: 
                   25054: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   25055: OTOOL=$lt_OTOOL
                   25056: 
                   25057: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   25058: OTOOL64=$lt_OTOOL64
                   25059: 
                   25060: # Old archive suffix (normally "a").
                   25061: libext=$libext
                   25062: 
                   25063: # Shared library suffix (normally ".so").
                   25064: shrext_cmds=$lt_shrext_cmds
                   25065: 
                   25066: # The commands to extract the exported symbol list from a shared archive.
                   25067: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   25068: 
                   25069: # Variables whose values should be saved in libtool wrapper scripts and
                   25070: # restored at link time.
                   25071: variables_saved_for_relink=$lt_variables_saved_for_relink
                   25072: 
                   25073: # Do we need the "lib" prefix for modules?
                   25074: need_lib_prefix=$need_lib_prefix
                   25075: 
                   25076: # Do we need a version for libraries?
                   25077: need_version=$need_version
                   25078: 
                   25079: # Library versioning type.
                   25080: version_type=$version_type
                   25081: 
                   25082: # Shared library runtime path variable.
                   25083: runpath_var=$runpath_var
                   25084: 
                   25085: # Shared library path variable.
                   25086: shlibpath_var=$shlibpath_var
                   25087: 
                   25088: # Is shlibpath searched before the hard-coded library search path?
                   25089: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   25090: 
                   25091: # Format of library name prefix.
                   25092: libname_spec=$lt_libname_spec
                   25093: 
                   25094: # List of archive names.  First name is the real one, the rest are links.
                   25095: # The last name is the one that the linker finds with -lNAME
                   25096: library_names_spec=$lt_library_names_spec
                   25097: 
                   25098: # The coded name of the library, if different from the real name.
                   25099: soname_spec=$lt_soname_spec
                   25100: 
                   25101: # Permission mode override for installation of shared libraries.
                   25102: install_override_mode=$lt_install_override_mode
                   25103: 
                   25104: # Command to use after installation of a shared archive.
                   25105: postinstall_cmds=$lt_postinstall_cmds
                   25106: 
                   25107: # Command to use after uninstallation of a shared archive.
                   25108: postuninstall_cmds=$lt_postuninstall_cmds
                   25109: 
                   25110: # Commands used to finish a libtool library installation in a directory.
                   25111: finish_cmds=$lt_finish_cmds
                   25112: 
                   25113: # As "finish_cmds", except a single script fragment to be evaled but
                   25114: # not shown.
                   25115: finish_eval=$lt_finish_eval
                   25116: 
                   25117: # Whether we should hardcode library paths into libraries.
                   25118: hardcode_into_libs=$hardcode_into_libs
                   25119: 
                   25120: # Compile-time system search path for libraries.
                   25121: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   25122: 
1.237     moko     25123: # Detected run-time system search path for libraries.
                   25124: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
                   25125: 
                   25126: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
                   25127: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
1.128     moko     25128: 
                   25129: # Whether dlopen is supported.
                   25130: dlopen_support=$enable_dlopen
                   25131: 
                   25132: # Whether dlopen of programs is supported.
                   25133: dlopen_self=$enable_dlopen_self
                   25134: 
                   25135: # Whether dlopen of statically linked programs is supported.
                   25136: dlopen_self_static=$enable_dlopen_self_static
                   25137: 
                   25138: # Commands to strip libraries.
                   25139: old_striplib=$lt_old_striplib
                   25140: striplib=$lt_striplib
                   25141: 
                   25142: 
                   25143: # The linker used to build libraries.
                   25144: LD=$lt_LD
                   25145: 
                   25146: # How to create reloadable object files.
                   25147: reload_flag=$lt_reload_flag
                   25148: reload_cmds=$lt_reload_cmds
                   25149: 
                   25150: # Commands used to build an old-style archive.
                   25151: old_archive_cmds=$lt_old_archive_cmds
                   25152: 
                   25153: # A language specific compiler.
                   25154: CC=$lt_compiler
                   25155: 
                   25156: # Is the compiler the GNU compiler?
                   25157: with_gcc=$GCC
                   25158: 
                   25159: # Compiler flag to turn off builtin functions.
                   25160: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   25161: 
                   25162: # Additional compiler flags for building library objects.
                   25163: pic_flag=$lt_lt_prog_compiler_pic
                   25164: 
                   25165: # How to pass a linker flag through the compiler.
                   25166: wl=$lt_lt_prog_compiler_wl
                   25167: 
                   25168: # Compiler flag to prevent dynamic linking.
                   25169: link_static_flag=$lt_lt_prog_compiler_static
                   25170: 
                   25171: # Does compiler simultaneously support -c and -o options?
                   25172: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   25173: 
                   25174: # Whether or not to add -lc for building shared libraries.
                   25175: build_libtool_need_lc=$archive_cmds_need_lc
                   25176: 
                   25177: # Whether or not to disallow shared libs when runtime libs are static.
                   25178: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   25179: 
                   25180: # Compiler flag to allow reflexive dlopens.
                   25181: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   25182: 
                   25183: # Compiler flag to generate shared objects directly from archives.
                   25184: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   25185: 
                   25186: # Whether the compiler copes with passing no objects directly.
                   25187: compiler_needs_object=$lt_compiler_needs_object
                   25188: 
                   25189: # Create an old-style archive from a shared archive.
                   25190: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   25191: 
                   25192: # Create a temporary old-style archive to link instead of a shared archive.
                   25193: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   25194: 
                   25195: # Commands used to build a shared archive.
                   25196: archive_cmds=$lt_archive_cmds
                   25197: archive_expsym_cmds=$lt_archive_expsym_cmds
                   25198: 
                   25199: # Commands used to build a loadable module if different from building
                   25200: # a shared archive.
                   25201: module_cmds=$lt_module_cmds
                   25202: module_expsym_cmds=$lt_module_expsym_cmds
                   25203: 
                   25204: # Whether we are building with GNU ld or not.
                   25205: with_gnu_ld=$lt_with_gnu_ld
                   25206: 
                   25207: # Flag that allows shared libraries with undefined symbols to be built.
                   25208: allow_undefined_flag=$lt_allow_undefined_flag
                   25209: 
                   25210: # Flag that enforces no undefined symbols.
                   25211: no_undefined_flag=$lt_no_undefined_flag
                   25212: 
                   25213: # Flag to hardcode \$libdir into a binary during linking.
                   25214: # This must work even if \$libdir does not exist
                   25215: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   25216: 
                   25217: # Whether we need a single "-rpath" flag with a separated argument.
                   25218: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   25219: 
1.237     moko     25220: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.128     moko     25221: # DIR into the resulting binary.
                   25222: hardcode_direct=$hardcode_direct
                   25223: 
1.237     moko     25224: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.128     moko     25225: # DIR into the resulting binary and the resulting library dependency is
1.237     moko     25226: # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
1.128     moko     25227: # library is relocated.
                   25228: hardcode_direct_absolute=$hardcode_direct_absolute
                   25229: 
                   25230: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   25231: # into the resulting binary.
                   25232: hardcode_minus_L=$hardcode_minus_L
                   25233: 
                   25234: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   25235: # into the resulting binary.
                   25236: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   25237: 
                   25238: # Set to "yes" if building a shared library automatically hardcodes DIR
                   25239: # into the library and all subsequent libraries and executables linked
                   25240: # against it.
                   25241: hardcode_automatic=$hardcode_automatic
                   25242: 
                   25243: # Set to yes if linker adds runtime paths of dependent libraries
                   25244: # to runtime path list.
                   25245: inherit_rpath=$inherit_rpath
                   25246: 
                   25247: # Whether libtool must link a program against all its dependency libraries.
                   25248: link_all_deplibs=$link_all_deplibs
                   25249: 
                   25250: # Set to "yes" if exported symbols are required.
                   25251: always_export_symbols=$always_export_symbols
                   25252: 
                   25253: # The commands to list exported symbols.
                   25254: export_symbols_cmds=$lt_export_symbols_cmds
                   25255: 
                   25256: # Symbols that should not be listed in the preloaded symbols.
                   25257: exclude_expsyms=$lt_exclude_expsyms
                   25258: 
                   25259: # Symbols that must always be exported.
                   25260: include_expsyms=$lt_include_expsyms
                   25261: 
                   25262: # Commands necessary for linking programs (against libraries) with templates.
                   25263: prelink_cmds=$lt_prelink_cmds
                   25264: 
                   25265: # Commands necessary for finishing linking programs.
                   25266: postlink_cmds=$lt_postlink_cmds
                   25267: 
                   25268: # Specify filename containing input files.
                   25269: file_list_spec=$lt_file_list_spec
                   25270: 
                   25271: # How to hardcode a shared library path into an executable.
                   25272: hardcode_action=$hardcode_action
                   25273: 
                   25274: # The directories searched by this compiler when creating a shared library.
                   25275: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   25276: 
                   25277: # Dependencies to place before and after the objects being linked to
                   25278: # create a shared library.
                   25279: predep_objects=$lt_predep_objects
                   25280: postdep_objects=$lt_postdep_objects
                   25281: predeps=$lt_predeps
                   25282: postdeps=$lt_postdeps
                   25283: 
                   25284: # The library search path used internally by the compiler when linking
                   25285: # a shared library.
                   25286: compiler_lib_search_path=$lt_compiler_lib_search_path
                   25287: 
                   25288: # ### END LIBTOOL CONFIG
                   25289: 
                   25290: _LT_EOF
                   25291: 
1.237     moko     25292:     cat <<'_LT_EOF' >> "$cfgfile"
                   25293: 
                   25294: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
                   25295: 
                   25296: # func_munge_path_list VARIABLE PATH
                   25297: # -----------------------------------
                   25298: # VARIABLE is name of variable containing _space_ separated list of
                   25299: # directories to be munged by the contents of PATH, which is string
                   25300: # having a format:
                   25301: # "DIR[:DIR]:"
                   25302: #       string "DIR[ DIR]" will be prepended to VARIABLE
                   25303: # ":DIR[:DIR]"
                   25304: #       string "DIR[ DIR]" will be appended to VARIABLE
                   25305: # "DIRP[:DIRP]::[DIRA:]DIRA"
                   25306: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
                   25307: #       "DIRA[ DIRA]" will be appended to VARIABLE
                   25308: # "DIR[:DIR]"
                   25309: #       VARIABLE will be replaced by "DIR[ DIR]"
                   25310: func_munge_path_list ()
                   25311: {
                   25312:     case x$2 in
                   25313:     x)
                   25314:         ;;
                   25315:     *:)
                   25316:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
                   25317:         ;;
                   25318:     x:*)
                   25319:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
                   25320:         ;;
                   25321:     *::*)
                   25322:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
                   25323:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
                   25324:         ;;
                   25325:     *)
                   25326:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
                   25327:         ;;
                   25328:     esac
                   25329: }
                   25330: 
                   25331: 
                   25332: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
                   25333: func_cc_basename ()
                   25334: {
                   25335:     for cc_temp in $*""; do
                   25336:       case $cc_temp in
                   25337:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   25338:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   25339:         \-*) ;;
                   25340:         *) break;;
                   25341:       esac
                   25342:     done
                   25343:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   25344: }
                   25345: 
                   25346: 
                   25347: # ### END FUNCTIONS SHARED WITH CONFIGURE
                   25348: 
                   25349: _LT_EOF
                   25350: 
1.128     moko     25351:   case $host_os in
                   25352:   aix3*)
                   25353:     cat <<\_LT_EOF >> "$cfgfile"
                   25354: # AIX sometimes has problems with the GCC collect2 program.  For some
                   25355: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   25356: # vanish in a puff of smoke.
1.237     moko     25357: if test set != "${COLLECT_NAMES+set}"; then
1.128     moko     25358:   COLLECT_NAMES=
                   25359:   export COLLECT_NAMES
                   25360: fi
                   25361: _LT_EOF
                   25362:     ;;
                   25363:   esac
                   25364: 
                   25365: 
1.237     moko     25366: 
                   25367: ltmain=$ac_aux_dir/ltmain.sh
1.128     moko     25368: 
                   25369: 
                   25370:   # We use sed instead of cat because bash on DJGPP gets confused if
                   25371:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   25372:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   25373:   # is reportedly fixed, but why not run on old versions too?
1.237     moko     25374:   $SED '$q' "$ltmain" >> "$cfgfile" \
1.128     moko     25375:      || (rm -f "$cfgfile"; exit 1)
                   25376: 
                   25377:    mv -f "$cfgfile" "$ofile" ||
                   25378:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   25379:   chmod +x "$ofile"
                   25380: 
                   25381: 
                   25382:     cat <<_LT_EOF >> "$ofile"
                   25383: 
                   25384: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   25385: 
                   25386: # The linker used to build libraries.
                   25387: LD=$lt_LD_CXX
                   25388: 
                   25389: # How to create reloadable object files.
                   25390: reload_flag=$lt_reload_flag_CXX
                   25391: reload_cmds=$lt_reload_cmds_CXX
                   25392: 
                   25393: # Commands used to build an old-style archive.
                   25394: old_archive_cmds=$lt_old_archive_cmds_CXX
                   25395: 
                   25396: # A language specific compiler.
                   25397: CC=$lt_compiler_CXX
                   25398: 
                   25399: # Is the compiler the GNU compiler?
                   25400: with_gcc=$GCC_CXX
                   25401: 
                   25402: # Compiler flag to turn off builtin functions.
                   25403: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   25404: 
                   25405: # Additional compiler flags for building library objects.
                   25406: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   25407: 
                   25408: # How to pass a linker flag through the compiler.
                   25409: wl=$lt_lt_prog_compiler_wl_CXX
                   25410: 
                   25411: # Compiler flag to prevent dynamic linking.
                   25412: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   25413: 
                   25414: # Does compiler simultaneously support -c and -o options?
                   25415: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   25416: 
                   25417: # Whether or not to add -lc for building shared libraries.
                   25418: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   25419: 
                   25420: # Whether or not to disallow shared libs when runtime libs are static.
                   25421: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   25422: 
                   25423: # Compiler flag to allow reflexive dlopens.
                   25424: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   25425: 
                   25426: # Compiler flag to generate shared objects directly from archives.
                   25427: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   25428: 
                   25429: # Whether the compiler copes with passing no objects directly.
                   25430: compiler_needs_object=$lt_compiler_needs_object_CXX
                   25431: 
                   25432: # Create an old-style archive from a shared archive.
                   25433: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   25434: 
                   25435: # Create a temporary old-style archive to link instead of a shared archive.
                   25436: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   25437: 
                   25438: # Commands used to build a shared archive.
                   25439: archive_cmds=$lt_archive_cmds_CXX
                   25440: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   25441: 
                   25442: # Commands used to build a loadable module if different from building
                   25443: # a shared archive.
                   25444: module_cmds=$lt_module_cmds_CXX
                   25445: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   25446: 
                   25447: # Whether we are building with GNU ld or not.
                   25448: with_gnu_ld=$lt_with_gnu_ld_CXX
                   25449: 
                   25450: # Flag that allows shared libraries with undefined symbols to be built.
                   25451: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   25452: 
                   25453: # Flag that enforces no undefined symbols.
                   25454: no_undefined_flag=$lt_no_undefined_flag_CXX
                   25455: 
                   25456: # Flag to hardcode \$libdir into a binary during linking.
                   25457: # This must work even if \$libdir does not exist
                   25458: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   25459: 
                   25460: # Whether we need a single "-rpath" flag with a separated argument.
                   25461: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   25462: 
1.237     moko     25463: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.128     moko     25464: # DIR into the resulting binary.
                   25465: hardcode_direct=$hardcode_direct_CXX
                   25466: 
1.237     moko     25467: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.128     moko     25468: # DIR into the resulting binary and the resulting library dependency is
1.237     moko     25469: # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
1.128     moko     25470: # library is relocated.
                   25471: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   25472: 
                   25473: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   25474: # into the resulting binary.
                   25475: hardcode_minus_L=$hardcode_minus_L_CXX
                   25476: 
                   25477: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   25478: # into the resulting binary.
                   25479: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   25480: 
                   25481: # Set to "yes" if building a shared library automatically hardcodes DIR
                   25482: # into the library and all subsequent libraries and executables linked
                   25483: # against it.
                   25484: hardcode_automatic=$hardcode_automatic_CXX
                   25485: 
                   25486: # Set to yes if linker adds runtime paths of dependent libraries
                   25487: # to runtime path list.
                   25488: inherit_rpath=$inherit_rpath_CXX
                   25489: 
                   25490: # Whether libtool must link a program against all its dependency libraries.
                   25491: link_all_deplibs=$link_all_deplibs_CXX
                   25492: 
                   25493: # Set to "yes" if exported symbols are required.
                   25494: always_export_symbols=$always_export_symbols_CXX
                   25495: 
                   25496: # The commands to list exported symbols.
                   25497: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   25498: 
                   25499: # Symbols that should not be listed in the preloaded symbols.
                   25500: exclude_expsyms=$lt_exclude_expsyms_CXX
                   25501: 
                   25502: # Symbols that must always be exported.
                   25503: include_expsyms=$lt_include_expsyms_CXX
                   25504: 
                   25505: # Commands necessary for linking programs (against libraries) with templates.
                   25506: prelink_cmds=$lt_prelink_cmds_CXX
                   25507: 
                   25508: # Commands necessary for finishing linking programs.
                   25509: postlink_cmds=$lt_postlink_cmds_CXX
                   25510: 
                   25511: # Specify filename containing input files.
                   25512: file_list_spec=$lt_file_list_spec_CXX
                   25513: 
                   25514: # How to hardcode a shared library path into an executable.
                   25515: hardcode_action=$hardcode_action_CXX
                   25516: 
                   25517: # The directories searched by this compiler when creating a shared library.
                   25518: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   25519: 
                   25520: # Dependencies to place before and after the objects being linked to
                   25521: # create a shared library.
                   25522: predep_objects=$lt_predep_objects_CXX
                   25523: postdep_objects=$lt_postdep_objects_CXX
                   25524: predeps=$lt_predeps_CXX
                   25525: postdeps=$lt_postdeps_CXX
                   25526: 
                   25527: # The library search path used internally by the compiler when linking
                   25528: # a shared library.
                   25529: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   25530: 
                   25531: # ### END LIBTOOL TAG CONFIG: CXX
                   25532: _LT_EOF
                   25533: 
                   25534:  ;;
1.150     moko     25535: 
1.62      paf      25536:   esac
1.150     moko     25537: done # for ac_tag
1.62      paf      25538: 
                   25539: 
1.150     moko     25540: as_fn_exit 0
1.62      paf      25541: _ACEOF
                   25542: ac_clean_files=$ac_clean_files_save
                   25543: 
1.150     moko     25544: test $ac_write_fail = 0 ||
                   25545:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   25546: 
1.1       paf      25547: 
1.62      paf      25548: # configure is writing to config.log, and then calls config.status.
                   25549: # config.status does its own redirection, appending to config.log.
                   25550: # Unfortunately, on DOS this fails, as config.log is still kept open
                   25551: # by configure, so config.status won't be able to write to it; its
                   25552: # output is simply discarded.  So we exec the FD to /dev/null,
                   25553: # effectively closing config.log, so it can be properly (re)opened and
                   25554: # appended to by config.status.  When coming back to configure, we
                   25555: # need to make the FD available again.
                   25556: if test "$no_create" != yes; then
                   25557:   ac_cs_success=:
                   25558:   ac_config_status_args=
                   25559:   test "$silent" = yes &&
                   25560:     ac_config_status_args="$ac_config_status_args --quiet"
                   25561:   exec 5>/dev/null
                   25562:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   25563:   exec 5>>config.log
                   25564:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   25565:   # would make configure fail if this is the last instruction.
1.150     moko     25566:   $ac_cs_success || as_fn_exit 1
1.62      paf      25567: fi
                   25568: 
                   25569: #
                   25570: # CONFIG_SUBDIRS section.
                   25571: #
1.1       paf      25572: if test "$no_recursion" != yes; then
                   25573: 
1.150     moko     25574:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   25575:   # so they do not pile up.
1.1       paf      25576:   ac_sub_configure_args=
                   25577:   ac_prev=
1.150     moko     25578:   eval "set x $ac_configure_args"
                   25579:   shift
                   25580:   for ac_arg
                   25581:   do
1.1       paf      25582:     if test -n "$ac_prev"; then
                   25583:       ac_prev=
                   25584:       continue
                   25585:     fi
1.62      paf      25586:     case $ac_arg in
1.1       paf      25587:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   25588:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   25589:       ac_prev=cache_file ;;
                   25590:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      25591:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   25592:     | --c=*)
                   25593:       ;;
                   25594:     --config-cache | -C)
1.1       paf      25595:       ;;
                   25596:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   25597:       ac_prev=srcdir ;;
                   25598:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   25599:       ;;
1.62      paf      25600:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   25601:       ac_prev=prefix ;;
                   25602:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   25603:       ;;
1.150     moko     25604:     --disable-option-checking)
                   25605:       ;;
                   25606:     *)
                   25607:       case $ac_arg in
1.237     moko     25608:       *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.150     moko     25609:       esac
                   25610:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      25611:     esac
                   25612:   done
                   25613: 
1.62      paf      25614:   # Always prepend --prefix to ensure using the same prefix
                   25615:   # in subdir configurations.
1.150     moko     25616:   ac_arg="--prefix=$prefix"
                   25617:   case $ac_arg in
1.237     moko     25618:   *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.150     moko     25619:   esac
                   25620:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   25621: 
                   25622:   # Pass --silent
                   25623:   if test "$silent" = yes; then
                   25624:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   25625:   fi
                   25626: 
                   25627:   # Always prepend --disable-option-checking to silence warnings, since
                   25628:   # different subdirs can have different --enable and --with options.
                   25629:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      25630: 
                   25631:   ac_popdir=`pwd`
                   25632:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      25633: 
                   25634:     # Do not complain, so a configure script can configure whichever
                   25635:     # parts of a large source tree are present.
1.150     moko     25636:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      25637: 
1.150     moko     25638:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
1.237     moko     25639:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   25640:     printf "%s\n" "$ac_msg" >&6
1.150     moko     25641:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      25642:     ac_builddir=.
                   25643: 
1.150     moko     25644: case "$ac_dir" in
                   25645: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   25646: *)
1.237     moko     25647:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.150     moko     25648:   # A ".." for each directory in $ac_dir_suffix.
1.237     moko     25649:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.150     moko     25650:   case $ac_top_builddir_sub in
                   25651:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   25652:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   25653:   esac ;;
                   25654: esac
                   25655: ac_abs_top_builddir=$ac_pwd
                   25656: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   25657: # for backward compatibility:
                   25658: ac_top_builddir=$ac_top_build_prefix
1.62      paf      25659: 
                   25660: case $srcdir in
1.150     moko     25661:   .)  # We are building in place.
1.62      paf      25662:     ac_srcdir=.
1.150     moko     25663:     ac_top_srcdir=$ac_top_builddir_sub
                   25664:     ac_abs_top_srcdir=$ac_pwd ;;
                   25665:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      25666:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     25667:     ac_top_srcdir=$srcdir
                   25668:     ac_abs_top_srcdir=$srcdir ;;
                   25669:   *) # Relative name.
                   25670:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   25671:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   25672:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      25673: esac
1.150     moko     25674: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      25675: 
                   25676: 
1.150     moko     25677:     cd "$ac_dir"
1.1       paf      25678: 
1.237     moko     25679:     # Check for configure.gnu first; this name is used for a wrapper for
                   25680:     # Metaconfig's "Configure" on case-insensitive file systems.
1.150     moko     25681:     if test -f "$ac_srcdir/configure.gnu"; then
                   25682:       ac_sub_configure=$ac_srcdir/configure.gnu
                   25683:     elif test -f "$ac_srcdir/configure"; then
                   25684:       ac_sub_configure=$ac_srcdir/configure
1.1       paf      25685:     else
1.237     moko     25686:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   25687: printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      25688:       ac_sub_configure=
                   25689:     fi
                   25690: 
                   25691:     # The recursion is here.
                   25692:     if test -n "$ac_sub_configure"; then
                   25693:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      25694:       case $cache_file in
                   25695:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150     moko     25696:       *) # Relative name.
                   25697:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      25698:       esac
                   25699: 
1.237     moko     25700:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   25701: printf "%s\n" "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       paf      25702:       # The eval makes quoting arguments work.
1.150     moko     25703:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   25704:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   25705:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      25706:     fi
                   25707: 
1.150     moko     25708:     cd "$ac_popdir"
1.1       paf      25709:   done
                   25710: fi
1.150     moko     25711: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.237     moko     25712:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   25713: printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.150     moko     25714: fi
1.1       paf      25715: 
1.237     moko     25716: 

E-mail: