Annotation of parser3/configure, revision 1.248

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: 
1.248   ! moko     6515: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing timer_create" >&5
        !          6516: printf %s "checking for library containing timer_create... " >&6; }
        !          6517: if test ${ac_cv_search_timer_create+y}
        !          6518: then :
        !          6519:   printf %s "(cached) " >&6
        !          6520: else case e in #(
        !          6521:   e) ac_func_search_save_LIBS=$LIBS
        !          6522: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6523: /* end confdefs.h.  */
        !          6524: 
        !          6525: /* Override any GCC internal prototype to avoid an error.
        !          6526:    Use char because int might match the return type of a GCC
        !          6527:    builtin and then its argument prototype would still apply.
        !          6528:    The 'extern "C"' is for builds by C++ compilers;
        !          6529:    although this is not generally supported in C code supporting it here
        !          6530:    has little cost and some practical benefit (sr 110532).  */
        !          6531: #ifdef __cplusplus
        !          6532: extern "C"
        !          6533: #endif
        !          6534: char timer_create (void);
        !          6535: int
        !          6536: main (void)
        !          6537: {
        !          6538: return timer_create ();
        !          6539:   ;
        !          6540:   return 0;
        !          6541: }
        !          6542: _ACEOF
        !          6543: for ac_lib in '' rt
        !          6544: do
        !          6545:   if test -z "$ac_lib"; then
        !          6546:     ac_res="none required"
        !          6547:   else
        !          6548:     ac_res=-l$ac_lib
        !          6549:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
        !          6550:   fi
        !          6551:   if ac_fn_c_try_link "$LINENO"
        !          6552: then :
        !          6553:   ac_cv_search_timer_create=$ac_res
        !          6554: fi
        !          6555: rm -f core conftest.err conftest.$ac_objext conftest.beam \
        !          6556:     conftest$ac_exeext
        !          6557:   if test ${ac_cv_search_timer_create+y}
        !          6558: then :
        !          6559:   break
        !          6560: fi
        !          6561: done
        !          6562: if test ${ac_cv_search_timer_create+y}
        !          6563: then :
        !          6564: 
        !          6565: else case e in #(
        !          6566:   e) ac_cv_search_timer_create=no ;;
        !          6567: esac
        !          6568: fi
        !          6569: rm conftest.$ac_ext
        !          6570: LIBS=$ac_func_search_save_LIBS ;;
        !          6571: esac
        !          6572: fi
        !          6573: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_timer_create" >&5
        !          6574: printf "%s\n" "$ac_cv_search_timer_create" >&6; }
        !          6575: ac_res=$ac_cv_search_timer_create
        !          6576: if test "$ac_res" != no
        !          6577: then :
        !          6578:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
        !          6579: 
        !          6580: fi
        !          6581: 
1.66      paf      6582: 
                   6583: 
                   6584: 
1.243     moko     6585: # Check whether --with-build-warnings was given.
                   6586: if test ${with_build_warnings+y}
                   6587: then :
                   6588:   withval=$with_build_warnings; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
                   6589: printf "%s\n" "$as_me: WARNING: enabling compiler warnings" >&2;}
                   6590:        CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2 -Wextra -Wall -Wno-parentheses"
1.66      paf      6591: 
1.243     moko     6592: fi
1.241     moko     6593: 
                   6594: 
                   6595: 
1.243     moko     6596: # Check whether --with-coverage was given.
                   6597: if test ${with_coverage+y}
1.241     moko     6598: then :
1.243     moko     6599:   withval=$with_coverage; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling gcov support" >&5
                   6600: printf "%s\n" "$as_me: WARNING: enabling gcov support" >&2;}
                   6601:        CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O0-9*//g'`
                   6602:        CXXFLAGS=`echo "$XXCFLAGS" | $SED -e 's/-O0-9*//g'`
                   6603:        CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   6604:        CXXFLAGS="$CXXFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   6605:        LDFLAGS="$LDFLAGS -lgcov"
1.241     moko     6606: 
                   6607: fi
1.66      paf      6608: 
1.232     moko     6609: 
                   6610: 
1.243     moko     6611: # Check whether --with-profiler was given.
                   6612: if test ${with_profiler+y}
1.237     moko     6613: then :
1.243     moko     6614:   withval=$with_profiler; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling gprof support" >&5
                   6615: printf "%s\n" "$as_me: WARNING: enabling gprof support" >&2;}
                   6616:        CFLAGS="$CFLAGS -O0 -pg -g"
                   6617:        CXXFLAGS="$CXXFLAGS -O0 -pg -g"
1.237     moko     6618: 
1.243     moko     6619: fi
1.232     moko     6620: 
                   6621: 
                   6622: 
1.243     moko     6623: # Check whether --with-assertions was given.
                   6624: if test ${with_assertions+y}
1.241     moko     6625: then :
1.243     moko     6626:   withval=$with_assertions; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling assertions" >&5
                   6627: printf "%s\n" "$as_me: WARNING: enabling assertions" >&2;}
1.241     moko     6628: 
                   6629: else case e in #(
                   6630:   e)
1.243     moko     6631: printf "%s\n" "#define NDEBUG /**/" >>confdefs.h
                   6632: 
1.241     moko     6633:  ;;
                   6634: esac
                   6635: fi
                   6636: 
                   6637: 
                   6638: 
1.243     moko     6639: # Check whether --with-sjlj-exceptions was given.
                   6640: if test ${with_sjlj_exceptions+y}
                   6641: then :
                   6642:   withval=$with_sjlj_exceptions;
                   6643: printf "%s\n" "#define PA_WITH_SJLJ_EXCEPTIONS /**/" >>confdefs.h
1.232     moko     6644: 
                   6645: 
                   6646: fi
                   6647: 
                   6648: 
                   6649: 
                   6650: 
1.243     moko     6651: # Check whether --with-system-cfg was given.
                   6652: if test ${with_system_cfg+y}
                   6653: then :
                   6654:   withval=$with_system_cfg;
                   6655: printf "%s\n" "#define SYSTEM_CONFIG_FILE \"$withval\"" >>confdefs.h
1.232     moko     6656: 
                   6657: 
1.243     moko     6658: fi
1.239     moko     6659: 
                   6660: 
                   6661: 
1.243     moko     6662: # Check whether --enable-safe-mode was given.
                   6663: if test ${enable_safe_mode+y}
1.239     moko     6664: then :
1.243     moko     6665:   enableval=$enable_safe_mode;
                   6666:        SAFE_MODE=$enableval
1.239     moko     6667: 
                   6668: 
                   6669: fi
                   6670: 
                   6671: 
1.243     moko     6672: if test "$SAFE_MODE" = "no"; then
                   6673:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   6674: printf "%s\n" "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
                   6675: else
1.239     moko     6676: 
1.243     moko     6677: printf "%s\n" "#define PA_SAFE_MODE /**/" >>confdefs.h
1.239     moko     6678: 
                   6679: fi
                   6680: 
                   6681: 
1.243     moko     6682: # Check whether --enable-execs was given.
                   6683: if test ${enable_execs+y}
                   6684: then :
                   6685:   enableval=$enable_execs;
                   6686: if test "$enableval" = "no"; then
                   6687:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling file execs" >&5
                   6688: printf "%s\n" "$as_me: WARNING: disabling file execs" >&2;}
1.239     moko     6689: 
1.243     moko     6690: printf "%s\n" "#define NO_PA_EXECS /**/" >>confdefs.h
1.239     moko     6691: 
1.243     moko     6692: fi
1.239     moko     6693: 
                   6694: 
1.243     moko     6695: fi
1.66      paf      6696: 
                   6697: 
                   6698: 
1.243     moko     6699: # Check whether --enable-stringstream was given.
                   6700: if test ${enable_stringstream+y}
1.237     moko     6701: then :
1.243     moko     6702:   enableval=$enable_stringstream;
                   6703: if test "$enableval" = "no"; then
                   6704:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling stringstream usage" >&5
                   6705: printf "%s\n" "$as_me: WARNING: disabling stringstream usage" >&2;}
1.122     moko     6706: 
1.243     moko     6707: printf "%s\n" "#define NO_STRINGSTREAM /**/" >>confdefs.h
1.122     moko     6708: 
1.150     moko     6709: fi
1.7       paf      6710: 
                   6711: 
1.66      paf      6712: fi
1.1       paf      6713: 
                   6714: 
                   6715: 
1.62      paf      6716: 
1.243     moko     6717: # Check whether --with-gc was given.
                   6718: if test ${with_gc+y}
                   6719: then :
                   6720:   withval=$with_gc;
1.62      paf      6721: 
1.243     moko     6722:        GC=$withval
                   6723:        GC_LIBS="$GC/libgc.la"
1.7       paf      6724: 
1.243     moko     6725:        if test -f $GC_LIBS; then
                   6726:                GC_OK="yes"
                   6727:        else
                   6728:                GC_LIBS="-L$GC -lgc"
                   6729:        fi
1.1       paf      6730: 
1.243     moko     6731:        if test "$GC" = "yes"; then
                   6732:                GC=""
                   6733:                GC_LIBS="-lgc"
                   6734:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc value was not specified, hoping linker would find it" >&5
                   6735: printf "%s\n" "$as_me: WARNING: --with-gc value was not specified, hoping linker would find it" >&2;}
                   6736:        fi
1.1       paf      6737: 
1.243     moko     6738: else case e in #(
                   6739:   e)
                   6740:        GC_LIBS="-lgc"
                   6741:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   6742: printf "%s\n" "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
                   6743:  ;;
1.128     moko     6744: esac
1.243     moko     6745: fi
1.128     moko     6746: 
                   6747: 
1.243     moko     6748: if test -z "$GC_OK"; then
                   6749:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libgc" >&5
                   6750: printf %s "checking for libgc... " >&6; }
                   6751:        SAVE_LIBS=$LIBS
                   6752:        LIBS="$LIBS $GC_LIBS"
1.128     moko     6753: 
1.243     moko     6754:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6755: /* end confdefs.h.  */
                   6756:  extern int GC_dont_gc;
                   6757: int
                   6758: main (void)
                   6759: {
                   6760:  GC_dont_gc=0;
                   6761:   ;
                   6762:   return 0;
                   6763: }
                   6764: _ACEOF
                   6765: if ac_fn_c_try_link "$LINENO"
                   6766: then :
                   6767:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6768: printf "%s\n" "yes" >&6; }
1.237     moko     6769: 
1.243     moko     6770: else case e in #(
                   6771:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6772: printf "%s\n" "no" >&6; }
                   6773:                if test -z "$GC"; then
                   6774:                        as_fn_error $? "please specify path to libgc: --with-gc=DIR" "$LINENO" 5
                   6775:                else
                   6776:                        as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5
                   6777:                fi
1.128     moko     6778: 
1.243     moko     6779:    ;;
                   6780: esac
                   6781: fi
                   6782: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   6783:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     6784: 
1.243     moko     6785:        LIBS=$SAVE_LIBS
                   6786: fi
1.128     moko     6787: 
                   6788: 
                   6789: 
                   6790: 
                   6791: 
1.243     moko     6792: # Check whether --with-pcre was given.
                   6793: if test ${with_pcre+y}
                   6794: then :
                   6795:   withval=$with_pcre;
                   6796:        PCRE=$withval
1.128     moko     6797: 
1.243     moko     6798:        if test "$PCRE" = "yes"; then
                   6799:                PCRE=""
                   6800:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5
                   6801: printf "%s\n" "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}
                   6802:        else
                   6803:                PCRE_INCLUDES="-I$PCRE/include"
1.128     moko     6804: 
1.243     moko     6805:                if test -f $PCRE/include/pcre.h -a -f $PCRE/lib/libpcre.la; then
                   6806:                        PCRE_OK="yes"
                   6807:                        PCRE_LIBS="$PCRE/lib/libpcre.la"
                   6808:                else
                   6809:                        if test -f $PCRE/include/pcre2.h -a -f $PCRE/lib/libpcre2-8.la; then
                   6810:                                PCRE_OK="yes"
                   6811:                                PCRE_LIBS="$PCRE/lib/libpcre2-8.la"
1.128     moko     6812: 
1.243     moko     6813: printf "%s\n" "#define HAVE_PCRE2 /**/" >>confdefs.h
1.128     moko     6814: 
1.243     moko     6815:                        else
                   6816:                                PCRE_LIBS="-L$PCRE/lib"
                   6817:                        fi
                   6818:                fi
                   6819:        fi
1.128     moko     6820: 
1.243     moko     6821: else case e in #(
                   6822:   e)
                   6823:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   6824: printf "%s\n" "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
                   6825:  ;;
                   6826: esac
                   6827: fi
1.128     moko     6828: 
                   6829: 
1.243     moko     6830: if test -z "$PCRE_OK"; then
                   6831:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcre2" >&5
                   6832: printf %s "checking for pcre2... " >&6; }
                   6833:        SAVE_LIBS=$LIBS
                   6834:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES -lpcre2-8"
1.10      paf      6835: 
1.243     moko     6836:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6837: /* end confdefs.h.  */
                   6838:  #define PCRE2_CODE_UNIT_WIDTH 8
                   6839: #include <pcre2.h>
                   6840: int
                   6841: main (void)
                   6842: {
                   6843:  void *v=pcre2_general_context_create(0,0,0);
                   6844:   ;
                   6845:   return 0;
                   6846: }
                   6847: _ACEOF
                   6848: if ac_fn_c_try_link "$LINENO"
                   6849: then :
                   6850:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6851: printf "%s\n" "yes" >&6; }
                   6852:                PCRE_LIBS="$PCRE_LIBS -lpcre2-8"
1.10      paf      6853: 
1.243     moko     6854: printf "%s\n" "#define HAVE_PCRE2 /**/" >>confdefs.h
1.62      paf      6855: 
1.243     moko     6856:                PCRE_OK="yes"
1.86      paf      6857: 
1.243     moko     6858: else case e in #(
                   6859:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6860: printf "%s\n" "no" >&6; }
1.86      paf      6861: 
1.243     moko     6862:    ;;
                   6863: esac
                   6864: fi
                   6865: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   6866:     conftest$ac_exeext conftest.$ac_ext
1.86      paf      6867: 
1.243     moko     6868:        LIBS=$SAVE_LIBS
1.128     moko     6869: fi
1.86      paf      6870: 
1.243     moko     6871: if test -z "$PCRE_OK"; then
                   6872:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcre" >&5
                   6873: printf %s "checking for pcre... " >&6; }
                   6874:        PCRE_LIBS="$PCRE_LIBS -lpcre"
                   6875:        SAVE_LIBS=$LIBS
                   6876:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
                   6877: 
                   6878:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6879: /* end confdefs.h.  */
                   6880:  #include <pcre.h>
                   6881: int
                   6882: main (void)
1.66      paf      6883: {
1.243     moko     6884:  const char *v=pcre_version();
                   6885:   ;
                   6886:   return 0;
1.66      paf      6887: }
1.243     moko     6888: _ACEOF
                   6889: if ac_fn_c_try_link "$LINENO"
                   6890: then :
                   6891:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6892: printf "%s\n" "yes" >&6; }
                   6893: 
                   6894: else case e in #(
                   6895:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6896: printf "%s\n" "no" >&6; }
                   6897:                if test -z "$PCRE"; then
                   6898:                        as_fn_error $? "please specify path to PCRE: --with-pcre=DIR" "$LINENO" 5
                   6899:                else
                   6900:                        as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5
                   6901:                fi
1.10      paf      6902: 
1.243     moko     6903:    ;;
1.128     moko     6904: esac
1.243     moko     6905: fi
                   6906: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   6907:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     6908: 
1.243     moko     6909:        LIBS=$SAVE_LIBS
                   6910: fi
1.128     moko     6911: 
                   6912: 
                   6913: 
                   6914: 
                   6915: 
                   6916: 
1.243     moko     6917: # Check whether --with-xml was given.
                   6918: if test ${with_xml+y}
                   6919: then :
                   6920:   withval=$with_xml;
1.128     moko     6921: 
1.243     moko     6922:        XML=$withval
                   6923:        XML_LIBS="-lxml2 -lxslt -lexslt"
1.128     moko     6924: 
1.243     moko     6925:        if test -z "$XML" -o "$XML" = "yes"; then
                   6926:                XML=""
                   6927:                XML_INCLUDES="-I/usr/include/libxml2"
                   6928:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   6929: printf "%s\n" "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
                   6930:        else
                   6931:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
                   6932:                XML_LIBS="-L$XML/lib $XML_LIBS"
1.128     moko     6933: 
1.243     moko     6934:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   6935:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   6936:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   6937:                        XML_OK="yes"
                   6938:                fi
                   6939:        fi
1.128     moko     6940: 
1.243     moko     6941:        if test -z "$XML_OK"; then
                   6942:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
                   6943: printf %s "checking for xml... " >&6; }
                   6944:                SAVE_LIBS=$LIBS
                   6945:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
1.128     moko     6946: 
1.243     moko     6947:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6948: /* end confdefs.h.  */
                   6949:  #include <libxslt/xslt.h>
                   6950: int
                   6951: main (void)
                   6952: {
                   6953:  const char *v=xsltEngineVersion;
                   6954:   ;
                   6955:   return 0;
                   6956: }
                   6957: _ACEOF
                   6958: if ac_fn_c_try_link "$LINENO"
                   6959: then :
                   6960:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6961: printf "%s\n" "yes" >&6; }
1.128     moko     6962: 
1.237     moko     6963: else case e in #(
1.243     moko     6964:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6965: printf "%s\n" "no" >&6; }
                   6966:                        if test -z "$XML"; then
                   6967:                                as_fn_error $? "please specify path to Gnome XML libraries: --with-xml=DIR" "$LINENO" 5
                   6968:                        else
                   6969:                                as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5
                   6970:                        fi
1.150     moko     6971: 
1.243     moko     6972:    ;;
1.237     moko     6973: esac
1.66      paf      6974: fi
1.243     moko     6975: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   6976:     conftest$ac_exeext conftest.$ac_ext
                   6977: 
                   6978:                LIBS=$SAVE_LIBS
                   6979:        fi
                   6980: 
                   6981: printf "%s\n" "#define XML /**/" >>confdefs.h
1.128     moko     6982: 
1.10      paf      6983: 
1.243     moko     6984: fi
1.128     moko     6985: 
                   6986: 
                   6987: 
                   6988: 
                   6989: 
                   6990: 
                   6991: 
1.243     moko     6992: # Check whether --with-mailreceive was given.
                   6993: if test ${with_mailreceive+y}
                   6994: then :
                   6995:   withval=$with_mailreceive;
                   6996:        MIME=$withval
                   6997:        GLIB="glib-2.0"
                   6998:        GMIME="gmime-2.4"
1.128     moko     6999: 
1.243     moko     7000:        if test -z "$MIME" -o "$MIME" = "yes"; then
                   7001:                MIME=""
                   7002:                MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   7003:                MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
                   7004:                if test -z "$MIME_LIBS"; then
                   7005:                        GMIME="gmime-3.0"
                   7006:                        MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   7007:                        MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
                   7008:                fi
                   7009:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&5
                   7010: printf "%s\n" "$as_me: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&2;}
                   7011:        else
                   7012:                MIME_INCLUDES="-I$MIME/include/$GMIME"
                   7013:                MIME_LIBS="-l$GMIME"
                   7014:                if test -f $MIME/include/$GMIME/gmime/gmime.h -a -f $MIME/lib/lib$GMIME.la; then
                   7015:                        MIME_LIBS="$MIME/lib/lib$GMIME.la"
                   7016:                        if test -f $MIME/lib/lib$GLIB.la; then
                   7017:                                MIME_INCLUDES="$MIME_INCLUDES -I$MIME/include/$GLIB -I$MIME/lib/$GLIB/include"
                   7018:                        else
                   7019:                                GLIB_INCLUDES=`pkg-config --cflags $GLIB 2>/dev/null`
                   7020:                                MIME_INCLUDES="$MIME_INCLUDES $GLIB_INCLUDES"
                   7021:                        fi
                   7022:                        MIME_OK="yes"
                   7023:                fi
                   7024:        fi
1.128     moko     7025: 
1.243     moko     7026:        if test -z "$MIME_OK"; then
                   7027:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mime" >&5
                   7028: printf %s "checking for mime... " >&6; }
                   7029:                SAVE_LIBS=$LIBS
                   7030:                LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES"
1.128     moko     7031: 
1.243     moko     7032:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7033: /* end confdefs.h.  */
                   7034:  #include <gmime/gmime.h>
                   7035: int
                   7036: main (void)
                   7037: {
                   7038:  guint v=gmime_major_version;
                   7039:   ;
                   7040:   return 0;
                   7041: }
                   7042: _ACEOF
                   7043: if ac_fn_c_try_link "$LINENO"
1.237     moko     7044: then :
1.243     moko     7045:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7046: printf "%s\n" "yes" >&6; }
                   7047: 
1.237     moko     7048: else case e in #(
1.243     moko     7049:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7050: printf "%s\n" "no" >&6; }
                   7051:                        if test -z "$MIME"; then
                   7052:                                as_fn_error $? "please specify path to Gnome MIME library: --with-mailreceive=DIR" "$LINENO" 5
                   7053:                        else
                   7054:                                as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5
                   7055:                        fi
1.150     moko     7056: 
1.243     moko     7057:    ;;
1.237     moko     7058: esac
1.128     moko     7059: fi
1.243     moko     7060: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   7061:     conftest$ac_exeext conftest.$ac_ext
                   7062: 
                   7063:                LIBS=$SAVE_LIBS
                   7064:        fi
                   7065: 
                   7066: printf "%s\n" "#define WITH_MAILRECEIVE /**/" >>confdefs.h
                   7067: 
                   7068: 
                   7069: fi
1.150     moko     7070: 
                   7071: 
1.243     moko     7072: 
                   7073: 
                   7074: 
                   7075: 
                   7076: ac_header= ac_cache=
                   7077: for ac_item in $ac_header_c_list
1.150     moko     7078: do
1.243     moko     7079:   if test $ac_cache; then
                   7080:     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
                   7081:     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
                   7082:       printf "%s\n" "#define $ac_item 1" >> confdefs.h
1.150     moko     7083:     fi
1.243     moko     7084:     ac_header= ac_cache=
                   7085:   elif test $ac_header; then
                   7086:     ac_cache=$ac_item
                   7087:   else
                   7088:     ac_header=$ac_item
                   7089:   fi
                   7090: done
                   7091: 
                   7092: 
                   7093: 
                   7094: 
1.128     moko     7095: 
                   7096: 
1.150     moko     7097: 
                   7098: 
1.243     moko     7099: if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
1.237     moko     7100: then :
1.150     moko     7101: 
1.243     moko     7102: printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
1.150     moko     7103: 
1.128     moko     7104: fi
                   7105: 
1.243     moko     7106: # Check whether --with-amqp was given.
                   7107: if test ${with_amqp+y}
                   7108: then :
                   7109:   withval=$with_amqp;
                   7110:     AMQP=$withval
1.128     moko     7111: 
1.243     moko     7112:     if test -z "$AMQP" -o "$AMQP" = "yes"; then
                   7113:         AMQP_INCLUDES=""
                   7114:         AMQP_LIBS="-lrabbitmq"
                   7115:         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-amqp value was not specified, hoping linker would find it" >&5
                   7116: printf "%s\n" "$as_me: WARNING: --with-amqp value was not specified, hoping linker would find it" >&2;}
1.245     moko     7117: 
                   7118:                 ac_fn_c_check_header_compile "$LINENO" "amqp_ssl_socket.h" "ac_cv_header_amqp_ssl_socket_h" "$ac_includes_default"
                   7119: if test "x$ac_cv_header_amqp_ssl_socket_h" = xyes
                   7120: then :
                   7121: 
                   7122: printf "%s\n" "#define WITH_AMQP_SSL /**/" >>confdefs.h
                   7123: 
                   7124: fi
                   7125: 
1.243     moko     7126:     else
                   7127:         AMQP_INCLUDES="-I$AMQP/include"
1.246     moko     7128:         if test -f $AMQP/lib/librabbitmq.a; then
                   7129:             AMQP_LIBS="$AMQP/lib/librabbitmq.a"
1.243     moko     7130:         else
                   7131:             AMQP_LIBS="-L$AMQP/lib -lrabbitmq"
                   7132:         fi
                   7133:     fi
1.128     moko     7134: 
1.243     moko     7135:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for librabbitmq" >&5
                   7136: printf %s "checking for librabbitmq... " >&6; }
                   7137:     SAVE_LIBS=$LIBS
                   7138:     LIBS="$AMQP_LIBS $AMQP_INCLUDES $LIBS"
1.128     moko     7139: 
1.243     moko     7140:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7141: /* end confdefs.h.  */
                   7142:  #include <amqp.h>
                   7143: int
                   7144: main (void)
                   7145: {
                   7146:  amqp_connection_state_t c = 0;
                   7147:   ;
                   7148:   return 0;
                   7149: }
                   7150: _ACEOF
                   7151: if ac_fn_c_try_link "$LINENO"
                   7152: then :
                   7153:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7154: printf "%s\n" "yes" >&6; }
1.128     moko     7155: 
1.243     moko     7156: else case e in #(
                   7157:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7158: printf "%s\n" "no" >&6; }
                   7159:         if test -z "$AMQP"; then
                   7160:             as_fn_error $? "please specify path to librabbitmq: --with-amqp=DIR" "$LINENO" 5
                   7161:         else
                   7162:             as_fn_error $? "$AMQP does not seem to be valid librabbitmq installation directory" "$LINENO" 5
                   7163:         fi
1.128     moko     7164: 
1.243     moko     7165:    ;;
                   7166: esac
                   7167: fi
                   7168: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   7169:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     7170: 
1.243     moko     7171:     LIBS=$SAVE_LIBS
1.128     moko     7172: 
1.243     moko     7173: printf "%s\n" "#define WITH_AMQP /**/" >>confdefs.h
1.128     moko     7174: 
                   7175: 
1.243     moko     7176: fi
1.128     moko     7177: 
                   7178: 
                   7179: 
                   7180: 
                   7181: 
                   7182: 
                   7183: 
1.243     moko     7184: # Check whether --with-redis was given.
                   7185: if test ${with_redis+y}
1.237     moko     7186: then :
1.243     moko     7187:   withval=$with_redis;
                   7188:     REDIS=$withval
1.150     moko     7189: 
1.243     moko     7190:     if test -z "$REDIS" -o "$REDIS" = "yes"; then
                   7191:         REDIS_INCLUDES=""
                   7192:         REDIS_LIBS="-lhiredis"
                   7193:         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-redis value was not specified, hoping linker would find it" >&5
                   7194: printf "%s\n" "$as_me: WARNING: --with-redis value was not specified, hoping linker would find it" >&2;}
1.244     moko     7195: 
                   7196:                 ac_fn_c_check_header_compile "$LINENO" "hiredis/hiredis_ssl.h" "ac_cv_header_hiredis_hiredis_ssl_h" "#include <hiredis/hiredis.h>
                   7197: "
                   7198: if test "x$ac_cv_header_hiredis_hiredis_ssl_h" = xyes
                   7199: then :
                   7200: 
                   7201: 
                   7202: printf "%s\n" "#define WITH_REDIS_SSL /**/" >>confdefs.h
                   7203: 
                   7204:             REDIS_LIBS="-lhiredis_ssl $REDIS_LIBS"
                   7205: 
                   7206: fi
                   7207: 
1.243     moko     7208:     else
                   7209:         REDIS_INCLUDES="-I$REDIS/include"
                   7210:         if test -f $REDIS/lib/libhiredis.a; then
                   7211:             REDIS_LIBS="$REDIS/lib/libhiredis.a"
                   7212:         else
                   7213:             REDIS_LIBS="-L$REDIS/lib -lhiredis"
                   7214:         fi
1.128     moko     7215:     fi
                   7216: 
1.243     moko     7217:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hiredis" >&5
                   7218: printf %s "checking for hiredis... " >&6; }
                   7219:     SAVE_LIBS=$LIBS
                   7220:     LIBS="$REDIS_LIBS $REDIS_INCLUDES $LIBS"
                   7221: 
                   7222:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7223: /* end confdefs.h.  */
                   7224:  #include <hiredis/hiredis.h>
                   7225: int
                   7226: main (void)
                   7227: {
                   7228:  redisContext *c = redisConnect("", 0);
                   7229:   ;
                   7230:   return 0;
                   7231: }
                   7232: _ACEOF
                   7233: if ac_fn_c_try_link "$LINENO"
1.237     moko     7234: then :
1.243     moko     7235:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7236: printf "%s\n" "yes" >&6; }
                   7237: 
1.237     moko     7238: else case e in #(
1.243     moko     7239:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7240: printf "%s\n" "no" >&6; }
                   7241:         if test -z "$REDIS"; then
                   7242:             as_fn_error $? "please specify path to hiredis: --with-redis=DIR" "$LINENO" 5
                   7243:         else
                   7244:             as_fn_error $? "$REDIS does not seem to be valid hiredis installation directory" "$LINENO" 5
                   7245:         fi
                   7246: 
                   7247:    ;;
1.128     moko     7248: esac
                   7249: fi
1.243     moko     7250: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   7251:     conftest$ac_exeext conftest.$ac_ext
                   7252: 
                   7253:     LIBS=$SAVE_LIBS
1.128     moko     7254: 
1.243     moko     7255: printf "%s\n" "#define WITH_REDIS /**/" >>confdefs.h
1.128     moko     7256: 
                   7257: 
1.243     moko     7258: fi
1.128     moko     7259: 
                   7260: 
                   7261: 
                   7262: 
                   7263: 
                   7264: 
1.243     moko     7265: # Check whether --with-sendmail was given.
                   7266: if test ${with_sendmail+y}
1.237     moko     7267: then :
1.243     moko     7268:   withval=$with_sendmail;
                   7269: printf "%s\n" "#define PA_FORCED_SENDMAIL \"$withval\"" >>confdefs.h
                   7270: 
                   7271: 
1.128     moko     7272: fi
1.243     moko     7273: 
                   7274: 
                   7275: 
                   7276: 
                   7277: # Check whether --with-apache was given.
                   7278: if test ${with_apache+y}
1.237     moko     7279: then :
1.243     moko     7280:   withval=$with_apache;
                   7281:        APXS=$withval
1.128     moko     7282: 
1.243     moko     7283:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   7284:                APXS=`which apxs 2>/dev/null`
                   7285:                if test -z "$APXS"; then
                   7286:                        APXS=`which apxs2 2>/dev/null`
                   7287:                fi
                   7288:        fi
1.128     moko     7289: 
1.243     moko     7290:        APACHE=`$APXS -q TARGET 2>/dev/null`
1.150     moko     7291: 
1.243     moko     7292:        if test -z "$APACHE"; then
                   7293:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
                   7294:        fi
                   7295: 
                   7296:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   7297:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   7298:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   7299:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   7300: 
                   7301: fi
                   7302: 
                   7303: 
                   7304: 
                   7305: 
                   7306:  if test -n "$APACHE"; then
                   7307:   COMPILE_APACHE_MODULE_TRUE=
                   7308:   COMPILE_APACHE_MODULE_FALSE='#'
                   7309: else
                   7310:   COMPILE_APACHE_MODULE_TRUE='#'
                   7311:   COMPILE_APACHE_MODULE_FALSE=
                   7312: fi
                   7313: 
                   7314: 
                   7315: 
                   7316: 
                   7317: 
                   7318: 
                   7319: 
                   7320: 
                   7321: 
                   7322: 
                   7323: case `pwd` in
                   7324:   *\ * | *\    *)
                   7325:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   7326: printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   7327: esac
                   7328: 
                   7329: 
                   7330: 
                   7331: macro_version='2.5.4'
                   7332: macro_revision='2.5.4'
                   7333: 
                   7334: 
                   7335: 
                   7336: 
                   7337: 
                   7338: 
                   7339: 
                   7340: 
                   7341: 
                   7342: 
                   7343: 
                   7344: 
                   7345: 
                   7346: 
                   7347: ltmain=$ac_aux_dir/ltmain.sh
                   7348: 
                   7349: # Backslashify metacharacters that are still active within
                   7350: # double-quoted strings.
                   7351: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
                   7352: 
                   7353: # Same as above, but do not quote variable references.
                   7354: double_quote_subst='s/\(["`\\]\)/\\\1/g'
                   7355: 
                   7356: # Sed substitution to delay expansion of an escaped shell variable in a
                   7357: # double_quote_subst'ed string.
                   7358: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   7359: 
                   7360: # Sed substitution to delay expansion of an escaped single quote.
                   7361: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
                   7362: 
                   7363: # Sed substitution to avoid accidental globbing in evaled expressions
                   7364: no_glob_subst='s/\*/\\\*/g'
                   7365: 
                   7366: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   7367: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   7368: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
                   7369: 
                   7370: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   7371: printf %s "checking how to print strings... " >&6; }
                   7372: # Test print first, because it will be a builtin if present.
                   7373: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   7374:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   7375:   ECHO='print -r --'
                   7376: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   7377:   ECHO='printf %s\n'
                   7378: else
                   7379:   # Use this function as a fallback that always works.
                   7380:   func_fallback_echo ()
                   7381:   {
                   7382:     eval 'cat <<_LTECHO_EOF
                   7383: $1
                   7384: _LTECHO_EOF'
                   7385:   }
                   7386:   ECHO='func_fallback_echo'
1.128     moko     7387: fi
1.243     moko     7388: 
                   7389: # func_echo_all arg...
                   7390: # Invoke $ECHO with all args, space-separated.
                   7391: func_echo_all ()
                   7392: {
                   7393:     $ECHO ""
                   7394: }
                   7395: 
                   7396: case $ECHO in
                   7397:   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   7398: printf "%s\n" "printf" >&6; } ;;
                   7399:   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   7400: printf "%s\n" "print -r" >&6; } ;;
                   7401:   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   7402: printf "%s\n" "cat" >&6; } ;;
                   7403: esac
                   7404: 
                   7405: 
                   7406: 
                   7407: 
                   7408: 
                   7409: 
                   7410: 
                   7411: 
                   7412: 
                   7413: 
                   7414: 
                   7415: 
                   7416: 
                   7417: 
                   7418: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   7419: printf %s "checking for a sed that does not truncate output... " >&6; }
                   7420: if test ${ac_cv_path_SED+y}
1.237     moko     7421: then :
                   7422:   printf %s "(cached) " >&6
                   7423: else case e in #(
1.243     moko     7424:   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   7425:      for ac_i in 1 2 3 4 5 6 7; do
                   7426:        ac_script="$ac_script$as_nl$ac_script"
                   7427:      done
                   7428:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   7429:      { ac_script=; unset ac_script;}
                   7430:      if test -z "$SED"; then
                   7431:   ac_path_SED_found=false
                   7432:   # Loop through the user's path and test for each of PROGNAME-LIST
                   7433:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     7434: for as_dir in $PATH
                   7435: do
                   7436:   IFS=$as_save_IFS
1.237     moko     7437:   case $as_dir in #(((
                   7438:     '') as_dir=./ ;;
                   7439:     */) ;;
                   7440:     *) as_dir=$as_dir/ ;;
                   7441:   esac
1.243     moko     7442:     for ac_prog in sed gsed
                   7443:    do
1.150     moko     7444:     for ac_exec_ext in '' $ac_executable_extensions; do
1.243     moko     7445:       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
                   7446:       as_fn_executable_p "$ac_path_SED" || continue
                   7447: # Check for GNU ac_path_SED and select it if it is found.
                   7448:   # Check for GNU $ac_path_SED
                   7449: case `"$ac_path_SED" --version 2>&1` in #(
                   7450: *GNU*)
                   7451:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   7452: #(
                   7453: *)
                   7454:   ac_count=0
                   7455:   printf %s 0123456789 >"conftest.in"
                   7456:   while :
                   7457:   do
                   7458:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   7459:     mv "conftest.tmp" "conftest.in"
                   7460:     cp "conftest.in" "conftest.nl"
                   7461:     printf "%s\n" '' >> "conftest.nl"
                   7462:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   7463:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   7464:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   7465:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   7466:       # Best one so far, save it but keep looking for a better one
                   7467:       ac_cv_path_SED="$ac_path_SED"
                   7468:       ac_path_SED_max=$ac_count
                   7469:     fi
                   7470:     # 10*(2^10) chars as input seems more than enough
                   7471:     test $ac_count -gt 10 && break
                   7472:   done
                   7473:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   7474: esac
                   7475: 
                   7476:       $ac_path_SED_found && break 3
                   7477:     done
                   7478:   done
1.150     moko     7479:   done
                   7480: IFS=$as_save_IFS
1.243     moko     7481:   if test -z "$ac_cv_path_SED"; then
                   7482:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
                   7483:   fi
                   7484: else
                   7485:   ac_cv_path_SED=$SED
                   7486: fi
                   7487:  ;;
1.237     moko     7488: esac
1.128     moko     7489: fi
1.243     moko     7490: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   7491: printf "%s\n" "$ac_cv_path_SED" >&6; }
                   7492:  SED="$ac_cv_path_SED"
                   7493:   rm -f conftest.sed
                   7494: 
                   7495: test -z "$SED" && SED=sed
                   7496: Xsed="$SED -e 1s/^X//"
1.128     moko     7497: 
1.150     moko     7498: 
1.128     moko     7499: 
                   7500: 
                   7501: 
                   7502: 
                   7503: 
                   7504: 
                   7505: 
                   7506: 
                   7507: 
1.243     moko     7508: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   7509: printf %s "checking for grep that handles long lines and -e... " >&6; }
                   7510: if test ${ac_cv_path_GREP+y}
1.237     moko     7511: then :
                   7512:   printf %s "(cached) " >&6
                   7513: else case e in #(
1.243     moko     7514:   e) if test -z "$GREP"; then
                   7515:   ac_path_GREP_found=false
                   7516:   # Loop through the user's path and test for each of PROGNAME-LIST
                   7517:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7518: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   7519: do
                   7520:   IFS=$as_save_IFS
                   7521:   case $as_dir in #(((
                   7522:     '') as_dir=./ ;;
                   7523:     */) ;;
                   7524:     *) as_dir=$as_dir/ ;;
                   7525:   esac
                   7526:     for ac_prog in grep ggrep
                   7527:    do
                   7528:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7529:       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
                   7530:       as_fn_executable_p "$ac_path_GREP" || continue
                   7531: # Check for GNU ac_path_GREP and select it if it is found.
                   7532:   # Check for GNU $ac_path_GREP
                   7533: case `"$ac_path_GREP" --version 2>&1` in #(
                   7534: *GNU*)
                   7535:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   7536: #(
                   7537: *)
                   7538:   ac_count=0
                   7539:   printf %s 0123456789 >"conftest.in"
                   7540:   while :
                   7541:   do
                   7542:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   7543:     mv "conftest.tmp" "conftest.in"
                   7544:     cp "conftest.in" "conftest.nl"
                   7545:     printf "%s\n" 'GREP' >> "conftest.nl"
                   7546:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   7547:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   7548:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   7549:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   7550:       # Best one so far, save it but keep looking for a better one
                   7551:       ac_cv_path_GREP="$ac_path_GREP"
                   7552:       ac_path_GREP_max=$ac_count
                   7553:     fi
                   7554:     # 10*(2^10) chars as input seems more than enough
                   7555:     test $ac_count -gt 10 && break
                   7556:   done
                   7557:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   7558: esac
                   7559: 
                   7560:       $ac_path_GREP_found && break 3
                   7561:     done
                   7562:   done
                   7563:   done
                   7564: IFS=$as_save_IFS
                   7565:   if test -z "$ac_cv_path_GREP"; then
                   7566:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.128     moko     7567:   fi
1.243     moko     7568: else
                   7569:   ac_cv_path_GREP=$GREP
                   7570: fi
                   7571:  ;;
1.237     moko     7572: esac
1.128     moko     7573: fi
1.243     moko     7574: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   7575: printf "%s\n" "$ac_cv_path_GREP" >&6; }
                   7576:  GREP="$ac_cv_path_GREP"
                   7577: 
                   7578: 
                   7579: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   7580: printf %s "checking for egrep... " >&6; }
                   7581: if test ${ac_cv_path_EGREP+y}
                   7582: then :
                   7583:   printf %s "(cached) " >&6
                   7584: else case e in #(
                   7585:   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   7586:    then ac_cv_path_EGREP="$GREP -E"
                   7587:    else
                   7588:      if test -z "$EGREP"; then
                   7589:   ac_path_EGREP_found=false
                   7590:   # Loop through the user's path and test for each of PROGNAME-LIST
                   7591:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7592: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   7593: do
                   7594:   IFS=$as_save_IFS
                   7595:   case $as_dir in #(((
                   7596:     '') as_dir=./ ;;
                   7597:     */) ;;
                   7598:     *) as_dir=$as_dir/ ;;
                   7599:   esac
                   7600:     for ac_prog in egrep
                   7601:    do
                   7602:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7603:       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
                   7604:       as_fn_executable_p "$ac_path_EGREP" || continue
                   7605: # Check for GNU ac_path_EGREP and select it if it is found.
                   7606:   # Check for GNU $ac_path_EGREP
                   7607: case `"$ac_path_EGREP" --version 2>&1` in #(
                   7608: *GNU*)
                   7609:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   7610: #(
                   7611: *)
                   7612:   ac_count=0
                   7613:   printf %s 0123456789 >"conftest.in"
                   7614:   while :
                   7615:   do
                   7616:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   7617:     mv "conftest.tmp" "conftest.in"
                   7618:     cp "conftest.in" "conftest.nl"
                   7619:     printf "%s\n" 'EGREP' >> "conftest.nl"
                   7620:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   7621:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   7622:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   7623:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   7624:       # Best one so far, save it but keep looking for a better one
                   7625:       ac_cv_path_EGREP="$ac_path_EGREP"
                   7626:       ac_path_EGREP_max=$ac_count
                   7627:     fi
                   7628:     # 10*(2^10) chars as input seems more than enough
                   7629:     test $ac_count -gt 10 && break
                   7630:   done
                   7631:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   7632: esac
1.128     moko     7633: 
1.243     moko     7634:       $ac_path_EGREP_found && break 3
                   7635:     done
                   7636:   done
                   7637:   done
                   7638: IFS=$as_save_IFS
                   7639:   if test -z "$ac_cv_path_EGREP"; then
                   7640:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   7641:   fi
1.128     moko     7642: else
1.243     moko     7643:   ac_cv_path_EGREP=$EGREP
                   7644: fi
                   7645: 
                   7646:    fi ;;
                   7647: esac
1.128     moko     7648: fi
1.243     moko     7649: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   7650: printf "%s\n" "$ac_cv_path_EGREP" >&6; }
                   7651:  EGREP="$ac_cv_path_EGREP"
1.128     moko     7652: 
1.243     moko     7653:          EGREP_TRADITIONAL=$EGREP
                   7654:  ac_cv_path_EGREP_TRADITIONAL=$EGREP
                   7655: 
                   7656: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   7657: printf %s "checking for fgrep... " >&6; }
                   7658: if test ${ac_cv_path_FGREP+y}
1.237     moko     7659: then :
                   7660:   printf %s "(cached) " >&6
                   7661: else case e in #(
1.243     moko     7662:   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   7663:    then ac_cv_path_FGREP="$GREP -F"
                   7664:    else
                   7665:      if test -z "$FGREP"; then
                   7666:   ac_path_FGREP_found=false
                   7667:   # Loop through the user's path and test for each of PROGNAME-LIST
                   7668:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7669: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   7670: do
                   7671:   IFS=$as_save_IFS
                   7672:   case $as_dir in #(((
                   7673:     '') as_dir=./ ;;
                   7674:     */) ;;
                   7675:     *) as_dir=$as_dir/ ;;
                   7676:   esac
                   7677:     for ac_prog in fgrep
                   7678:    do
                   7679:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7680:       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
                   7681:       as_fn_executable_p "$ac_path_FGREP" || continue
                   7682: # Check for GNU ac_path_FGREP and select it if it is found.
                   7683:   # Check for GNU $ac_path_FGREP
                   7684: case `"$ac_path_FGREP" --version 2>&1` in #(
                   7685: *GNU*)
                   7686:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   7687: #(
                   7688: *)
                   7689:   ac_count=0
                   7690:   printf %s 0123456789 >"conftest.in"
                   7691:   while :
                   7692:   do
                   7693:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   7694:     mv "conftest.tmp" "conftest.in"
                   7695:     cp "conftest.in" "conftest.nl"
                   7696:     printf "%s\n" 'FGREP' >> "conftest.nl"
                   7697:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   7698:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   7699:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   7700:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   7701:       # Best one so far, save it but keep looking for a better one
                   7702:       ac_cv_path_FGREP="$ac_path_FGREP"
                   7703:       ac_path_FGREP_max=$ac_count
                   7704:     fi
                   7705:     # 10*(2^10) chars as input seems more than enough
                   7706:     test $ac_count -gt 10 && break
                   7707:   done
                   7708:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   7709: esac
                   7710: 
                   7711:       $ac_path_FGREP_found && break 3
                   7712:     done
                   7713:   done
                   7714:   done
                   7715: IFS=$as_save_IFS
                   7716:   if test -z "$ac_cv_path_FGREP"; then
                   7717:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   7718:   fi
                   7719: else
                   7720:   ac_cv_path_FGREP=$FGREP
                   7721: fi
                   7722: 
                   7723:    fi ;;
                   7724: esac
                   7725: fi
                   7726: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   7727: printf "%s\n" "$ac_cv_path_FGREP" >&6; }
                   7728:  FGREP="$ac_cv_path_FGREP"
1.128     moko     7729: 
                   7730: 
1.243     moko     7731: test -z "$GREP" && GREP=grep
                   7732: 
1.128     moko     7733: 
                   7734: 
                   7735: 
                   7736: 
                   7737: 
                   7738: 
                   7739: 
                   7740: 
                   7741: 
                   7742: 
                   7743: 
                   7744: 
                   7745: 
                   7746: 
                   7747: 
                   7748: 
                   7749: 
                   7750: 
1.243     moko     7751: # Check whether --with-gnu-ld was given.
                   7752: if test ${with_gnu_ld+y}
                   7753: then :
                   7754:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
                   7755: else case e in #(
                   7756:   e) with_gnu_ld=no ;;
                   7757: esac
                   7758: fi
1.128     moko     7759: 
1.243     moko     7760: ac_prog=ld
                   7761: if test yes = "$GCC"; then
                   7762:   # Check if gcc -print-prog-name=ld gives a path.
                   7763:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   7764: printf %s "checking for ld used by $CC... " >&6; }
                   7765:   case $host in
                   7766:   *-*-mingw* | *-*-windows*)
                   7767:     # gcc leaves a trailing carriage return, which upsets mingw
                   7768:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   7769:   *)
                   7770:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   7771:   esac
                   7772:   case $ac_prog in
                   7773:     # Accept absolute paths.
                   7774:     [\\/]* | ?:[\\/]*)
                   7775:       re_direlt='/[^/][^/]*/\.\./'
                   7776:       # Canonicalize the pathname of ld
                   7777:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   7778:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   7779:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   7780:       done
                   7781:       test -z "$LD" && LD=$ac_prog
                   7782:       ;;
                   7783:   "")
                   7784:     # If it fails, then pretend we aren't using GCC.
                   7785:     ac_prog=ld
                   7786:     ;;
                   7787:   *)
                   7788:     # If it is relative, then search for the first ld in PATH.
                   7789:     with_gnu_ld=unknown
                   7790:     ;;
                   7791:   esac
                   7792: elif test yes = "$with_gnu_ld"; then
                   7793:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   7794: printf %s "checking for GNU ld... " >&6; }
                   7795: else
                   7796:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   7797: printf %s "checking for non-GNU ld... " >&6; }
                   7798: fi
                   7799: if test ${lt_cv_path_LD+y}
                   7800: then :
                   7801:   printf %s "(cached) " >&6
                   7802: else case e in #(
                   7803:   e) if test -z "$LD"; then
                   7804:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
                   7805:   for ac_dir in $PATH; do
                   7806:     IFS=$lt_save_ifs
                   7807:     test -z "$ac_dir" && ac_dir=.
                   7808:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   7809:       lt_cv_path_LD=$ac_dir/$ac_prog
                   7810:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   7811:       # but apparently some variants of GNU ld only accept -v.
                   7812:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   7813:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   7814:       *GNU* | *'with BFD'*)
                   7815:        test no != "$with_gnu_ld" && break
                   7816:        ;;
                   7817:       *)
                   7818:        test yes != "$with_gnu_ld" && break
                   7819:        ;;
                   7820:       esac
                   7821:     fi
                   7822:   done
                   7823:   IFS=$lt_save_ifs
                   7824: else
                   7825:   lt_cv_path_LD=$LD # Let the user override the test with a path.
                   7826: fi ;;
                   7827: esac
                   7828: fi
1.128     moko     7829: 
1.243     moko     7830: LD=$lt_cv_path_LD
                   7831: if test -n "$LD"; then
                   7832:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   7833: printf "%s\n" "$LD" >&6; }
                   7834: else
                   7835:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7836: printf "%s\n" "no" >&6; }
                   7837: fi
                   7838: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   7839: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   7840: printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
                   7841: if test ${lt_cv_prog_gnu_ld+y}
                   7842: then :
                   7843:   printf %s "(cached) " >&6
                   7844: else case e in #(
                   7845:   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   7846: case `$LD -v 2>&1 </dev/null` in
                   7847: *GNU* | *'with BFD'*)
                   7848:   lt_cv_prog_gnu_ld=yes
1.128     moko     7849:   ;;
1.243     moko     7850: *)
                   7851:   lt_cv_prog_gnu_ld=no
1.128     moko     7852:   ;;
1.243     moko     7853: esac ;;
1.128     moko     7854: esac
1.243     moko     7855: fi
                   7856: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   7857: printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
                   7858: with_gnu_ld=$lt_cv_prog_gnu_ld
1.128     moko     7859: 
                   7860: 
                   7861: 
                   7862: 
                   7863: 
                   7864: 
                   7865: 
                   7866: 
                   7867: 
1.243     moko     7868: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   7869: printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   7870: if test ${lt_cv_path_NM+y}
1.237     moko     7871: then :
                   7872:   printf %s "(cached) " >&6
                   7873: else case e in #(
1.243     moko     7874:   e) if test -n "$NM"; then
                   7875:   # Let the user override the test.
                   7876:   lt_cv_path_NM=$NM
                   7877: else
                   7878:   lt_nm_to_check=${ac_tool_prefix}nm
                   7879:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   7880:     lt_nm_to_check="$lt_nm_to_check nm"
                   7881:   fi
                   7882:   for lt_tmp_nm in $lt_nm_to_check; do
                   7883:     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
                   7884:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   7885:       IFS=$lt_save_ifs
                   7886:       test -z "$ac_dir" && ac_dir=.
                   7887:       tmp_nm=$ac_dir/$lt_tmp_nm
                   7888:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
                   7889:        # Check to see if the nm accepts a BSD-compat flag.
                   7890:        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
                   7891:        #   nm: unknown option "B" ignored
                   7892:        # Tru64's nm complains that /dev/null is an invalid object file
                   7893:        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
                   7894:        case $build_os in
                   7895:        mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
                   7896:        *) lt_bad_file=/dev/null ;;
                   7897:        esac
                   7898:        case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
                   7899:        *$lt_bad_file* | *'Invalid file or object type'*)
                   7900:          lt_cv_path_NM="$tmp_nm -B"
                   7901:          break 2
                   7902:          ;;
                   7903:        *)
                   7904:          case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
                   7905:          */dev/null*)
                   7906:            lt_cv_path_NM="$tmp_nm -p"
                   7907:            break 2
                   7908:            ;;
                   7909:          *)
                   7910:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   7911:            continue # so that we can try to find one that supports BSD flags
                   7912:            ;;
                   7913:          esac
                   7914:          ;;
                   7915:        esac
                   7916:       fi
                   7917:     done
                   7918:     IFS=$lt_save_ifs
1.150     moko     7919:   done
1.243     moko     7920:   : ${lt_cv_path_NM=no}
1.237     moko     7921: fi ;;
                   7922: esac
                   7923: fi
1.243     moko     7924: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   7925: printf "%s\n" "$lt_cv_path_NM" >&6; }
                   7926: if test no != "$lt_cv_path_NM"; then
                   7927:   NM=$lt_cv_path_NM
1.237     moko     7928: else
1.243     moko     7929:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   7930:   if test -n "$DUMPBIN"; then :
                   7931:     # Let the user override the test.
                   7932:   else
                   7933:     if test -n "$ac_tool_prefix"; then
                   7934:   for ac_prog in dumpbin "link -dump"
                   7935:   do
                   7936:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   7937: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.237     moko     7938: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7939: printf %s "checking for $ac_word... " >&6; }
1.243     moko     7940: if test ${ac_cv_prog_DUMPBIN+y}
1.237     moko     7941: then :
                   7942:   printf %s "(cached) " >&6
                   7943: else case e in #(
1.243     moko     7944:   e) if test -n "$DUMPBIN"; then
                   7945:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
1.237     moko     7946: else
                   7947: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7948: for as_dir in $PATH
                   7949: do
                   7950:   IFS=$as_save_IFS
                   7951:   case $as_dir in #(((
                   7952:     '') as_dir=./ ;;
                   7953:     */) ;;
                   7954:     *) as_dir=$as_dir/ ;;
                   7955:   esac
                   7956:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7957:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243     moko     7958:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.237     moko     7959:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   7960:     break 2
                   7961:   fi
                   7962: done
                   7963:   done
                   7964: IFS=$as_save_IFS
                   7965: 
                   7966: fi ;;
                   7967: esac
1.128     moko     7968: fi
1.243     moko     7969: DUMPBIN=$ac_cv_prog_DUMPBIN
                   7970: if test -n "$DUMPBIN"; then
                   7971:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   7972: printf "%s\n" "$DUMPBIN" >&6; }
1.128     moko     7973: else
1.237     moko     7974:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7975: printf "%s\n" "no" >&6; }
1.128     moko     7976: fi
                   7977: 
1.150     moko     7978: 
1.243     moko     7979:     test -n "$DUMPBIN" && break
                   7980:   done
1.128     moko     7981: fi
1.243     moko     7982: if test -z "$DUMPBIN"; then
                   7983:   ac_ct_DUMPBIN=$DUMPBIN
                   7984:   for ac_prog in dumpbin "link -dump"
                   7985: do
                   7986:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   7987: set dummy $ac_prog; ac_word=$2
1.237     moko     7988: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7989: printf %s "checking for $ac_word... " >&6; }
1.243     moko     7990: if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
1.237     moko     7991: then :
                   7992:   printf %s "(cached) " >&6
                   7993: else case e in #(
1.243     moko     7994:   e) if test -n "$ac_ct_DUMPBIN"; then
                   7995:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
1.128     moko     7996: else
                   7997: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7998: for as_dir in $PATH
                   7999: do
                   8000:   IFS=$as_save_IFS
1.237     moko     8001:   case $as_dir in #(((
                   8002:     '') as_dir=./ ;;
                   8003:     */) ;;
                   8004:     *) as_dir=$as_dir/ ;;
                   8005:   esac
1.150     moko     8006:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     8007:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243     moko     8008:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.237     moko     8009:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     8010:     break 2
                   8011:   fi
                   8012: done
1.150     moko     8013:   done
                   8014: IFS=$as_save_IFS
1.128     moko     8015: 
1.237     moko     8016: fi ;;
                   8017: esac
1.128     moko     8018: fi
1.243     moko     8019: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   8020: if test -n "$ac_ct_DUMPBIN"; then
                   8021:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   8022: printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
1.128     moko     8023: else
1.237     moko     8024:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8025: printf "%s\n" "no" >&6; }
1.128     moko     8026: fi
                   8027: 
1.243     moko     8028: 
                   8029:   test -n "$ac_ct_DUMPBIN" && break
                   8030: done
                   8031: 
                   8032:   if test "x$ac_ct_DUMPBIN" = x; then
                   8033:     DUMPBIN=":"
1.150     moko     8034:   else
                   8035:     case $cross_compiling:$ac_tool_warned in
                   8036: yes:)
1.237     moko     8037: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8038: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     8039: ac_tool_warned=yes ;;
                   8040: esac
1.243     moko     8041:     DUMPBIN=$ac_ct_DUMPBIN
1.150     moko     8042:   fi
1.128     moko     8043: fi
                   8044: 
1.243     moko     8045:     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
                   8046:     *COFF*)
                   8047:       DUMPBIN="$DUMPBIN -symbols -headers"
                   8048:       ;;
                   8049:     *)
                   8050:       DUMPBIN=:
                   8051:       ;;
                   8052:     esac
                   8053:   fi
                   8054: 
                   8055:   if test : != "$DUMPBIN"; then
                   8056:     NM=$DUMPBIN
                   8057:   fi
                   8058: fi
                   8059: test -z "$NM" && NM=nm
1.128     moko     8060: 
                   8061: 
                   8062: 
                   8063: 
                   8064: 
                   8065: 
1.243     moko     8066: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   8067: printf %s "checking the name lister ($NM) interface... " >&6; }
                   8068: if test ${lt_cv_nm_interface+y}
1.237     moko     8069: then :
                   8070:   printf %s "(cached) " >&6
                   8071: else case e in #(
1.243     moko     8072:   e) lt_cv_nm_interface="BSD nm"
                   8073:   echo "int some_variable = 0;" > conftest.$ac_ext
                   8074:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   8075:   (eval "$ac_compile" 2>conftest.err)
                   8076:   cat conftest.err >&5
                   8077:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   8078:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   8079:   cat conftest.err >&5
                   8080:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   8081:   cat conftest.out >&5
                   8082:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   8083:     lt_cv_nm_interface="MS dumpbin"
                   8084:   fi
                   8085:   rm -f conftest* ;;
                   8086: esac
                   8087: fi
                   8088: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   8089: printf "%s\n" "$lt_cv_nm_interface" >&6; }
                   8090: 
                   8091: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   8092: printf %s "checking whether ln -s works... " >&6; }
                   8093: LN_S=$as_ln_s
                   8094: if test "$LN_S" = "ln -s"; then
                   8095:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8096: printf "%s\n" "yes" >&6; }
                   8097: else
                   8098:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   8099: printf "%s\n" "no, using $LN_S" >&6; }
                   8100: fi
1.128     moko     8101: 
1.243     moko     8102: # find the maximum length of command line arguments
                   8103: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   8104: printf %s "checking the maximum length of command line arguments... " >&6; }
                   8105: if test ${lt_cv_sys_max_cmd_len+y}
                   8106: then :
                   8107:   printf %s "(cached) " >&6
                   8108: else case e in #(
                   8109:   e)   i=0
                   8110:   teststring=ABCD
1.128     moko     8111: 
1.243     moko     8112:   case $build_os in
                   8113:   msdosdjgpp*)
                   8114:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   8115:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   8116:     # during glob expansion).  Even if it were fixed, the result of this
                   8117:     # check would be larger than it should be.
                   8118:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   8119:     ;;
1.128     moko     8120: 
1.243     moko     8121:   gnu* | ironclad*)
                   8122:     # Under GNU Hurd and Ironclad, this test is not required because there
                   8123:     # is no limit to the length of command line arguments.
                   8124:     # Libtool will interpret -1 as no limit whatsoever
                   8125:     lt_cv_sys_max_cmd_len=-1;
                   8126:     ;;
1.128     moko     8127: 
1.243     moko     8128:   cygwin* | mingw* | windows* | cegcc*)
                   8129:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   8130:     # about 5 minutes as the teststring grows exponentially.
                   8131:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   8132:     # you end up with a "frozen" computer, even though with patience
                   8133:     # the test eventually succeeds (with a max line length of 256k).
                   8134:     # Instead, let's just punt: use the minimum linelength reported by
                   8135:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   8136:     lt_cv_sys_max_cmd_len=8192;
                   8137:     ;;
1.128     moko     8138: 
1.243     moko     8139:   mint*)
                   8140:     # On MiNT this can take a long time and run out of memory.
                   8141:     lt_cv_sys_max_cmd_len=8192;
                   8142:     ;;
1.128     moko     8143: 
1.243     moko     8144:   amigaos*)
                   8145:     # On AmigaOS with pdksh, this test takes hours, literally.
                   8146:     # So we just punt and use a minimum line length of 8192.
                   8147:     lt_cv_sys_max_cmd_len=8192;
                   8148:     ;;
1.128     moko     8149: 
1.243     moko     8150:   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
                   8151:     # This has been around since 386BSD, at least.  Likely further.
                   8152:     if test -x /sbin/sysctl; then
                   8153:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   8154:     elif test -x /usr/sbin/sysctl; then
                   8155:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   8156:     else
                   8157:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   8158:     fi
                   8159:     # And add a safety zone
                   8160:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   8161:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   8162:     ;;
1.128     moko     8163: 
1.243     moko     8164:   interix*)
                   8165:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   8166:     lt_cv_sys_max_cmd_len=196608
                   8167:     ;;
1.128     moko     8168: 
1.243     moko     8169:   os2*)
                   8170:     # The test takes a long time on OS/2.
                   8171:     lt_cv_sys_max_cmd_len=8192
                   8172:     ;;
1.128     moko     8173: 
1.243     moko     8174:   osf*)
                   8175:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   8176:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   8177:     # nice to cause kernel panics so lets avoid the loop below.
                   8178:     # First set a reasonable default.
                   8179:     lt_cv_sys_max_cmd_len=16384
                   8180:     #
                   8181:     if test -x /sbin/sysconfig; then
                   8182:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   8183:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   8184:       esac
                   8185:     fi
                   8186:     ;;
                   8187:   sco3.2v5*)
                   8188:     lt_cv_sys_max_cmd_len=102400
1.128     moko     8189:     ;;
1.243     moko     8190:   sysv5* | sco5v6* | sysv4.2uw2*)
                   8191:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   8192:     if test -n "$kargmax"; then
                   8193:       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[        ]//'`
                   8194:     else
                   8195:       lt_cv_sys_max_cmd_len=32768
                   8196:     fi
1.128     moko     8197:     ;;
                   8198:   *)
1.243     moko     8199:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   8200:     if test -n "$lt_cv_sys_max_cmd_len" && \
                   8201:        test undefined != "$lt_cv_sys_max_cmd_len"; then
                   8202:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   8203:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   8204:     else
                   8205:       # Make teststring a little bigger before we do anything with it.
                   8206:       # a 1K string should be a reasonable start.
                   8207:       for i in 1 2 3 4 5 6 7 8; do
                   8208:         teststring=$teststring$teststring
                   8209:       done
                   8210:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   8211:       # If test is not a shell built-in, we'll probably end up computing a
                   8212:       # maximum length that is only half of the actual maximum length, but
                   8213:       # we can't tell.
                   8214:       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
                   8215:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   8216:              test 17 != "$i" # 1/2 MB should be enough
                   8217:       do
                   8218:         i=`expr $i + 1`
                   8219:         teststring=$teststring$teststring
                   8220:       done
                   8221:       # Only check the string length outside the loop.
                   8222:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   8223:       teststring=
                   8224:       # Add a significant safety factor because C++ compilers can tack on
                   8225:       # massive amounts of additional arguments before passing them to the
                   8226:       # linker.  It appears as though 1/2 is a usable value.
                   8227:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   8228:     fi
1.128     moko     8229:     ;;
                   8230:   esac
1.243     moko     8231:  ;;
                   8232: esac
                   8233: fi
                   8234: 
                   8235: if test -n "$lt_cv_sys_max_cmd_len"; then
                   8236:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   8237: printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
                   8238: else
                   8239:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   8240: printf "%s\n" "none" >&6; }
                   8241: fi
                   8242: max_cmd_len=$lt_cv_sys_max_cmd_len
                   8243: 
                   8244: 
                   8245: 
                   8246: 
                   8247: 
                   8248: 
                   8249: : ${CP="cp -f"}
                   8250: : ${MV="mv -f"}
                   8251: : ${RM="rm -f"}
                   8252: 
                   8253: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   8254:   lt_unset=unset
                   8255: else
                   8256:   lt_unset=false
                   8257: fi
                   8258: 
1.128     moko     8259: 
                   8260: 
                   8261: 
1.237     moko     8262: 
1.243     moko     8263: # test EBCDIC or ASCII
                   8264: case `echo X|tr X '\101'` in
                   8265:  A) # ASCII based system
                   8266:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   8267:   lt_SP2NL='tr \040 \012'
                   8268:   lt_NL2SP='tr \015\012 \040\040'
1.128     moko     8269:   ;;
1.243     moko     8270:  *) # EBCDIC based system
                   8271:   lt_SP2NL='tr \100 \n'
                   8272:   lt_NL2SP='tr \r\n \100\100'
1.128     moko     8273:   ;;
1.243     moko     8274: esac
1.128     moko     8275: 
                   8276: 
                   8277: 
                   8278: 
                   8279: 
                   8280: 
1.237     moko     8281: 
1.128     moko     8282: 
                   8283: 
1.243     moko     8284: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   8285: printf %s "checking how to convert $build file names to $host format... " >&6; }
                   8286: if test ${lt_cv_to_host_file_cmd+y}
                   8287: then :
                   8288:   printf %s "(cached) " >&6
                   8289: else case e in #(
                   8290:   e) case $host in
                   8291:   *-*-mingw* )
                   8292:     case $build in
                   8293:       *-*-mingw* | *-*-windows* ) # actually msys
                   8294:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   8295:         ;;
                   8296:       *-*-cygwin* )
                   8297:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   8298:         ;;
                   8299:       * ) # otherwise, assume *nix
                   8300:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   8301:         ;;
                   8302:     esac
1.128     moko     8303:     ;;
1.243     moko     8304:   *-*-cygwin* )
                   8305:     case $build in
                   8306:       *-*-mingw* | *-*-windows* ) # actually msys
                   8307:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   8308:         ;;
                   8309:       *-*-cygwin* )
                   8310:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   8311:         ;;
                   8312:       * ) # otherwise, assume *nix
                   8313:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   8314:         ;;
                   8315:     esac
1.128     moko     8316:     ;;
1.243     moko     8317:   * ) # unhandled hosts (and "normal" native builds)
                   8318:     lt_cv_to_host_file_cmd=func_convert_file_noop
1.128     moko     8319:     ;;
1.237     moko     8320: esac
                   8321:  ;;
1.128     moko     8322: esac
                   8323: fi
                   8324: 
1.243     moko     8325: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   8326: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   8327: printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     8328: 
                   8329: 
                   8330: 
                   8331: 
                   8332: 
1.243     moko     8333: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   8334: printf %s "checking how to convert $build file names to toolchain format... " >&6; }
                   8335: if test ${lt_cv_to_tool_file_cmd+y}
                   8336: then :
                   8337:   printf %s "(cached) " >&6
                   8338: else case e in #(
                   8339:   e) #assume ordinary cross tools, or native build.
                   8340: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   8341: case $host in
                   8342:   *-*-mingw* | *-*-windows* )
                   8343:     case $build in
                   8344:       *-*-mingw* | *-*-windows* ) # actually msys
                   8345:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   8346:         ;;
                   8347:     esac
                   8348:     ;;
                   8349: esac
                   8350:  ;;
                   8351: esac
                   8352: fi
1.128     moko     8353: 
1.243     moko     8354: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   8355: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   8356: printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     8357: 
                   8358: 
                   8359: 
                   8360: 
                   8361: 
1.243     moko     8362: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   8363: printf %s "checking for $LD option to reload object files... " >&6; }
                   8364: if test ${lt_cv_ld_reload_flag+y}
                   8365: then :
                   8366:   printf %s "(cached) " >&6
                   8367: else case e in #(
                   8368:   e) lt_cv_ld_reload_flag='-r' ;;
                   8369: esac
                   8370: fi
                   8371: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   8372: printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
                   8373: reload_flag=$lt_cv_ld_reload_flag
                   8374: case $reload_flag in
                   8375: "" | " "*) ;;
                   8376: *) reload_flag=" $reload_flag" ;;
                   8377: esac
                   8378: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   8379: case $host_os in
                   8380:   cygwin* | mingw* | windows* | pw32* | cegcc*)
                   8381:     if test yes != "$GCC"; then
                   8382:       reload_cmds=false
                   8383:     fi
                   8384:     ;;
                   8385:   darwin*)
                   8386:     if test yes = "$GCC"; then
                   8387:       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
                   8388:     else
                   8389:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   8390:     fi
                   8391:     ;;
                   8392: esac
1.128     moko     8393: 
                   8394: 
                   8395: 
                   8396: 
                   8397: 
                   8398: 
                   8399: 
                   8400: 
                   8401: 
1.243     moko     8402: # Extract the first word of "file", so it can be a program name with args.
                   8403: set dummy file; ac_word=$2
1.237     moko     8404: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8405: printf %s "checking for $ac_word... " >&6; }
1.243     moko     8406: if test ${ac_cv_prog_FILECMD+y}
1.237     moko     8407: then :
                   8408:   printf %s "(cached) " >&6
                   8409: else case e in #(
1.243     moko     8410:   e) if test -n "$FILECMD"; then
                   8411:   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
1.128     moko     8412: else
                   8413: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8414: for as_dir in $PATH
                   8415: do
                   8416:   IFS=$as_save_IFS
1.237     moko     8417:   case $as_dir in #(((
                   8418:     '') as_dir=./ ;;
                   8419:     */) ;;
                   8420:     *) as_dir=$as_dir/ ;;
                   8421:   esac
1.150     moko     8422:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     8423:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243     moko     8424:     ac_cv_prog_FILECMD="file"
1.237     moko     8425:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     8426:     break 2
                   8427:   fi
                   8428: done
1.150     moko     8429:   done
                   8430: IFS=$as_save_IFS
1.128     moko     8431: 
1.243     moko     8432:   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
1.237     moko     8433: fi ;;
                   8434: esac
1.128     moko     8435: fi
1.243     moko     8436: FILECMD=$ac_cv_prog_FILECMD
                   8437: if test -n "$FILECMD"; then
                   8438:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
                   8439: printf "%s\n" "$FILECMD" >&6; }
1.128     moko     8440: else
1.237     moko     8441:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8442: printf "%s\n" "no" >&6; }
1.128     moko     8443: fi
                   8444: 
1.150     moko     8445: 
1.243     moko     8446: 
                   8447: 
                   8448: 
                   8449: 
                   8450: 
                   8451: 
                   8452: if test -n "$ac_tool_prefix"; then
                   8453:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   8454: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.237     moko     8455: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8456: printf %s "checking for $ac_word... " >&6; }
1.243     moko     8457: if test ${ac_cv_prog_OBJDUMP+y}
1.237     moko     8458: then :
                   8459:   printf %s "(cached) " >&6
                   8460: else case e in #(
1.243     moko     8461:   e) if test -n "$OBJDUMP"; then
                   8462:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
1.128     moko     8463: else
                   8464: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8465: for as_dir in $PATH
                   8466: do
                   8467:   IFS=$as_save_IFS
1.237     moko     8468:   case $as_dir in #(((
                   8469:     '') as_dir=./ ;;
                   8470:     */) ;;
                   8471:     *) as_dir=$as_dir/ ;;
                   8472:   esac
1.150     moko     8473:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     8474:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243     moko     8475:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.237     moko     8476:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     8477:     break 2
                   8478:   fi
                   8479: done
1.150     moko     8480:   done
                   8481: IFS=$as_save_IFS
1.128     moko     8482: 
1.237     moko     8483: fi ;;
                   8484: esac
1.128     moko     8485: fi
1.243     moko     8486: OBJDUMP=$ac_cv_prog_OBJDUMP
                   8487: if test -n "$OBJDUMP"; then
                   8488:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   8489: printf "%s\n" "$OBJDUMP" >&6; }
1.128     moko     8490: else
1.237     moko     8491:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8492: printf "%s\n" "no" >&6; }
1.128     moko     8493: fi
                   8494: 
                   8495: 
                   8496: fi
1.243     moko     8497: if test -z "$ac_cv_prog_OBJDUMP"; then
                   8498:   ac_ct_OBJDUMP=$OBJDUMP
                   8499:   # Extract the first word of "objdump", so it can be a program name with args.
                   8500: set dummy objdump; ac_word=$2
1.237     moko     8501: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8502: printf %s "checking for $ac_word... " >&6; }
1.243     moko     8503: if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
1.237     moko     8504: then :
                   8505:   printf %s "(cached) " >&6
                   8506: else case e in #(
1.243     moko     8507:   e) if test -n "$ac_ct_OBJDUMP"; then
                   8508:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
1.237     moko     8509: else
                   8510: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8511: for as_dir in $PATH
                   8512: do
                   8513:   IFS=$as_save_IFS
                   8514:   case $as_dir in #(((
                   8515:     '') as_dir=./ ;;
                   8516:     */) ;;
                   8517:     *) as_dir=$as_dir/ ;;
                   8518:   esac
                   8519:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8520:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243     moko     8521:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.237     moko     8522:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   8523:     break 2
                   8524:   fi
                   8525: done
                   8526:   done
                   8527: IFS=$as_save_IFS
                   8528: 
                   8529: fi ;;
                   8530: esac
                   8531: fi
1.243     moko     8532: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8533: if test -n "$ac_ct_OBJDUMP"; then
                   8534:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   8535: printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
1.237     moko     8536: else
                   8537:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8538: printf "%s\n" "no" >&6; }
                   8539: fi
                   8540: 
1.243     moko     8541:   if test "x$ac_ct_OBJDUMP" = x; then
                   8542:     OBJDUMP="false"
1.237     moko     8543:   else
                   8544:     case $cross_compiling:$ac_tool_warned in
                   8545: yes:)
                   8546: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8547: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8548: ac_tool_warned=yes ;;
                   8549: esac
1.243     moko     8550:     OBJDUMP=$ac_ct_OBJDUMP
1.237     moko     8551:   fi
                   8552: else
1.243     moko     8553:   OBJDUMP="$ac_cv_prog_OBJDUMP"
1.237     moko     8554: fi
                   8555: 
1.243     moko     8556: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8557: 
                   8558: 
                   8559: 
                   8560: 
                   8561: 
                   8562: 
                   8563: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   8564: printf %s "checking how to recognize dependent libraries... " >&6; }
                   8565: if test ${lt_cv_deplibs_check_method+y}
1.237     moko     8566: then :
                   8567:   printf %s "(cached) " >&6
                   8568: else case e in #(
1.243     moko     8569:   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
                   8570: lt_cv_file_magic_test_file=
                   8571: lt_cv_deplibs_check_method='unknown'
                   8572: # Need to set the preceding variable on all platforms that support
                   8573: # interlibrary dependencies.
                   8574: # 'none' -- dependencies not supported.
                   8575: # 'unknown' -- same as none, but documents that we really don't know.
                   8576: # 'pass_all' -- all dependencies passed with no checks.
                   8577: # 'file_magic [[regex]]' -- check by looking for files in library path
                   8578: # that responds to the $file_magic_cmd with a given extended regex.
                   8579: # If you have 'file' or equivalent on your system and you're not sure
                   8580: # whether 'pass_all' will *always* work, you probably want this one.
                   8581: 
                   8582: case $host_os in
                   8583: aix[4-9]*)
                   8584:   lt_cv_deplibs_check_method=pass_all
                   8585:   ;;
                   8586: 
                   8587: beos*)
                   8588:   lt_cv_deplibs_check_method=pass_all
                   8589:   ;;
                   8590: 
                   8591: bsdi[45]*)
                   8592:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   8593:   lt_cv_file_magic_cmd='$FILECMD -L'
                   8594:   lt_cv_file_magic_test_file=/shlib/libc.so
                   8595:   ;;
                   8596: 
                   8597: cygwin*)
                   8598:   # func_win32_libid is a shell function defined in ltmain.sh
                   8599:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   8600:   lt_cv_file_magic_cmd='func_win32_libid'
                   8601:   ;;
                   8602: 
                   8603: mingw* | windows* | pw32*)
                   8604:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   8605:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   8606:   # unless we find 'file', for example because we are cross-compiling.
                   8607:   if ( file / ) >/dev/null 2>&1; then
                   8608:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   8609:     lt_cv_file_magic_cmd='func_win32_libid'
                   8610:   else
                   8611:     # Keep this pattern in sync with the one in func_win32_libid.
                   8612:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
                   8613:     lt_cv_file_magic_cmd='$OBJDUMP -f'
1.128     moko     8614:   fi
1.243     moko     8615:   ;;
1.128     moko     8616: 
1.243     moko     8617: cegcc*)
                   8618:   # use the weaker test based on 'objdump'. See mingw*.
                   8619:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   8620:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   8621:   ;;
1.128     moko     8622: 
1.243     moko     8623: darwin* | rhapsody*)
                   8624:   lt_cv_deplibs_check_method=pass_all
                   8625:   ;;
1.150     moko     8626: 
1.243     moko     8627: freebsd* | dragonfly* | midnightbsd*)
                   8628:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   8629:     case $host_cpu in
                   8630:     i*86 )
                   8631:       # Not sure whether the presence of OpenBSD here was a mistake.
                   8632:       # Let's accept both of them until this is cleared up.
                   8633:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   8634:       lt_cv_file_magic_cmd=$FILECMD
                   8635:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   8636:       ;;
                   8637:     esac
                   8638:   else
                   8639:     lt_cv_deplibs_check_method=pass_all
                   8640:   fi
                   8641:   ;;
                   8642: 
                   8643: haiku*)
                   8644:   lt_cv_deplibs_check_method=pass_all
                   8645:   ;;
                   8646: 
                   8647: hpux10.20* | hpux11*)
                   8648:   lt_cv_file_magic_cmd=$FILECMD
                   8649:   case $host_cpu in
                   8650:   ia64*)
                   8651:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   8652:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   8653:     ;;
                   8654:   hppa*64*)
                   8655:     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]'
                   8656:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   8657:     ;;
                   8658:   *)
                   8659:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   8660:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   8661:     ;;
                   8662:   esac
                   8663:   ;;
                   8664: 
                   8665: interix[3-9]*)
                   8666:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   8667:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   8668:   ;;
                   8669: 
                   8670: irix5* | irix6* | nonstopux*)
                   8671:   case $LD in
                   8672:   *-32|*"-32 ") libmagic=32-bit;;
                   8673:   *-n32|*"-n32 ") libmagic=N32;;
                   8674:   *-64|*"-64 ") libmagic=64-bit;;
                   8675:   *) libmagic=never-match;;
                   8676:   esac
                   8677:   lt_cv_deplibs_check_method=pass_all
                   8678:   ;;
                   8679: 
                   8680: # This must be glibc/ELF.
                   8681: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
                   8682:   lt_cv_deplibs_check_method=pass_all
                   8683:   ;;
                   8684: 
                   8685: *-mlibc)
                   8686:   lt_cv_deplibs_check_method=pass_all
                   8687:   ;;
                   8688: 
                   8689: netbsd* | netbsdelf*-gnu)
                   8690:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   8691:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   8692:   else
                   8693:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   8694:   fi
                   8695:   ;;
                   8696: 
                   8697: newos6*)
                   8698:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   8699:   lt_cv_file_magic_cmd=$FILECMD
                   8700:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   8701:   ;;
                   8702: 
                   8703: *nto* | *qnx*)
                   8704:   lt_cv_deplibs_check_method=pass_all
                   8705:   ;;
                   8706: 
                   8707: openbsd*)
                   8708:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
                   8709:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   8710:   else
                   8711:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   8712:   fi
                   8713:   ;;
                   8714: 
                   8715: osf3* | osf4* | osf5*)
                   8716:   lt_cv_deplibs_check_method=pass_all
                   8717:   ;;
                   8718: 
                   8719: rdos*)
                   8720:   lt_cv_deplibs_check_method=pass_all
                   8721:   ;;
                   8722: 
                   8723: serenity*)
                   8724:   lt_cv_deplibs_check_method=pass_all
                   8725:   ;;
                   8726: 
                   8727: solaris*)
                   8728:   lt_cv_deplibs_check_method=pass_all
                   8729:   ;;
                   8730: 
                   8731: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   8732:   lt_cv_deplibs_check_method=pass_all
                   8733:   ;;
                   8734: 
                   8735: sysv4 | sysv4.3*)
                   8736:   case $host_vendor in
                   8737:   motorola)
                   8738:     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]'
                   8739:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   8740:     ;;
                   8741:   ncr)
                   8742:     lt_cv_deplibs_check_method=pass_all
                   8743:     ;;
                   8744:   sequent)
                   8745:     lt_cv_file_magic_cmd='/bin/file'
                   8746:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   8747:     ;;
                   8748:   sni)
                   8749:     lt_cv_file_magic_cmd='/bin/file'
                   8750:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   8751:     lt_cv_file_magic_test_file=/lib/libc.so
                   8752:     ;;
                   8753:   siemens)
                   8754:     lt_cv_deplibs_check_method=pass_all
                   8755:     ;;
                   8756:   pc)
                   8757:     lt_cv_deplibs_check_method=pass_all
                   8758:     ;;
                   8759:   esac
                   8760:   ;;
                   8761: 
                   8762: tpf*)
                   8763:   lt_cv_deplibs_check_method=pass_all
                   8764:   ;;
                   8765: os2*)
                   8766:   lt_cv_deplibs_check_method=pass_all
                   8767:   ;;
                   8768: esac
                   8769:  ;;
                   8770: esac
                   8771: fi
                   8772: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   8773: printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
                   8774: 
                   8775: file_magic_glob=
                   8776: want_nocaseglob=no
                   8777: if test "$build" = "$host"; then
                   8778:   case $host_os in
                   8779:   mingw* | windows* | pw32*)
                   8780:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   8781:       want_nocaseglob=yes
                   8782:     else
                   8783:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   8784:     fi
                   8785:     ;;
                   8786:   esac
1.128     moko     8787: fi
1.243     moko     8788: 
                   8789: file_magic_cmd=$lt_cv_file_magic_cmd
                   8790: deplibs_check_method=$lt_cv_deplibs_check_method
                   8791: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   8792: 
                   8793: 
                   8794: 
                   8795: 
                   8796: 
                   8797: 
                   8798: 
                   8799: 
                   8800: 
                   8801: 
                   8802: 
                   8803: 
                   8804: 
                   8805: 
                   8806: 
                   8807: 
                   8808: 
                   8809: 
                   8810: 
                   8811: 
                   8812: 
                   8813: 
                   8814: if test -n "$ac_tool_prefix"; then
                   8815:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   8816: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.237     moko     8817: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8818: printf %s "checking for $ac_word... " >&6; }
1.243     moko     8819: if test ${ac_cv_prog_DLLTOOL+y}
1.237     moko     8820: then :
                   8821:   printf %s "(cached) " >&6
                   8822: else case e in #(
1.243     moko     8823:   e) if test -n "$DLLTOOL"; then
                   8824:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
1.128     moko     8825: else
                   8826: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8827: for as_dir in $PATH
                   8828: do
                   8829:   IFS=$as_save_IFS
1.237     moko     8830:   case $as_dir in #(((
                   8831:     '') as_dir=./ ;;
                   8832:     */) ;;
                   8833:     *) as_dir=$as_dir/ ;;
                   8834:   esac
1.150     moko     8835:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     8836:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243     moko     8837:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.237     moko     8838:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     8839:     break 2
                   8840:   fi
                   8841: done
1.150     moko     8842:   done
                   8843: IFS=$as_save_IFS
1.128     moko     8844: 
1.237     moko     8845: fi ;;
                   8846: esac
1.128     moko     8847: fi
1.243     moko     8848: DLLTOOL=$ac_cv_prog_DLLTOOL
                   8849: if test -n "$DLLTOOL"; then
                   8850:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   8851: printf "%s\n" "$DLLTOOL" >&6; }
1.128     moko     8852: else
1.237     moko     8853:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8854: printf "%s\n" "no" >&6; }
1.128     moko     8855: fi
                   8856: 
1.150     moko     8857: 
1.243     moko     8858: fi
                   8859: if test -z "$ac_cv_prog_DLLTOOL"; then
                   8860:   ac_ct_DLLTOOL=$DLLTOOL
                   8861:   # Extract the first word of "dlltool", so it can be a program name with args.
                   8862: set dummy dlltool; ac_word=$2
                   8863: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8864: printf %s "checking for $ac_word... " >&6; }
                   8865: if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
                   8866: then :
                   8867:   printf %s "(cached) " >&6
                   8868: else case e in #(
                   8869:   e) if test -n "$ac_ct_DLLTOOL"; then
                   8870:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   8871: else
                   8872: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8873: for as_dir in $PATH
                   8874: do
                   8875:   IFS=$as_save_IFS
                   8876:   case $as_dir in #(((
                   8877:     '') as_dir=./ ;;
                   8878:     */) ;;
                   8879:     *) as_dir=$as_dir/ ;;
                   8880:   esac
                   8881:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8882:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   8883:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   8884:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   8885:     break 2
                   8886:   fi
1.128     moko     8887: done
1.243     moko     8888:   done
                   8889: IFS=$as_save_IFS
                   8890: 
                   8891: fi ;;
                   8892: esac
                   8893: fi
                   8894: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   8895: if test -n "$ac_ct_DLLTOOL"; then
                   8896:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   8897: printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
                   8898: else
                   8899:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8900: printf "%s\n" "no" >&6; }
                   8901: fi
1.128     moko     8902: 
1.243     moko     8903:   if test "x$ac_ct_DLLTOOL" = x; then
                   8904:     DLLTOOL="false"
1.150     moko     8905:   else
                   8906:     case $cross_compiling:$ac_tool_warned in
                   8907: yes:)
1.237     moko     8908: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8909: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     8910: ac_tool_warned=yes ;;
                   8911: esac
1.243     moko     8912:     DLLTOOL=$ac_ct_DLLTOOL
1.150     moko     8913:   fi
1.243     moko     8914: else
                   8915:   DLLTOOL="$ac_cv_prog_DLLTOOL"
1.128     moko     8916: fi
                   8917: 
1.243     moko     8918: test -z "$DLLTOOL" && DLLTOOL=dlltool
1.128     moko     8919: 
                   8920: 
                   8921: 
                   8922: 
                   8923: 
                   8924: 
1.237     moko     8925: 
1.243     moko     8926: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   8927: printf %s "checking how to associate runtime and link libraries... " >&6; }
                   8928: if test ${lt_cv_sharedlib_from_linklib_cmd+y}
                   8929: then :
                   8930:   printf %s "(cached) " >&6
                   8931: else case e in #(
                   8932:   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
1.237     moko     8933: 
1.243     moko     8934: case $host_os in
                   8935: cygwin* | mingw* | windows* | pw32* | cegcc*)
                   8936:   # two different shell functions defined in ltmain.sh;
                   8937:   # decide which one to use based on capabilities of $DLLTOOL
                   8938:   case `$DLLTOOL --help 2>&1` in
                   8939:   *--identify-strict*)
                   8940:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   8941:     ;;
                   8942:   *)
                   8943:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   8944:     ;;
                   8945:   esac
                   8946:   ;;
                   8947: *)
                   8948:   # fallback: assume linklib IS sharedlib
                   8949:   lt_cv_sharedlib_from_linklib_cmd=$ECHO
                   8950:   ;;
                   8951: esac
                   8952:  ;;
                   8953: esac
                   8954: fi
                   8955: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   8956: printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
                   8957: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   8958: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
1.237     moko     8959: 
                   8960: 
                   8961: 
                   8962: 
                   8963: 
1.128     moko     8964: 
                   8965: 
1.243     moko     8966: if test -n "$ac_tool_prefix"; then
                   8967:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   8968: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   8969: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8970: printf %s "checking for $ac_word... " >&6; }
                   8971: if test ${ac_cv_prog_RANLIB+y}
                   8972: then :
                   8973:   printf %s "(cached) " >&6
                   8974: else case e in #(
                   8975:   e) if test -n "$RANLIB"; then
                   8976:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   8977: else
                   8978: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8979: for as_dir in $PATH
                   8980: do
                   8981:   IFS=$as_save_IFS
                   8982:   case $as_dir in #(((
                   8983:     '') as_dir=./ ;;
                   8984:     */) ;;
                   8985:     *) as_dir=$as_dir/ ;;
                   8986:   esac
                   8987:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8988:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   8989:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   8990:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   8991:     break 2
                   8992:   fi
                   8993: done
                   8994:   done
                   8995: IFS=$as_save_IFS
1.128     moko     8996: 
1.243     moko     8997: fi ;;
                   8998: esac
                   8999: fi
                   9000: RANLIB=$ac_cv_prog_RANLIB
                   9001: if test -n "$RANLIB"; then
                   9002:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   9003: printf "%s\n" "$RANLIB" >&6; }
                   9004: else
                   9005:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9006: printf "%s\n" "no" >&6; }
                   9007: fi
1.128     moko     9008: 
                   9009: 
1.243     moko     9010: fi
                   9011: if test -z "$ac_cv_prog_RANLIB"; then
                   9012:   ac_ct_RANLIB=$RANLIB
                   9013:   # Extract the first word of "ranlib", so it can be a program name with args.
                   9014: set dummy ranlib; ac_word=$2
                   9015: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9016: printf %s "checking for $ac_word... " >&6; }
                   9017: if test ${ac_cv_prog_ac_ct_RANLIB+y}
1.237     moko     9018: then :
                   9019:   printf %s "(cached) " >&6
                   9020: else case e in #(
1.243     moko     9021:   e) if test -n "$ac_ct_RANLIB"; then
                   9022:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   9023: else
                   9024: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9025: for as_dir in $PATH
                   9026: do
                   9027:   IFS=$as_save_IFS
                   9028:   case $as_dir in #(((
                   9029:     '') as_dir=./ ;;
                   9030:     */) ;;
                   9031:     *) as_dir=$as_dir/ ;;
                   9032:   esac
                   9033:     for ac_exec_ext in '' $ac_executable_extensions; do
                   9034:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   9035:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   9036:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   9037:     break 2
                   9038:   fi
                   9039: done
                   9040:   done
                   9041: IFS=$as_save_IFS
1.128     moko     9042: 
1.243     moko     9043: fi ;;
                   9044: esac
1.128     moko     9045: fi
1.243     moko     9046: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   9047: if test -n "$ac_ct_RANLIB"; then
                   9048:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   9049: printf "%s\n" "$ac_ct_RANLIB" >&6; }
                   9050: else
                   9051:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9052: printf "%s\n" "no" >&6; }
1.128     moko     9053: fi
                   9054: 
1.243     moko     9055:   if test "x$ac_ct_RANLIB" = x; then
                   9056:     RANLIB=":"
                   9057:   else
                   9058:     case $cross_compiling:$ac_tool_warned in
                   9059: yes:)
                   9060: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9061: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9062: ac_tool_warned=yes ;;
                   9063: esac
                   9064:     RANLIB=$ac_ct_RANLIB
                   9065:   fi
1.128     moko     9066: else
1.243     moko     9067:   RANLIB="$ac_cv_prog_RANLIB"
1.128     moko     9068: fi
                   9069: 
                   9070: if test -n "$ac_tool_prefix"; then
1.243     moko     9071:   for ac_prog in ar
                   9072:   do
                   9073:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   9074: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.237     moko     9075: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9076: printf %s "checking for $ac_word... " >&6; }
1.243     moko     9077: if test ${ac_cv_prog_AR+y}
1.237     moko     9078: then :
                   9079:   printf %s "(cached) " >&6
                   9080: else case e in #(
1.243     moko     9081:   e) if test -n "$AR"; then
                   9082:   ac_cv_prog_AR="$AR" # Let the user override the test.
1.128     moko     9083: else
                   9084: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9085: for as_dir in $PATH
                   9086: do
                   9087:   IFS=$as_save_IFS
1.237     moko     9088:   case $as_dir in #(((
                   9089:     '') as_dir=./ ;;
                   9090:     */) ;;
                   9091:     *) as_dir=$as_dir/ ;;
                   9092:   esac
1.150     moko     9093:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     9094:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243     moko     9095:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.237     moko     9096:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     9097:     break 2
                   9098:   fi
                   9099: done
1.150     moko     9100:   done
                   9101: IFS=$as_save_IFS
1.128     moko     9102: 
1.237     moko     9103: fi ;;
                   9104: esac
1.128     moko     9105: fi
1.243     moko     9106: AR=$ac_cv_prog_AR
                   9107: if test -n "$AR"; then
                   9108:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   9109: printf "%s\n" "$AR" >&6; }
1.128     moko     9110: else
1.237     moko     9111:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9112: printf "%s\n" "no" >&6; }
1.128     moko     9113: fi
                   9114: 
1.150     moko     9115: 
1.243     moko     9116:     test -n "$AR" && break
                   9117:   done
1.128     moko     9118: fi
1.243     moko     9119: if test -z "$AR"; then
                   9120:   ac_ct_AR=$AR
                   9121:   for ac_prog in ar
                   9122: do
                   9123:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   9124: set dummy $ac_prog; ac_word=$2
1.237     moko     9125: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9126: printf %s "checking for $ac_word... " >&6; }
1.243     moko     9127: if test ${ac_cv_prog_ac_ct_AR+y}
1.237     moko     9128: then :
                   9129:   printf %s "(cached) " >&6
                   9130: else case e in #(
1.243     moko     9131:   e) if test -n "$ac_ct_AR"; then
                   9132:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1.128     moko     9133: else
                   9134: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9135: for as_dir in $PATH
                   9136: do
                   9137:   IFS=$as_save_IFS
1.237     moko     9138:   case $as_dir in #(((
                   9139:     '') as_dir=./ ;;
                   9140:     */) ;;
                   9141:     *) as_dir=$as_dir/ ;;
                   9142:   esac
1.150     moko     9143:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     9144:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.243     moko     9145:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.237     moko     9146:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     9147:     break 2
                   9148:   fi
                   9149: done
1.150     moko     9150:   done
                   9151: IFS=$as_save_IFS
1.128     moko     9152: 
1.237     moko     9153: fi ;;
                   9154: esac
1.128     moko     9155: fi
1.243     moko     9156: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   9157: if test -n "$ac_ct_AR"; then
                   9158:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   9159: printf "%s\n" "$ac_ct_AR" >&6; }
1.128     moko     9160: else
1.237     moko     9161:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9162: printf "%s\n" "no" >&6; }
1.128     moko     9163: fi
                   9164: 
1.243     moko     9165: 
                   9166:   test -n "$ac_ct_AR" && break
                   9167: done
                   9168: 
                   9169:   if test "x$ac_ct_AR" = x; then
                   9170:     AR="false"
1.150     moko     9171:   else
                   9172:     case $cross_compiling:$ac_tool_warned in
                   9173: yes:)
1.237     moko     9174: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9175: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     9176: ac_tool_warned=yes ;;
                   9177: esac
1.243     moko     9178:     AR=$ac_ct_AR
1.150     moko     9179:   fi
1.128     moko     9180: fi
                   9181: 
1.243     moko     9182: : ${AR=ar}
                   9183: 
                   9184: 
                   9185: 
                   9186: 
                   9187: 
                   9188: 
                   9189: # Use ARFLAGS variable as AR's operation code to sync the variable naming with
                   9190: # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
                   9191: # higher priority because that's what people were doing historically (setting
                   9192: # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
                   9193: # variable obsoleted/removed.
                   9194: 
                   9195: test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
                   9196: lt_ar_flags=$AR_FLAGS
                   9197: 
                   9198: 
                   9199: 
                   9200: 
                   9201: 
                   9202: 
                   9203: # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
                   9204: # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
                   9205: 
                   9206: 
                   9207: 
                   9208: 
                   9209: 
                   9210: 
                   9211: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   9212: printf %s "checking for archiver @FILE support... " >&6; }
                   9213: if test ${lt_cv_ar_at_file+y}
                   9214: then :
                   9215:   printf %s "(cached) " >&6
                   9216: else case e in #(
                   9217:   e) lt_cv_ar_at_file=no
                   9218:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9219: /* end confdefs.h.  */
                   9220: 
                   9221: int
                   9222: main (void)
                   9223: {
                   9224: 
                   9225:   ;
                   9226:   return 0;
                   9227: }
                   9228: _ACEOF
                   9229: if ac_fn_c_try_compile "$LINENO"
                   9230: then :
                   9231:   echo conftest.$ac_objext > conftest.lst
                   9232:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   9233:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   9234:   (eval $lt_ar_try) 2>&5
                   9235:   ac_status=$?
                   9236:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9237:   test $ac_status = 0; }
                   9238:       if test 0 -eq "$ac_status"; then
                   9239:        # Ensure the archiver fails upon bogus file names.
                   9240:        rm -f conftest.$ac_objext libconftest.a
                   9241:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   9242:   (eval $lt_ar_try) 2>&5
                   9243:   ac_status=$?
                   9244:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9245:   test $ac_status = 0; }
                   9246:        if test 0 -ne "$ac_status"; then
                   9247:           lt_cv_ar_at_file=@
                   9248:         fi
                   9249:       fi
                   9250:       rm -f conftest.* libconftest.a
                   9251: 
                   9252: fi
                   9253: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   9254:    ;;
                   9255: esac
                   9256: fi
                   9257: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   9258: printf "%s\n" "$lt_cv_ar_at_file" >&6; }
                   9259: 
                   9260: if test no = "$lt_cv_ar_at_file"; then
                   9261:   archiver_list_spec=
                   9262: else
                   9263:   archiver_list_spec=$lt_cv_ar_at_file
                   9264: fi
                   9265: 
                   9266: 
                   9267: 
                   9268: 
                   9269: 
                   9270: 
                   9271: 
                   9272: if test -n "$ac_tool_prefix"; then
                   9273:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   9274: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   9275: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9276: printf %s "checking for $ac_word... " >&6; }
                   9277: if test ${ac_cv_prog_STRIP+y}
                   9278: then :
                   9279:   printf %s "(cached) " >&6
                   9280: else case e in #(
                   9281:   e) if test -n "$STRIP"; then
                   9282:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   9283: else
                   9284: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9285: for as_dir in $PATH
                   9286: do
                   9287:   IFS=$as_save_IFS
                   9288:   case $as_dir in #(((
                   9289:     '') as_dir=./ ;;
                   9290:     */) ;;
                   9291:     *) as_dir=$as_dir/ ;;
                   9292:   esac
                   9293:     for ac_exec_ext in '' $ac_executable_extensions; do
                   9294:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   9295:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   9296:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   9297:     break 2
                   9298:   fi
                   9299: done
                   9300:   done
                   9301: IFS=$as_save_IFS
                   9302: 
                   9303: fi ;;
                   9304: esac
                   9305: fi
                   9306: STRIP=$ac_cv_prog_STRIP
                   9307: if test -n "$STRIP"; then
                   9308:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   9309: printf "%s\n" "$STRIP" >&6; }
                   9310: else
                   9311:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9312: printf "%s\n" "no" >&6; }
                   9313: fi
                   9314: 
                   9315: 
                   9316: fi
                   9317: if test -z "$ac_cv_prog_STRIP"; then
                   9318:   ac_ct_STRIP=$STRIP
                   9319:   # Extract the first word of "strip", so it can be a program name with args.
                   9320: set dummy strip; ac_word=$2
                   9321: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9322: printf %s "checking for $ac_word... " >&6; }
                   9323: if test ${ac_cv_prog_ac_ct_STRIP+y}
                   9324: then :
                   9325:   printf %s "(cached) " >&6
                   9326: else case e in #(
                   9327:   e) if test -n "$ac_ct_STRIP"; then
                   9328:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   9329: else
                   9330: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9331: for as_dir in $PATH
                   9332: do
                   9333:   IFS=$as_save_IFS
                   9334:   case $as_dir in #(((
                   9335:     '') as_dir=./ ;;
                   9336:     */) ;;
                   9337:     *) as_dir=$as_dir/ ;;
                   9338:   esac
                   9339:     for ac_exec_ext in '' $ac_executable_extensions; do
                   9340:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   9341:     ac_cv_prog_ac_ct_STRIP="strip"
                   9342:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   9343:     break 2
                   9344:   fi
                   9345: done
                   9346:   done
                   9347: IFS=$as_save_IFS
                   9348: 
                   9349: fi ;;
                   9350: esac
                   9351: fi
                   9352: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   9353: if test -n "$ac_ct_STRIP"; then
                   9354:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   9355: printf "%s\n" "$ac_ct_STRIP" >&6; }
                   9356: else
                   9357:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9358: printf "%s\n" "no" >&6; }
                   9359: fi
                   9360: 
                   9361:   if test "x$ac_ct_STRIP" = x; then
                   9362:     STRIP=":"
                   9363:   else
                   9364:     case $cross_compiling:$ac_tool_warned in
                   9365: yes:)
                   9366: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9367: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9368: ac_tool_warned=yes ;;
                   9369: esac
                   9370:     STRIP=$ac_ct_STRIP
                   9371:   fi
                   9372: else
                   9373:   STRIP="$ac_cv_prog_STRIP"
                   9374: fi
                   9375: 
                   9376: test -z "$STRIP" && STRIP=:
1.128     moko     9377: 
                   9378: 
                   9379: 
                   9380: 
                   9381: 
                   9382: 
                   9383: 
                   9384: test -z "$RANLIB" && RANLIB=:
                   9385: 
                   9386: 
                   9387: 
                   9388: 
                   9389: 
                   9390: 
                   9391: # Determine commands to create old-style static archives.
                   9392: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   9393: old_postinstall_cmds='chmod 644 $oldlib'
                   9394: old_postuninstall_cmds=
                   9395: 
                   9396: if test -n "$RANLIB"; then
                   9397:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.237     moko     9398:   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.128     moko     9399: fi
                   9400: 
                   9401: case $host_os in
                   9402:   darwin*)
                   9403:     lock_old_archive_extraction=yes ;;
                   9404:   *)
                   9405:     lock_old_archive_extraction=no ;;
                   9406: esac
                   9407: 
                   9408: 
                   9409: 
                   9410: 
                   9411: 
                   9412: 
                   9413: 
                   9414: 
                   9415: 
                   9416: 
                   9417: 
                   9418: 
                   9419: 
                   9420: 
                   9421: 
                   9422: 
                   9423: 
                   9424: 
                   9425: 
                   9426: 
                   9427: 
                   9428: 
                   9429: 
                   9430: 
                   9431: 
                   9432: 
                   9433: 
                   9434: 
                   9435: 
                   9436: 
                   9437: 
                   9438: 
                   9439: 
                   9440: 
                   9441: 
                   9442: 
                   9443: 
                   9444: 
                   9445: 
                   9446: # If no C compiler was specified, use CC.
                   9447: LTCC=${LTCC-"$CC"}
                   9448: 
                   9449: # If no C compiler flags were specified, use CFLAGS.
                   9450: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9451: 
                   9452: # Allow CC to be a program name with arguments.
                   9453: compiler=$CC
                   9454: 
                   9455: 
                   9456: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.237     moko     9457: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   9458: printf %s "checking command to parse $NM output from $compiler object... " >&6; }
                   9459: if test ${lt_cv_sys_global_symbol_pipe+y}
                   9460: then :
                   9461:   printf %s "(cached) " >&6
                   9462: else case e in #(
                   9463:   e)
1.128     moko     9464: # These are sane defaults that work on at least a few old systems.
                   9465: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   9466: 
                   9467: # Character class describing NM global symbol codes.
                   9468: symcode='[BCDEGRST]'
                   9469: 
                   9470: # Regexp to match symbols that can be accessed directly from C.
                   9471: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   9472: 
                   9473: # Define system-specific variables.
                   9474: case $host_os in
                   9475: aix*)
                   9476:   symcode='[BCDT]'
                   9477:   ;;
1.237     moko     9478: cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     9479:   symcode='[ABCDGISTW]'
                   9480:   ;;
                   9481: hpux*)
1.237     moko     9482:   if test ia64 = "$host_cpu"; then
1.128     moko     9483:     symcode='[ABCDEGRST]'
                   9484:   fi
                   9485:   ;;
                   9486: irix* | nonstopux*)
                   9487:   symcode='[BCDEGRST]'
                   9488:   ;;
                   9489: osf*)
                   9490:   symcode='[BCDEGQRST]'
                   9491:   ;;
                   9492: solaris*)
1.237     moko     9493:   symcode='[BCDRT]'
1.128     moko     9494:   ;;
                   9495: sco3.2v5*)
                   9496:   symcode='[DT]'
                   9497:   ;;
                   9498: sysv4.2uw2*)
                   9499:   symcode='[DT]'
                   9500:   ;;
                   9501: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   9502:   symcode='[ABDT]'
                   9503:   ;;
                   9504: sysv4)
                   9505:   symcode='[DFNSTU]'
                   9506:   ;;
                   9507: esac
                   9508: 
                   9509: # If we're using GNU nm, then use its standard symbol codes.
                   9510: case `$NM -V 2>&1` in
                   9511: *GNU* | *'with BFD'*)
                   9512:   symcode='[ABCDGIRSTW]' ;;
                   9513: esac
                   9514: 
1.237     moko     9515: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   9516:   # Gets list of data symbols to import.
                   9517:   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
                   9518:   # Adjust the below global symbol transforms to fixup imported variables.
                   9519:   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
                   9520:   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
                   9521:   lt_c_name_lib_hook="\
                   9522:   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
                   9523:   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
                   9524: else
                   9525:   # Disable hooks by default.
                   9526:   lt_cv_sys_global_symbol_to_import=
                   9527:   lt_cdecl_hook=
                   9528:   lt_c_name_hook=
                   9529:   lt_c_name_lib_hook=
                   9530: fi
                   9531: 
1.128     moko     9532: # Transform an extracted symbol line into a proper C declaration.
                   9533: # Some systems (esp. on ia64) link data and code symbols differently,
                   9534: # so use this general approach.
1.237     moko     9535: lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
                   9536: $lt_cdecl_hook\
                   9537: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
                   9538: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
1.128     moko     9539: 
                   9540: # Transform an extracted symbol line into symbol name and symbol address
1.237     moko     9541: lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
                   9542: $lt_c_name_hook\
                   9543: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
                   9544: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
                   9545: 
                   9546: # Transform an extracted symbol line into symbol name with lib prefix and
                   9547: # symbol address.
                   9548: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
                   9549: $lt_c_name_lib_hook\
                   9550: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
                   9551: " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
                   9552: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
1.128     moko     9553: 
                   9554: # Handle CRLF in mingw tool chain
                   9555: opt_cr=
                   9556: case $build_os in
1.237     moko     9557: mingw* | windows*)
1.128     moko     9558:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   9559:   ;;
                   9560: esac
                   9561: 
                   9562: # Try without a prefix underscore, then with it.
                   9563: for ac_symprfx in "" "_"; do
                   9564: 
                   9565:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   9566:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   9567: 
                   9568:   # Write the raw and C identifiers.
                   9569:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
1.237     moko     9570:     # Fake it for dumpbin and say T for any non-static function,
                   9571:     # D for any global variable and I for any imported variable.
                   9572:     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
1.128     moko     9573:     # which start with @ or ?.
                   9574:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   9575: "     {last_section=section; section=\$ 3};"\
                   9576: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   9577: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
1.237     moko     9578: "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
                   9579: "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
                   9580: "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
1.128     moko     9581: "     \$ 0!~/External *\|/{next};"\
                   9582: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   9583: "     {if(hide[section]) next};"\
1.237     moko     9584: "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
                   9585: "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
                   9586: "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
                   9587: "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
1.128     moko     9588: "     ' prfx=^$ac_symprfx"
                   9589:   else
1.237     moko     9590:     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
1.128     moko     9591:   fi
1.237     moko     9592:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
1.128     moko     9593: 
                   9594:   # Check to see that the pipe works correctly.
                   9595:   pipe_works=no
                   9596: 
                   9597:   rm -f conftest*
                   9598:   cat > conftest.$ac_ext <<_LT_EOF
                   9599: #ifdef __cplusplus
                   9600: extern "C" {
                   9601: #endif
                   9602: char nm_test_var;
                   9603: void nm_test_func(void);
                   9604: void nm_test_func(void){}
                   9605: #ifdef __cplusplus
                   9606: }
                   9607: #endif
1.237     moko     9608: int main(void){nm_test_var='a';nm_test_func();return(0);}
1.128     moko     9609: _LT_EOF
                   9610: 
1.150     moko     9611:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     9612:   (eval $ac_compile) 2>&5
                   9613:   ac_status=$?
1.237     moko     9614:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     9615:   test $ac_status = 0; }; then
1.128     moko     9616:     # Now try to grab the symbols.
                   9617:     nlist=conftest.nm
1.237     moko     9618:     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
                   9619:     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
1.128     moko     9620:       # Try sorting and uniquifying the output.
                   9621:       if sort "$nlist" | uniq > "$nlist"T; then
                   9622:        mv -f "$nlist"T "$nlist"
                   9623:       else
                   9624:        rm -f "$nlist"T
                   9625:       fi
                   9626: 
                   9627:       # Make sure that we snagged all the symbols we need.
                   9628:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   9629:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   9630:          cat <<_LT_EOF > conftest.$ac_ext
                   9631: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
1.237     moko     9632: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
                   9633: /* DATA imports from DLLs on WIN32 can't be const, because runtime
1.128     moko     9634:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   9635: # define LT_DLSYM_CONST
1.237     moko     9636: #elif defined __osf__
1.128     moko     9637: /* This system does not cope well with relocations in const data.  */
                   9638: # define LT_DLSYM_CONST
                   9639: #else
                   9640: # define LT_DLSYM_CONST const
                   9641: #endif
                   9642: 
                   9643: #ifdef __cplusplus
                   9644: extern "C" {
                   9645: #endif
                   9646: 
                   9647: _LT_EOF
                   9648:          # Now generate the symbol file.
                   9649:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   9650: 
                   9651:          cat <<_LT_EOF >> conftest.$ac_ext
                   9652: 
                   9653: /* The mapping between symbol names and symbols.  */
                   9654: LT_DLSYM_CONST struct {
                   9655:   const char *name;
                   9656:   void       *address;
                   9657: }
                   9658: lt__PROGRAM__LTX_preloaded_symbols[] =
                   9659: {
                   9660:   { "@PROGRAM@", (void *) 0 },
                   9661: _LT_EOF
1.237     moko     9662:          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
1.128     moko     9663:          cat <<\_LT_EOF >> conftest.$ac_ext
                   9664:   {0, (void *) 0}
                   9665: };
                   9666: 
                   9667: /* This works around a problem in FreeBSD linker */
                   9668: #ifdef FREEBSD_WORKAROUND
                   9669: static const void *lt_preloaded_setup() {
                   9670:   return lt__PROGRAM__LTX_preloaded_symbols;
                   9671: }
                   9672: #endif
                   9673: 
                   9674: #ifdef __cplusplus
                   9675: }
                   9676: #endif
                   9677: _LT_EOF
                   9678:          # Now try linking the two files.
                   9679:          mv conftest.$ac_objext conftstm.$ac_objext
                   9680:          lt_globsym_save_LIBS=$LIBS
                   9681:          lt_globsym_save_CFLAGS=$CFLAGS
1.237     moko     9682:          LIBS=conftstm.$ac_objext
1.128     moko     9683:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150     moko     9684:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     9685:   (eval $ac_link) 2>&5
                   9686:   ac_status=$?
1.237     moko     9687:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9688:   test $ac_status = 0; } && test -s conftest$ac_exeext; then
1.128     moko     9689:            pipe_works=yes
                   9690:          fi
                   9691:          LIBS=$lt_globsym_save_LIBS
                   9692:          CFLAGS=$lt_globsym_save_CFLAGS
                   9693:        else
                   9694:          echo "cannot find nm_test_func in $nlist" >&5
                   9695:        fi
                   9696:       else
                   9697:        echo "cannot find nm_test_var in $nlist" >&5
                   9698:       fi
                   9699:     else
                   9700:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   9701:     fi
                   9702:   else
                   9703:     echo "$progname: failed program was:" >&5
                   9704:     cat conftest.$ac_ext >&5
                   9705:   fi
                   9706:   rm -rf conftest* conftst*
                   9707: 
                   9708:   # Do not use the global_symbol_pipe unless it works.
1.237     moko     9709:   if test yes = "$pipe_works"; then
1.128     moko     9710:     break
                   9711:   else
                   9712:     lt_cv_sys_global_symbol_pipe=
                   9713:   fi
                   9714: done
1.237     moko     9715:  ;;
                   9716: esac
1.128     moko     9717: fi
                   9718: 
                   9719: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   9720:   lt_cv_sys_global_symbol_to_cdecl=
                   9721: fi
                   9722: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.237     moko     9723:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   9724: printf "%s\n" "failed" >&6; }
1.128     moko     9725: else
1.237     moko     9726:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   9727: printf "%s\n" "ok" >&6; }
1.128     moko     9728: fi
                   9729: 
                   9730: # Response file support.
                   9731: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   9732:   nm_file_list_spec='@'
                   9733: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   9734:   nm_file_list_spec='@'
                   9735: fi
                   9736: 
                   9737: 
                   9738: 
                   9739: 
                   9740: 
                   9741: 
                   9742: 
                   9743: 
                   9744: 
                   9745: 
                   9746: 
                   9747: 
                   9748: 
                   9749: 
                   9750: 
                   9751: 
                   9752: 
                   9753: 
                   9754: 
                   9755: 
                   9756: 
                   9757: 
                   9758: 
                   9759: 
                   9760: 
                   9761: 
                   9762: 
1.237     moko     9763: 
                   9764: 
                   9765: 
                   9766: 
                   9767: 
                   9768: 
                   9769: 
                   9770: 
                   9771: 
                   9772: 
                   9773: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   9774: printf %s "checking for sysroot... " >&6; }
1.128     moko     9775: 
1.150     moko     9776: # Check whether --with-sysroot was given.
1.237     moko     9777: if test ${with_sysroot+y}
                   9778: then :
1.150     moko     9779:   withval=$with_sysroot;
1.237     moko     9780: else case e in #(
                   9781:   e) with_sysroot=no ;;
                   9782: esac
1.150     moko     9783: fi
                   9784: 
1.128     moko     9785: 
                   9786: lt_sysroot=
1.237     moko     9787: case $with_sysroot in #(
1.128     moko     9788:  yes)
1.237     moko     9789:    if test yes = "$GCC"; then
                   9790:      # Trim trailing / since we'll always append absolute paths and we want
                   9791:      # to avoid //, if only for less confusing output for the user.
                   9792:      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
1.128     moko     9793:    fi
                   9794:    ;; #(
                   9795:  /*)
1.237     moko     9796:    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
1.128     moko     9797:    ;; #(
                   9798:  no|'')
                   9799:    ;; #(
                   9800:  *)
1.237     moko     9801:    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
                   9802: printf "%s\n" "$with_sysroot" >&6; }
1.150     moko     9803:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     9804:    ;;
                   9805: esac
                   9806: 
1.237     moko     9807:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   9808: printf "%s\n" "${lt_sysroot:-no}" >&6; }
1.128     moko     9809: 
                   9810: 
                   9811: 
                   9812: 
                   9813: 
1.237     moko     9814: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
                   9815: printf %s "checking for a working dd... " >&6; }
                   9816: if test ${ac_cv_path_lt_DD+y}
                   9817: then :
                   9818:   printf %s "(cached) " >&6
                   9819: else case e in #(
                   9820:   e) printf 0123456789abcdef0123456789abcdef >conftest.i
                   9821: cat conftest.i conftest.i >conftest2.i
                   9822: : ${lt_DD:=$DD}
                   9823: if test -z "$lt_DD"; then
                   9824:   ac_path_lt_DD_found=false
                   9825:   # Loop through the user's path and test for each of PROGNAME-LIST
                   9826:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9827: for as_dir in $PATH
                   9828: do
                   9829:   IFS=$as_save_IFS
                   9830:   case $as_dir in #(((
                   9831:     '') as_dir=./ ;;
                   9832:     */) ;;
                   9833:     *) as_dir=$as_dir/ ;;
                   9834:   esac
                   9835:     for ac_prog in dd
                   9836:    do
                   9837:     for ac_exec_ext in '' $ac_executable_extensions; do
                   9838:       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
                   9839:       as_fn_executable_p "$ac_path_lt_DD" || continue
                   9840: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
                   9841:   cmp -s conftest.i conftest.out \
                   9842:   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
                   9843: fi
                   9844:       $ac_path_lt_DD_found && break 3
                   9845:     done
                   9846:   done
                   9847:   done
                   9848: IFS=$as_save_IFS
                   9849:   if test -z "$ac_cv_path_lt_DD"; then
                   9850:     :
                   9851:   fi
                   9852: else
                   9853:   ac_cv_path_lt_DD=$lt_DD
                   9854: fi
                   9855: 
                   9856: rm -f conftest.i conftest2.i conftest.out ;;
                   9857: esac
                   9858: fi
                   9859: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
                   9860: printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
                   9861: 
                   9862: 
                   9863: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
                   9864: printf %s "checking how to truncate binary pipes... " >&6; }
                   9865: if test ${lt_cv_truncate_bin+y}
                   9866: then :
                   9867:   printf %s "(cached) " >&6
                   9868: else case e in #(
                   9869:   e) printf 0123456789abcdef0123456789abcdef >conftest.i
                   9870: cat conftest.i conftest.i >conftest2.i
                   9871: lt_cv_truncate_bin=
                   9872: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
                   9873:   cmp -s conftest.i conftest.out \
                   9874:   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
                   9875: fi
                   9876: rm -f conftest.i conftest2.i conftest.out
                   9877: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
                   9878: esac
                   9879: fi
                   9880: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
                   9881: printf "%s\n" "$lt_cv_truncate_bin" >&6; }
                   9882: 
                   9883: 
                   9884: 
                   9885: 
                   9886: 
                   9887: 
                   9888: 
                   9889: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
                   9890: func_cc_basename ()
                   9891: {
                   9892:     for cc_temp in $*""; do
                   9893:       case $cc_temp in
                   9894:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9895:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9896:         \-*) ;;
                   9897:         *) break;;
                   9898:       esac
                   9899:     done
                   9900:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9901: }
                   9902: 
1.150     moko     9903: # Check whether --enable-libtool-lock was given.
1.237     moko     9904: if test ${enable_libtool_lock+y}
                   9905: then :
1.150     moko     9906:   enableval=$enable_libtool_lock;
                   9907: fi
1.128     moko     9908: 
1.237     moko     9909: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
1.128     moko     9910: 
                   9911: # Some flags need to be propagated to the compiler or linker for good
                   9912: # libtool support.
                   9913: case $host in
                   9914: ia64-*-hpux*)
1.237     moko     9915:   # Find out what ABI is being produced by ac_compile, and set mode
                   9916:   # options accordingly.
1.128     moko     9917:   echo 'int i;' > conftest.$ac_ext
1.150     moko     9918:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     9919:   (eval $ac_compile) 2>&5
                   9920:   ac_status=$?
1.237     moko     9921:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     9922:   test $ac_status = 0; }; then
1.237     moko     9923:     case `$FILECMD conftest.$ac_objext` in
1.128     moko     9924:       *ELF-32*)
1.237     moko     9925:        HPUX_IA64_MODE=32
1.128     moko     9926:        ;;
                   9927:       *ELF-64*)
1.237     moko     9928:        HPUX_IA64_MODE=64
1.128     moko     9929:        ;;
                   9930:     esac
                   9931:   fi
                   9932:   rm -rf conftest*
                   9933:   ;;
                   9934: *-*-irix6*)
1.237     moko     9935:   # Find out what ABI is being produced by ac_compile, and set linker
                   9936:   # options accordingly.
1.128     moko     9937:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150     moko     9938:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     9939:   (eval $ac_compile) 2>&5
                   9940:   ac_status=$?
1.237     moko     9941:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     9942:   test $ac_status = 0; }; then
1.237     moko     9943:     if test yes = "$lt_cv_prog_gnu_ld"; then
                   9944:       case `$FILECMD conftest.$ac_objext` in
1.128     moko     9945:        *32-bit*)
                   9946:          LD="${LD-ld} -melf32bsmip"
                   9947:          ;;
                   9948:        *N32*)
                   9949:          LD="${LD-ld} -melf32bmipn32"
                   9950:          ;;
                   9951:        *64-bit*)
                   9952:          LD="${LD-ld} -melf64bmip"
                   9953:        ;;
                   9954:       esac
                   9955:     else
1.237     moko     9956:       case `$FILECMD conftest.$ac_objext` in
1.128     moko     9957:        *32-bit*)
                   9958:          LD="${LD-ld} -32"
                   9959:          ;;
                   9960:        *N32*)
                   9961:          LD="${LD-ld} -n32"
                   9962:          ;;
                   9963:        *64-bit*)
                   9964:          LD="${LD-ld} -64"
                   9965:          ;;
                   9966:       esac
                   9967:     fi
                   9968:   fi
                   9969:   rm -rf conftest*
                   9970:   ;;
                   9971: 
1.237     moko     9972: mips64*-*linux*)
                   9973:   # Find out what ABI is being produced by ac_compile, and set linker
                   9974:   # options accordingly.
                   9975:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   9976:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   9977:   (eval $ac_compile) 2>&5
                   9978:   ac_status=$?
                   9979:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9980:   test $ac_status = 0; }; then
                   9981:     emul=elf
                   9982:     case `$FILECMD conftest.$ac_objext` in
                   9983:       *32-bit*)
                   9984:        emul="${emul}32"
                   9985:        ;;
                   9986:       *64-bit*)
                   9987:        emul="${emul}64"
                   9988:        ;;
                   9989:     esac
                   9990:     case `$FILECMD conftest.$ac_objext` in
                   9991:       *MSB*)
                   9992:        emul="${emul}btsmip"
                   9993:        ;;
                   9994:       *LSB*)
                   9995:        emul="${emul}ltsmip"
                   9996:        ;;
                   9997:     esac
                   9998:     case `$FILECMD conftest.$ac_objext` in
                   9999:       *N32*)
                   10000:        emul="${emul}n32"
                   10001:        ;;
                   10002:     esac
                   10003:     LD="${LD-ld} -m $emul"
                   10004:   fi
                   10005:   rm -rf conftest*
                   10006:   ;;
                   10007: 
                   10008: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
                   10009: s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
                   10010:   # Find out what ABI is being produced by ac_compile, and set linker
                   10011:   # options accordingly.  Note that the listed cases only cover the
                   10012:   # situations where additional linker options are needed (such as when
                   10013:   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
                   10014:   # vice versa); the common cases where no linker options are needed do
                   10015:   # not appear in the list.
1.128     moko     10016:   echo 'int i;' > conftest.$ac_ext
1.150     moko     10017:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     10018:   (eval $ac_compile) 2>&5
                   10019:   ac_status=$?
1.237     moko     10020:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     10021:   test $ac_status = 0; }; then
1.237     moko     10022:     case `$FILECMD conftest.o` in
1.128     moko     10023:       *32-bit*)
                   10024:        case $host in
                   10025:          x86_64-*kfreebsd*-gnu)
                   10026:            LD="${LD-ld} -m elf_i386_fbsd"
                   10027:            ;;
1.237     moko     10028:          x86_64-*linux*|x86_64-gnu*)
                   10029:            case `$FILECMD conftest.o` in
                   10030:              *x86-64*)
                   10031:                LD="${LD-ld} -m elf32_x86_64"
                   10032:                ;;
                   10033:              *)
                   10034:                LD="${LD-ld} -m elf_i386"
                   10035:                ;;
                   10036:            esac
1.128     moko     10037:            ;;
1.237     moko     10038:          powerpc64le-*linux*)
                   10039:            LD="${LD-ld} -m elf32lppclinux"
                   10040:            ;;
                   10041:          powerpc64-*linux*)
1.128     moko     10042:            LD="${LD-ld} -m elf32ppclinux"
                   10043:            ;;
                   10044:          s390x-*linux*)
                   10045:            LD="${LD-ld} -m elf_s390"
                   10046:            ;;
                   10047:          sparc64-*linux*)
                   10048:            LD="${LD-ld} -m elf32_sparc"
                   10049:            ;;
                   10050:        esac
                   10051:        ;;
                   10052:       *64-bit*)
                   10053:        case $host in
                   10054:          x86_64-*kfreebsd*-gnu)
                   10055:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   10056:            ;;
1.237     moko     10057:          x86_64-*linux*|x86_64-gnu*)
1.128     moko     10058:            LD="${LD-ld} -m elf_x86_64"
                   10059:            ;;
1.237     moko     10060:          powerpcle-*linux*)
                   10061:            LD="${LD-ld} -m elf64lppc"
                   10062:            ;;
                   10063:          powerpc-*linux*)
1.128     moko     10064:            LD="${LD-ld} -m elf64ppc"
                   10065:            ;;
                   10066:          s390*-*linux*|s390*-*tpf*)
                   10067:            LD="${LD-ld} -m elf64_s390"
                   10068:            ;;
                   10069:          sparc*-*linux*)
                   10070:            LD="${LD-ld} -m elf64_sparc"
                   10071:            ;;
                   10072:        esac
                   10073:        ;;
                   10074:     esac
                   10075:   fi
                   10076:   rm -rf conftest*
                   10077:   ;;
                   10078: 
                   10079: *-*-sco3.2v5*)
                   10080:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1.237     moko     10081:   SAVE_CFLAGS=$CFLAGS
1.128     moko     10082:   CFLAGS="$CFLAGS -belf"
1.237     moko     10083:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   10084: printf %s "checking whether the C compiler needs -belf... " >&6; }
                   10085: if test ${lt_cv_cc_needs_belf+y}
                   10086: then :
                   10087:   printf %s "(cached) " >&6
                   10088: else case e in #(
                   10089:   e) ac_ext=c
1.128     moko     10090: ac_cpp='$CPP $CPPFLAGS'
                   10091: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   10092: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   10093: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   10094: 
1.150     moko     10095:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10096: /* end confdefs.h.  */
                   10097: 
                   10098: int
1.237     moko     10099: main (void)
1.128     moko     10100: {
                   10101: 
                   10102:   ;
                   10103:   return 0;
                   10104: }
                   10105: _ACEOF
1.237     moko     10106: if ac_fn_c_try_link "$LINENO"
                   10107: then :
1.128     moko     10108:   lt_cv_cc_needs_belf=yes
1.237     moko     10109: else case e in #(
                   10110:   e) lt_cv_cc_needs_belf=no ;;
                   10111: esac
1.128     moko     10112: fi
1.237     moko     10113: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     10114:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10115:      ac_ext=c
                   10116: ac_cpp='$CPP $CPPFLAGS'
                   10117: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   10118: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   10119: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.237     moko     10120:  ;;
                   10121: esac
1.128     moko     10122: fi
1.237     moko     10123: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   10124: printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
                   10125:   if test yes != "$lt_cv_cc_needs_belf"; then
1.128     moko     10126:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1.237     moko     10127:     CFLAGS=$SAVE_CFLAGS
1.128     moko     10128:   fi
                   10129:   ;;
                   10130: *-*solaris*)
1.237     moko     10131:   # Find out what ABI is being produced by ac_compile, and set linker
                   10132:   # options accordingly.
1.128     moko     10133:   echo 'int i;' > conftest.$ac_ext
1.150     moko     10134:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     10135:   (eval $ac_compile) 2>&5
                   10136:   ac_status=$?
1.237     moko     10137:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     10138:   test $ac_status = 0; }; then
1.237     moko     10139:     case `$FILECMD conftest.o` in
1.128     moko     10140:     *64-bit*)
                   10141:       case $lt_cv_prog_gnu_ld in
                   10142:       yes*)
                   10143:         case $host in
1.237     moko     10144:         i?86-*-solaris*|x86_64-*-solaris*)
1.128     moko     10145:           LD="${LD-ld} -m elf_x86_64"
                   10146:           ;;
                   10147:         sparc*-*-solaris*)
                   10148:           LD="${LD-ld} -m elf64_sparc"
                   10149:           ;;
                   10150:         esac
                   10151:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   10152:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1.237     moko     10153:           LD=${LD-ld}_sol2
1.128     moko     10154:         fi
                   10155:         ;;
                   10156:       *)
                   10157:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   10158:          LD="${LD-ld} -64"
                   10159:        fi
                   10160:        ;;
                   10161:       esac
                   10162:       ;;
                   10163:     esac
                   10164:   fi
                   10165:   rm -rf conftest*
                   10166:   ;;
                   10167: esac
                   10168: 
1.237     moko     10169: need_locks=$enable_libtool_lock
1.128     moko     10170: 
                   10171: if test -n "$ac_tool_prefix"; then
                   10172:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   10173: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.237     moko     10174: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10175: printf %s "checking for $ac_word... " >&6; }
                   10176: if test ${ac_cv_prog_MANIFEST_TOOL+y}
                   10177: then :
                   10178:   printf %s "(cached) " >&6
                   10179: else case e in #(
                   10180:   e) if test -n "$MANIFEST_TOOL"; then
1.128     moko     10181:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   10182: else
                   10183: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10184: for as_dir in $PATH
                   10185: do
                   10186:   IFS=$as_save_IFS
1.237     moko     10187:   case $as_dir in #(((
                   10188:     '') as_dir=./ ;;
                   10189:     */) ;;
                   10190:     *) as_dir=$as_dir/ ;;
                   10191:   esac
1.150     moko     10192:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10193:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10194:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.237     moko     10195:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10196:     break 2
                   10197:   fi
                   10198: done
1.150     moko     10199:   done
                   10200: IFS=$as_save_IFS
1.128     moko     10201: 
1.237     moko     10202: fi ;;
                   10203: esac
1.128     moko     10204: fi
                   10205: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   10206: if test -n "$MANIFEST_TOOL"; then
1.237     moko     10207:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   10208: printf "%s\n" "$MANIFEST_TOOL" >&6; }
1.128     moko     10209: else
1.237     moko     10210:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10211: printf "%s\n" "no" >&6; }
1.128     moko     10212: fi
                   10213: 
1.150     moko     10214: 
1.128     moko     10215: fi
                   10216: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   10217:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   10218:   # Extract the first word of "mt", so it can be a program name with args.
                   10219: set dummy mt; ac_word=$2
1.237     moko     10220: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10221: printf %s "checking for $ac_word... " >&6; }
                   10222: if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
                   10223: then :
                   10224:   printf %s "(cached) " >&6
                   10225: else case e in #(
                   10226:   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
1.128     moko     10227:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   10228: else
                   10229: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10230: for as_dir in $PATH
                   10231: do
                   10232:   IFS=$as_save_IFS
1.237     moko     10233:   case $as_dir in #(((
                   10234:     '') as_dir=./ ;;
                   10235:     */) ;;
                   10236:     *) as_dir=$as_dir/ ;;
                   10237:   esac
1.150     moko     10238:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10239:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10240:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.237     moko     10241:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10242:     break 2
                   10243:   fi
                   10244: done
1.150     moko     10245:   done
                   10246: IFS=$as_save_IFS
1.128     moko     10247: 
1.237     moko     10248: fi ;;
                   10249: esac
1.128     moko     10250: fi
                   10251: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   10252: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.237     moko     10253:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   10254: printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     10255: else
1.237     moko     10256:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10257: printf "%s\n" "no" >&6; }
1.128     moko     10258: fi
                   10259: 
1.150     moko     10260:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   10261:     MANIFEST_TOOL=":"
                   10262:   else
                   10263:     case $cross_compiling:$ac_tool_warned in
                   10264: yes:)
1.237     moko     10265: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10266: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10267: ac_tool_warned=yes ;;
                   10268: esac
                   10269:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   10270:   fi
1.128     moko     10271: else
                   10272:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   10273: fi
                   10274: 
                   10275: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.237     moko     10276: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   10277: printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   10278: if test ${lt_cv_path_manifest_tool+y}
                   10279: then :
                   10280:   printf %s "(cached) " >&6
                   10281: else case e in #(
                   10282:   e) lt_cv_path_manifest_tool=no
1.128     moko     10283:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   10284:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   10285:   cat conftest.err >&5
                   10286:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
1.237     moko     10287:     lt_cv_path_manifest_tool=yes
1.128     moko     10288:   fi
1.237     moko     10289:   rm -f conftest* ;;
                   10290: esac
1.128     moko     10291: fi
1.237     moko     10292: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
                   10293: printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
                   10294: if test yes != "$lt_cv_path_manifest_tool"; then
1.128     moko     10295:   MANIFEST_TOOL=:
                   10296: fi
                   10297: 
                   10298: 
                   10299: 
                   10300: 
                   10301: 
                   10302: 
                   10303:   case $host_os in
                   10304:     rhapsody* | darwin*)
                   10305:     if test -n "$ac_tool_prefix"; then
                   10306:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   10307: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.237     moko     10308: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10309: printf %s "checking for $ac_word... " >&6; }
                   10310: if test ${ac_cv_prog_DSYMUTIL+y}
                   10311: then :
                   10312:   printf %s "(cached) " >&6
                   10313: else case e in #(
                   10314:   e) if test -n "$DSYMUTIL"; then
1.128     moko     10315:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   10316: else
                   10317: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10318: for as_dir in $PATH
                   10319: do
                   10320:   IFS=$as_save_IFS
1.237     moko     10321:   case $as_dir in #(((
                   10322:     '') as_dir=./ ;;
                   10323:     */) ;;
                   10324:     *) as_dir=$as_dir/ ;;
                   10325:   esac
1.150     moko     10326:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10327:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10328:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.237     moko     10329:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10330:     break 2
                   10331:   fi
                   10332: done
1.150     moko     10333:   done
                   10334: IFS=$as_save_IFS
1.128     moko     10335: 
1.237     moko     10336: fi ;;
                   10337: esac
1.128     moko     10338: fi
                   10339: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   10340: if test -n "$DSYMUTIL"; then
1.237     moko     10341:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   10342: printf "%s\n" "$DSYMUTIL" >&6; }
1.128     moko     10343: else
1.237     moko     10344:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10345: printf "%s\n" "no" >&6; }
1.128     moko     10346: fi
                   10347: 
1.150     moko     10348: 
1.128     moko     10349: fi
                   10350: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   10351:   ac_ct_DSYMUTIL=$DSYMUTIL
                   10352:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   10353: set dummy dsymutil; ac_word=$2
1.237     moko     10354: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10355: printf %s "checking for $ac_word... " >&6; }
                   10356: if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
                   10357: then :
                   10358:   printf %s "(cached) " >&6
                   10359: else case e in #(
                   10360:   e) if test -n "$ac_ct_DSYMUTIL"; then
1.128     moko     10361:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   10362: else
                   10363: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10364: for as_dir in $PATH
                   10365: do
                   10366:   IFS=$as_save_IFS
1.237     moko     10367:   case $as_dir in #(((
                   10368:     '') as_dir=./ ;;
                   10369:     */) ;;
                   10370:     *) as_dir=$as_dir/ ;;
                   10371:   esac
1.150     moko     10372:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10373:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10374:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.237     moko     10375:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10376:     break 2
                   10377:   fi
                   10378: done
1.150     moko     10379:   done
                   10380: IFS=$as_save_IFS
1.128     moko     10381: 
1.237     moko     10382: fi ;;
                   10383: esac
1.128     moko     10384: fi
                   10385: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   10386: if test -n "$ac_ct_DSYMUTIL"; then
1.237     moko     10387:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   10388: printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     10389: else
1.237     moko     10390:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10391: printf "%s\n" "no" >&6; }
1.128     moko     10392: fi
                   10393: 
1.150     moko     10394:   if test "x$ac_ct_DSYMUTIL" = x; then
                   10395:     DSYMUTIL=":"
                   10396:   else
                   10397:     case $cross_compiling:$ac_tool_warned in
                   10398: yes:)
1.237     moko     10399: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10400: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10401: ac_tool_warned=yes ;;
                   10402: esac
                   10403:     DSYMUTIL=$ac_ct_DSYMUTIL
                   10404:   fi
1.128     moko     10405: else
                   10406:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   10407: fi
                   10408: 
                   10409:     if test -n "$ac_tool_prefix"; then
                   10410:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   10411: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.237     moko     10412: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10413: printf %s "checking for $ac_word... " >&6; }
                   10414: if test ${ac_cv_prog_NMEDIT+y}
                   10415: then :
                   10416:   printf %s "(cached) " >&6
                   10417: else case e in #(
                   10418:   e) if test -n "$NMEDIT"; then
1.128     moko     10419:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   10420: else
                   10421: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10422: for as_dir in $PATH
                   10423: do
                   10424:   IFS=$as_save_IFS
1.237     moko     10425:   case $as_dir in #(((
                   10426:     '') as_dir=./ ;;
                   10427:     */) ;;
                   10428:     *) as_dir=$as_dir/ ;;
                   10429:   esac
1.150     moko     10430:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10431:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10432:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.237     moko     10433:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10434:     break 2
                   10435:   fi
                   10436: done
1.150     moko     10437:   done
                   10438: IFS=$as_save_IFS
1.128     moko     10439: 
1.237     moko     10440: fi ;;
                   10441: esac
1.128     moko     10442: fi
                   10443: NMEDIT=$ac_cv_prog_NMEDIT
                   10444: if test -n "$NMEDIT"; then
1.237     moko     10445:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   10446: printf "%s\n" "$NMEDIT" >&6; }
1.128     moko     10447: else
1.237     moko     10448:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10449: printf "%s\n" "no" >&6; }
1.128     moko     10450: fi
                   10451: 
1.150     moko     10452: 
1.128     moko     10453: fi
                   10454: if test -z "$ac_cv_prog_NMEDIT"; then
                   10455:   ac_ct_NMEDIT=$NMEDIT
                   10456:   # Extract the first word of "nmedit", so it can be a program name with args.
                   10457: set dummy nmedit; ac_word=$2
1.237     moko     10458: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10459: printf %s "checking for $ac_word... " >&6; }
                   10460: if test ${ac_cv_prog_ac_ct_NMEDIT+y}
                   10461: then :
                   10462:   printf %s "(cached) " >&6
                   10463: else case e in #(
                   10464:   e) if test -n "$ac_ct_NMEDIT"; then
1.128     moko     10465:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   10466: else
                   10467: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10468: for as_dir in $PATH
                   10469: do
                   10470:   IFS=$as_save_IFS
1.237     moko     10471:   case $as_dir in #(((
                   10472:     '') as_dir=./ ;;
                   10473:     */) ;;
                   10474:     *) as_dir=$as_dir/ ;;
                   10475:   esac
1.150     moko     10476:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10477:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10478:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.237     moko     10479:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10480:     break 2
                   10481:   fi
                   10482: done
1.150     moko     10483:   done
                   10484: IFS=$as_save_IFS
1.128     moko     10485: 
1.237     moko     10486: fi ;;
                   10487: esac
1.128     moko     10488: fi
                   10489: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   10490: if test -n "$ac_ct_NMEDIT"; then
1.237     moko     10491:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   10492: printf "%s\n" "$ac_ct_NMEDIT" >&6; }
1.128     moko     10493: else
1.237     moko     10494:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10495: printf "%s\n" "no" >&6; }
1.128     moko     10496: fi
                   10497: 
1.150     moko     10498:   if test "x$ac_ct_NMEDIT" = x; then
                   10499:     NMEDIT=":"
                   10500:   else
                   10501:     case $cross_compiling:$ac_tool_warned in
                   10502: yes:)
1.237     moko     10503: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10504: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10505: ac_tool_warned=yes ;;
                   10506: esac
                   10507:     NMEDIT=$ac_ct_NMEDIT
                   10508:   fi
1.128     moko     10509: else
                   10510:   NMEDIT="$ac_cv_prog_NMEDIT"
                   10511: fi
                   10512: 
                   10513:     if test -n "$ac_tool_prefix"; then
                   10514:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   10515: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.237     moko     10516: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10517: printf %s "checking for $ac_word... " >&6; }
                   10518: if test ${ac_cv_prog_LIPO+y}
                   10519: then :
                   10520:   printf %s "(cached) " >&6
                   10521: else case e in #(
                   10522:   e) if test -n "$LIPO"; then
1.128     moko     10523:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   10524: else
                   10525: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10526: for as_dir in $PATH
                   10527: do
                   10528:   IFS=$as_save_IFS
1.237     moko     10529:   case $as_dir in #(((
                   10530:     '') as_dir=./ ;;
                   10531:     */) ;;
                   10532:     *) as_dir=$as_dir/ ;;
                   10533:   esac
1.150     moko     10534:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10535:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10536:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.237     moko     10537:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10538:     break 2
                   10539:   fi
                   10540: done
1.150     moko     10541:   done
                   10542: IFS=$as_save_IFS
1.128     moko     10543: 
1.237     moko     10544: fi ;;
                   10545: esac
1.128     moko     10546: fi
                   10547: LIPO=$ac_cv_prog_LIPO
                   10548: if test -n "$LIPO"; then
1.237     moko     10549:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   10550: printf "%s\n" "$LIPO" >&6; }
1.128     moko     10551: else
1.237     moko     10552:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10553: printf "%s\n" "no" >&6; }
1.128     moko     10554: fi
                   10555: 
1.150     moko     10556: 
1.128     moko     10557: fi
                   10558: if test -z "$ac_cv_prog_LIPO"; then
                   10559:   ac_ct_LIPO=$LIPO
                   10560:   # Extract the first word of "lipo", so it can be a program name with args.
                   10561: set dummy lipo; ac_word=$2
1.237     moko     10562: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10563: printf %s "checking for $ac_word... " >&6; }
                   10564: if test ${ac_cv_prog_ac_ct_LIPO+y}
                   10565: then :
                   10566:   printf %s "(cached) " >&6
                   10567: else case e in #(
                   10568:   e) if test -n "$ac_ct_LIPO"; then
1.128     moko     10569:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   10570: else
                   10571: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10572: for as_dir in $PATH
                   10573: do
                   10574:   IFS=$as_save_IFS
1.237     moko     10575:   case $as_dir in #(((
                   10576:     '') as_dir=./ ;;
                   10577:     */) ;;
                   10578:     *) as_dir=$as_dir/ ;;
                   10579:   esac
1.150     moko     10580:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10581:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10582:     ac_cv_prog_ac_ct_LIPO="lipo"
1.237     moko     10583:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10584:     break 2
                   10585:   fi
                   10586: done
1.150     moko     10587:   done
                   10588: IFS=$as_save_IFS
1.128     moko     10589: 
1.237     moko     10590: fi ;;
                   10591: esac
1.128     moko     10592: fi
                   10593: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   10594: if test -n "$ac_ct_LIPO"; then
1.237     moko     10595:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   10596: printf "%s\n" "$ac_ct_LIPO" >&6; }
1.128     moko     10597: else
1.237     moko     10598:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10599: printf "%s\n" "no" >&6; }
1.128     moko     10600: fi
                   10601: 
1.150     moko     10602:   if test "x$ac_ct_LIPO" = x; then
                   10603:     LIPO=":"
                   10604:   else
                   10605:     case $cross_compiling:$ac_tool_warned in
                   10606: yes:)
1.237     moko     10607: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10608: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10609: ac_tool_warned=yes ;;
                   10610: esac
                   10611:     LIPO=$ac_ct_LIPO
                   10612:   fi
1.128     moko     10613: else
                   10614:   LIPO="$ac_cv_prog_LIPO"
                   10615: fi
                   10616: 
                   10617:     if test -n "$ac_tool_prefix"; then
                   10618:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   10619: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.237     moko     10620: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10621: printf %s "checking for $ac_word... " >&6; }
                   10622: if test ${ac_cv_prog_OTOOL+y}
                   10623: then :
                   10624:   printf %s "(cached) " >&6
                   10625: else case e in #(
                   10626:   e) if test -n "$OTOOL"; then
1.128     moko     10627:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   10628: else
                   10629: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10630: for as_dir in $PATH
                   10631: do
                   10632:   IFS=$as_save_IFS
1.237     moko     10633:   case $as_dir in #(((
                   10634:     '') as_dir=./ ;;
                   10635:     */) ;;
                   10636:     *) as_dir=$as_dir/ ;;
                   10637:   esac
1.150     moko     10638:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10639:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10640:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.237     moko     10641:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10642:     break 2
                   10643:   fi
                   10644: done
1.150     moko     10645:   done
                   10646: IFS=$as_save_IFS
1.128     moko     10647: 
1.237     moko     10648: fi ;;
                   10649: esac
1.128     moko     10650: fi
                   10651: OTOOL=$ac_cv_prog_OTOOL
                   10652: if test -n "$OTOOL"; then
1.237     moko     10653:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   10654: printf "%s\n" "$OTOOL" >&6; }
1.128     moko     10655: else
1.237     moko     10656:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10657: printf "%s\n" "no" >&6; }
1.128     moko     10658: fi
                   10659: 
1.150     moko     10660: 
1.128     moko     10661: fi
                   10662: if test -z "$ac_cv_prog_OTOOL"; then
                   10663:   ac_ct_OTOOL=$OTOOL
                   10664:   # Extract the first word of "otool", so it can be a program name with args.
                   10665: set dummy otool; ac_word=$2
1.237     moko     10666: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10667: printf %s "checking for $ac_word... " >&6; }
                   10668: if test ${ac_cv_prog_ac_ct_OTOOL+y}
                   10669: then :
                   10670:   printf %s "(cached) " >&6
                   10671: else case e in #(
                   10672:   e) if test -n "$ac_ct_OTOOL"; then
1.128     moko     10673:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   10674: else
                   10675: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10676: for as_dir in $PATH
                   10677: do
                   10678:   IFS=$as_save_IFS
1.237     moko     10679:   case $as_dir in #(((
                   10680:     '') as_dir=./ ;;
                   10681:     */) ;;
                   10682:     *) as_dir=$as_dir/ ;;
                   10683:   esac
1.150     moko     10684:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10685:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10686:     ac_cv_prog_ac_ct_OTOOL="otool"
1.237     moko     10687:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10688:     break 2
                   10689:   fi
                   10690: done
1.150     moko     10691:   done
                   10692: IFS=$as_save_IFS
1.128     moko     10693: 
1.237     moko     10694: fi ;;
                   10695: esac
1.128     moko     10696: fi
                   10697: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   10698: if test -n "$ac_ct_OTOOL"; then
1.237     moko     10699:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   10700: printf "%s\n" "$ac_ct_OTOOL" >&6; }
1.128     moko     10701: else
1.237     moko     10702:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10703: printf "%s\n" "no" >&6; }
1.128     moko     10704: fi
                   10705: 
1.150     moko     10706:   if test "x$ac_ct_OTOOL" = x; then
                   10707:     OTOOL=":"
                   10708:   else
                   10709:     case $cross_compiling:$ac_tool_warned in
                   10710: yes:)
1.237     moko     10711: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10712: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10713: ac_tool_warned=yes ;;
                   10714: esac
                   10715:     OTOOL=$ac_ct_OTOOL
                   10716:   fi
1.128     moko     10717: else
                   10718:   OTOOL="$ac_cv_prog_OTOOL"
                   10719: fi
                   10720: 
                   10721:     if test -n "$ac_tool_prefix"; then
                   10722:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   10723: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.237     moko     10724: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10725: printf %s "checking for $ac_word... " >&6; }
                   10726: if test ${ac_cv_prog_OTOOL64+y}
                   10727: then :
                   10728:   printf %s "(cached) " >&6
                   10729: else case e in #(
                   10730:   e) if test -n "$OTOOL64"; then
1.128     moko     10731:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   10732: else
                   10733: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10734: for as_dir in $PATH
                   10735: do
                   10736:   IFS=$as_save_IFS
1.237     moko     10737:   case $as_dir in #(((
                   10738:     '') as_dir=./ ;;
                   10739:     */) ;;
                   10740:     *) as_dir=$as_dir/ ;;
                   10741:   esac
1.150     moko     10742:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10743:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10744:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.237     moko     10745:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10746:     break 2
                   10747:   fi
                   10748: done
1.150     moko     10749:   done
                   10750: IFS=$as_save_IFS
1.128     moko     10751: 
1.237     moko     10752: fi ;;
                   10753: esac
1.128     moko     10754: fi
                   10755: OTOOL64=$ac_cv_prog_OTOOL64
                   10756: if test -n "$OTOOL64"; then
1.237     moko     10757:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   10758: printf "%s\n" "$OTOOL64" >&6; }
1.128     moko     10759: else
1.237     moko     10760:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10761: printf "%s\n" "no" >&6; }
1.128     moko     10762: fi
                   10763: 
1.150     moko     10764: 
1.128     moko     10765: fi
                   10766: if test -z "$ac_cv_prog_OTOOL64"; then
                   10767:   ac_ct_OTOOL64=$OTOOL64
                   10768:   # Extract the first word of "otool64", so it can be a program name with args.
                   10769: set dummy otool64; ac_word=$2
1.237     moko     10770: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10771: printf %s "checking for $ac_word... " >&6; }
                   10772: if test ${ac_cv_prog_ac_ct_OTOOL64+y}
                   10773: then :
                   10774:   printf %s "(cached) " >&6
                   10775: else case e in #(
                   10776:   e) if test -n "$ac_ct_OTOOL64"; then
1.128     moko     10777:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   10778: else
                   10779: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10780: for as_dir in $PATH
                   10781: do
                   10782:   IFS=$as_save_IFS
1.237     moko     10783:   case $as_dir in #(((
                   10784:     '') as_dir=./ ;;
                   10785:     */) ;;
                   10786:     *) as_dir=$as_dir/ ;;
                   10787:   esac
1.150     moko     10788:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10789:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10790:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.237     moko     10791:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10792:     break 2
                   10793:   fi
                   10794: done
1.150     moko     10795:   done
                   10796: IFS=$as_save_IFS
1.128     moko     10797: 
1.237     moko     10798: fi ;;
                   10799: esac
1.128     moko     10800: fi
                   10801: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   10802: if test -n "$ac_ct_OTOOL64"; then
1.237     moko     10803:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   10804: printf "%s\n" "$ac_ct_OTOOL64" >&6; }
1.128     moko     10805: else
1.237     moko     10806:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10807: printf "%s\n" "no" >&6; }
1.128     moko     10808: fi
                   10809: 
1.150     moko     10810:   if test "x$ac_ct_OTOOL64" = x; then
                   10811:     OTOOL64=":"
                   10812:   else
                   10813:     case $cross_compiling:$ac_tool_warned in
                   10814: yes:)
1.237     moko     10815: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10816: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10817: ac_tool_warned=yes ;;
                   10818: esac
                   10819:     OTOOL64=$ac_ct_OTOOL64
                   10820:   fi
1.128     moko     10821: else
                   10822:   OTOOL64="$ac_cv_prog_OTOOL64"
                   10823: fi
                   10824: 
                   10825: 
                   10826: 
                   10827: 
                   10828: 
                   10829: 
                   10830: 
                   10831: 
                   10832: 
                   10833: 
                   10834: 
                   10835: 
                   10836: 
                   10837: 
                   10838: 
                   10839: 
                   10840: 
                   10841: 
                   10842: 
                   10843: 
                   10844: 
                   10845: 
                   10846: 
                   10847: 
                   10848: 
                   10849: 
                   10850: 
1.237     moko     10851:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   10852: printf %s "checking for -single_module linker flag... " >&6; }
                   10853: if test ${lt_cv_apple_cc_single_mod+y}
                   10854: then :
                   10855:   printf %s "(cached) " >&6
                   10856: else case e in #(
                   10857:   e) lt_cv_apple_cc_single_mod=no
                   10858:       if test -z "$LT_MULTI_MODULE"; then
1.128     moko     10859:        # By default we will add the -single_module flag. You can override
                   10860:        # by either setting the environment variable LT_MULTI_MODULE
                   10861:        # non-empty at configure time, or by adding -multi_module to the
                   10862:        # link flags.
                   10863:        rm -rf libconftest.dylib*
                   10864:        echo "int foo(void){return 1;}" > conftest.c
                   10865:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   10866: -dynamiclib -Wl,-single_module conftest.c" >&5
                   10867:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   10868:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   10869:         _lt_result=$?
                   10870:        # If there is a non-empty error log, and "single_module"
                   10871:        # appears in it, assume the flag caused a linker warning
                   10872:         if test -s conftest.err && $GREP single_module conftest.err; then
                   10873:          cat conftest.err >&5
                   10874:        # Otherwise, if the output was created with a 0 exit code from
                   10875:        # the compiler, it worked.
1.237     moko     10876:        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1.128     moko     10877:          lt_cv_apple_cc_single_mod=yes
                   10878:        else
                   10879:          cat conftest.err >&5
                   10880:        fi
                   10881:        rm -rf libconftest.dylib*
                   10882:        rm -f conftest.*
1.237     moko     10883:       fi ;;
                   10884: esac
                   10885: fi
                   10886: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   10887: printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
                   10888: 
                   10889:     # Feature test to disable chained fixups since it is not
                   10890:     # compatible with '-undefined dynamic_lookup'
                   10891:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
                   10892: printf %s "checking for -no_fixup_chains linker flag... " >&6; }
                   10893: if test ${lt_cv_support_no_fixup_chains+y}
                   10894: then :
                   10895:   printf %s "(cached) " >&6
                   10896: else case e in #(
                   10897:   e)  save_LDFLAGS=$LDFLAGS
                   10898:         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
                   10899:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10900: /* end confdefs.h.  */
                   10901: 
                   10902: int
                   10903: main (void)
                   10904: {
                   10905: 
                   10906:   ;
                   10907:   return 0;
                   10908: }
                   10909: _ACEOF
                   10910: if ac_fn_c_try_link "$LINENO"
                   10911: then :
                   10912:   lt_cv_support_no_fixup_chains=yes
                   10913: else case e in #(
                   10914:   e) lt_cv_support_no_fixup_chains=no
                   10915:          ;;
                   10916: esac
                   10917: fi
                   10918: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   10919:     conftest$ac_exeext conftest.$ac_ext
                   10920:         LDFLAGS=$save_LDFLAGS
                   10921: 
                   10922:      ;;
                   10923: esac
1.128     moko     10924: fi
1.237     moko     10925: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
                   10926: printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
1.128     moko     10927: 
1.237     moko     10928:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   10929: printf %s "checking for -exported_symbols_list linker flag... " >&6; }
                   10930: if test ${lt_cv_ld_exported_symbols_list+y}
                   10931: then :
                   10932:   printf %s "(cached) " >&6
                   10933: else case e in #(
                   10934:   e) lt_cv_ld_exported_symbols_list=no
1.128     moko     10935:       save_LDFLAGS=$LDFLAGS
                   10936:       echo "_main" > conftest.sym
                   10937:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150     moko     10938:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10939: /* end confdefs.h.  */
                   10940: 
                   10941: int
1.237     moko     10942: main (void)
1.128     moko     10943: {
                   10944: 
                   10945:   ;
                   10946:   return 0;
                   10947: }
                   10948: _ACEOF
1.237     moko     10949: if ac_fn_c_try_link "$LINENO"
                   10950: then :
1.128     moko     10951:   lt_cv_ld_exported_symbols_list=yes
1.237     moko     10952: else case e in #(
                   10953:   e) lt_cv_ld_exported_symbols_list=no ;;
                   10954: esac
1.128     moko     10955: fi
1.237     moko     10956: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     10957:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     10958:        LDFLAGS=$save_LDFLAGS
                   10959:      ;;
                   10960: esac
1.128     moko     10961: fi
1.237     moko     10962: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   10963: printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     10964: 
1.237     moko     10965:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   10966: printf %s "checking for -force_load linker flag... " >&6; }
                   10967: if test ${lt_cv_ld_force_load+y}
                   10968: then :
                   10969:   printf %s "(cached) " >&6
                   10970: else case e in #(
                   10971:   e) lt_cv_ld_force_load=no
1.128     moko     10972:       cat > conftest.c << _LT_EOF
                   10973: int forced_loaded() { return 2;}
                   10974: _LT_EOF
                   10975:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   10976:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
1.237     moko     10977:       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
                   10978:       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
1.128     moko     10979:       echo "$RANLIB libconftest.a" >&5
                   10980:       $RANLIB libconftest.a 2>&5
                   10981:       cat > conftest.c << _LT_EOF
1.237     moko     10982: int main(void) { return 0;}
1.128     moko     10983: _LT_EOF
                   10984:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   10985:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   10986:       _lt_result=$?
                   10987:       if test -s conftest.err && $GREP force_load conftest.err; then
                   10988:        cat conftest.err >&5
1.237     moko     10989:       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1.128     moko     10990:        lt_cv_ld_force_load=yes
                   10991:       else
                   10992:        cat conftest.err >&5
                   10993:       fi
                   10994:         rm -f conftest.err libconftest.a conftest conftest.c
                   10995:         rm -rf conftest.dSYM
1.237     moko     10996:      ;;
                   10997: esac
1.128     moko     10998: fi
1.237     moko     10999: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   11000: printf "%s\n" "$lt_cv_ld_force_load" >&6; }
1.128     moko     11001:     case $host_os in
                   11002:     rhapsody* | darwin1.[012])
1.237     moko     11003:       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1.128     moko     11004:     darwin1.*)
1.237     moko     11005:       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
                   11006:     darwin*)
                   11007:       case $MACOSX_DEPLOYMENT_TARGET,$host in
                   11008:         10.[012],*|,*powerpc*-darwin[5-8]*)
                   11009:           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
                   11010:         *)
                   11011:           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
                   11012:           if test yes = "$lt_cv_support_no_fixup_chains"; then
                   11013:             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
                   11014:           fi
                   11015:         ;;
1.128     moko     11016:       esac
                   11017:     ;;
                   11018:   esac
1.237     moko     11019:     if test yes = "$lt_cv_apple_cc_single_mod"; then
1.128     moko     11020:       _lt_dar_single_mod='$single_module'
                   11021:     fi
1.237     moko     11022:     _lt_dar_needs_single_mod=no
                   11023:     case $host_os in
                   11024:     rhapsody* | darwin1.*)
                   11025:       _lt_dar_needs_single_mod=yes ;;
                   11026:     darwin*)
                   11027:       # When targeting Mac OS X 10.4 (darwin 8) or later,
                   11028:       # -single_module is the default and -multi_module is unsupported.
                   11029:       # The toolchain on macOS 10.14 (darwin 18) and later cannot
                   11030:       # target any OS version that needs -single_module.
                   11031:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   11032:       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
                   11033:         _lt_dar_needs_single_mod=yes ;;
                   11034:       esac
                   11035:     ;;
                   11036:     esac
                   11037:     if test yes = "$lt_cv_ld_exported_symbols_list"; then
                   11038:       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1.128     moko     11039:     else
1.237     moko     11040:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1.128     moko     11041:     fi
1.237     moko     11042:     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
1.128     moko     11043:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   11044:     else
                   11045:       _lt_dsymutil=
                   11046:     fi
                   11047:     ;;
                   11048:   esac
                   11049: 
1.237     moko     11050: # func_munge_path_list VARIABLE PATH
                   11051: # -----------------------------------
                   11052: # VARIABLE is name of variable containing _space_ separated list of
                   11053: # directories to be munged by the contents of PATH, which is string
                   11054: # having a format:
                   11055: # "DIR[:DIR]:"
                   11056: #       string "DIR[ DIR]" will be prepended to VARIABLE
                   11057: # ":DIR[:DIR]"
                   11058: #       string "DIR[ DIR]" will be appended to VARIABLE
                   11059: # "DIRP[:DIRP]::[DIRA:]DIRA"
                   11060: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
                   11061: #       "DIRA[ DIRA]" will be appended to VARIABLE
                   11062: # "DIR[:DIR]"
                   11063: #       VARIABLE will be replaced by "DIR[ DIR]"
                   11064: func_munge_path_list ()
                   11065: {
                   11066:     case x$2 in
                   11067:     x)
                   11068:         ;;
                   11069:     *:)
                   11070:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
                   11071:         ;;
                   11072:     x:*)
                   11073:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
                   11074:         ;;
                   11075:     *::*)
                   11076:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
                   11077:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
                   11078:         ;;
                   11079:     *)
                   11080:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
                   11081:         ;;
                   11082:     esac
                   11083: }
                   11084: 
                   11085: ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   11086: "
                   11087: if test "x$ac_cv_header_dlfcn_h" = xyes
                   11088: then :
                   11089:   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
1.150     moko     11090: 
1.128     moko     11091: fi
                   11092: 
                   11093: 
                   11094: 
                   11095: 
1.237     moko     11096: func_stripname_cnf ()
1.128     moko     11097: {
1.237     moko     11098:   case $2 in
                   11099:   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
                   11100:   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
1.150     moko     11101:   esac
                   11102: } # func_stripname_cnf
1.128     moko     11103: 
                   11104: 
                   11105: 
                   11106: 
                   11107: 
                   11108: # Set options
                   11109: enable_dlopen=yes
                   11110: enable_win32_dll=yes
                   11111: 
                   11112: case $host in
1.237     moko     11113: *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
1.128     moko     11114:   if test -n "$ac_tool_prefix"; then
                   11115:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   11116: set dummy ${ac_tool_prefix}as; ac_word=$2
1.237     moko     11117: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11118: printf %s "checking for $ac_word... " >&6; }
                   11119: if test ${ac_cv_prog_AS+y}
                   11120: then :
                   11121:   printf %s "(cached) " >&6
                   11122: else case e in #(
                   11123:   e) if test -n "$AS"; then
1.128     moko     11124:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   11125: else
                   11126: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11127: for as_dir in $PATH
                   11128: do
                   11129:   IFS=$as_save_IFS
1.237     moko     11130:   case $as_dir in #(((
                   11131:     '') as_dir=./ ;;
                   11132:     */) ;;
                   11133:     *) as_dir=$as_dir/ ;;
                   11134:   esac
1.150     moko     11135:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     11136:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     11137:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.237     moko     11138:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     11139:     break 2
                   11140:   fi
                   11141: done
1.150     moko     11142:   done
                   11143: IFS=$as_save_IFS
1.128     moko     11144: 
1.237     moko     11145: fi ;;
                   11146: esac
1.128     moko     11147: fi
                   11148: AS=$ac_cv_prog_AS
                   11149: if test -n "$AS"; then
1.237     moko     11150:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   11151: printf "%s\n" "$AS" >&6; }
1.128     moko     11152: else
1.237     moko     11153:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11154: printf "%s\n" "no" >&6; }
1.128     moko     11155: fi
                   11156: 
1.150     moko     11157: 
1.128     moko     11158: fi
                   11159: if test -z "$ac_cv_prog_AS"; then
                   11160:   ac_ct_AS=$AS
                   11161:   # Extract the first word of "as", so it can be a program name with args.
                   11162: set dummy as; ac_word=$2
1.237     moko     11163: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11164: printf %s "checking for $ac_word... " >&6; }
                   11165: if test ${ac_cv_prog_ac_ct_AS+y}
                   11166: then :
                   11167:   printf %s "(cached) " >&6
                   11168: else case e in #(
                   11169:   e) if test -n "$ac_ct_AS"; then
1.128     moko     11170:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   11171: else
                   11172: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11173: for as_dir in $PATH
                   11174: do
                   11175:   IFS=$as_save_IFS
1.237     moko     11176:   case $as_dir in #(((
                   11177:     '') as_dir=./ ;;
                   11178:     */) ;;
                   11179:     *) as_dir=$as_dir/ ;;
                   11180:   esac
1.150     moko     11181:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     11182:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     11183:     ac_cv_prog_ac_ct_AS="as"
1.237     moko     11184:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     11185:     break 2
                   11186:   fi
                   11187: done
1.150     moko     11188:   done
                   11189: IFS=$as_save_IFS
1.128     moko     11190: 
1.237     moko     11191: fi ;;
                   11192: esac
1.128     moko     11193: fi
                   11194: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   11195: if test -n "$ac_ct_AS"; then
1.237     moko     11196:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   11197: printf "%s\n" "$ac_ct_AS" >&6; }
1.128     moko     11198: else
1.237     moko     11199:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11200: printf "%s\n" "no" >&6; }
1.128     moko     11201: fi
                   11202: 
1.150     moko     11203:   if test "x$ac_ct_AS" = x; then
                   11204:     AS="false"
                   11205:   else
                   11206:     case $cross_compiling:$ac_tool_warned in
                   11207: yes:)
1.237     moko     11208: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   11209: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     11210: ac_tool_warned=yes ;;
                   11211: esac
                   11212:     AS=$ac_ct_AS
                   11213:   fi
1.128     moko     11214: else
                   11215:   AS="$ac_cv_prog_AS"
                   11216: fi
                   11217: 
                   11218:   if test -n "$ac_tool_prefix"; then
                   11219:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   11220: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.237     moko     11221: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11222: printf %s "checking for $ac_word... " >&6; }
                   11223: if test ${ac_cv_prog_DLLTOOL+y}
                   11224: then :
                   11225:   printf %s "(cached) " >&6
                   11226: else case e in #(
                   11227:   e) if test -n "$DLLTOOL"; then
1.128     moko     11228:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   11229: else
                   11230: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11231: for as_dir in $PATH
                   11232: do
                   11233:   IFS=$as_save_IFS
1.237     moko     11234:   case $as_dir in #(((
                   11235:     '') as_dir=./ ;;
                   11236:     */) ;;
                   11237:     *) as_dir=$as_dir/ ;;
                   11238:   esac
1.150     moko     11239:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     11240:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     11241:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.237     moko     11242:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     11243:     break 2
                   11244:   fi
                   11245: done
1.150     moko     11246:   done
                   11247: IFS=$as_save_IFS
1.128     moko     11248: 
1.237     moko     11249: fi ;;
                   11250: esac
1.128     moko     11251: fi
                   11252: DLLTOOL=$ac_cv_prog_DLLTOOL
                   11253: if test -n "$DLLTOOL"; then
1.237     moko     11254:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   11255: printf "%s\n" "$DLLTOOL" >&6; }
1.128     moko     11256: else
1.237     moko     11257:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11258: printf "%s\n" "no" >&6; }
1.128     moko     11259: fi
                   11260: 
1.150     moko     11261: 
1.128     moko     11262: fi
                   11263: if test -z "$ac_cv_prog_DLLTOOL"; then
                   11264:   ac_ct_DLLTOOL=$DLLTOOL
                   11265:   # Extract the first word of "dlltool", so it can be a program name with args.
                   11266: set dummy dlltool; ac_word=$2
1.237     moko     11267: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11268: printf %s "checking for $ac_word... " >&6; }
                   11269: if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
                   11270: then :
                   11271:   printf %s "(cached) " >&6
                   11272: else case e in #(
                   11273:   e) if test -n "$ac_ct_DLLTOOL"; then
1.128     moko     11274:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   11275: else
                   11276: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11277: for as_dir in $PATH
                   11278: do
                   11279:   IFS=$as_save_IFS
1.237     moko     11280:   case $as_dir in #(((
                   11281:     '') as_dir=./ ;;
                   11282:     */) ;;
                   11283:     *) as_dir=$as_dir/ ;;
                   11284:   esac
1.150     moko     11285:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     11286:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     11287:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.237     moko     11288:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     11289:     break 2
                   11290:   fi
                   11291: done
1.150     moko     11292:   done
                   11293: IFS=$as_save_IFS
1.128     moko     11294: 
1.237     moko     11295: fi ;;
                   11296: esac
1.128     moko     11297: fi
                   11298: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   11299: if test -n "$ac_ct_DLLTOOL"; then
1.237     moko     11300:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   11301: printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
1.128     moko     11302: else
1.237     moko     11303:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11304: printf "%s\n" "no" >&6; }
1.128     moko     11305: fi
                   11306: 
1.150     moko     11307:   if test "x$ac_ct_DLLTOOL" = x; then
                   11308:     DLLTOOL="false"
                   11309:   else
                   11310:     case $cross_compiling:$ac_tool_warned in
                   11311: yes:)
1.237     moko     11312: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   11313: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     11314: ac_tool_warned=yes ;;
                   11315: esac
                   11316:     DLLTOOL=$ac_ct_DLLTOOL
                   11317:   fi
1.128     moko     11318: else
                   11319:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   11320: fi
                   11321: 
                   11322:   if test -n "$ac_tool_prefix"; then
                   11323:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   11324: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.237     moko     11325: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11326: printf %s "checking for $ac_word... " >&6; }
                   11327: if test ${ac_cv_prog_OBJDUMP+y}
                   11328: then :
                   11329:   printf %s "(cached) " >&6
                   11330: else case e in #(
                   11331:   e) if test -n "$OBJDUMP"; then
1.128     moko     11332:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   11333: else
                   11334: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11335: for as_dir in $PATH
                   11336: do
                   11337:   IFS=$as_save_IFS
1.237     moko     11338:   case $as_dir in #(((
                   11339:     '') as_dir=./ ;;
                   11340:     */) ;;
                   11341:     *) as_dir=$as_dir/ ;;
                   11342:   esac
1.150     moko     11343:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     11344:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     11345:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.237     moko     11346:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     11347:     break 2
                   11348:   fi
                   11349: done
1.150     moko     11350:   done
                   11351: IFS=$as_save_IFS
1.128     moko     11352: 
1.237     moko     11353: fi ;;
                   11354: esac
1.128     moko     11355: fi
                   11356: OBJDUMP=$ac_cv_prog_OBJDUMP
                   11357: if test -n "$OBJDUMP"; then
1.237     moko     11358:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   11359: printf "%s\n" "$OBJDUMP" >&6; }
1.128     moko     11360: else
1.237     moko     11361:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11362: printf "%s\n" "no" >&6; }
1.128     moko     11363: fi
                   11364: 
1.150     moko     11365: 
1.128     moko     11366: fi
                   11367: if test -z "$ac_cv_prog_OBJDUMP"; then
                   11368:   ac_ct_OBJDUMP=$OBJDUMP
                   11369:   # Extract the first word of "objdump", so it can be a program name with args.
                   11370: set dummy objdump; ac_word=$2
1.237     moko     11371: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11372: printf %s "checking for $ac_word... " >&6; }
                   11373: if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
                   11374: then :
                   11375:   printf %s "(cached) " >&6
                   11376: else case e in #(
                   11377:   e) if test -n "$ac_ct_OBJDUMP"; then
1.128     moko     11378:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   11379: else
                   11380: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11381: for as_dir in $PATH
                   11382: do
                   11383:   IFS=$as_save_IFS
1.237     moko     11384:   case $as_dir in #(((
                   11385:     '') as_dir=./ ;;
                   11386:     */) ;;
                   11387:     *) as_dir=$as_dir/ ;;
                   11388:   esac
1.150     moko     11389:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     11390:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     11391:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.237     moko     11392:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     11393:     break 2
                   11394:   fi
                   11395: done
1.150     moko     11396:   done
                   11397: IFS=$as_save_IFS
1.128     moko     11398: 
1.237     moko     11399: fi ;;
                   11400: esac
1.128     moko     11401: fi
                   11402: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   11403: if test -n "$ac_ct_OBJDUMP"; then
1.237     moko     11404:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   11405: printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
1.128     moko     11406: else
1.237     moko     11407:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11408: printf "%s\n" "no" >&6; }
1.128     moko     11409: fi
                   11410: 
1.150     moko     11411:   if test "x$ac_ct_OBJDUMP" = x; then
                   11412:     OBJDUMP="false"
                   11413:   else
                   11414:     case $cross_compiling:$ac_tool_warned in
                   11415: yes:)
1.237     moko     11416: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   11417: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     11418: ac_tool_warned=yes ;;
                   11419: esac
                   11420:     OBJDUMP=$ac_ct_OBJDUMP
                   11421:   fi
1.128     moko     11422: else
                   11423:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   11424: fi
                   11425: 
                   11426:   ;;
                   11427: esac
                   11428: 
                   11429: test -z "$AS" && AS=as
                   11430: 
                   11431: 
                   11432: 
                   11433: 
                   11434: 
                   11435: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   11436: 
                   11437: 
                   11438: 
                   11439: 
                   11440: 
                   11441: test -z "$OBJDUMP" && OBJDUMP=objdump
                   11442: 
                   11443: 
                   11444: 
                   11445: 
1.237     moko     11446: # Check whether --enable-pic was given.
                   11447: if test ${enable_pic+y}
                   11448: then :
                   11449:   enableval=$enable_pic; lt_p=${PACKAGE-default}
                   11450:      case $enableval in
                   11451:      yes|no) pic_mode=$enableval ;;
                   11452:      *)
                   11453:        pic_mode=default
                   11454:        # Look at the argument we got.  We use all the common list separators.
                   11455:        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
                   11456:        for lt_pkg in $enableval; do
                   11457:         IFS=$lt_save_ifs
                   11458:         if test "X$lt_pkg" = "X$lt_p"; then
                   11459:           pic_mode=yes
                   11460:         fi
                   11461:        done
                   11462:        IFS=$lt_save_ifs
                   11463:        ;;
                   11464:      esac
                   11465: else case e in #(
                   11466:   e)           # Check whether --with-pic was given.
                   11467: if test ${with_pic+y}
                   11468: then :
1.150     moko     11469:   withval=$with_pic; lt_p=${PACKAGE-default}
1.237     moko     11470:         case $withval in
                   11471:         yes|no) pic_mode=$withval ;;
                   11472:         *)
                   11473:           pic_mode=default
                   11474:           # Look at the argument we got.  We use all the common list separators.
                   11475:           lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
                   11476:           for lt_pkg in $withval; do
                   11477:             IFS=$lt_save_ifs
                   11478:             if test "X$lt_pkg" = "X$lt_p"; then
                   11479:               pic_mode=yes
                   11480:             fi
                   11481:           done
                   11482:           IFS=$lt_save_ifs
                   11483:           ;;
                   11484:         esac
                   11485: else case e in #(
                   11486:   e) pic_mode=no ;;
                   11487: esac
1.150     moko     11488: fi
                   11489: 
1.237     moko     11490:      ;;
                   11491: esac
                   11492: fi
1.145     moko     11493: 
                   11494: 
                   11495: 
                   11496: 
                   11497: 
                   11498: 
                   11499: 
1.128     moko     11500: 
                   11501: 
                   11502: 
                   11503: 
1.150     moko     11504:             # Check whether --enable-shared was given.
1.237     moko     11505: if test ${enable_shared+y}
                   11506: then :
1.150     moko     11507:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     11508:     case $enableval in
                   11509:     yes) enable_shared=yes ;;
                   11510:     no) enable_shared=no ;;
                   11511:     *)
                   11512:       enable_shared=no
                   11513:       # Look at the argument we got.  We use all the common list separators.
1.237     moko     11514:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.128     moko     11515:       for pkg in $enableval; do
1.237     moko     11516:        IFS=$lt_save_ifs
1.128     moko     11517:        if test "X$pkg" = "X$p"; then
                   11518:          enable_shared=yes
                   11519:        fi
                   11520:       done
1.237     moko     11521:       IFS=$lt_save_ifs
1.128     moko     11522:       ;;
                   11523:     esac
1.237     moko     11524: else case e in #(
                   11525:   e) enable_shared=yes ;;
                   11526: esac
1.150     moko     11527: fi
                   11528: 
1.128     moko     11529: 
                   11530: 
                   11531: 
                   11532: 
                   11533: 
                   11534: 
                   11535: 
                   11536: 
1.150     moko     11537:   # Check whether --enable-static was given.
1.237     moko     11538: if test ${enable_static+y}
                   11539: then :
1.150     moko     11540:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     11541:     case $enableval in
                   11542:     yes) enable_static=yes ;;
                   11543:     no) enable_static=no ;;
                   11544:     *)
                   11545:      enable_static=no
                   11546:       # Look at the argument we got.  We use all the common list separators.
1.237     moko     11547:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.138     moko     11548:       for pkg in $enableval; do
1.237     moko     11549:        IFS=$lt_save_ifs
1.138     moko     11550:        if test "X$pkg" = "X$p"; then
                   11551:          enable_static=yes
                   11552:        fi
                   11553:       done
1.237     moko     11554:       IFS=$lt_save_ifs
1.138     moko     11555:       ;;
                   11556:     esac
1.237     moko     11557: else case e in #(
                   11558:   e) enable_static=yes ;;
                   11559: esac
1.150     moko     11560: fi
                   11561: 
1.138     moko     11562: 
                   11563: 
                   11564: 
                   11565: 
                   11566: 
                   11567: 
                   11568: 
1.128     moko     11569: 
                   11570: 
1.150     moko     11571:   # Check whether --enable-fast-install was given.
1.237     moko     11572: if test ${enable_fast_install+y}
                   11573: then :
1.150     moko     11574:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     11575:     case $enableval in
                   11576:     yes) enable_fast_install=yes ;;
                   11577:     no) enable_fast_install=no ;;
                   11578:     *)
                   11579:       enable_fast_install=no
                   11580:       # Look at the argument we got.  We use all the common list separators.
1.237     moko     11581:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.128     moko     11582:       for pkg in $enableval; do
1.237     moko     11583:        IFS=$lt_save_ifs
1.128     moko     11584:        if test "X$pkg" = "X$p"; then
                   11585:          enable_fast_install=yes
                   11586:        fi
                   11587:       done
1.237     moko     11588:       IFS=$lt_save_ifs
1.128     moko     11589:       ;;
                   11590:     esac
1.237     moko     11591: else case e in #(
                   11592:   e) enable_fast_install=yes ;;
                   11593: esac
                   11594: fi
                   11595: 
                   11596: 
                   11597: 
                   11598: 
                   11599: 
                   11600: 
                   11601: 
                   11602: 
                   11603:   shared_archive_member_spec=
                   11604: case $host,$enable_shared in
                   11605: power*-*-aix[5-9]*,yes)
                   11606:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
                   11607: printf %s "checking which variant of shared library versioning to provide... " >&6; }
                   11608:   # Check whether --enable-aix-soname was given.
                   11609: if test ${enable_aix_soname+y}
                   11610: then :
                   11611:   enableval=$enable_aix_soname; case $enableval in
                   11612:      aix|svr4|both)
                   11613:        ;;
                   11614:      *)
                   11615:        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
                   11616:        ;;
                   11617:      esac
                   11618:      lt_cv_with_aix_soname=$enable_aix_soname
                   11619: else case e in #(
                   11620:   e) # Check whether --with-aix-soname was given.
                   11621: if test ${with_aix_soname+y}
                   11622: then :
                   11623:   withval=$with_aix_soname; case $withval in
                   11624:          aix|svr4|both)
                   11625:            ;;
                   11626:          *)
                   11627:            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
                   11628:            ;;
                   11629:          esac
                   11630:          lt_cv_with_aix_soname=$with_aix_soname
                   11631: else case e in #(
                   11632:   e) if test ${lt_cv_with_aix_soname+y}
                   11633: then :
                   11634:   printf %s "(cached) " >&6
                   11635: else case e in #(
                   11636:   e) lt_cv_with_aix_soname=aix ;;
                   11637: esac
                   11638: fi
                   11639:  ;;
                   11640: esac
                   11641: fi
                   11642: 
                   11643:      enable_aix_soname=$lt_cv_with_aix_soname ;;
                   11644: esac
1.150     moko     11645: fi
                   11646: 
1.237     moko     11647:   with_aix_soname=$enable_aix_soname
                   11648:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
                   11649: printf "%s\n" "$with_aix_soname" >&6; }
                   11650:   if test aix != "$with_aix_soname"; then
                   11651:     # For the AIX way of multilib, we name the shared archive member
                   11652:     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
                   11653:     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
                   11654:     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
                   11655:     # the AIX toolchain works better with OBJECT_MODE set (default 32).
                   11656:     if test 64 = "${OBJECT_MODE-32}"; then
                   11657:       shared_archive_member_spec=shr_64
                   11658:     else
                   11659:       shared_archive_member_spec=shr
                   11660:     fi
                   11661:   fi
                   11662:   ;;
                   11663: *)
                   11664:   with_aix_soname=aix
                   11665:   ;;
                   11666: esac
1.128     moko     11667: 
                   11668: 
                   11669: 
                   11670: 
                   11671: 
                   11672: 
                   11673: 
                   11674: 
                   11675: 
                   11676: 
                   11677: # This can be used to rebuild libtool when needed
1.237     moko     11678: LIBTOOL_DEPS=$ltmain
1.128     moko     11679: 
                   11680: # Always use our own libtool.
                   11681: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   11682: 
                   11683: 
                   11684: 
                   11685: 
                   11686: 
                   11687: 
                   11688: 
                   11689: 
                   11690: 
                   11691: 
                   11692: 
                   11693: 
                   11694: 
                   11695: 
                   11696: 
                   11697: 
                   11698: 
                   11699: 
                   11700: 
                   11701: 
                   11702: 
                   11703: 
                   11704: 
                   11705: 
                   11706: 
                   11707: 
                   11708: 
                   11709: 
                   11710: 
                   11711: 
                   11712: test -z "$LN_S" && LN_S="ln -s"
                   11713: 
                   11714: 
                   11715: 
                   11716: 
                   11717: 
                   11718: 
                   11719: 
                   11720: 
                   11721: 
                   11722: 
                   11723: 
                   11724: 
                   11725: 
                   11726: 
1.237     moko     11727: if test -n "${ZSH_VERSION+set}"; then
1.128     moko     11728:    setopt NO_GLOB_SUBST
                   11729: fi
                   11730: 
1.237     moko     11731: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   11732: printf %s "checking for objdir... " >&6; }
                   11733: if test ${lt_cv_objdir+y}
                   11734: then :
                   11735:   printf %s "(cached) " >&6
                   11736: else case e in #(
                   11737:   e) rm -f .libs 2>/dev/null
1.128     moko     11738: mkdir .libs 2>/dev/null
                   11739: if test -d .libs; then
                   11740:   lt_cv_objdir=.libs
                   11741: else
                   11742:   # MS-DOS does not allow filenames that begin with a dot.
                   11743:   lt_cv_objdir=_libs
                   11744: fi
1.237     moko     11745: rmdir .libs 2>/dev/null ;;
                   11746: esac
1.128     moko     11747: fi
1.237     moko     11748: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   11749: printf "%s\n" "$lt_cv_objdir" >&6; }
1.128     moko     11750: objdir=$lt_cv_objdir
                   11751: 
                   11752: 
                   11753: 
                   11754: 
                   11755: 
1.237     moko     11756: printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
1.128     moko     11757: 
                   11758: 
                   11759: 
                   11760: 
                   11761: case $host_os in
                   11762: aix3*)
                   11763:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   11764:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   11765:   # vanish in a puff of smoke.
1.237     moko     11766:   if test set != "${COLLECT_NAMES+set}"; then
1.128     moko     11767:     COLLECT_NAMES=
                   11768:     export COLLECT_NAMES
                   11769:   fi
                   11770:   ;;
                   11771: esac
                   11772: 
                   11773: # Global variables:
                   11774: ofile=libtool
                   11775: can_build_shared=yes
                   11776: 
1.237     moko     11777: # All known linkers require a '.a' archive for static linking (except MSVC and
                   11778: # ICC, which need '.lib').
1.128     moko     11779: libext=a
                   11780: 
1.237     moko     11781: with_gnu_ld=$lt_cv_prog_gnu_ld
1.128     moko     11782: 
1.237     moko     11783: old_CC=$CC
                   11784: old_CFLAGS=$CFLAGS
1.128     moko     11785: 
                   11786: # Set sane defaults for various variables
                   11787: test -z "$CC" && CC=cc
                   11788: test -z "$LTCC" && LTCC=$CC
                   11789: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   11790: test -z "$LD" && LD=ld
                   11791: test -z "$ac_objext" && ac_objext=o
                   11792: 
1.237     moko     11793: func_cc_basename $compiler
                   11794: cc_basename=$func_cc_basename_result
1.128     moko     11795: 
                   11796: 
                   11797: # Only perform the check for file, if the check method requires it
                   11798: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   11799: case $deplibs_check_method in
                   11800: file_magic*)
                   11801:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.237     moko     11802:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   11803: printf %s "checking for ${ac_tool_prefix}file... " >&6; }
                   11804: if test ${lt_cv_path_MAGIC_CMD+y}
                   11805: then :
                   11806:   printf %s "(cached) " >&6
                   11807: else case e in #(
                   11808:   e) case $MAGIC_CMD in
1.128     moko     11809: [\\/*] |  ?:[\\/]*)
1.237     moko     11810:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1.128     moko     11811:   ;;
                   11812: *)
1.237     moko     11813:   lt_save_MAGIC_CMD=$MAGIC_CMD
                   11814:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     11815:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   11816:   for ac_dir in $ac_dummy; do
1.237     moko     11817:     IFS=$lt_save_ifs
1.128     moko     11818:     test -z "$ac_dir" && ac_dir=.
1.237     moko     11819:     if test -f "$ac_dir/${ac_tool_prefix}file"; then
                   11820:       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
1.128     moko     11821:       if test -n "$file_magic_test_file"; then
                   11822:        case $deplibs_check_method in
                   11823:        "file_magic "*)
                   11824:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.237     moko     11825:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.128     moko     11826:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   11827:            $EGREP "$file_magic_regex" > /dev/null; then
                   11828:            :
                   11829:          else
                   11830:            cat <<_LT_EOF 1>&2
                   11831: 
                   11832: *** Warning: the command libtool uses to detect shared libraries,
                   11833: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   11834: *** The result is that libtool may fail to recognize shared libraries
                   11835: *** as such.  This will affect the creation of libtool libraries that
                   11836: *** depend on shared libraries, but programs linked with such libtool
                   11837: *** libraries will work regardless of this problem.  Nevertheless, you
                   11838: *** may want to report the problem to your system manager and/or to
                   11839: *** bug-libtool@gnu.org
                   11840: 
                   11841: _LT_EOF
                   11842:          fi ;;
                   11843:        esac
                   11844:       fi
                   11845:       break
                   11846:     fi
                   11847:   done
1.237     moko     11848:   IFS=$lt_save_ifs
                   11849:   MAGIC_CMD=$lt_save_MAGIC_CMD
1.128     moko     11850:   ;;
1.237     moko     11851: esac ;;
1.128     moko     11852: esac
                   11853: fi
                   11854: 
1.237     moko     11855: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.128     moko     11856: if test -n "$MAGIC_CMD"; then
1.237     moko     11857:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   11858: printf "%s\n" "$MAGIC_CMD" >&6; }
1.128     moko     11859: else
1.237     moko     11860:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11861: printf "%s\n" "no" >&6; }
1.128     moko     11862: fi
                   11863: 
                   11864: 
                   11865: 
                   11866: 
                   11867: 
                   11868: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   11869:   if test -n "$ac_tool_prefix"; then
1.237     moko     11870:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   11871: printf %s "checking for file... " >&6; }
                   11872: if test ${lt_cv_path_MAGIC_CMD+y}
                   11873: then :
                   11874:   printf %s "(cached) " >&6
                   11875: else case e in #(
                   11876:   e) case $MAGIC_CMD in
1.128     moko     11877: [\\/*] |  ?:[\\/]*)
1.237     moko     11878:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1.128     moko     11879:   ;;
                   11880: *)
1.237     moko     11881:   lt_save_MAGIC_CMD=$MAGIC_CMD
                   11882:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     11883:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   11884:   for ac_dir in $ac_dummy; do
1.237     moko     11885:     IFS=$lt_save_ifs
1.128     moko     11886:     test -z "$ac_dir" && ac_dir=.
1.237     moko     11887:     if test -f "$ac_dir/file"; then
                   11888:       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
1.128     moko     11889:       if test -n "$file_magic_test_file"; then
                   11890:        case $deplibs_check_method in
                   11891:        "file_magic "*)
                   11892:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.237     moko     11893:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.128     moko     11894:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   11895:            $EGREP "$file_magic_regex" > /dev/null; then
                   11896:            :
                   11897:          else
                   11898:            cat <<_LT_EOF 1>&2
                   11899: 
                   11900: *** Warning: the command libtool uses to detect shared libraries,
                   11901: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   11902: *** The result is that libtool may fail to recognize shared libraries
                   11903: *** as such.  This will affect the creation of libtool libraries that
                   11904: *** depend on shared libraries, but programs linked with such libtool
                   11905: *** libraries will work regardless of this problem.  Nevertheless, you
                   11906: *** may want to report the problem to your system manager and/or to
                   11907: *** bug-libtool@gnu.org
                   11908: 
                   11909: _LT_EOF
                   11910:          fi ;;
                   11911:        esac
                   11912:       fi
                   11913:       break
                   11914:     fi
                   11915:   done
1.237     moko     11916:   IFS=$lt_save_ifs
                   11917:   MAGIC_CMD=$lt_save_MAGIC_CMD
1.128     moko     11918:   ;;
1.237     moko     11919: esac ;;
1.128     moko     11920: esac
                   11921: fi
                   11922: 
1.237     moko     11923: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.128     moko     11924: if test -n "$MAGIC_CMD"; then
1.237     moko     11925:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   11926: printf "%s\n" "$MAGIC_CMD" >&6; }
1.128     moko     11927: else
1.237     moko     11928:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11929: printf "%s\n" "no" >&6; }
1.128     moko     11930: fi
                   11931: 
                   11932: 
                   11933:   else
                   11934:     MAGIC_CMD=:
                   11935:   fi
                   11936: fi
                   11937: 
                   11938:   fi
                   11939:   ;;
                   11940: esac
                   11941: 
                   11942: # Use C for the default configuration in the libtool script
                   11943: 
1.237     moko     11944: lt_save_CC=$CC
1.128     moko     11945: ac_ext=c
                   11946: ac_cpp='$CPP $CPPFLAGS'
                   11947: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11948: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11949: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11950: 
                   11951: 
                   11952: # Source file extension for C test sources.
                   11953: ac_ext=c
                   11954: 
                   11955: # Object file extension for compiled C test sources.
                   11956: objext=o
                   11957: objext=$objext
                   11958: 
                   11959: # Code to be used in simple compile tests
                   11960: lt_simple_compile_test_code="int some_variable = 0;"
                   11961: 
                   11962: # Code to be used in simple link tests
1.237     moko     11963: lt_simple_link_test_code='int main(void){return(0);}'
1.128     moko     11964: 
                   11965: 
                   11966: 
                   11967: 
                   11968: 
                   11969: 
                   11970: 
                   11971: # If no C compiler was specified, use CC.
                   11972: LTCC=${LTCC-"$CC"}
                   11973: 
                   11974: # If no C compiler flags were specified, use CFLAGS.
                   11975: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   11976: 
                   11977: # Allow CC to be a program name with arguments.
                   11978: compiler=$CC
                   11979: 
                   11980: # Save the default compiler, since it gets overwritten when the other
                   11981: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   11982: compiler_DEFAULT=$CC
                   11983: 
                   11984: # save warnings/boilerplate of simple test code
                   11985: ac_outfile=conftest.$ac_objext
                   11986: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   11987: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   11988: _lt_compiler_boilerplate=`cat conftest.err`
                   11989: $RM conftest*
                   11990: 
                   11991: ac_outfile=conftest.$ac_objext
                   11992: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   11993: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   11994: _lt_linker_boilerplate=`cat conftest.err`
                   11995: $RM -r conftest*
                   11996: 
                   11997: 
                   11998: ## CAVEAT EMPTOR:
                   11999: ## There is no encapsulation within the following macros, do not change
                   12000: ## the running order or otherwise move them around unless you know exactly
                   12001: ## what you are doing...
                   12002: if test -n "$compiler"; then
                   12003: 
                   12004: lt_prog_compiler_no_builtin_flag=
                   12005: 
1.237     moko     12006: if test yes = "$GCC"; then
1.128     moko     12007:   case $cc_basename in
                   12008:   nvcc*)
                   12009:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   12010:   *)
                   12011:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   12012:   esac
                   12013: 
1.237     moko     12014:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   12015: printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   12016: if test ${lt_cv_prog_compiler_rtti_exceptions+y}
                   12017: then :
                   12018:   printf %s "(cached) " >&6
                   12019: else case e in #(
                   12020:   e) lt_cv_prog_compiler_rtti_exceptions=no
1.128     moko     12021:    ac_outfile=conftest.$ac_objext
                   12022:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.237     moko     12023:    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
1.128     moko     12024:    # Insert the option either (1) after the last *FLAGS variable, or
                   12025:    # (2) before a word containing "conftest.", or (3) at the end.
                   12026:    # Note that $ac_compile itself does not contain backslashes and begins
                   12027:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   12028:    # The option is referenced via a variable to avoid confusing sed.
                   12029:    lt_compile=`echo "$ac_compile" | $SED \
                   12030:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   12031:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   12032:    -e 's:$: $lt_compiler_flag:'`
                   12033:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   12034:    (eval "$lt_compile" 2>conftest.err)
                   12035:    ac_status=$?
                   12036:    cat conftest.err >&5
                   12037:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12038:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   12039:      # The compiler can only warn and ignore the option if not recognized
                   12040:      # So say no if there are warnings other than the usual output.
                   12041:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   12042:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   12043:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   12044:        lt_cv_prog_compiler_rtti_exceptions=yes
                   12045:      fi
                   12046:    fi
                   12047:    $RM conftest*
1.237     moko     12048:  ;;
                   12049: esac
1.128     moko     12050: fi
1.237     moko     12051: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   12052: printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     12053: 
1.237     moko     12054: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
1.128     moko     12055:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   12056: else
                   12057:     :
                   12058: fi
                   12059: 
                   12060: fi
                   12061: 
                   12062: 
                   12063: 
                   12064: 
                   12065: 
                   12066: 
                   12067:   lt_prog_compiler_wl=
                   12068: lt_prog_compiler_pic=
                   12069: lt_prog_compiler_static=
                   12070: 
                   12071: 
1.237     moko     12072:   if test yes = "$GCC"; then
1.128     moko     12073:     lt_prog_compiler_wl='-Wl,'
                   12074:     lt_prog_compiler_static='-static'
                   12075: 
                   12076:     case $host_os in
                   12077:       aix*)
                   12078:       # All AIX code is PIC.
1.237     moko     12079:       if test ia64 = "$host_cpu"; then
1.128     moko     12080:        # AIX 5 now supports IA64 processor
                   12081:        lt_prog_compiler_static='-Bstatic'
                   12082:       fi
1.237     moko     12083:       lt_prog_compiler_pic='-fPIC'
1.128     moko     12084:       ;;
                   12085: 
                   12086:     amigaos*)
                   12087:       case $host_cpu in
                   12088:       powerpc)
                   12089:             # see comment about AmigaOS4 .so support
                   12090:             lt_prog_compiler_pic='-fPIC'
                   12091:         ;;
                   12092:       m68k)
                   12093:             # FIXME: we need at least 68020 code to build shared libraries, but
1.237     moko     12094:             # adding the '-m68020' flag to GCC prevents building anything better,
                   12095:             # like '-m68040'.
1.128     moko     12096:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   12097:         ;;
                   12098:       esac
                   12099:       ;;
                   12100: 
                   12101:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   12102:       # PIC is the default for these OSes.
                   12103:       ;;
                   12104: 
1.237     moko     12105:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
1.128     moko     12106:       # This hack is so that the source file can tell whether it is being
                   12107:       # built for inclusion in a dll (and should export symbols for example).
                   12108:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   12109:       # (--disable-auto-import) libraries
                   12110:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.237     moko     12111:       case $host_os in
                   12112:       os2*)
                   12113:        lt_prog_compiler_static='$wl-static'
                   12114:        ;;
                   12115:       esac
1.128     moko     12116:       ;;
                   12117: 
                   12118:     darwin* | rhapsody*)
                   12119:       # PIC is the default on this platform
                   12120:       # Common symbols not allowed in MH_DYLIB files
                   12121:       lt_prog_compiler_pic='-fno-common'
                   12122:       ;;
                   12123: 
                   12124:     haiku*)
                   12125:       # PIC is the default for Haiku.
                   12126:       # The "-static" flag exists, but is broken.
                   12127:       lt_prog_compiler_static=
                   12128:       ;;
                   12129: 
                   12130:     hpux*)
                   12131:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   12132:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   12133:       # sets the default TLS model and affects inlining.
                   12134:       case $host_cpu in
                   12135:       hppa*64*)
                   12136:        # +Z the default
                   12137:        ;;
                   12138:       *)
                   12139:        lt_prog_compiler_pic='-fPIC'
                   12140:        ;;
                   12141:       esac
                   12142:       ;;
                   12143: 
                   12144:     interix[3-9]*)
                   12145:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   12146:       # Instead, we relocate shared libraries at runtime.
                   12147:       ;;
                   12148: 
                   12149:     msdosdjgpp*)
                   12150:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   12151:       # on systems that don't support them.
                   12152:       lt_prog_compiler_can_build_shared=no
                   12153:       enable_shared=no
                   12154:       ;;
                   12155: 
                   12156:     *nto* | *qnx*)
                   12157:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   12158:       # it will coredump.
                   12159:       lt_prog_compiler_pic='-fPIC -shared'
                   12160:       ;;
                   12161: 
                   12162:     sysv4*MP*)
                   12163:       if test -d /usr/nec; then
                   12164:        lt_prog_compiler_pic=-Kconform_pic
                   12165:       fi
                   12166:       ;;
                   12167: 
                   12168:     *)
                   12169:       lt_prog_compiler_pic='-fPIC'
                   12170:       ;;
                   12171:     esac
                   12172: 
                   12173:     case $cc_basename in
                   12174:     nvcc*) # Cuda Compiler Driver 2.2
                   12175:       lt_prog_compiler_wl='-Xlinker '
                   12176:       if test -n "$lt_prog_compiler_pic"; then
                   12177:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   12178:       fi
                   12179:       ;;
                   12180:     esac
                   12181:   else
                   12182:     # PORTME Check for flag to pass linker flags through the system compiler.
                   12183:     case $host_os in
                   12184:     aix*)
                   12185:       lt_prog_compiler_wl='-Wl,'
1.237     moko     12186:       if test ia64 = "$host_cpu"; then
1.128     moko     12187:        # AIX 5 now supports IA64 processor
                   12188:        lt_prog_compiler_static='-Bstatic'
                   12189:       else
                   12190:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   12191:       fi
                   12192:       ;;
                   12193: 
1.237     moko     12194:     darwin* | rhapsody*)
                   12195:       # PIC is the default on this platform
                   12196:       # Common symbols not allowed in MH_DYLIB files
                   12197:       lt_prog_compiler_pic='-fno-common'
                   12198:       case $cc_basename in
                   12199:       nagfor*)
                   12200:         # NAG Fortran compiler
                   12201:         lt_prog_compiler_wl='-Wl,-Wl,,'
                   12202:         lt_prog_compiler_pic='-PIC'
                   12203:         lt_prog_compiler_static='-Bstatic'
                   12204:         ;;
                   12205:       esac
                   12206:       ;;
                   12207: 
                   12208:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
1.128     moko     12209:       # This hack is so that the source file can tell whether it is being
                   12210:       # built for inclusion in a dll (and should export symbols for example).
                   12211:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.237     moko     12212:       case $host_os in
                   12213:       os2*)
                   12214:        lt_prog_compiler_static='$wl-static'
                   12215:        ;;
                   12216:       esac
1.128     moko     12217:       ;;
                   12218: 
                   12219:     hpux9* | hpux10* | hpux11*)
                   12220:       lt_prog_compiler_wl='-Wl,'
                   12221:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   12222:       # not for PA HP-UX.
                   12223:       case $host_cpu in
                   12224:       hppa*64*|ia64*)
                   12225:        # +Z the default
                   12226:        ;;
                   12227:       *)
                   12228:        lt_prog_compiler_pic='+Z'
                   12229:        ;;
                   12230:       esac
                   12231:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.237     moko     12232:       lt_prog_compiler_static='$wl-a ${wl}archive'
1.128     moko     12233:       ;;
                   12234: 
                   12235:     irix5* | irix6* | nonstopux*)
                   12236:       lt_prog_compiler_wl='-Wl,'
                   12237:       # PIC (with -KPIC) is the default.
                   12238:       lt_prog_compiler_static='-non_shared'
                   12239:       ;;
                   12240: 
1.237     moko     12241:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     12242:       case $cc_basename in
1.237     moko     12243:       # old Intel for x86_64, which still supported -KPIC.
1.128     moko     12244:       ecc*)
                   12245:        lt_prog_compiler_wl='-Wl,'
                   12246:        lt_prog_compiler_pic='-KPIC'
                   12247:        lt_prog_compiler_static='-static'
                   12248:         ;;
1.237     moko     12249:       *flang* | ftn | f18* | f95*)
                   12250:         # Flang compiler.
                   12251:        lt_prog_compiler_wl='-Wl,'
                   12252:        lt_prog_compiler_pic='-fPIC'
                   12253:        lt_prog_compiler_static='-static'
                   12254:         ;;
                   12255:       # flang / f18. f95 an alias for gfortran or flang on Debian
                   12256:       flang* | f18* | f95*)
                   12257:        lt_prog_compiler_wl='-Wl,'
                   12258:        lt_prog_compiler_pic='-fPIC'
                   12259:        lt_prog_compiler_static='-static'
                   12260:         ;;
1.128     moko     12261:       # icc used to be incompatible with GCC.
                   12262:       # ICC 10 doesn't accept -KPIC any more.
                   12263:       icc* | ifort*)
                   12264:        lt_prog_compiler_wl='-Wl,'
                   12265:        lt_prog_compiler_pic='-fPIC'
                   12266:        lt_prog_compiler_static='-static'
                   12267:         ;;
                   12268:       # Lahey Fortran 8.1.
                   12269:       lf95*)
                   12270:        lt_prog_compiler_wl='-Wl,'
                   12271:        lt_prog_compiler_pic='--shared'
                   12272:        lt_prog_compiler_static='--static'
                   12273:        ;;
                   12274:       nagfor*)
                   12275:        # NAG Fortran compiler
                   12276:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   12277:        lt_prog_compiler_pic='-PIC'
                   12278:        lt_prog_compiler_static='-Bstatic'
                   12279:        ;;
1.237     moko     12280:       tcc*)
                   12281:        # Fabrice Bellard et al's Tiny C Compiler
                   12282:        lt_prog_compiler_wl='-Wl,'
                   12283:        lt_prog_compiler_pic='-fPIC'
                   12284:        lt_prog_compiler_static='-static'
                   12285:        ;;
1.128     moko     12286:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   12287:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   12288:        # which looks to be a dead project)
                   12289:        lt_prog_compiler_wl='-Wl,'
                   12290:        lt_prog_compiler_pic='-fpic'
                   12291:        lt_prog_compiler_static='-Bstatic'
                   12292:         ;;
                   12293:       ccc*)
                   12294:         lt_prog_compiler_wl='-Wl,'
                   12295:         # All Alpha code is PIC.
                   12296:         lt_prog_compiler_static='-non_shared'
                   12297:         ;;
                   12298:       xl* | bgxl* | bgf* | mpixl*)
                   12299:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   12300:        lt_prog_compiler_wl='-Wl,'
                   12301:        lt_prog_compiler_pic='-qpic'
                   12302:        lt_prog_compiler_static='-qstaticlink'
                   12303:        ;;
                   12304:       *)
1.237     moko     12305:        case `$CC -V 2>&1 | $SED 5q` in
1.128     moko     12306:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   12307:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   12308:          lt_prog_compiler_pic='-KPIC'
                   12309:          lt_prog_compiler_static='-Bstatic'
                   12310:          lt_prog_compiler_wl=''
                   12311:          ;;
                   12312:        *Sun\ F* | *Sun*Fortran*)
                   12313:          lt_prog_compiler_pic='-KPIC'
                   12314:          lt_prog_compiler_static='-Bstatic'
                   12315:          lt_prog_compiler_wl='-Qoption ld '
                   12316:          ;;
                   12317:        *Sun\ C*)
                   12318:          # Sun C 5.9
                   12319:          lt_prog_compiler_pic='-KPIC'
                   12320:          lt_prog_compiler_static='-Bstatic'
                   12321:          lt_prog_compiler_wl='-Wl,'
                   12322:          ;;
                   12323:         *Intel*\ [CF]*Compiler*)
                   12324:          lt_prog_compiler_wl='-Wl,'
                   12325:          lt_prog_compiler_pic='-fPIC'
                   12326:          lt_prog_compiler_static='-static'
                   12327:          ;;
                   12328:        *Portland\ Group*)
                   12329:          lt_prog_compiler_wl='-Wl,'
                   12330:          lt_prog_compiler_pic='-fpic'
                   12331:          lt_prog_compiler_static='-Bstatic'
                   12332:          ;;
                   12333:        esac
                   12334:        ;;
                   12335:       esac
                   12336:       ;;
                   12337: 
                   12338:     newsos6)
                   12339:       lt_prog_compiler_pic='-KPIC'
                   12340:       lt_prog_compiler_static='-Bstatic'
                   12341:       ;;
                   12342: 
1.237     moko     12343:     *-mlibc)
                   12344:       lt_prog_compiler_wl='-Wl,'
                   12345:       lt_prog_compiler_pic='-fPIC'
                   12346:       lt_prog_compiler_static='-static'
                   12347:       ;;
                   12348: 
1.128     moko     12349:     *nto* | *qnx*)
                   12350:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   12351:       # it will coredump.
                   12352:       lt_prog_compiler_pic='-fPIC -shared'
                   12353:       ;;
                   12354: 
                   12355:     osf3* | osf4* | osf5*)
                   12356:       lt_prog_compiler_wl='-Wl,'
                   12357:       # All OSF/1 code is PIC.
                   12358:       lt_prog_compiler_static='-non_shared'
                   12359:       ;;
                   12360: 
                   12361:     rdos*)
                   12362:       lt_prog_compiler_static='-non_shared'
                   12363:       ;;
                   12364: 
1.237     moko     12365:     serenity*)
                   12366:       ;;
                   12367: 
1.128     moko     12368:     solaris*)
                   12369:       lt_prog_compiler_pic='-KPIC'
                   12370:       lt_prog_compiler_static='-Bstatic'
                   12371:       case $cc_basename in
                   12372:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   12373:        lt_prog_compiler_wl='-Qoption ld ';;
                   12374:       *)
                   12375:        lt_prog_compiler_wl='-Wl,';;
                   12376:       esac
                   12377:       ;;
                   12378: 
                   12379:     sunos4*)
                   12380:       lt_prog_compiler_wl='-Qoption ld '
                   12381:       lt_prog_compiler_pic='-PIC'
                   12382:       lt_prog_compiler_static='-Bstatic'
                   12383:       ;;
                   12384: 
                   12385:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   12386:       lt_prog_compiler_wl='-Wl,'
                   12387:       lt_prog_compiler_pic='-KPIC'
                   12388:       lt_prog_compiler_static='-Bstatic'
                   12389:       ;;
                   12390: 
                   12391:     sysv4*MP*)
1.237     moko     12392:       if test -d /usr/nec; then
1.128     moko     12393:        lt_prog_compiler_pic='-Kconform_pic'
                   12394:        lt_prog_compiler_static='-Bstatic'
                   12395:       fi
                   12396:       ;;
                   12397: 
                   12398:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   12399:       lt_prog_compiler_wl='-Wl,'
                   12400:       lt_prog_compiler_pic='-KPIC'
                   12401:       lt_prog_compiler_static='-Bstatic'
                   12402:       ;;
                   12403: 
                   12404:     unicos*)
                   12405:       lt_prog_compiler_wl='-Wl,'
                   12406:       lt_prog_compiler_can_build_shared=no
                   12407:       ;;
                   12408: 
                   12409:     uts4*)
                   12410:       lt_prog_compiler_pic='-pic'
                   12411:       lt_prog_compiler_static='-Bstatic'
                   12412:       ;;
                   12413: 
                   12414:     *)
                   12415:       lt_prog_compiler_can_build_shared=no
                   12416:       ;;
                   12417:     esac
                   12418:   fi
                   12419: 
                   12420: case $host_os in
1.237     moko     12421:   # For platforms that do not support PIC, -DPIC is meaningless:
1.128     moko     12422:   *djgpp*)
                   12423:     lt_prog_compiler_pic=
                   12424:     ;;
                   12425:   *)
                   12426:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   12427:     ;;
                   12428: esac
                   12429: 
1.237     moko     12430: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   12431: printf %s "checking for $compiler option to produce PIC... " >&6; }
                   12432: if test ${lt_cv_prog_compiler_pic+y}
                   12433: then :
                   12434:   printf %s "(cached) " >&6
                   12435: else case e in #(
                   12436:   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
                   12437: esac
1.128     moko     12438: fi
1.237     moko     12439: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   12440: printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     12441: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   12442: 
                   12443: #
                   12444: # Check to make sure the PIC flag actually works.
                   12445: #
                   12446: if test -n "$lt_prog_compiler_pic"; then
1.237     moko     12447:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   12448: printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   12449: if test ${lt_cv_prog_compiler_pic_works+y}
                   12450: then :
                   12451:   printf %s "(cached) " >&6
                   12452: else case e in #(
                   12453:   e) lt_cv_prog_compiler_pic_works=no
1.128     moko     12454:    ac_outfile=conftest.$ac_objext
                   12455:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.237     moko     12456:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
1.128     moko     12457:    # Insert the option either (1) after the last *FLAGS variable, or
                   12458:    # (2) before a word containing "conftest.", or (3) at the end.
                   12459:    # Note that $ac_compile itself does not contain backslashes and begins
                   12460:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   12461:    # The option is referenced via a variable to avoid confusing sed.
                   12462:    lt_compile=`echo "$ac_compile" | $SED \
                   12463:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   12464:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   12465:    -e 's:$: $lt_compiler_flag:'`
                   12466:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   12467:    (eval "$lt_compile" 2>conftest.err)
                   12468:    ac_status=$?
                   12469:    cat conftest.err >&5
                   12470:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12471:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   12472:      # The compiler can only warn and ignore the option if not recognized
                   12473:      # So say no if there are warnings other than the usual output.
                   12474:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   12475:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   12476:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   12477:        lt_cv_prog_compiler_pic_works=yes
                   12478:      fi
                   12479:    fi
                   12480:    $RM conftest*
1.237     moko     12481:  ;;
                   12482: esac
1.128     moko     12483: fi
1.237     moko     12484: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   12485: printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     12486: 
1.237     moko     12487: if test yes = "$lt_cv_prog_compiler_pic_works"; then
1.128     moko     12488:     case $lt_prog_compiler_pic in
                   12489:      "" | " "*) ;;
                   12490:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   12491:      esac
                   12492: else
                   12493:     lt_prog_compiler_pic=
                   12494:      lt_prog_compiler_can_build_shared=no
                   12495: fi
                   12496: 
                   12497: fi
                   12498: 
                   12499: 
                   12500: 
                   12501: 
                   12502: 
                   12503: 
                   12504: 
                   12505: 
                   12506: 
                   12507: 
                   12508: 
                   12509: #
                   12510: # Check to make sure the static flag actually works.
                   12511: #
                   12512: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.237     moko     12513: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   12514: printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   12515: if test ${lt_cv_prog_compiler_static_works+y}
                   12516: then :
                   12517:   printf %s "(cached) " >&6
                   12518: else case e in #(
                   12519:   e) lt_cv_prog_compiler_static_works=no
                   12520:    save_LDFLAGS=$LDFLAGS
1.128     moko     12521:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   12522:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   12523:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   12524:      # The linker can only warn and ignore the option if not recognized
                   12525:      # So say no if there are warnings
                   12526:      if test -s conftest.err; then
                   12527:        # Append any errors to the config.log.
                   12528:        cat conftest.err 1>&5
                   12529:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   12530:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   12531:        if diff conftest.exp conftest.er2 >/dev/null; then
                   12532:          lt_cv_prog_compiler_static_works=yes
                   12533:        fi
                   12534:      else
                   12535:        lt_cv_prog_compiler_static_works=yes
                   12536:      fi
                   12537:    fi
                   12538:    $RM -r conftest*
1.237     moko     12539:    LDFLAGS=$save_LDFLAGS
                   12540:  ;;
                   12541: esac
1.128     moko     12542: fi
1.237     moko     12543: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   12544: printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     12545: 
1.237     moko     12546: if test yes = "$lt_cv_prog_compiler_static_works"; then
1.128     moko     12547:     :
                   12548: else
                   12549:     lt_prog_compiler_static=
                   12550: fi
                   12551: 
                   12552: 
                   12553: 
                   12554: 
                   12555: 
                   12556: 
                   12557: 
1.237     moko     12558:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   12559: printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   12560: if test ${lt_cv_prog_compiler_c_o+y}
                   12561: then :
                   12562:   printf %s "(cached) " >&6
                   12563: else case e in #(
                   12564:   e) lt_cv_prog_compiler_c_o=no
1.128     moko     12565:    $RM -r conftest 2>/dev/null
                   12566:    mkdir conftest
                   12567:    cd conftest
                   12568:    mkdir out
                   12569:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   12570: 
                   12571:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   12572:    # Insert the option either (1) after the last *FLAGS variable, or
                   12573:    # (2) before a word containing "conftest.", or (3) at the end.
                   12574:    # Note that $ac_compile itself does not contain backslashes and begins
                   12575:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   12576:    lt_compile=`echo "$ac_compile" | $SED \
                   12577:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   12578:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   12579:    -e 's:$: $lt_compiler_flag:'`
                   12580:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   12581:    (eval "$lt_compile" 2>out/conftest.err)
                   12582:    ac_status=$?
                   12583:    cat out/conftest.err >&5
                   12584:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12585:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   12586:    then
                   12587:      # The compiler can only warn and ignore the option if not recognized
                   12588:      # So say no if there are warnings
                   12589:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   12590:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   12591:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   12592:        lt_cv_prog_compiler_c_o=yes
                   12593:      fi
                   12594:    fi
                   12595:    chmod u+w . 2>&5
                   12596:    $RM conftest*
                   12597:    # SGI C++ compiler will create directory out/ii_files/ for
                   12598:    # template instantiation
                   12599:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   12600:    $RM out/* && rmdir out
                   12601:    cd ..
                   12602:    $RM -r conftest
                   12603:    $RM conftest*
1.237     moko     12604:  ;;
                   12605: esac
1.128     moko     12606: fi
1.237     moko     12607: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   12608: printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     12609: 
                   12610: 
                   12611: 
                   12612: 
                   12613: 
                   12614: 
1.237     moko     12615:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   12616: printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   12617: if test ${lt_cv_prog_compiler_c_o+y}
                   12618: then :
                   12619:   printf %s "(cached) " >&6
                   12620: else case e in #(
                   12621:   e) lt_cv_prog_compiler_c_o=no
1.128     moko     12622:    $RM -r conftest 2>/dev/null
                   12623:    mkdir conftest
                   12624:    cd conftest
                   12625:    mkdir out
                   12626:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   12627: 
                   12628:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   12629:    # Insert the option either (1) after the last *FLAGS variable, or
                   12630:    # (2) before a word containing "conftest.", or (3) at the end.
                   12631:    # Note that $ac_compile itself does not contain backslashes and begins
                   12632:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   12633:    lt_compile=`echo "$ac_compile" | $SED \
                   12634:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   12635:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   12636:    -e 's:$: $lt_compiler_flag:'`
                   12637:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   12638:    (eval "$lt_compile" 2>out/conftest.err)
                   12639:    ac_status=$?
                   12640:    cat out/conftest.err >&5
                   12641:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12642:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   12643:    then
                   12644:      # The compiler can only warn and ignore the option if not recognized
                   12645:      # So say no if there are warnings
                   12646:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   12647:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   12648:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   12649:        lt_cv_prog_compiler_c_o=yes
                   12650:      fi
                   12651:    fi
                   12652:    chmod u+w . 2>&5
                   12653:    $RM conftest*
                   12654:    # SGI C++ compiler will create directory out/ii_files/ for
                   12655:    # template instantiation
                   12656:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   12657:    $RM out/* && rmdir out
                   12658:    cd ..
                   12659:    $RM -r conftest
                   12660:    $RM conftest*
1.237     moko     12661:  ;;
                   12662: esac
1.128     moko     12663: fi
1.237     moko     12664: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   12665: printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     12666: 
                   12667: 
                   12668: 
                   12669: 
1.237     moko     12670: hard_links=nottested
                   12671: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
1.128     moko     12672:   # do not overwrite the value of need_locks provided by the user
1.237     moko     12673:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   12674: printf %s "checking if we can lock with hard links... " >&6; }
1.128     moko     12675:   hard_links=yes
                   12676:   $RM conftest*
                   12677:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   12678:   touch conftest.a
                   12679:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   12680:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.237     moko     12681:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   12682: printf "%s\n" "$hard_links" >&6; }
                   12683:   if test no = "$hard_links"; then
                   12684:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
                   12685: printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
1.128     moko     12686:     need_locks=warn
                   12687:   fi
                   12688: else
                   12689:   need_locks=no
                   12690: fi
                   12691: 
                   12692: 
                   12693: 
                   12694: 
                   12695: 
                   12696: 
1.237     moko     12697:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12698: printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     12699: 
                   12700:   runpath_var=
                   12701:   allow_undefined_flag=
                   12702:   always_export_symbols=no
                   12703:   archive_cmds=
                   12704:   archive_expsym_cmds=
                   12705:   compiler_needs_object=no
                   12706:   enable_shared_with_static_runtimes=no
                   12707:   export_dynamic_flag_spec=
                   12708:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   12709:   hardcode_automatic=no
                   12710:   hardcode_direct=no
                   12711:   hardcode_direct_absolute=no
                   12712:   hardcode_libdir_flag_spec=
                   12713:   hardcode_libdir_separator=
                   12714:   hardcode_minus_L=no
                   12715:   hardcode_shlibpath_var=unsupported
                   12716:   inherit_rpath=no
                   12717:   link_all_deplibs=unknown
                   12718:   module_cmds=
                   12719:   module_expsym_cmds=
                   12720:   old_archive_from_new_cmds=
                   12721:   old_archive_from_expsyms_cmds=
                   12722:   thread_safe_flag_spec=
                   12723:   whole_archive_flag_spec=
                   12724:   # include_expsyms should be a list of space-separated symbols to be *always*
                   12725:   # included in the symbol list
                   12726:   include_expsyms=
                   12727:   # exclude_expsyms can be an extended regexp of symbols to exclude
1.237     moko     12728:   # it will be wrapped by ' (' and ')$', so one must not match beginning or
                   12729:   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
                   12730:   # as well as any symbol that contains 'd'.
1.128     moko     12731:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   12732:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   12733:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   12734:   # the symbol is explicitly referenced.  Since portable code cannot
                   12735:   # rely on this symbol name, it's probably fine to never include it in
                   12736:   # preloaded symbol tables.
                   12737:   # Exclude shared library initialization/finalization symbols.
                   12738:   extract_expsyms_cmds=
                   12739: 
                   12740:   case $host_os in
1.237     moko     12741:   cygwin* | mingw* | windows* | pw32* | cegcc*)
                   12742:     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
1.128     moko     12743:     # When not using gcc, we currently assume that we are using
1.237     moko     12744:     # Microsoft Visual C++ or Intel C++ Compiler.
                   12745:     if test yes != "$GCC"; then
1.128     moko     12746:       with_gnu_ld=no
                   12747:     fi
                   12748:     ;;
                   12749:   interix*)
1.237     moko     12750:     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
1.128     moko     12751:     with_gnu_ld=yes
                   12752:     ;;
1.237     moko     12753:   linux* | k*bsd*-gnu | gnu*)
                   12754:     link_all_deplibs=no
1.128     moko     12755:     ;;
                   12756:   esac
                   12757: 
                   12758:   ld_shlibs=yes
                   12759: 
                   12760:   # On some targets, GNU ld is compatible enough with the native linker
                   12761:   # that we're better off using the native interface for both.
                   12762:   lt_use_gnu_ld_interface=no
1.237     moko     12763:   if test yes = "$with_gnu_ld"; then
1.128     moko     12764:     case $host_os in
                   12765:       aix*)
                   12766:        # The AIX port of GNU ld has always aspired to compatibility
                   12767:        # with the native linker.  However, as the warning in the GNU ld
                   12768:        # block says, versions before 2.19.5* couldn't really create working
                   12769:        # shared libraries, regardless of the interface used.
                   12770:        case `$LD -v 2>&1` in
                   12771:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   12772:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   12773:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   12774:          *)
                   12775:            lt_use_gnu_ld_interface=yes
                   12776:            ;;
                   12777:        esac
                   12778:        ;;
                   12779:       *)
                   12780:        lt_use_gnu_ld_interface=yes
                   12781:        ;;
                   12782:     esac
                   12783:   fi
                   12784: 
1.237     moko     12785:   if test yes = "$lt_use_gnu_ld_interface"; then
1.128     moko     12786:     # If archive_cmds runs LD, not CC, wlarc should be empty
1.237     moko     12787:     wlarc='$wl'
1.128     moko     12788: 
                   12789:     # Set some defaults for GNU ld with shared library support. These
                   12790:     # are reset later if shared libraries are not supported. Putting them
                   12791:     # here allows them to be overridden if necessary.
                   12792:     runpath_var=LD_RUN_PATH
1.237     moko     12793:     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   12794:     export_dynamic_flag_spec='$wl--export-dynamic'
1.128     moko     12795:     # ancient GNU ld didn't support --whole-archive et. al.
                   12796:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
1.237     moko     12797:       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
1.128     moko     12798:     else
                   12799:       whole_archive_flag_spec=
                   12800:     fi
                   12801:     supports_anon_versioning=no
1.237     moko     12802:     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
1.128     moko     12803:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   12804:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   12805:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   12806:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   12807:       *\ 2.11.*) ;; # other 2.11 versions
                   12808:       *) supports_anon_versioning=yes ;;
                   12809:     esac
                   12810: 
                   12811:     # See if GNU ld supports shared libraries.
                   12812:     case $host_os in
                   12813:     aix[3-9]*)
                   12814:       # On AIX/PPC, the GNU linker is very broken
1.237     moko     12815:       if test ia64 != "$host_cpu"; then
1.128     moko     12816:        ld_shlibs=no
                   12817:        cat <<_LT_EOF 1>&2
                   12818: 
                   12819: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   12820: *** to be unable to reliably create shared libraries on AIX.
                   12821: *** Therefore, libtool is disabling shared libraries support.  If you
                   12822: *** really care for shared libraries, you may want to install binutils
                   12823: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   12824: *** You will then need to restart the configuration process.
                   12825: 
                   12826: _LT_EOF
                   12827:       fi
                   12828:       ;;
                   12829: 
                   12830:     amigaos*)
                   12831:       case $host_cpu in
                   12832:       powerpc)
                   12833:             # see comment about AmigaOS4 .so support
1.237     moko     12834:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     12835:             archive_expsym_cmds=''
                   12836:         ;;
                   12837:       m68k)
                   12838:             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)'
                   12839:             hardcode_libdir_flag_spec='-L$libdir'
                   12840:             hardcode_minus_L=yes
                   12841:         ;;
                   12842:       esac
                   12843:       ;;
                   12844: 
                   12845:     beos*)
                   12846:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   12847:        allow_undefined_flag=unsupported
                   12848:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   12849:        # support --undefined.  This deserves some investigation.  FIXME
1.237     moko     12850:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     12851:       else
                   12852:        ld_shlibs=no
                   12853:       fi
                   12854:       ;;
                   12855: 
1.237     moko     12856:     cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     12857:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   12858:       # as there is no search path for DLLs.
                   12859:       hardcode_libdir_flag_spec='-L$libdir'
1.237     moko     12860:       export_dynamic_flag_spec='$wl--export-all-symbols'
1.128     moko     12861:       allow_undefined_flag=unsupported
                   12862:       always_export_symbols=no
                   12863:       enable_shared_with_static_runtimes=yes
                   12864:       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'
                   12865:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
1.237     moko     12866:       file_list_spec='@'
1.128     moko     12867: 
                   12868:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1.237     moko     12869:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   12870:        # If the export-symbols file already is a .def file, use it as
                   12871:        # is; otherwise, prepend EXPORTS...
                   12872:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
                   12873:           cp $export_symbols $output_objdir/$soname.def;
                   12874:         else
                   12875:           echo EXPORTS > $output_objdir/$soname.def;
                   12876:           cat $export_symbols >> $output_objdir/$soname.def;
                   12877:         fi~
                   12878:         $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     12879:       else
                   12880:        ld_shlibs=no
                   12881:       fi
                   12882:       ;;
                   12883: 
                   12884:     haiku*)
1.237     moko     12885:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   12886:       link_all_deplibs=no
                   12887:       ;;
                   12888: 
                   12889:     os2*)
                   12890:       hardcode_libdir_flag_spec='-L$libdir'
                   12891:       hardcode_minus_L=yes
                   12892:       allow_undefined_flag=unsupported
                   12893:       shrext_cmds=.dll
                   12894:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   12895:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   12896:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   12897:        $ECHO EXPORTS >> $output_objdir/$libname.def~
                   12898:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
                   12899:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   12900:        emximp -o $lib $output_objdir/$libname.def'
                   12901:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   12902:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   12903:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   12904:        $ECHO EXPORTS >> $output_objdir/$libname.def~
                   12905:        prefix_cmds="$SED"~
                   12906:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
                   12907:          prefix_cmds="$prefix_cmds -e 1d";
                   12908:        fi~
                   12909:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
                   12910:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
                   12911:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   12912:        emximp -o $lib $output_objdir/$libname.def'
                   12913:       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
                   12914:       enable_shared_with_static_runtimes=yes
                   12915:       file_list_spec='@'
1.128     moko     12916:       ;;
                   12917: 
                   12918:     interix[3-9]*)
                   12919:       hardcode_direct=no
                   12920:       hardcode_shlibpath_var=no
1.237     moko     12921:       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
                   12922:       export_dynamic_flag_spec='$wl-E'
1.128     moko     12923:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   12924:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   12925:       # default) and relocated if they conflict, which is a slow very memory
                   12926:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   12927:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   12928:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
1.237     moko     12929:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   12930:       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     12931:       ;;
                   12932: 
                   12933:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   12934:       tmp_diet=no
1.237     moko     12935:       if test linux-dietlibc = "$host_os"; then
1.128     moko     12936:        case $cc_basename in
                   12937:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   12938:        esac
                   12939:       fi
                   12940:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
1.237     moko     12941:         && test no = "$tmp_diet"
1.128     moko     12942:       then
                   12943:        tmp_addflag=' $pic_flag'
                   12944:        tmp_sharedflag='-shared'
                   12945:        case $cc_basename,$host_cpu in
                   12946:         pgcc*)                         # Portland Group C compiler
1.237     moko     12947:          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     12948:          tmp_addflag=' $pic_flag'
                   12949:          ;;
                   12950:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   12951:                                        # Portland Group f77 and f90 compilers
1.237     moko     12952:          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     12953:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   12954:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   12955:          tmp_addflag=' -i_dynamic' ;;
                   12956:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   12957:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   12958:        ifc* | ifort*)                  # Intel Fortran compiler
                   12959:          tmp_addflag=' -nofor_main' ;;
                   12960:        lf95*)                          # Lahey Fortran 8.1
                   12961:          whole_archive_flag_spec=
                   12962:          tmp_sharedflag='--shared' ;;
1.237     moko     12963:         nagfor*)                        # NAGFOR 5.3
                   12964:           tmp_sharedflag='-Wl,-shared' ;;
1.128     moko     12965:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   12966:          tmp_sharedflag='-qmkshrobj'
                   12967:          tmp_addflag= ;;
                   12968:        nvcc*)  # Cuda Compiler Driver 2.2
1.237     moko     12969:          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     12970:          compiler_needs_object=yes
                   12971:          ;;
                   12972:        esac
1.237     moko     12973:        case `$CC -V 2>&1 | $SED 5q` in
1.128     moko     12974:        *Sun\ C*)                       # Sun C 5.9
1.237     moko     12975:          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     12976:          compiler_needs_object=yes
                   12977:          tmp_sharedflag='-G' ;;
                   12978:        *Sun\ F*)                       # Sun Fortran 8.3
                   12979:          tmp_sharedflag='-G' ;;
                   12980:        esac
1.237     moko     12981:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     12982: 
1.237     moko     12983:         if test yes = "$supports_anon_versioning"; then
1.128     moko     12984:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1.237     moko     12985:             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   12986:             echo "local: *; };" >> $output_objdir/$libname.ver~
                   12987:             $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     12988:         fi
                   12989: 
                   12990:        case $cc_basename in
1.237     moko     12991:        tcc*)
                   12992:          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   12993:          export_dynamic_flag_spec='-rdynamic'
                   12994:          ;;
1.128     moko     12995:        xlf* | bgf* | bgxlf* | mpixlf*)
                   12996:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   12997:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
1.237     moko     12998:          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     12999:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
1.237     moko     13000:          if test yes = "$supports_anon_versioning"; then
1.128     moko     13001:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1.237     moko     13002:               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13003:               echo "local: *; };" >> $output_objdir/$libname.ver~
                   13004:               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
1.128     moko     13005:          fi
                   13006:          ;;
                   13007:        esac
                   13008:       else
                   13009:         ld_shlibs=no
                   13010:       fi
                   13011:       ;;
                   13012: 
1.237     moko     13013:     *-mlibc)
                   13014:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   13015:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
                   13016:       ;;
                   13017: 
                   13018:     netbsd* | netbsdelf*-gnu)
1.128     moko     13019:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13020:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   13021:        wlarc=
                   13022:       else
1.237     moko     13023:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   13024:        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     13025:       fi
                   13026:       ;;
                   13027: 
                   13028:     solaris*)
                   13029:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   13030:        ld_shlibs=no
                   13031:        cat <<_LT_EOF 1>&2
                   13032: 
                   13033: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   13034: *** create shared libraries on Solaris systems.  Therefore, libtool
                   13035: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   13036: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   13037: *** your PATH or compiler configuration so that the native linker is
                   13038: *** used, and then restart.
                   13039: 
                   13040: _LT_EOF
                   13041:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.237     moko     13042:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   13043:        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     13044:       else
                   13045:        ld_shlibs=no
                   13046:       fi
                   13047:       ;;
                   13048: 
                   13049:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   13050:       case `$LD -v 2>&1` in
                   13051:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   13052:        ld_shlibs=no
                   13053:        cat <<_LT_EOF 1>&2
                   13054: 
1.237     moko     13055: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
1.128     moko     13056: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   13057: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   13058: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   13059: *** your PATH or compiler configuration so that the native linker is
                   13060: *** used, and then restart.
                   13061: 
                   13062: _LT_EOF
                   13063:        ;;
                   13064:        *)
                   13065:          # For security reasons, it is highly recommended that you always
                   13066:          # use absolute paths for naming shared libraries, and exclude the
                   13067:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   13068:          # requires that you compile everything twice, which is a pain.
                   13069:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.237     moko     13070:            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   13071:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   13072:            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     13073:          else
                   13074:            ld_shlibs=no
                   13075:          fi
                   13076:        ;;
                   13077:       esac
                   13078:       ;;
                   13079: 
                   13080:     sunos4*)
                   13081:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   13082:       wlarc=
                   13083:       hardcode_direct=yes
                   13084:       hardcode_shlibpath_var=no
                   13085:       ;;
                   13086: 
                   13087:     *)
                   13088:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.237     moko     13089:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   13090:        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     13091:       else
                   13092:        ld_shlibs=no
                   13093:       fi
                   13094:       ;;
                   13095:     esac
                   13096: 
1.237     moko     13097:     if test no = "$ld_shlibs"; then
1.128     moko     13098:       runpath_var=
                   13099:       hardcode_libdir_flag_spec=
                   13100:       export_dynamic_flag_spec=
                   13101:       whole_archive_flag_spec=
                   13102:     fi
                   13103:   else
                   13104:     # PORTME fill in a description of your system's linker (not GNU ld)
                   13105:     case $host_os in
                   13106:     aix3*)
                   13107:       allow_undefined_flag=unsupported
                   13108:       always_export_symbols=yes
                   13109:       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'
                   13110:       # Note: this linker hardcodes the directories in LIBPATH if there
                   13111:       # are no directories specified by -L.
                   13112:       hardcode_minus_L=yes
1.237     moko     13113:       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
1.128     moko     13114:        # Neither direct hardcoding nor static linking is supported with a
                   13115:        # broken collect2.
                   13116:        hardcode_direct=unsupported
                   13117:       fi
                   13118:       ;;
                   13119: 
                   13120:     aix[4-9]*)
1.237     moko     13121:       if test ia64 = "$host_cpu"; then
1.128     moko     13122:        # On IA64, the linker does run time linking by default, so we don't
                   13123:        # have to do anything special.
                   13124:        aix_use_runtimelinking=no
                   13125:        exp_sym_flag='-Bexport'
1.237     moko     13126:        no_entry_flag=
1.128     moko     13127:       else
                   13128:        # If we're using GNU nm, then we don't want the "-C" option.
1.237     moko     13129:        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
                   13130:        # Without the "-l" option, or with the "-B" option, AIX nm treats
                   13131:        # weak defined symbols like other global defined symbols, whereas
                   13132:        # GNU nm marks them as "W".
                   13133:        # While the 'weak' keyword is ignored in the Export File, we need
                   13134:        # it in the Import File for the 'aix-soname' feature, so we have
                   13135:        # to replace the "-B" option with "-P" for AIX nm.
1.128     moko     13136:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1.237     moko     13137:          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     13138:        else
1.237     moko     13139:          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     13140:        fi
                   13141:        aix_use_runtimelinking=no
                   13142: 
                   13143:        # Test if we are trying to use run time linking or normal
                   13144:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.237     moko     13145:        # have runtime linking enabled, and use it for executables.
                   13146:        # For shared libraries, we enable/disable runtime linking
                   13147:        # depending on the kind of the shared library created -
                   13148:        # when "with_aix_soname,aix_use_runtimelinking" is:
                   13149:        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
                   13150:        # "aix,yes"  lib.so          shared, rtl:yes, for executables
                   13151:        #            lib.a           static archive
                   13152:        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
                   13153:        #            lib.a(lib.so.V) shared, rtl:no,  for executables
                   13154:        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
                   13155:        #            lib.a(lib.so.V) shared, rtl:no
                   13156:        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
                   13157:        #            lib.a           static archive
1.128     moko     13158:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   13159:          for ld_flag in $LDFLAGS; do
1.237     moko     13160:          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
1.128     moko     13161:            aix_use_runtimelinking=yes
                   13162:            break
                   13163:          fi
                   13164:          done
1.237     moko     13165:          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
                   13166:            # With aix-soname=svr4, we create the lib.so.V shared archives only,
                   13167:            # so we don't have lib.a shared libs to link our executables.
                   13168:            # We have to force runtime linking in this case.
                   13169:            aix_use_runtimelinking=yes
                   13170:            LDFLAGS="$LDFLAGS -Wl,-brtl"
                   13171:          fi
1.128     moko     13172:          ;;
                   13173:        esac
                   13174: 
                   13175:        exp_sym_flag='-bexport'
                   13176:        no_entry_flag='-bnoentry'
                   13177:       fi
                   13178: 
                   13179:       # When large executables or shared objects are built, AIX ld can
                   13180:       # have problems creating the table of contents.  If linking a library
                   13181:       # or program results in "error TOC overflow" add -mminimal-toc to
                   13182:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13183:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13184: 
                   13185:       archive_cmds=''
                   13186:       hardcode_direct=yes
                   13187:       hardcode_direct_absolute=yes
                   13188:       hardcode_libdir_separator=':'
                   13189:       link_all_deplibs=yes
1.237     moko     13190:       file_list_spec='$wl-f,'
                   13191:       case $with_aix_soname,$aix_use_runtimelinking in
                   13192:       aix,*) ;; # traditional, no import file
                   13193:       svr4,* | *,yes) # use import file
                   13194:        # The Import File defines what to hardcode.
                   13195:        hardcode_direct=no
                   13196:        hardcode_direct_absolute=no
                   13197:        ;;
                   13198:       esac
1.128     moko     13199: 
1.237     moko     13200:       if test yes = "$GCC"; then
1.128     moko     13201:        case $host_os in aix4.[012]|aix4.[012].*)
                   13202:        # We only want to do this on AIX 4.2 and lower, the check
                   13203:        # below for broken collect2 doesn't work under 4.3+
1.237     moko     13204:          collect2name=`$CC -print-prog-name=collect2`
1.128     moko     13205:          if test -f "$collect2name" &&
                   13206:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13207:          then
                   13208:          # We have reworked collect2
                   13209:          :
                   13210:          else
                   13211:          # We have old collect2
                   13212:          hardcode_direct=unsupported
                   13213:          # It fails to find uninstalled libraries when the uninstalled
                   13214:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   13215:          # to unsupported forces relinking
                   13216:          hardcode_minus_L=yes
                   13217:          hardcode_libdir_flag_spec='-L$libdir'
                   13218:          hardcode_libdir_separator=
                   13219:          fi
                   13220:          ;;
                   13221:        esac
                   13222:        shared_flag='-shared'
1.237     moko     13223:        if test yes = "$aix_use_runtimelinking"; then
                   13224:          shared_flag="$shared_flag "'$wl-G'
1.128     moko     13225:        fi
1.237     moko     13226:        # Need to ensure runtime linking is disabled for the traditional
                   13227:        # shared library, or the linker may eventually find shared libraries
                   13228:        # /with/ Import File - we do not want to mix them.
                   13229:        shared_flag_aix='-shared'
                   13230:        shared_flag_svr4='-shared $wl-G'
1.128     moko     13231:       else
                   13232:        # not using gcc
1.237     moko     13233:        if test ia64 = "$host_cpu"; then
1.128     moko     13234:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13235:        # chokes on -Wl,-G. The following line is correct:
                   13236:          shared_flag='-G'
                   13237:        else
1.237     moko     13238:          if test yes = "$aix_use_runtimelinking"; then
                   13239:            shared_flag='$wl-G'
1.128     moko     13240:          else
1.237     moko     13241:            shared_flag='$wl-bM:SRE'
1.128     moko     13242:          fi
1.237     moko     13243:          shared_flag_aix='$wl-bM:SRE'
                   13244:          shared_flag_svr4='$wl-G'
1.128     moko     13245:        fi
                   13246:       fi
                   13247: 
1.237     moko     13248:       export_dynamic_flag_spec='$wl-bexpall'
1.128     moko     13249:       # It seems that -bexpall does not export symbols beginning with
                   13250:       # underscore (_), so it is better to generate a list of symbols to export.
                   13251:       always_export_symbols=yes
1.237     moko     13252:       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
1.128     moko     13253:        # Warning - without using the other runtime loading flags (-brtl),
                   13254:        # -berok will link without error, but may produce a broken library.
                   13255:        allow_undefined_flag='-berok'
                   13256:         # Determine the default libpath from the value encoded in an
                   13257:         # empty executable.
1.237     moko     13258:         if test set = "${lt_cv_aix_libpath+set}"; then
1.128     moko     13259:   aix_libpath=$lt_cv_aix_libpath
                   13260: else
1.237     moko     13261:   if test ${lt_cv_aix_libpath_+y}
                   13262: then :
                   13263:   printf %s "(cached) " >&6
                   13264: else case e in #(
                   13265:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13266: /* end confdefs.h.  */
                   13267: 
                   13268: int
1.237     moko     13269: main (void)
1.128     moko     13270: {
                   13271: 
                   13272:   ;
                   13273:   return 0;
                   13274: }
                   13275: _ACEOF
1.237     moko     13276: if ac_fn_c_try_link "$LINENO"
                   13277: then :
1.128     moko     13278: 
                   13279:   lt_aix_libpath_sed='
                   13280:       /Import File Strings/,/^$/ {
                   13281:          /^0/ {
                   13282:              s/^0  *\([^ ]*\) *$/\1/
                   13283:              p
                   13284:          }
                   13285:       }'
                   13286:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13287:   # Check for a 64-bit object if we didn't find anything.
                   13288:   if test -z "$lt_cv_aix_libpath_"; then
                   13289:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13290:   fi
                   13291: fi
1.237     moko     13292: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     13293:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13294:   if test -z "$lt_cv_aix_libpath_"; then
1.237     moko     13295:     lt_cv_aix_libpath_=/usr/lib:/lib
1.128     moko     13296:   fi
1.237     moko     13297:    ;;
                   13298: esac
1.128     moko     13299: fi
                   13300: 
                   13301:   aix_libpath=$lt_cv_aix_libpath_
                   13302: fi
                   13303: 
1.237     moko     13304:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
                   13305:         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     13306:       else
1.237     moko     13307:        if test ia64 = "$host_cpu"; then
                   13308:          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
1.128     moko     13309:          allow_undefined_flag="-z nodefs"
1.237     moko     13310:          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     13311:        else
                   13312:         # Determine the default libpath from the value encoded in an
                   13313:         # empty executable.
1.237     moko     13314:         if test set = "${lt_cv_aix_libpath+set}"; then
1.128     moko     13315:   aix_libpath=$lt_cv_aix_libpath
                   13316: else
1.237     moko     13317:   if test ${lt_cv_aix_libpath_+y}
                   13318: then :
                   13319:   printf %s "(cached) " >&6
                   13320: else case e in #(
                   13321:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13322: /* end confdefs.h.  */
                   13323: 
                   13324: int
1.237     moko     13325: main (void)
1.128     moko     13326: {
                   13327: 
                   13328:   ;
                   13329:   return 0;
                   13330: }
                   13331: _ACEOF
1.237     moko     13332: if ac_fn_c_try_link "$LINENO"
                   13333: then :
1.128     moko     13334: 
                   13335:   lt_aix_libpath_sed='
                   13336:       /Import File Strings/,/^$/ {
                   13337:          /^0/ {
                   13338:              s/^0  *\([^ ]*\) *$/\1/
                   13339:              p
                   13340:          }
                   13341:       }'
                   13342:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13343:   # Check for a 64-bit object if we didn't find anything.
                   13344:   if test -z "$lt_cv_aix_libpath_"; then
                   13345:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13346:   fi
                   13347: fi
1.237     moko     13348: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     13349:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13350:   if test -z "$lt_cv_aix_libpath_"; then
1.237     moko     13351:     lt_cv_aix_libpath_=/usr/lib:/lib
1.128     moko     13352:   fi
1.237     moko     13353:    ;;
                   13354: esac
1.128     moko     13355: fi
                   13356: 
                   13357:   aix_libpath=$lt_cv_aix_libpath_
                   13358: fi
                   13359: 
1.237     moko     13360:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
1.128     moko     13361:          # Warning - without using the other run time loading flags,
                   13362:          # -berok will link without error, but may produce a broken library.
1.237     moko     13363:          no_undefined_flag=' $wl-bernotok'
                   13364:          allow_undefined_flag=' $wl-berok'
                   13365:          if test yes = "$with_gnu_ld"; then
1.128     moko     13366:            # We only use this code for GNU lds that support --whole-archive.
1.237     moko     13367:            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
1.128     moko     13368:          else
                   13369:            # Exported symbols can be pulled into shared objects from archives
                   13370:            whole_archive_flag_spec='$convenience'
                   13371:          fi
                   13372:          archive_cmds_need_lc=yes
1.237     moko     13373:          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
                   13374:          # -brtl affects multiple linker settings, -berok does not and is overridden later
                   13375:          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
                   13376:          if test svr4 != "$with_aix_soname"; then
                   13377:            # This is similar to how AIX traditionally builds its shared libraries.
                   13378:            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'
                   13379:          fi
                   13380:          if test aix != "$with_aix_soname"; then
                   13381:            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'
                   13382:          else
                   13383:            # used by -dlpreopen to get the symbols
                   13384:            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
                   13385:          fi
                   13386:          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
1.128     moko     13387:        fi
                   13388:       fi
                   13389:       ;;
                   13390: 
                   13391:     amigaos*)
                   13392:       case $host_cpu in
                   13393:       powerpc)
                   13394:             # see comment about AmigaOS4 .so support
1.237     moko     13395:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     13396:             archive_expsym_cmds=''
                   13397:         ;;
                   13398:       m68k)
                   13399:             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)'
                   13400:             hardcode_libdir_flag_spec='-L$libdir'
                   13401:             hardcode_minus_L=yes
                   13402:         ;;
                   13403:       esac
                   13404:       ;;
                   13405: 
                   13406:     bsdi[45]*)
                   13407:       export_dynamic_flag_spec=-rdynamic
                   13408:       ;;
                   13409: 
1.237     moko     13410:     cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     13411:       # When not using gcc, we currently assume that we are using
1.237     moko     13412:       # Microsoft Visual C++ or Intel C++ Compiler.
1.128     moko     13413:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13414:       # no search path for DLLs.
                   13415:       case $cc_basename in
1.237     moko     13416:       cl* | icl*)
                   13417:        # Native MSVC or ICC
1.128     moko     13418:        hardcode_libdir_flag_spec=' '
                   13419:        allow_undefined_flag=unsupported
                   13420:        always_export_symbols=yes
                   13421:        file_list_spec='@'
                   13422:        # Tell ltmain to make .lib files, not .a files.
                   13423:        libext=lib
                   13424:        # Tell ltmain to make .dll files, not .so files.
1.237     moko     13425:        shrext_cmds=.dll
1.128     moko     13426:        # FIXME: Setting linknames here is a bad hack.
1.237     moko     13427:        archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
                   13428:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
                   13429:             cp "$export_symbols" "$output_objdir/$soname.def";
                   13430:             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
                   13431:           else
                   13432:             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
                   13433:           fi~
                   13434:           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13435:           linknames='
1.128     moko     13436:        # The linker will not automatically build a static lib if we build a DLL.
                   13437:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   13438:        enable_shared_with_static_runtimes=yes
                   13439:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   13440:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   13441:        # Don't use ranlib
                   13442:        old_postinstall_cmds='chmod 644 $oldlib'
                   13443:        postlink_cmds='lt_outputfile="@OUTPUT@"~
1.237     moko     13444:           lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13445:           case $lt_outputfile in
                   13446:             *.exe|*.EXE) ;;
                   13447:             *)
                   13448:               lt_outputfile=$lt_outputfile.exe
                   13449:               lt_tool_outputfile=$lt_tool_outputfile.exe
                   13450:               ;;
                   13451:           esac~
                   13452:           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
                   13453:             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13454:             $RM "$lt_outputfile.manifest";
                   13455:           fi'
1.128     moko     13456:        ;;
                   13457:       *)
1.237     moko     13458:        # Assume MSVC and ICC wrapper
1.128     moko     13459:        hardcode_libdir_flag_spec=' '
                   13460:        allow_undefined_flag=unsupported
                   13461:        # Tell ltmain to make .lib files, not .a files.
                   13462:        libext=lib
                   13463:        # Tell ltmain to make .dll files, not .so files.
1.237     moko     13464:        shrext_cmds=.dll
1.128     moko     13465:        # FIXME: Setting linknames here is a bad hack.
                   13466:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   13467:        # The linker will automatically build a .lib file if we build a DLL.
                   13468:        old_archive_from_new_cmds='true'
                   13469:        # FIXME: Should let the user specify the lib program.
                   13470:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   13471:        enable_shared_with_static_runtimes=yes
                   13472:        ;;
                   13473:       esac
                   13474:       ;;
                   13475: 
                   13476:     darwin* | rhapsody*)
                   13477: 
                   13478: 
                   13479:   archive_cmds_need_lc=no
                   13480:   hardcode_direct=no
                   13481:   hardcode_automatic=yes
                   13482:   hardcode_shlibpath_var=unsupported
1.237     moko     13483:   if test yes = "$lt_cv_ld_force_load"; then
                   13484:     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     13485: 
                   13486:   else
                   13487:     whole_archive_flag_spec=''
                   13488:   fi
                   13489:   link_all_deplibs=yes
1.237     moko     13490:   allow_undefined_flag=$_lt_dar_allow_undefined
1.128     moko     13491:   case $cc_basename in
1.237     moko     13492:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
1.128     moko     13493:      *) _lt_dar_can_shared=$GCC ;;
                   13494:   esac
1.237     moko     13495:   if test yes = "$_lt_dar_can_shared"; then
1.128     moko     13496:     output_verbose_link_cmd=func_echo_all
1.237     moko     13497:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
                   13498:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
                   13499:     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"
                   13500:     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     13501: 
                   13502:   else
                   13503:   ld_shlibs=no
                   13504:   fi
                   13505: 
                   13506:       ;;
                   13507: 
                   13508:     dgux*)
                   13509:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13510:       hardcode_libdir_flag_spec='-L$libdir'
                   13511:       hardcode_shlibpath_var=no
                   13512:       ;;
                   13513: 
                   13514:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   13515:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   13516:     # does not break anything, and helps significantly (at the cost of a little
                   13517:     # extra space).
                   13518:     freebsd2.2*)
                   13519:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   13520:       hardcode_libdir_flag_spec='-R$libdir'
                   13521:       hardcode_direct=yes
                   13522:       hardcode_shlibpath_var=no
                   13523:       ;;
                   13524: 
                   13525:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   13526:     freebsd2.*)
                   13527:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   13528:       hardcode_direct=yes
                   13529:       hardcode_minus_L=yes
                   13530:       hardcode_shlibpath_var=no
                   13531:       ;;
                   13532: 
                   13533:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.237     moko     13534:     freebsd* | dragonfly* | midnightbsd*)
1.128     moko     13535:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   13536:       hardcode_libdir_flag_spec='-R$libdir'
                   13537:       hardcode_direct=yes
                   13538:       hardcode_shlibpath_var=no
                   13539:       ;;
                   13540: 
                   13541:     hpux9*)
1.237     moko     13542:       if test yes = "$GCC"; then
                   13543:        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     13544:       else
1.237     moko     13545:        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     13546:       fi
1.237     moko     13547:       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.128     moko     13548:       hardcode_libdir_separator=:
                   13549:       hardcode_direct=yes
                   13550: 
                   13551:       # hardcode_minus_L: Not really in the search PATH,
                   13552:       # but as the default location of the library.
                   13553:       hardcode_minus_L=yes
1.237     moko     13554:       export_dynamic_flag_spec='$wl-E'
1.128     moko     13555:       ;;
                   13556: 
                   13557:     hpux10*)
1.237     moko     13558:       if test yes,no = "$GCC,$with_gnu_ld"; then
                   13559:        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13560:       else
                   13561:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   13562:       fi
1.237     moko     13563:       if test no = "$with_gnu_ld"; then
                   13564:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.128     moko     13565:        hardcode_libdir_separator=:
                   13566:        hardcode_direct=yes
                   13567:        hardcode_direct_absolute=yes
1.237     moko     13568:        export_dynamic_flag_spec='$wl-E'
1.128     moko     13569:        # hardcode_minus_L: Not really in the search PATH,
                   13570:        # but as the default location of the library.
                   13571:        hardcode_minus_L=yes
                   13572:       fi
                   13573:       ;;
                   13574: 
                   13575:     hpux11*)
1.237     moko     13576:       if test yes,no = "$GCC,$with_gnu_ld"; then
1.128     moko     13577:        case $host_cpu in
                   13578:        hppa*64*)
1.237     moko     13579:          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13580:          ;;
                   13581:        ia64*)
1.237     moko     13582:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13583:          ;;
                   13584:        *)
1.237     moko     13585:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13586:          ;;
                   13587:        esac
                   13588:       else
                   13589:        case $host_cpu in
                   13590:        hppa*64*)
1.237     moko     13591:          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13592:          ;;
                   13593:        ia64*)
1.237     moko     13594:          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13595:          ;;
                   13596:        *)
                   13597: 
                   13598:          # Older versions of the 11.00 compiler do not understand -b yet
                   13599:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.237     moko     13600:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   13601: printf %s "checking if $CC understands -b... " >&6; }
                   13602: if test ${lt_cv_prog_compiler__b+y}
                   13603: then :
                   13604:   printf %s "(cached) " >&6
                   13605: else case e in #(
                   13606:   e) lt_cv_prog_compiler__b=no
                   13607:    save_LDFLAGS=$LDFLAGS
1.128     moko     13608:    LDFLAGS="$LDFLAGS -b"
                   13609:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   13610:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   13611:      # The linker can only warn and ignore the option if not recognized
                   13612:      # So say no if there are warnings
                   13613:      if test -s conftest.err; then
                   13614:        # Append any errors to the config.log.
                   13615:        cat conftest.err 1>&5
                   13616:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   13617:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   13618:        if diff conftest.exp conftest.er2 >/dev/null; then
                   13619:          lt_cv_prog_compiler__b=yes
                   13620:        fi
                   13621:      else
                   13622:        lt_cv_prog_compiler__b=yes
                   13623:      fi
                   13624:    fi
                   13625:    $RM -r conftest*
1.237     moko     13626:    LDFLAGS=$save_LDFLAGS
                   13627:  ;;
                   13628: esac
1.128     moko     13629: fi
1.237     moko     13630: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   13631: printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     13632: 
1.237     moko     13633: if test yes = "$lt_cv_prog_compiler__b"; then
                   13634:     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13635: else
                   13636:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   13637: fi
                   13638: 
                   13639:          ;;
                   13640:        esac
                   13641:       fi
1.237     moko     13642:       if test no = "$with_gnu_ld"; then
                   13643:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.128     moko     13644:        hardcode_libdir_separator=:
                   13645: 
                   13646:        case $host_cpu in
                   13647:        hppa*64*|ia64*)
                   13648:          hardcode_direct=no
                   13649:          hardcode_shlibpath_var=no
                   13650:          ;;
                   13651:        *)
                   13652:          hardcode_direct=yes
                   13653:          hardcode_direct_absolute=yes
1.237     moko     13654:          export_dynamic_flag_spec='$wl-E'
1.128     moko     13655: 
                   13656:          # hardcode_minus_L: Not really in the search PATH,
                   13657:          # but as the default location of the library.
                   13658:          hardcode_minus_L=yes
                   13659:          ;;
                   13660:        esac
                   13661:       fi
                   13662:       ;;
                   13663: 
                   13664:     irix5* | irix6* | nonstopux*)
1.237     moko     13665:       if test yes = "$GCC"; then
                   13666:        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     13667:        # Try to use the -exported_symbol ld option, if it does not
                   13668:        # work, assume that -exports_file does not work either and
                   13669:        # implicitly export all symbols.
                   13670:        # This should be the same for all languages, so no per-tag cache variable.
1.237     moko     13671:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   13672: printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   13673: if test ${lt_cv_irix_exported_symbol+y}
                   13674: then :
                   13675:   printf %s "(cached) " >&6
                   13676: else case e in #(
                   13677:   e) save_LDFLAGS=$LDFLAGS
                   13678:           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
1.150     moko     13679:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13680: /* end confdefs.h.  */
                   13681: int foo (void) { return 0; }
                   13682: _ACEOF
1.237     moko     13683: if ac_fn_c_try_link "$LINENO"
                   13684: then :
1.128     moko     13685:   lt_cv_irix_exported_symbol=yes
1.237     moko     13686: else case e in #(
                   13687:   e) lt_cv_irix_exported_symbol=no ;;
                   13688: esac
1.128     moko     13689: fi
1.237     moko     13690: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     13691:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     13692:            LDFLAGS=$save_LDFLAGS ;;
                   13693: esac
1.128     moko     13694: fi
1.237     moko     13695: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   13696: printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
                   13697:        if test yes = "$lt_cv_irix_exported_symbol"; then
                   13698:           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     13699:        fi
1.237     moko     13700:        link_all_deplibs=no
1.128     moko     13701:       else
1.237     moko     13702:        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'
                   13703:        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     13704:       fi
                   13705:       archive_cmds_need_lc='no'
1.237     moko     13706:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     13707:       hardcode_libdir_separator=:
                   13708:       inherit_rpath=yes
                   13709:       link_all_deplibs=yes
                   13710:       ;;
                   13711: 
1.237     moko     13712:     linux*)
                   13713:       case $cc_basename in
                   13714:       tcc*)
                   13715:        # Fabrice Bellard et al's Tiny C Compiler
                   13716:        ld_shlibs=yes
                   13717:        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   13718:        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   13719:        ;;
                   13720:       esac
                   13721:       ;;
                   13722: 
                   13723:     *-mlibc)
                   13724:       ;;
                   13725: 
                   13726:     netbsd* | netbsdelf*-gnu)
1.128     moko     13727:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13728:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   13729:       else
                   13730:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   13731:       fi
                   13732:       hardcode_libdir_flag_spec='-R$libdir'
                   13733:       hardcode_direct=yes
                   13734:       hardcode_shlibpath_var=no
                   13735:       ;;
                   13736: 
                   13737:     newsos6)
                   13738:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13739:       hardcode_direct=yes
1.237     moko     13740:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     13741:       hardcode_libdir_separator=:
                   13742:       hardcode_shlibpath_var=no
                   13743:       ;;
                   13744: 
                   13745:     *nto* | *qnx*)
                   13746:       ;;
                   13747: 
                   13748:     openbsd*)
                   13749:       if test -f /usr/libexec/ld.so; then
                   13750:        hardcode_direct=yes
                   13751:        hardcode_shlibpath_var=no
                   13752:        hardcode_direct_absolute=yes
1.237     moko     13753:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
1.128     moko     13754:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.237     moko     13755:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
                   13756:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
                   13757:          export_dynamic_flag_spec='$wl-E'
1.128     moko     13758:        else
1.237     moko     13759:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   13760:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
1.128     moko     13761:        fi
                   13762:       else
                   13763:        ld_shlibs=no
                   13764:       fi
                   13765:       ;;
                   13766: 
                   13767:     os2*)
                   13768:       hardcode_libdir_flag_spec='-L$libdir'
                   13769:       hardcode_minus_L=yes
                   13770:       allow_undefined_flag=unsupported
1.237     moko     13771:       shrext_cmds=.dll
                   13772:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   13773:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   13774:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   13775:        $ECHO EXPORTS >> $output_objdir/$libname.def~
                   13776:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
                   13777:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   13778:        emximp -o $lib $output_objdir/$libname.def'
                   13779:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   13780:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   13781:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   13782:        $ECHO EXPORTS >> $output_objdir/$libname.def~
                   13783:        prefix_cmds="$SED"~
                   13784:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
                   13785:          prefix_cmds="$prefix_cmds -e 1d";
                   13786:        fi~
                   13787:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
                   13788:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
                   13789:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   13790:        emximp -o $lib $output_objdir/$libname.def'
                   13791:       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
                   13792:       enable_shared_with_static_runtimes=yes
                   13793:       file_list_spec='@'
1.128     moko     13794:       ;;
                   13795: 
                   13796:     osf3*)
1.237     moko     13797:       if test yes = "$GCC"; then
                   13798:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
                   13799:        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     13800:       else
                   13801:        allow_undefined_flag=' -expect_unresolved \*'
1.237     moko     13802:        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     13803:       fi
                   13804:       archive_cmds_need_lc='no'
1.237     moko     13805:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     13806:       hardcode_libdir_separator=:
                   13807:       ;;
                   13808: 
                   13809:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
1.237     moko     13810:       if test yes = "$GCC"; then
                   13811:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
                   13812:        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'
                   13813:        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     13814:       else
                   13815:        allow_undefined_flag=' -expect_unresolved \*'
1.237     moko     13816:        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     13817:        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     13818:           $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     13819: 
                   13820:        # Both c and cxx compiler support -rpath directly
                   13821:        hardcode_libdir_flag_spec='-rpath $libdir'
                   13822:       fi
                   13823:       archive_cmds_need_lc='no'
                   13824:       hardcode_libdir_separator=:
                   13825:       ;;
                   13826: 
1.237     moko     13827:     serenity*)
                   13828:       ;;
                   13829: 
1.128     moko     13830:     solaris*)
                   13831:       no_undefined_flag=' -z defs'
1.237     moko     13832:       if test yes = "$GCC"; then
                   13833:        wlarc='$wl'
                   13834:        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13835:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     13836:           $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     13837:       else
                   13838:        case `$CC -V 2>&1` in
                   13839:        *"Compilers 5.0"*)
                   13840:          wlarc=''
1.237     moko     13841:          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.128     moko     13842:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     13843:             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
1.128     moko     13844:          ;;
                   13845:        *)
1.237     moko     13846:          wlarc='$wl'
                   13847:          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13848:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     13849:             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
1.128     moko     13850:          ;;
                   13851:        esac
                   13852:       fi
                   13853:       hardcode_libdir_flag_spec='-R$libdir'
                   13854:       hardcode_shlibpath_var=no
                   13855:       case $host_os in
                   13856:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13857:       *)
                   13858:        # The compiler driver will combine and reorder linker options,
1.237     moko     13859:        # but understands '-z linker_flag'.  GCC discards it without '$wl',
1.128     moko     13860:        # but is careful enough not to reorder.
                   13861:        # Supported since Solaris 2.6 (maybe 2.5.1?)
1.237     moko     13862:        if test yes = "$GCC"; then
                   13863:          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
1.128     moko     13864:        else
                   13865:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   13866:        fi
                   13867:        ;;
                   13868:       esac
                   13869:       link_all_deplibs=yes
                   13870:       ;;
                   13871: 
                   13872:     sunos4*)
1.237     moko     13873:       if test sequent = "$host_vendor"; then
1.128     moko     13874:        # Use $CC to link under sequent, because it throws in some extra .o
                   13875:        # files that make .init and .fini sections work.
1.237     moko     13876:        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13877:       else
                   13878:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   13879:       fi
                   13880:       hardcode_libdir_flag_spec='-L$libdir'
                   13881:       hardcode_direct=yes
                   13882:       hardcode_minus_L=yes
                   13883:       hardcode_shlibpath_var=no
                   13884:       ;;
                   13885: 
                   13886:     sysv4)
                   13887:       case $host_vendor in
                   13888:        sni)
                   13889:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13890:          hardcode_direct=yes # is this really true???
                   13891:        ;;
                   13892:        siemens)
                   13893:          ## LD is ld it makes a PLAMLIB
                   13894:          ## CC just makes a GrossModule.
                   13895:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   13896:          reload_cmds='$CC -r -o $output$reload_objs'
                   13897:          hardcode_direct=no
                   13898:         ;;
                   13899:        motorola)
                   13900:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13901:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   13902:        ;;
                   13903:       esac
                   13904:       runpath_var='LD_RUN_PATH'
                   13905:       hardcode_shlibpath_var=no
                   13906:       ;;
                   13907: 
                   13908:     sysv4.3*)
                   13909:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13910:       hardcode_shlibpath_var=no
                   13911:       export_dynamic_flag_spec='-Bexport'
                   13912:       ;;
                   13913: 
                   13914:     sysv4*MP*)
                   13915:       if test -d /usr/nec; then
                   13916:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13917:        hardcode_shlibpath_var=no
                   13918:        runpath_var=LD_RUN_PATH
                   13919:        hardcode_runpath_var=yes
                   13920:        ld_shlibs=yes
                   13921:       fi
                   13922:       ;;
                   13923: 
                   13924:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
1.237     moko     13925:       no_undefined_flag='$wl-z,text'
1.128     moko     13926:       archive_cmds_need_lc=no
                   13927:       hardcode_shlibpath_var=no
                   13928:       runpath_var='LD_RUN_PATH'
                   13929: 
1.237     moko     13930:       if test yes = "$GCC"; then
                   13931:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13932:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13933:       else
1.237     moko     13934:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13935:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13936:       fi
                   13937:       ;;
                   13938: 
                   13939:     sysv5* | sco3.2v5* | sco5v6*)
1.237     moko     13940:       # Note: We CANNOT use -z defs as we might desire, because we do not
1.128     moko     13941:       # link with -lc, and that would cause any symbols used from libc to
                   13942:       # always be unresolved, which means just about no library would
                   13943:       # ever link correctly.  If we're not using GNU ld we use -z text
                   13944:       # though, which does catch some bad symbols but isn't as heavy-handed
                   13945:       # as -z defs.
1.237     moko     13946:       no_undefined_flag='$wl-z,text'
                   13947:       allow_undefined_flag='$wl-z,nodefs'
1.128     moko     13948:       archive_cmds_need_lc=no
                   13949:       hardcode_shlibpath_var=no
1.237     moko     13950:       hardcode_libdir_flag_spec='$wl-R,$libdir'
1.128     moko     13951:       hardcode_libdir_separator=':'
                   13952:       link_all_deplibs=yes
1.237     moko     13953:       export_dynamic_flag_spec='$wl-Bexport'
1.128     moko     13954:       runpath_var='LD_RUN_PATH'
                   13955: 
1.237     moko     13956:       if test yes = "$GCC"; then
                   13957:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13958:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13959:       else
1.237     moko     13960:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13961:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13962:       fi
                   13963:       ;;
                   13964: 
                   13965:     uts4*)
                   13966:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13967:       hardcode_libdir_flag_spec='-L$libdir'
                   13968:       hardcode_shlibpath_var=no
                   13969:       ;;
                   13970: 
                   13971:     *)
                   13972:       ld_shlibs=no
                   13973:       ;;
                   13974:     esac
                   13975: 
1.237     moko     13976:     if test sni = "$host_vendor"; then
1.128     moko     13977:       case $host in
                   13978:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.237     moko     13979:        export_dynamic_flag_spec='$wl-Blargedynsym'
1.128     moko     13980:        ;;
                   13981:       esac
                   13982:     fi
                   13983:   fi
                   13984: 
1.237     moko     13985: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   13986: printf "%s\n" "$ld_shlibs" >&6; }
                   13987: test no = "$ld_shlibs" && can_build_shared=no
1.128     moko     13988: 
                   13989: with_gnu_ld=$with_gnu_ld
                   13990: 
                   13991: 
                   13992: 
                   13993: 
                   13994: 
                   13995: 
                   13996: 
                   13997: 
                   13998: 
                   13999: 
                   14000: 
                   14001: 
                   14002: 
                   14003: 
                   14004: 
                   14005: #
                   14006: # Do we need to explicitly link libc?
                   14007: #
                   14008: case "x$archive_cmds_need_lc" in
                   14009: x|xyes)
                   14010:   # Assume -lc should be added
                   14011:   archive_cmds_need_lc=yes
                   14012: 
1.237     moko     14013:   if test yes,yes = "$GCC,$enable_shared"; then
1.128     moko     14014:     case $archive_cmds in
                   14015:     *'~'*)
                   14016:       # FIXME: we may have to deal with multi-command sequences.
                   14017:       ;;
                   14018:     '$CC '*)
                   14019:       # Test whether the compiler implicitly links with -lc since on some
                   14020:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   14021:       # to ld, don't add -lc before -lgcc.
1.237     moko     14022:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   14023: printf %s "checking whether -lc should be explicitly linked in... " >&6; }
                   14024: if test ${lt_cv_archive_cmds_need_lc+y}
                   14025: then :
                   14026:   printf %s "(cached) " >&6
                   14027: else case e in #(
                   14028:   e) $RM conftest*
1.128     moko     14029:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14030: 
1.150     moko     14031:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     14032:   (eval $ac_compile) 2>&5
                   14033:   ac_status=$?
1.237     moko     14034:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     14035:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     14036:          soname=conftest
                   14037:          lib=conftest
                   14038:          libobjs=conftest.$ac_objext
                   14039:          deplibs=
                   14040:          wl=$lt_prog_compiler_wl
                   14041:          pic_flag=$lt_prog_compiler_pic
                   14042:          compiler_flags=-v
                   14043:          linker_flags=-v
                   14044:          verstring=
                   14045:          output_objdir=.
                   14046:          libname=conftest
                   14047:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   14048:          allow_undefined_flag=
1.150     moko     14049:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     14050:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   14051:   ac_status=$?
1.237     moko     14052:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     14053:   test $ac_status = 0; }
1.128     moko     14054:          then
                   14055:            lt_cv_archive_cmds_need_lc=no
                   14056:          else
                   14057:            lt_cv_archive_cmds_need_lc=yes
                   14058:          fi
                   14059:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   14060:        else
                   14061:          cat conftest.err 1>&5
                   14062:        fi
                   14063:        $RM conftest*
1.237     moko     14064:         ;;
                   14065: esac
1.128     moko     14066: fi
1.237     moko     14067: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   14068: printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     14069:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   14070:       ;;
                   14071:     esac
                   14072:   fi
                   14073:   ;;
                   14074: esac
                   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: 
                   14154: 
                   14155: 
                   14156: 
                   14157: 
                   14158: 
                   14159: 
                   14160: 
                   14161: 
                   14162: 
                   14163: 
                   14164: 
                   14165: 
                   14166: 
                   14167: 
                   14168: 
                   14169: 
                   14170: 
                   14171: 
                   14172: 
                   14173: 
                   14174: 
                   14175: 
                   14176: 
                   14177: 
                   14178: 
                   14179: 
                   14180: 
                   14181: 
                   14182: 
                   14183: 
                   14184: 
                   14185: 
                   14186: 
                   14187: 
                   14188: 
                   14189: 
                   14190: 
                   14191: 
                   14192: 
                   14193: 
                   14194: 
                   14195: 
                   14196: 
                   14197: 
                   14198: 
                   14199: 
                   14200: 
                   14201: 
                   14202: 
                   14203: 
                   14204: 
                   14205: 
                   14206: 
                   14207: 
                   14208: 
                   14209: 
                   14210: 
                   14211: 
                   14212: 
                   14213: 
                   14214: 
                   14215: 
                   14216: 
                   14217: 
                   14218: 
                   14219: 
                   14220: 
                   14221: 
                   14222: 
                   14223: 
                   14224: 
                   14225: 
                   14226: 
1.237     moko     14227:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   14228: printf %s "checking dynamic linker characteristics... " >&6; }
1.128     moko     14229: 
1.237     moko     14230: if test yes = "$GCC"; then
1.128     moko     14231:   case $host_os in
1.237     moko     14232:     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
                   14233:     *) lt_awk_arg='/^libraries:/' ;;
1.128     moko     14234:   esac
                   14235:   case $host_os in
1.237     moko     14236:     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
                   14237:     *) lt_sed_strip_eq='s|=/|/|g' ;;
1.128     moko     14238:   esac
                   14239:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   14240:   case $lt_search_path_spec in
                   14241:   *\;*)
                   14242:     # if the path contains ";" then we assume it to be the separator
                   14243:     # otherwise default to the standard path separator (i.e. ":") - it is
                   14244:     # assumed that no part of a normal pathname contains ";" but that should
                   14245:     # okay in the real world where ";" in dirpaths is itself problematic.
                   14246:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   14247:     ;;
                   14248:   *)
                   14249:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   14250:     ;;
                   14251:   esac
                   14252:   # Ok, now we have the path, separated by spaces, we can step through it
1.237     moko     14253:   # and add multilib dir if necessary...
1.128     moko     14254:   lt_tmp_lt_search_path_spec=
1.237     moko     14255:   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   14256:   # ...but if some path component already ends with the multilib dir we assume
                   14257:   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
                   14258:   case "$lt_multi_os_dir; $lt_search_path_spec " in
                   14259:   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
                   14260:     lt_multi_os_dir=
                   14261:     ;;
                   14262:   esac
1.128     moko     14263:   for lt_sys_path in $lt_search_path_spec; do
1.237     moko     14264:     if test -d "$lt_sys_path$lt_multi_os_dir"; then
                   14265:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
                   14266:     elif test -n "$lt_multi_os_dir"; then
1.128     moko     14267:       test -d "$lt_sys_path" && \
                   14268:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   14269:     fi
                   14270:   done
                   14271:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
1.237     moko     14272: BEGIN {RS = " "; FS = "/|\n";} {
                   14273:   lt_foo = "";
                   14274:   lt_count = 0;
1.128     moko     14275:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   14276:     if ($lt_i != "" && $lt_i != ".") {
                   14277:       if ($lt_i == "..") {
                   14278:         lt_count++;
                   14279:       } else {
                   14280:         if (lt_count == 0) {
1.237     moko     14281:           lt_foo = "/" $lt_i lt_foo;
1.128     moko     14282:         } else {
                   14283:           lt_count--;
                   14284:         }
                   14285:       }
                   14286:     }
                   14287:   }
                   14288:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   14289:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   14290: }'`
                   14291:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   14292:   # for these hosts.
                   14293:   case $host_os in
1.237     moko     14294:     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   14295:       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
1.128     moko     14296:   esac
                   14297:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   14298: else
                   14299:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   14300: fi
                   14301: library_names_spec=
                   14302: libname_spec='lib$name'
                   14303: soname_spec=
1.237     moko     14304: shrext_cmds=.so
1.128     moko     14305: postinstall_cmds=
                   14306: postuninstall_cmds=
                   14307: finish_cmds=
                   14308: finish_eval=
                   14309: shlibpath_var=
                   14310: shlibpath_overrides_runpath=unknown
                   14311: version_type=none
                   14312: dynamic_linker="$host_os ld.so"
                   14313: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   14314: need_lib_prefix=unknown
                   14315: hardcode_into_libs=no
                   14316: 
                   14317: # when you set need_version to no, make sure it does not cause -set_version
                   14318: # flags to be left without arguments
                   14319: need_version=unknown
                   14320: 
1.237     moko     14321: 
                   14322: 
1.128     moko     14323: case $host_os in
                   14324: aix3*)
                   14325:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     14326:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
1.128     moko     14327:   shlibpath_var=LIBPATH
                   14328: 
                   14329:   # AIX 3 has no versioning support, so we append a major version to the name.
1.237     moko     14330:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14331:   ;;
                   14332: 
                   14333: aix[4-9]*)
                   14334:   version_type=linux # correct to gnu/linux during the next big refactor
                   14335:   need_lib_prefix=no
                   14336:   need_version=no
                   14337:   hardcode_into_libs=yes
1.237     moko     14338:   if test ia64 = "$host_cpu"; then
1.128     moko     14339:     # AIX 5 supports IA64
1.237     moko     14340:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
1.128     moko     14341:     shlibpath_var=LD_LIBRARY_PATH
                   14342:   else
                   14343:     # With GCC up to 2.95.x, collect2 would create an import file
                   14344:     # for dependence libraries.  The import file would start with
1.237     moko     14345:     # the line '#! .'.  This would cause the generated library to
                   14346:     # depend on '.', always an invalid library.  This was fixed in
1.128     moko     14347:     # development snapshots of GCC prior to 3.0.
                   14348:     case $host_os in
                   14349:       aix4 | aix4.[01] | aix4.[01].*)
                   14350:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   14351:           echo ' yes '
1.237     moko     14352:           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
1.128     moko     14353:        :
                   14354:       else
                   14355:        can_build_shared=no
                   14356:       fi
                   14357:       ;;
                   14358:     esac
1.237     moko     14359:     # Using Import Files as archive members, it is possible to support
                   14360:     # filename-based versioning of shared library archives on AIX. While
                   14361:     # this would work for both with and without runtime linking, it will
                   14362:     # prevent static linking of such archives. So we do filename-based
                   14363:     # shared library versioning with .so extension only, which is used
                   14364:     # when both runtime linking and shared linking is enabled.
                   14365:     # Unfortunately, runtime linking may impact performance, so we do
                   14366:     # not want this to be the default eventually. Also, we use the
                   14367:     # versioned .so libs for executables only if there is the -brtl
                   14368:     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
                   14369:     # To allow for filename-based versioning support, we need to create
                   14370:     # libNAME.so.V as an archive file, containing:
                   14371:     # *) an Import File, referring to the versioned filename of the
                   14372:     #    archive as well as the shared archive member, telling the
                   14373:     #    bitwidth (32 or 64) of that shared object, and providing the
                   14374:     #    list of exported symbols of that shared object, eventually
                   14375:     #    decorated with the 'weak' keyword
                   14376:     # *) the shared object with the F_LOADONLY flag set, to really avoid
                   14377:     #    it being seen by the linker.
                   14378:     # At run time we better use the real file rather than another symlink,
                   14379:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
                   14380: 
                   14381:     case $with_aix_soname,$aix_use_runtimelinking in
                   14382:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
1.128     moko     14383:     # soname into executable. Probably we can add versioning support to
                   14384:     # collect2, so additional links can be useful in future.
1.237     moko     14385:     aix,yes) # traditional libtool
                   14386:       dynamic_linker='AIX unversionable lib.so'
1.128     moko     14387:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   14388:       # instead of lib<name>.a to let people know that these are not
                   14389:       # typical AIX shared libraries.
1.237     moko     14390:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14391:       ;;
                   14392:     aix,no) # traditional AIX only
                   14393:       dynamic_linker='AIX lib.a(lib.so.V)'
1.128     moko     14394:       # We preserve .a as extension for shared libraries through AIX4.2
                   14395:       # and later when we are not doing run time linking.
1.237     moko     14396:       library_names_spec='$libname$release.a $libname.a'
                   14397:       soname_spec='$libname$release$shared_ext$major'
                   14398:       ;;
                   14399:     svr4,*) # full svr4 only
                   14400:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
                   14401:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
                   14402:       # We do not specify a path in Import Files, so LIBPATH fires.
                   14403:       shlibpath_overrides_runpath=yes
                   14404:       ;;
                   14405:     *,yes) # both, prefer svr4
                   14406:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
                   14407:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
                   14408:       # unpreferred sharedlib libNAME.a needs extra handling
                   14409:       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"'
                   14410:       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"'
                   14411:       # We do not specify a path in Import Files, so LIBPATH fires.
                   14412:       shlibpath_overrides_runpath=yes
                   14413:       ;;
                   14414:     *,no) # both, prefer aix
                   14415:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
                   14416:       library_names_spec='$libname$release.a $libname.a'
                   14417:       soname_spec='$libname$release$shared_ext$major'
                   14418:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
                   14419:       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)'
                   14420:       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"'
                   14421:       ;;
                   14422:     esac
1.128     moko     14423:     shlibpath_var=LIBPATH
                   14424:   fi
                   14425:   ;;
                   14426: 
                   14427: amigaos*)
                   14428:   case $host_cpu in
                   14429:   powerpc)
                   14430:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   14431:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
1.237     moko     14432:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     14433:     ;;
                   14434:   m68k)
                   14435:     library_names_spec='$libname.ixlibrary $libname.a'
                   14436:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.237     moko     14437:     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     14438:     ;;
                   14439:   esac
                   14440:   ;;
                   14441: 
                   14442: beos*)
1.237     moko     14443:   library_names_spec='$libname$shared_ext'
1.128     moko     14444:   dynamic_linker="$host_os ld.so"
                   14445:   shlibpath_var=LIBRARY_PATH
                   14446:   ;;
                   14447: 
                   14448: bsdi[45]*)
                   14449:   version_type=linux # correct to gnu/linux during the next big refactor
                   14450:   need_version=no
1.237     moko     14451:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14452:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14453:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   14454:   shlibpath_var=LD_LIBRARY_PATH
                   14455:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   14456:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   14457:   # the default ld.so.conf also contains /usr/contrib/lib and
                   14458:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   14459:   # libtool to hard-code these into programs
                   14460:   ;;
                   14461: 
1.237     moko     14462: cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     14463:   version_type=windows
1.237     moko     14464:   shrext_cmds=.dll
1.128     moko     14465:   need_version=no
                   14466:   need_lib_prefix=no
                   14467: 
                   14468:   case $GCC,$cc_basename in
                   14469:   yes,*)
                   14470:     # gcc
                   14471:     library_names_spec='$libname.dll.a'
                   14472:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.237     moko     14473:     # If user builds GCC with multilib enabled,
                   14474:     # it should just install on $(libdir)
                   14475:     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
                   14476:     if test xyes = x"$multilib"; then
                   14477:       postinstall_cmds='base_file=`basename \$file`~
                   14478:         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
                   14479:         dldir=$destdir/`dirname \$dlpath`~
                   14480:         $install_prog $dir/$dlname $destdir/$dlname~
                   14481:         chmod a+x $destdir/$dlname~
                   14482:         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14483:           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
                   14484:         fi'
                   14485:     else
                   14486:       postinstall_cmds='base_file=`basename \$file`~
                   14487:         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
                   14488:         dldir=$destdir/`dirname \$dlpath`~
                   14489:         test -d \$dldir || mkdir -p \$dldir~
                   14490:         $install_prog $dir/$dlname \$dldir/$dlname~
                   14491:         chmod a+x \$dldir/$dlname~
                   14492:         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14493:           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   14494:         fi'
                   14495:     fi
1.128     moko     14496:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14497:       dlpath=$dir/\$dldll~
                   14498:        $RM \$dlpath'
                   14499:     shlibpath_overrides_runpath=yes
                   14500: 
                   14501:     case $host_os in
                   14502:     cygwin*)
                   14503:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.237     moko     14504:       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     14505: 
                   14506:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   14507:       ;;
1.237     moko     14508:     mingw* | windows* | cegcc*)
1.128     moko     14509:       # MinGW DLLs use traditional 'lib' prefix
1.237     moko     14510:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     14511:       ;;
                   14512:     pw32*)
                   14513:       # pw32 DLLs use 'pw' prefix rather than 'lib'
1.237     moko     14514:       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     14515:       ;;
                   14516:     esac
                   14517:     dynamic_linker='Win32 ld.exe'
                   14518:     ;;
                   14519: 
1.237     moko     14520:   *,cl* | *,icl*)
                   14521:     # Native MSVC or ICC
1.128     moko     14522:     libname_spec='$name'
1.237     moko     14523:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
                   14524:     library_names_spec='$libname.dll.lib'
1.128     moko     14525: 
                   14526:     case $build_os in
1.237     moko     14527:     mingw* | windows*)
1.128     moko     14528:       sys_lib_search_path_spec=
                   14529:       lt_save_ifs=$IFS
                   14530:       IFS=';'
                   14531:       for lt_path in $LIB
                   14532:       do
                   14533:         IFS=$lt_save_ifs
                   14534:         # Let DOS variable expansion print the short 8.3 style file name.
                   14535:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   14536:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   14537:       done
                   14538:       IFS=$lt_save_ifs
                   14539:       # Convert to MSYS style.
1.237     moko     14540:       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     14541:       ;;
                   14542:     cygwin*)
                   14543:       # Convert to unix form, then to dos form, then back to unix form
                   14544:       # but this time dos style (no spaces!) so that the unix form looks
                   14545:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   14546:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   14547:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   14548:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14549:       ;;
                   14550:     *)
1.237     moko     14551:       sys_lib_search_path_spec=$LIB
1.128     moko     14552:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   14553:         # It is most probably a Windows format PATH.
                   14554:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   14555:       else
                   14556:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14557:       fi
                   14558:       # FIXME: find the short name or the path components, as spaces are
                   14559:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   14560:       ;;
                   14561:     esac
                   14562: 
                   14563:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.237     moko     14564:     postinstall_cmds='base_file=`basename \$file`~
                   14565:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
1.128     moko     14566:       dldir=$destdir/`dirname \$dlpath`~
                   14567:       test -d \$dldir || mkdir -p \$dldir~
                   14568:       $install_prog $dir/$dlname \$dldir/$dlname'
                   14569:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14570:       dlpath=$dir/\$dldll~
                   14571:        $RM \$dlpath'
                   14572:     shlibpath_overrides_runpath=yes
                   14573:     dynamic_linker='Win32 link.exe'
                   14574:     ;;
                   14575: 
                   14576:   *)
1.237     moko     14577:     # Assume MSVC and ICC wrapper
                   14578:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
1.128     moko     14579:     dynamic_linker='Win32 ld.exe'
                   14580:     ;;
                   14581:   esac
                   14582:   # FIXME: first we should search . and the directory the executable is in
                   14583:   shlibpath_var=PATH
                   14584:   ;;
                   14585: 
                   14586: darwin* | rhapsody*)
                   14587:   dynamic_linker="$host_os dyld"
                   14588:   version_type=darwin
                   14589:   need_lib_prefix=no
                   14590:   need_version=no
1.237     moko     14591:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
                   14592:   soname_spec='$libname$release$major$shared_ext'
1.128     moko     14593:   shlibpath_overrides_runpath=yes
                   14594:   shlibpath_var=DYLD_LIBRARY_PATH
                   14595:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   14596: 
                   14597:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   14598:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   14599:   ;;
                   14600: 
                   14601: dgux*)
                   14602:   version_type=linux # correct to gnu/linux during the next big refactor
                   14603:   need_lib_prefix=no
                   14604:   need_version=no
1.237     moko     14605:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14606:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14607:   shlibpath_var=LD_LIBRARY_PATH
                   14608:   ;;
                   14609: 
1.237     moko     14610: freebsd* | dragonfly* | midnightbsd*)
1.128     moko     14611:   # DragonFly does not have aout.  When/if they implement a new
                   14612:   # versioning mechanism, adjust this.
                   14613:   if test -x /usr/bin/objformat; then
                   14614:     objformat=`/usr/bin/objformat`
                   14615:   else
                   14616:     case $host_os in
                   14617:     freebsd[23].*) objformat=aout ;;
                   14618:     *) objformat=elf ;;
                   14619:     esac
                   14620:   fi
                   14621:   version_type=freebsd-$objformat
                   14622:   case $version_type in
                   14623:     freebsd-elf*)
1.237     moko     14624:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14625:       soname_spec='$libname$release$shared_ext$major'
1.128     moko     14626:       need_version=no
                   14627:       need_lib_prefix=no
                   14628:       ;;
                   14629:     freebsd-*)
1.237     moko     14630:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     14631:       need_version=yes
                   14632:       ;;
                   14633:   esac
1.237     moko     14634:   case $host_cpu in
                   14635:     powerpc64)
                   14636:       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
                   14637:       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
                   14638:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14639: /* end confdefs.h.  */
                   14640: int test_pointer_size[sizeof (void *) - 5];
                   14641: 
                   14642: _ACEOF
                   14643: if ac_fn_c_try_compile "$LINENO"
                   14644: then :
1.128     moko     14645:   shlibpath_var=LD_LIBRARY_PATH
1.237     moko     14646: else case e in #(
                   14647:   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
                   14648: esac
                   14649: fi
                   14650: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   14651:       ;;
                   14652:     *)
                   14653:       shlibpath_var=LD_LIBRARY_PATH
                   14654:       ;;
                   14655:   esac
1.128     moko     14656:   case $host_os in
                   14657:   freebsd2.*)
                   14658:     shlibpath_overrides_runpath=yes
                   14659:     ;;
                   14660:   freebsd3.[01]* | freebsdelf3.[01]*)
                   14661:     shlibpath_overrides_runpath=yes
                   14662:     hardcode_into_libs=yes
                   14663:     ;;
                   14664:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   14665:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   14666:     shlibpath_overrides_runpath=no
                   14667:     hardcode_into_libs=yes
                   14668:     ;;
                   14669:   *) # from 4.6 on, and DragonFly
                   14670:     shlibpath_overrides_runpath=yes
                   14671:     hardcode_into_libs=yes
                   14672:     ;;
                   14673:   esac
                   14674:   ;;
                   14675: 
                   14676: haiku*)
                   14677:   version_type=linux # correct to gnu/linux during the next big refactor
                   14678:   need_lib_prefix=no
                   14679:   need_version=no
                   14680:   dynamic_linker="$host_os runtime_loader"
1.237     moko     14681:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14682:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14683:   shlibpath_var=LIBRARY_PATH
1.237     moko     14684:   shlibpath_overrides_runpath=no
                   14685:   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
                   14686:   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
                   14687:   hardcode_into_libs=no
1.128     moko     14688:   ;;
                   14689: 
                   14690: hpux9* | hpux10* | hpux11*)
                   14691:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   14692:   # link against other versions.
                   14693:   version_type=sunos
                   14694:   need_lib_prefix=no
                   14695:   need_version=no
                   14696:   case $host_cpu in
                   14697:   ia64*)
                   14698:     shrext_cmds='.so'
                   14699:     hardcode_into_libs=yes
                   14700:     dynamic_linker="$host_os dld.so"
                   14701:     shlibpath_var=LD_LIBRARY_PATH
                   14702:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.237     moko     14703:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14704:     soname_spec='$libname$release$shared_ext$major'
                   14705:     if test 32 = "$HPUX_IA64_MODE"; then
1.128     moko     14706:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.237     moko     14707:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
1.128     moko     14708:     else
                   14709:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.237     moko     14710:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
1.128     moko     14711:     fi
                   14712:     ;;
                   14713:   hppa*64*)
                   14714:     shrext_cmds='.sl'
                   14715:     hardcode_into_libs=yes
                   14716:     dynamic_linker="$host_os dld.sl"
                   14717:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   14718:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.237     moko     14719:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14720:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     14721:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   14722:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14723:     ;;
                   14724:   *)
                   14725:     shrext_cmds='.sl'
                   14726:     dynamic_linker="$host_os dld.sl"
                   14727:     shlibpath_var=SHLIB_PATH
                   14728:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.237     moko     14729:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14730:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     14731:     ;;
                   14732:   esac
                   14733:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   14734:   postinstall_cmds='chmod 555 $lib'
                   14735:   # or fails outright, so override atomically:
                   14736:   install_override_mode=555
                   14737:   ;;
                   14738: 
                   14739: interix[3-9]*)
                   14740:   version_type=linux # correct to gnu/linux during the next big refactor
                   14741:   need_lib_prefix=no
                   14742:   need_version=no
1.237     moko     14743:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14744:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14745:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   14746:   shlibpath_var=LD_LIBRARY_PATH
                   14747:   shlibpath_overrides_runpath=no
                   14748:   hardcode_into_libs=yes
                   14749:   ;;
                   14750: 
                   14751: irix5* | irix6* | nonstopux*)
                   14752:   case $host_os in
                   14753:     nonstopux*) version_type=nonstopux ;;
                   14754:     *)
1.237     moko     14755:        if test yes = "$lt_cv_prog_gnu_ld"; then
1.128     moko     14756:                version_type=linux # correct to gnu/linux during the next big refactor
                   14757:        else
                   14758:                version_type=irix
                   14759:        fi ;;
                   14760:   esac
                   14761:   need_lib_prefix=no
                   14762:   need_version=no
1.237     moko     14763:   soname_spec='$libname$release$shared_ext$major'
                   14764:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
1.128     moko     14765:   case $host_os in
                   14766:   irix5* | nonstopux*)
                   14767:     libsuff= shlibsuff=
                   14768:     ;;
                   14769:   *)
                   14770:     case $LD in # libtool.m4 will add one of these switches to LD
                   14771:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   14772:       libsuff= shlibsuff= libmagic=32-bit;;
                   14773:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   14774:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   14775:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   14776:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   14777:     *) libsuff= shlibsuff= libmagic=never-match;;
                   14778:     esac
                   14779:     ;;
                   14780:   esac
                   14781:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   14782:   shlibpath_overrides_runpath=no
1.237     moko     14783:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
                   14784:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
1.128     moko     14785:   hardcode_into_libs=yes
                   14786:   ;;
                   14787: 
                   14788: # No shared lib support for Linux oldld, aout, or coff.
                   14789: linux*oldld* | linux*aout* | linux*coff*)
                   14790:   dynamic_linker=no
                   14791:   ;;
                   14792: 
1.237     moko     14793: linux*android*)
                   14794:   version_type=none # Android doesn't support versioned libraries.
                   14795:   need_lib_prefix=no
                   14796:   need_version=no
                   14797:   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
                   14798:   soname_spec='$libname$release$shared_ext'
                   14799:   finish_cmds=
                   14800:   shlibpath_var=LD_LIBRARY_PATH
                   14801:   shlibpath_overrides_runpath=yes
                   14802: 
                   14803:   # This implies no fast_install, which is unacceptable.
                   14804:   # Some rework will be needed to allow for fast_install
                   14805:   # before this can be enabled.
                   14806:   hardcode_into_libs=yes
                   14807: 
                   14808:   dynamic_linker='Android linker'
                   14809:   # -rpath works at least for libraries that are not overridden by
                   14810:   # libraries installed in system locations.
                   14811:   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   14812:   ;;
                   14813: 
1.128     moko     14814: # This must be glibc/ELF.
1.237     moko     14815: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     14816:   version_type=linux # correct to gnu/linux during the next big refactor
                   14817:   need_lib_prefix=no
                   14818:   need_version=no
1.237     moko     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'
1.128     moko     14821:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   14822:   shlibpath_var=LD_LIBRARY_PATH
                   14823:   shlibpath_overrides_runpath=no
                   14824: 
                   14825:   # Some binutils ld are patched to set DT_RUNPATH
1.237     moko     14826:   if test ${lt_cv_shlibpath_overrides_runpath+y}
                   14827: then :
                   14828:   printf %s "(cached) " >&6
                   14829: else case e in #(
                   14830:   e) lt_cv_shlibpath_overrides_runpath=no
1.128     moko     14831:     save_LDFLAGS=$LDFLAGS
                   14832:     save_libdir=$libdir
                   14833:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   14834:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150     moko     14835:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     14836: /* end confdefs.h.  */
                   14837: 
                   14838: int
1.237     moko     14839: main (void)
1.128     moko     14840: {
                   14841: 
                   14842:   ;
                   14843:   return 0;
                   14844: }
                   14845: _ACEOF
1.237     moko     14846: if ac_fn_c_try_link "$LINENO"
                   14847: then :
                   14848:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
                   14849: then :
1.128     moko     14850:   lt_cv_shlibpath_overrides_runpath=yes
                   14851: fi
                   14852: fi
1.237     moko     14853: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     14854:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     14855:     LDFLAGS=$save_LDFLAGS
                   14856:     libdir=$save_libdir
1.237     moko     14857:      ;;
                   14858: esac
1.128     moko     14859: fi
                   14860: 
                   14861:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   14862: 
                   14863:   # This implies no fast_install, which is unacceptable.
                   14864:   # Some rework will be needed to allow for fast_install
                   14865:   # before this can be enabled.
                   14866:   hardcode_into_libs=yes
                   14867: 
1.237     moko     14868:   # Ideally, we could use ldconfig to report *all* directories which are
                   14869:   # searched for libraries, however this is still not possible.  Aside from not
                   14870:   # being certain /sbin/ldconfig is available, command
                   14871:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
                   14872:   # even though it is searched at run-time.  Try to do the best guess by
                   14873:   # appending ld.so.conf contents (and includes) to the search path.
1.128     moko     14874:   if test -f /etc/ld.so.conf; then
                   14875:     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' ' '`
                   14876:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   14877:   fi
                   14878: 
                   14879:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   14880:   # powerpc, because MkLinux only supported shared libraries with the
                   14881:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   14882:   # most powerpc-linux boxes support dynamic linking these days and
                   14883:   # people can always --disable-shared, the test was removed, and we
                   14884:   # assume the GNU/Linux dynamic linker is in use.
                   14885:   dynamic_linker='GNU/Linux ld.so'
                   14886:   ;;
                   14887: 
1.237     moko     14888: netbsdelf*-gnu)
                   14889:   version_type=linux
                   14890:   need_lib_prefix=no
                   14891:   need_version=no
                   14892:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14893:   soname_spec='$libname$release$shared_ext$major'
                   14894:   shlibpath_var=LD_LIBRARY_PATH
                   14895:   shlibpath_overrides_runpath=no
                   14896:   hardcode_into_libs=yes
                   14897:   dynamic_linker='NetBSD ld.elf_so'
                   14898:   ;;
                   14899: 
                   14900: netbsdelf*-gnu)
                   14901:   version_type=linux
                   14902:   need_lib_prefix=no
                   14903:   need_version=no
                   14904:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   14905:   soname_spec='${libname}${release}${shared_ext}$major'
                   14906:   shlibpath_var=LD_LIBRARY_PATH
                   14907:   shlibpath_overrides_runpath=no
                   14908:   hardcode_into_libs=yes
                   14909:   dynamic_linker='NetBSD ld.elf_so'
                   14910:   ;;
                   14911: 
1.128     moko     14912: netbsd*)
                   14913:   version_type=sunos
                   14914:   need_lib_prefix=no
                   14915:   need_version=no
                   14916:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.237     moko     14917:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     14918:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14919:     dynamic_linker='NetBSD (a.out) ld.so'
                   14920:   else
1.237     moko     14921:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14922:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     14923:     dynamic_linker='NetBSD ld.elf_so'
                   14924:   fi
                   14925:   shlibpath_var=LD_LIBRARY_PATH
                   14926:   shlibpath_overrides_runpath=yes
                   14927:   hardcode_into_libs=yes
                   14928:   ;;
                   14929: 
1.237     moko     14930: *-mlibc)
                   14931:   version_type=linux # correct to gnu/linux during the next big refactor
                   14932:   need_lib_prefix=no
                   14933:   need_version=no
                   14934:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14935:   soname_spec='$libname$release$shared_ext$major'
                   14936:   dynamic_linker='mlibc ld.so'
                   14937:   shlibpath_var=LD_LIBRARY_PATH
                   14938:   shlibpath_overrides_runpath=no
                   14939:   hardcode_into_libs=yes
                   14940:   ;;
                   14941: 
1.128     moko     14942: newsos6)
                   14943:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     14944:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     14945:   shlibpath_var=LD_LIBRARY_PATH
                   14946:   shlibpath_overrides_runpath=yes
                   14947:   ;;
                   14948: 
                   14949: *nto* | *qnx*)
                   14950:   version_type=qnx
                   14951:   need_lib_prefix=no
                   14952:   need_version=no
1.237     moko     14953:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14954:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14955:   shlibpath_var=LD_LIBRARY_PATH
                   14956:   shlibpath_overrides_runpath=no
                   14957:   hardcode_into_libs=yes
                   14958:   dynamic_linker='ldqnx.so'
                   14959:   ;;
                   14960: 
                   14961: openbsd*)
                   14962:   version_type=sunos
1.237     moko     14963:   sys_lib_dlsearch_path_spec=/usr/lib
1.128     moko     14964:   need_lib_prefix=no
1.237     moko     14965:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
                   14966:     need_version=no
                   14967:   else
                   14968:     need_version=yes
                   14969:   fi
                   14970:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     14971:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14972:   shlibpath_var=LD_LIBRARY_PATH
1.237     moko     14973:   shlibpath_overrides_runpath=yes
1.128     moko     14974:   ;;
                   14975: 
                   14976: os2*)
                   14977:   libname_spec='$name'
1.237     moko     14978:   version_type=windows
                   14979:   shrext_cmds=.dll
                   14980:   need_version=no
1.128     moko     14981:   need_lib_prefix=no
1.237     moko     14982:   # OS/2 can only load a DLL with a base name of 8 characters or less.
                   14983:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
                   14984:     v=$($ECHO $release$versuffix | tr -d .-);
                   14985:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
                   14986:     $ECHO $n$v`$shared_ext'
                   14987:   library_names_spec='${libname}_dll.$libext'
1.128     moko     14988:   dynamic_linker='OS/2 ld.exe'
1.237     moko     14989:   shlibpath_var=BEGINLIBPATH
                   14990:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   14991:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14992:   postinstall_cmds='base_file=`basename \$file`~
                   14993:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
                   14994:     dldir=$destdir/`dirname \$dlpath`~
                   14995:     test -d \$dldir || mkdir -p \$dldir~
                   14996:     $install_prog $dir/$dlname \$dldir/$dlname~
                   14997:     chmod a+x \$dldir/$dlname~
                   14998:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14999:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15000:     fi'
                   15001:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
                   15002:     dlpath=$dir/\$dldll~
                   15003:     $RM \$dlpath'
1.128     moko     15004:   ;;
                   15005: 
                   15006: osf3* | osf4* | osf5*)
                   15007:   version_type=osf
                   15008:   need_lib_prefix=no
                   15009:   need_version=no
1.237     moko     15010:   soname_spec='$libname$release$shared_ext$major'
                   15011:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     15012:   shlibpath_var=LD_LIBRARY_PATH
                   15013:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.237     moko     15014:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.128     moko     15015:   ;;
                   15016: 
                   15017: rdos*)
                   15018:   dynamic_linker=no
                   15019:   ;;
                   15020: 
1.237     moko     15021: serenity*)
                   15022:   version_type=linux # correct to gnu/linux during the next big refactor
                   15023:   need_lib_prefix=no
                   15024:   need_version=no
                   15025:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   15026:   soname_spec='$libname$release$shared_ext$major'
                   15027:   shlibpath_var=LD_LIBRARY_PATH
                   15028:   shlibpath_overrides_runpath=no
                   15029:   dynamic_linker='SerenityOS LibELF'
                   15030:   ;;
                   15031: 
1.128     moko     15032: solaris*)
                   15033:   version_type=linux # correct to gnu/linux during the next big refactor
                   15034:   need_lib_prefix=no
                   15035:   need_version=no
1.237     moko     15036:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   15037:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     15038:   shlibpath_var=LD_LIBRARY_PATH
                   15039:   shlibpath_overrides_runpath=yes
                   15040:   hardcode_into_libs=yes
                   15041:   # ldd complains unless libraries are executable
                   15042:   postinstall_cmds='chmod +x $lib'
                   15043:   ;;
                   15044: 
                   15045: sunos4*)
                   15046:   version_type=sunos
1.237     moko     15047:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     15048:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15049:   shlibpath_var=LD_LIBRARY_PATH
                   15050:   shlibpath_overrides_runpath=yes
1.237     moko     15051:   if test yes = "$with_gnu_ld"; then
1.128     moko     15052:     need_lib_prefix=no
                   15053:   fi
                   15054:   need_version=yes
                   15055:   ;;
                   15056: 
                   15057: sysv4 | sysv4.3*)
                   15058:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     15059:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   15060:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     15061:   shlibpath_var=LD_LIBRARY_PATH
                   15062:   case $host_vendor in
                   15063:     sni)
                   15064:       shlibpath_overrides_runpath=no
                   15065:       need_lib_prefix=no
                   15066:       runpath_var=LD_RUN_PATH
                   15067:       ;;
                   15068:     siemens)
                   15069:       need_lib_prefix=no
                   15070:       ;;
                   15071:     motorola)
                   15072:       need_lib_prefix=no
                   15073:       need_version=no
                   15074:       shlibpath_overrides_runpath=no
                   15075:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15076:       ;;
                   15077:   esac
                   15078:   ;;
                   15079: 
                   15080: sysv4*MP*)
1.237     moko     15081:   if test -d /usr/nec; then
1.128     moko     15082:     version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     15083:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
                   15084:     soname_spec='$libname$shared_ext.$major'
1.128     moko     15085:     shlibpath_var=LD_LIBRARY_PATH
                   15086:   fi
                   15087:   ;;
                   15088: 
                   15089: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.237     moko     15090:   version_type=sco
1.128     moko     15091:   need_lib_prefix=no
                   15092:   need_version=no
1.237     moko     15093:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
                   15094:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     15095:   shlibpath_var=LD_LIBRARY_PATH
                   15096:   shlibpath_overrides_runpath=yes
                   15097:   hardcode_into_libs=yes
1.237     moko     15098:   if test yes = "$with_gnu_ld"; then
1.128     moko     15099:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15100:   else
                   15101:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15102:     case $host_os in
                   15103:       sco3.2v5*)
                   15104:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15105:        ;;
                   15106:     esac
                   15107:   fi
                   15108:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15109:   ;;
                   15110: 
                   15111: tpf*)
                   15112:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15113:   version_type=linux # correct to gnu/linux during the next big refactor
                   15114:   need_lib_prefix=no
                   15115:   need_version=no
1.237     moko     15116:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     15117:   shlibpath_var=LD_LIBRARY_PATH
                   15118:   shlibpath_overrides_runpath=no
                   15119:   hardcode_into_libs=yes
                   15120:   ;;
                   15121: 
                   15122: uts4*)
                   15123:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     15124:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   15125:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     15126:   shlibpath_var=LD_LIBRARY_PATH
                   15127:   ;;
                   15128: 
1.237     moko     15129: emscripten*)
                   15130:   version_type=none
                   15131:   need_lib_prefix=no
                   15132:   need_version=no
                   15133:   library_names_spec='$libname$release$shared_ext'
                   15134:   soname_spec='$libname$release$shared_ext'
                   15135:   finish_cmds=
                   15136:   dynamic_linker="Emscripten linker"
                   15137:   lt_prog_compiler_wl=
                   15138: lt_prog_compiler_pic=
                   15139: lt_prog_compiler_static=
1.128     moko     15140: 
                   15141: 
1.237     moko     15142:   if test yes = "$GCC"; then
                   15143:     lt_prog_compiler_wl='-Wl,'
                   15144:     lt_prog_compiler_static='-static'
1.128     moko     15145: 
1.237     moko     15146:     case $host_os in
                   15147:       aix*)
                   15148:       # All AIX code is PIC.
                   15149:       if test ia64 = "$host_cpu"; then
                   15150:        # AIX 5 now supports IA64 processor
                   15151:        lt_prog_compiler_static='-Bstatic'
                   15152:       fi
                   15153:       lt_prog_compiler_pic='-fPIC'
                   15154:       ;;
1.128     moko     15155: 
1.237     moko     15156:     amigaos*)
                   15157:       case $host_cpu in
                   15158:       powerpc)
                   15159:             # see comment about AmigaOS4 .so support
                   15160:             lt_prog_compiler_pic='-fPIC'
                   15161:         ;;
                   15162:       m68k)
                   15163:             # FIXME: we need at least 68020 code to build shared libraries, but
                   15164:             # adding the '-m68020' flag to GCC prevents building anything better,
                   15165:             # like '-m68040'.
                   15166:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   15167:         ;;
                   15168:       esac
                   15169:       ;;
1.128     moko     15170: 
1.237     moko     15171:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   15172:       # PIC is the default for these OSes.
                   15173:       ;;
1.128     moko     15174: 
1.237     moko     15175:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
                   15176:       # This hack is so that the source file can tell whether it is being
                   15177:       # built for inclusion in a dll (and should export symbols for example).
                   15178:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   15179:       # (--disable-auto-import) libraries
                   15180:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   15181:       case $host_os in
                   15182:       os2*)
                   15183:        lt_prog_compiler_static='$wl-static'
                   15184:        ;;
                   15185:       esac
                   15186:       ;;
1.128     moko     15187: 
1.237     moko     15188:     darwin* | rhapsody*)
                   15189:       # PIC is the default on this platform
                   15190:       # Common symbols not allowed in MH_DYLIB files
                   15191:       lt_prog_compiler_pic='-fno-common'
                   15192:       ;;
1.128     moko     15193: 
1.237     moko     15194:     haiku*)
                   15195:       # PIC is the default for Haiku.
                   15196:       # The "-static" flag exists, but is broken.
                   15197:       lt_prog_compiler_static=
                   15198:       ;;
1.128     moko     15199: 
1.237     moko     15200:     hpux*)
                   15201:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   15202:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   15203:       # sets the default TLS model and affects inlining.
                   15204:       case $host_cpu in
                   15205:       hppa*64*)
                   15206:        # +Z the default
                   15207:        ;;
                   15208:       *)
                   15209:        lt_prog_compiler_pic='-fPIC'
                   15210:        ;;
                   15211:       esac
                   15212:       ;;
1.128     moko     15213: 
1.237     moko     15214:     interix[3-9]*)
                   15215:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   15216:       # Instead, we relocate shared libraries at runtime.
                   15217:       ;;
1.128     moko     15218: 
1.237     moko     15219:     msdosdjgpp*)
                   15220:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   15221:       # on systems that don't support them.
                   15222:       lt_prog_compiler_can_build_shared=no
                   15223:       enable_shared=no
                   15224:       ;;
1.128     moko     15225: 
1.237     moko     15226:     *nto* | *qnx*)
                   15227:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   15228:       # it will coredump.
                   15229:       lt_prog_compiler_pic='-fPIC -shared'
                   15230:       ;;
1.128     moko     15231: 
1.237     moko     15232:     sysv4*MP*)
                   15233:       if test -d /usr/nec; then
                   15234:        lt_prog_compiler_pic=-Kconform_pic
                   15235:       fi
                   15236:       ;;
1.128     moko     15237: 
1.237     moko     15238:     *)
                   15239:       lt_prog_compiler_pic='-fPIC'
                   15240:       ;;
                   15241:     esac
1.128     moko     15242: 
1.237     moko     15243:     case $cc_basename in
                   15244:     nvcc*) # Cuda Compiler Driver 2.2
                   15245:       lt_prog_compiler_wl='-Xlinker '
                   15246:       if test -n "$lt_prog_compiler_pic"; then
                   15247:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   15248:       fi
                   15249:       ;;
                   15250:     esac
                   15251:   else
                   15252:     # PORTME Check for flag to pass linker flags through the system compiler.
                   15253:     case $host_os in
                   15254:     aix*)
                   15255:       lt_prog_compiler_wl='-Wl,'
                   15256:       if test ia64 = "$host_cpu"; then
                   15257:        # AIX 5 now supports IA64 processor
                   15258:        lt_prog_compiler_static='-Bstatic'
                   15259:       else
                   15260:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   15261:       fi
                   15262:       ;;
1.128     moko     15263: 
1.237     moko     15264:     darwin* | rhapsody*)
                   15265:       # PIC is the default on this platform
                   15266:       # Common symbols not allowed in MH_DYLIB files
                   15267:       lt_prog_compiler_pic='-fno-common'
                   15268:       case $cc_basename in
                   15269:       nagfor*)
                   15270:         # NAG Fortran compiler
                   15271:         lt_prog_compiler_wl='-Wl,-Wl,,'
                   15272:         lt_prog_compiler_pic='-PIC'
                   15273:         lt_prog_compiler_static='-Bstatic'
                   15274:         ;;
                   15275:       esac
                   15276:       ;;
1.128     moko     15277: 
1.237     moko     15278:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
                   15279:       # This hack is so that the source file can tell whether it is being
                   15280:       # built for inclusion in a dll (and should export symbols for example).
                   15281:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   15282:       case $host_os in
                   15283:       os2*)
                   15284:        lt_prog_compiler_static='$wl-static'
                   15285:        ;;
                   15286:       esac
                   15287:       ;;
1.128     moko     15288: 
1.237     moko     15289:     hpux9* | hpux10* | hpux11*)
                   15290:       lt_prog_compiler_wl='-Wl,'
                   15291:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   15292:       # not for PA HP-UX.
                   15293:       case $host_cpu in
                   15294:       hppa*64*|ia64*)
                   15295:        # +Z the default
                   15296:        ;;
                   15297:       *)
                   15298:        lt_prog_compiler_pic='+Z'
                   15299:        ;;
                   15300:       esac
                   15301:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   15302:       lt_prog_compiler_static='$wl-a ${wl}archive'
                   15303:       ;;
1.128     moko     15304: 
1.237     moko     15305:     irix5* | irix6* | nonstopux*)
                   15306:       lt_prog_compiler_wl='-Wl,'
                   15307:       # PIC (with -KPIC) is the default.
                   15308:       lt_prog_compiler_static='-non_shared'
                   15309:       ;;
1.128     moko     15310: 
1.237     moko     15311:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
                   15312:       case $cc_basename in
                   15313:       # old Intel for x86_64, which still supported -KPIC.
                   15314:       ecc*)
                   15315:        lt_prog_compiler_wl='-Wl,'
                   15316:        lt_prog_compiler_pic='-KPIC'
                   15317:        lt_prog_compiler_static='-static'
                   15318:         ;;
                   15319:       *flang* | ftn | f18* | f95*)
                   15320:         # Flang compiler.
                   15321:        lt_prog_compiler_wl='-Wl,'
                   15322:        lt_prog_compiler_pic='-fPIC'
                   15323:        lt_prog_compiler_static='-static'
                   15324:         ;;
                   15325:       # flang / f18. f95 an alias for gfortran or flang on Debian
                   15326:       flang* | f18* | f95*)
                   15327:        lt_prog_compiler_wl='-Wl,'
                   15328:        lt_prog_compiler_pic='-fPIC'
                   15329:        lt_prog_compiler_static='-static'
                   15330:         ;;
                   15331:       # icc used to be incompatible with GCC.
                   15332:       # ICC 10 doesn't accept -KPIC any more.
                   15333:       icc* | ifort*)
                   15334:        lt_prog_compiler_wl='-Wl,'
                   15335:        lt_prog_compiler_pic='-fPIC'
                   15336:        lt_prog_compiler_static='-static'
                   15337:         ;;
                   15338:       # Lahey Fortran 8.1.
                   15339:       lf95*)
                   15340:        lt_prog_compiler_wl='-Wl,'
                   15341:        lt_prog_compiler_pic='--shared'
                   15342:        lt_prog_compiler_static='--static'
                   15343:        ;;
                   15344:       nagfor*)
                   15345:        # NAG Fortran compiler
                   15346:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   15347:        lt_prog_compiler_pic='-PIC'
                   15348:        lt_prog_compiler_static='-Bstatic'
                   15349:        ;;
                   15350:       tcc*)
                   15351:        # Fabrice Bellard et al's Tiny C Compiler
                   15352:        lt_prog_compiler_wl='-Wl,'
                   15353:        lt_prog_compiler_pic='-fPIC'
                   15354:        lt_prog_compiler_static='-static'
                   15355:        ;;
                   15356:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   15357:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   15358:        # which looks to be a dead project)
                   15359:        lt_prog_compiler_wl='-Wl,'
                   15360:        lt_prog_compiler_pic='-fpic'
                   15361:        lt_prog_compiler_static='-Bstatic'
                   15362:         ;;
                   15363:       ccc*)
                   15364:         lt_prog_compiler_wl='-Wl,'
                   15365:         # All Alpha code is PIC.
                   15366:         lt_prog_compiler_static='-non_shared'
                   15367:         ;;
                   15368:       xl* | bgxl* | bgf* | mpixl*)
                   15369:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   15370:        lt_prog_compiler_wl='-Wl,'
                   15371:        lt_prog_compiler_pic='-qpic'
                   15372:        lt_prog_compiler_static='-qstaticlink'
                   15373:        ;;
                   15374:       *)
                   15375:        case `$CC -V 2>&1 | $SED 5q` in
                   15376:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   15377:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   15378:          lt_prog_compiler_pic='-KPIC'
                   15379:          lt_prog_compiler_static='-Bstatic'
                   15380:          lt_prog_compiler_wl=''
                   15381:          ;;
                   15382:        *Sun\ F* | *Sun*Fortran*)
                   15383:          lt_prog_compiler_pic='-KPIC'
                   15384:          lt_prog_compiler_static='-Bstatic'
                   15385:          lt_prog_compiler_wl='-Qoption ld '
                   15386:          ;;
                   15387:        *Sun\ C*)
                   15388:          # Sun C 5.9
                   15389:          lt_prog_compiler_pic='-KPIC'
                   15390:          lt_prog_compiler_static='-Bstatic'
                   15391:          lt_prog_compiler_wl='-Wl,'
                   15392:          ;;
                   15393:         *Intel*\ [CF]*Compiler*)
                   15394:          lt_prog_compiler_wl='-Wl,'
                   15395:          lt_prog_compiler_pic='-fPIC'
                   15396:          lt_prog_compiler_static='-static'
                   15397:          ;;
                   15398:        *Portland\ Group*)
                   15399:          lt_prog_compiler_wl='-Wl,'
                   15400:          lt_prog_compiler_pic='-fpic'
                   15401:          lt_prog_compiler_static='-Bstatic'
                   15402:          ;;
                   15403:        esac
                   15404:        ;;
                   15405:       esac
                   15406:       ;;
1.128     moko     15407: 
1.237     moko     15408:     newsos6)
                   15409:       lt_prog_compiler_pic='-KPIC'
                   15410:       lt_prog_compiler_static='-Bstatic'
                   15411:       ;;
1.128     moko     15412: 
1.237     moko     15413:     *-mlibc)
                   15414:       lt_prog_compiler_wl='-Wl,'
                   15415:       lt_prog_compiler_pic='-fPIC'
                   15416:       lt_prog_compiler_static='-static'
                   15417:       ;;
1.128     moko     15418: 
1.237     moko     15419:     *nto* | *qnx*)
                   15420:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   15421:       # it will coredump.
                   15422:       lt_prog_compiler_pic='-fPIC -shared'
                   15423:       ;;
1.128     moko     15424: 
1.237     moko     15425:     osf3* | osf4* | osf5*)
                   15426:       lt_prog_compiler_wl='-Wl,'
                   15427:       # All OSF/1 code is PIC.
                   15428:       lt_prog_compiler_static='-non_shared'
                   15429:       ;;
1.128     moko     15430: 
1.237     moko     15431:     rdos*)
                   15432:       lt_prog_compiler_static='-non_shared'
                   15433:       ;;
1.128     moko     15434: 
1.237     moko     15435:     serenity*)
                   15436:       ;;
                   15437: 
                   15438:     solaris*)
                   15439:       lt_prog_compiler_pic='-KPIC'
                   15440:       lt_prog_compiler_static='-Bstatic'
                   15441:       case $cc_basename in
                   15442:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   15443:        lt_prog_compiler_wl='-Qoption ld ';;
                   15444:       *)
                   15445:        lt_prog_compiler_wl='-Wl,';;
                   15446:       esac
                   15447:       ;;
                   15448: 
                   15449:     sunos4*)
                   15450:       lt_prog_compiler_wl='-Qoption ld '
                   15451:       lt_prog_compiler_pic='-PIC'
                   15452:       lt_prog_compiler_static='-Bstatic'
                   15453:       ;;
                   15454: 
                   15455:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   15456:       lt_prog_compiler_wl='-Wl,'
                   15457:       lt_prog_compiler_pic='-KPIC'
                   15458:       lt_prog_compiler_static='-Bstatic'
                   15459:       ;;
                   15460: 
                   15461:     sysv4*MP*)
                   15462:       if test -d /usr/nec; then
                   15463:        lt_prog_compiler_pic='-Kconform_pic'
                   15464:        lt_prog_compiler_static='-Bstatic'
                   15465:       fi
                   15466:       ;;
                   15467: 
                   15468:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   15469:       lt_prog_compiler_wl='-Wl,'
                   15470:       lt_prog_compiler_pic='-KPIC'
                   15471:       lt_prog_compiler_static='-Bstatic'
                   15472:       ;;
                   15473: 
                   15474:     unicos*)
                   15475:       lt_prog_compiler_wl='-Wl,'
                   15476:       lt_prog_compiler_can_build_shared=no
                   15477:       ;;
                   15478: 
                   15479:     uts4*)
                   15480:       lt_prog_compiler_pic='-pic'
                   15481:       lt_prog_compiler_static='-Bstatic'
                   15482:       ;;
                   15483: 
                   15484:     *)
                   15485:       lt_prog_compiler_can_build_shared=no
                   15486:       ;;
                   15487:     esac
                   15488:   fi
                   15489: 
                   15490: case $host_os in
                   15491:   # For platforms that do not support PIC, -DPIC is meaningless:
                   15492:   *djgpp*)
                   15493:     lt_prog_compiler_pic=
                   15494:     ;;
                   15495:   *)
                   15496:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   15497:     ;;
                   15498: esac
                   15499: 
                   15500: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   15501: printf %s "checking for $compiler option to produce PIC... " >&6; }
                   15502: if test ${lt_cv_prog_compiler_pic+y}
                   15503: then :
                   15504:   printf %s "(cached) " >&6
                   15505: else case e in #(
                   15506:   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
                   15507: esac
                   15508: fi
                   15509: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   15510: printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
                   15511: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   15512: 
                   15513: #
                   15514: # Check to make sure the PIC flag actually works.
                   15515: #
                   15516: if test -n "$lt_prog_compiler_pic"; then
                   15517:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   15518: printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   15519: if test ${lt_cv_prog_compiler_pic_works+y}
                   15520: then :
                   15521:   printf %s "(cached) " >&6
                   15522: else case e in #(
                   15523:   e) lt_cv_prog_compiler_pic_works=no
                   15524:    ac_outfile=conftest.$ac_objext
                   15525:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15526:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
                   15527:    # Insert the option either (1) after the last *FLAGS variable, or
                   15528:    # (2) before a word containing "conftest.", or (3) at the end.
                   15529:    # Note that $ac_compile itself does not contain backslashes and begins
                   15530:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15531:    # The option is referenced via a variable to avoid confusing sed.
                   15532:    lt_compile=`echo "$ac_compile" | $SED \
                   15533:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15534:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15535:    -e 's:$: $lt_compiler_flag:'`
                   15536:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15537:    (eval "$lt_compile" 2>conftest.err)
                   15538:    ac_status=$?
                   15539:    cat conftest.err >&5
                   15540:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15541:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   15542:      # The compiler can only warn and ignore the option if not recognized
                   15543:      # So say no if there are warnings other than the usual output.
                   15544:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   15545:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15546:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   15547:        lt_cv_prog_compiler_pic_works=yes
                   15548:      fi
                   15549:    fi
                   15550:    $RM conftest*
                   15551:  ;;
                   15552: esac
                   15553: fi
                   15554: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   15555: printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
                   15556: 
                   15557: if test yes = "$lt_cv_prog_compiler_pic_works"; then
                   15558:     case $lt_prog_compiler_pic in
                   15559:      "" | " "*) ;;
                   15560:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   15561:      esac
                   15562: else
                   15563:     lt_prog_compiler_pic=
                   15564:      lt_prog_compiler_can_build_shared=no
                   15565: fi
                   15566: 
                   15567: fi
                   15568: 
                   15569: 
                   15570: 
                   15571: 
                   15572: 
                   15573: #
                   15574: # Check to make sure the static flag actually works.
                   15575: #
                   15576: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   15577: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   15578: printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   15579: if test ${lt_cv_prog_compiler_static_works+y}
                   15580: then :
                   15581:   printf %s "(cached) " >&6
                   15582: else case e in #(
                   15583:   e) lt_cv_prog_compiler_static_works=no
                   15584:    save_LDFLAGS=$LDFLAGS
                   15585:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   15586:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   15587:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   15588:      # The linker can only warn and ignore the option if not recognized
                   15589:      # So say no if there are warnings
                   15590:      if test -s conftest.err; then
                   15591:        # Append any errors to the config.log.
                   15592:        cat conftest.err 1>&5
                   15593:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   15594:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15595:        if diff conftest.exp conftest.er2 >/dev/null; then
                   15596:          lt_cv_prog_compiler_static_works=yes
                   15597:        fi
                   15598:      else
                   15599:        lt_cv_prog_compiler_static_works=yes
                   15600:      fi
                   15601:    fi
                   15602:    $RM -r conftest*
                   15603:    LDFLAGS=$save_LDFLAGS
                   15604:  ;;
                   15605: esac
                   15606: fi
                   15607: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   15608: printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
                   15609: 
                   15610: if test yes = "$lt_cv_prog_compiler_static_works"; then
                   15611:     :
                   15612: else
                   15613:     lt_prog_compiler_static=
                   15614: fi
                   15615: 
                   15616: 
                   15617: 
                   15618: ='-fPIC'
                   15619:   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
                   15620:   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'
                   15621:   archive_cmds_need_lc=no
                   15622:   no_undefined_flag=
                   15623:   ;;
                   15624: 
                   15625: *)
                   15626:   dynamic_linker=no
                   15627:   ;;
                   15628: esac
                   15629: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   15630: printf "%s\n" "$dynamic_linker" >&6; }
                   15631: test no = "$dynamic_linker" && can_build_shared=no
                   15632: 
                   15633: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15634: if test yes = "$GCC"; then
                   15635:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15636: fi
                   15637: 
                   15638: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
                   15639:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
                   15640: fi
                   15641: 
                   15642: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
                   15643:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
                   15644: fi
                   15645: 
                   15646: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
                   15647: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
                   15648: 
                   15649: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
                   15650: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
                   15651: 
                   15652: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
                   15653: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
1.128     moko     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: 
                   15679: 
                   15680: 
                   15681: 
                   15682: 
                   15683: 
                   15684: 
                   15685: 
                   15686: 
                   15687: 
                   15688: 
                   15689: 
                   15690: 
                   15691: 
                   15692: 
                   15693: 
                   15694: 
                   15695: 
                   15696: 
                   15697: 
                   15698: 
                   15699: 
                   15700: 
                   15701: 
                   15702: 
                   15703: 
                   15704: 
                   15705: 
                   15706: 
                   15707: 
                   15708: 
                   15709: 
                   15710: 
                   15711: 
                   15712: 
                   15713: 
                   15714: 
                   15715: 
                   15716: 
                   15717: 
                   15718: 
                   15719: 
                   15720: 
                   15721: 
1.237     moko     15722: 
                   15723: 
                   15724: 
                   15725: 
                   15726: 
                   15727: 
                   15728: 
                   15729: 
                   15730: 
                   15731: 
                   15732: 
                   15733: 
                   15734: 
                   15735: 
                   15736: 
                   15737: 
                   15738: 
                   15739: 
                   15740: 
                   15741: 
                   15742: 
                   15743: 
                   15744: 
                   15745: 
                   15746: 
                   15747: 
                   15748: 
                   15749: 
                   15750: 
                   15751:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   15752: printf %s "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     15753: hardcode_action=
                   15754: if test -n "$hardcode_libdir_flag_spec" ||
                   15755:    test -n "$runpath_var" ||
1.237     moko     15756:    test yes = "$hardcode_automatic"; then
1.128     moko     15757: 
                   15758:   # We can hardcode non-existent directories.
1.237     moko     15759:   if test no != "$hardcode_direct" &&
1.128     moko     15760:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15761:      # have to relink, otherwise we might link with an installed library
                   15762:      # when we should be linking with a yet-to-be-installed one
1.237     moko     15763:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
                   15764:      test no != "$hardcode_minus_L"; then
1.128     moko     15765:     # Linking always hardcodes the temporary library directory.
                   15766:     hardcode_action=relink
                   15767:   else
                   15768:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15769:     hardcode_action=immediate
                   15770:   fi
                   15771: else
                   15772:   # We cannot hardcode anything, or else we can only hardcode existing
                   15773:   # directories.
                   15774:   hardcode_action=unsupported
                   15775: fi
1.237     moko     15776: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   15777: printf "%s\n" "$hardcode_action" >&6; }
1.128     moko     15778: 
1.237     moko     15779: if test relink = "$hardcode_action" ||
                   15780:    test yes = "$inherit_rpath"; then
1.128     moko     15781:   # Fast installation is not supported
                   15782:   enable_fast_install=no
1.237     moko     15783: elif test yes = "$shlibpath_overrides_runpath" ||
                   15784:      test no = "$enable_shared"; then
1.128     moko     15785:   # Fast installation is not necessary
                   15786:   enable_fast_install=needless
                   15787: fi
                   15788: 
                   15789: 
                   15790: 
                   15791: 
                   15792: 
                   15793: 
1.237     moko     15794:   if test yes != "$enable_dlopen"; then
1.128     moko     15795:   enable_dlopen=unknown
                   15796:   enable_dlopen_self=unknown
                   15797:   enable_dlopen_self_static=unknown
                   15798: else
                   15799:   lt_cv_dlopen=no
                   15800:   lt_cv_dlopen_libs=
                   15801: 
                   15802:   case $host_os in
                   15803:   beos*)
1.237     moko     15804:     lt_cv_dlopen=load_add_on
1.128     moko     15805:     lt_cv_dlopen_libs=
                   15806:     lt_cv_dlopen_self=yes
                   15807:     ;;
                   15808: 
1.237     moko     15809:   mingw* | windows* | pw32* | cegcc*)
                   15810:     lt_cv_dlopen=LoadLibrary
1.128     moko     15811:     lt_cv_dlopen_libs=
                   15812:     ;;
                   15813: 
                   15814:   cygwin*)
1.237     moko     15815:     lt_cv_dlopen=dlopen
1.128     moko     15816:     lt_cv_dlopen_libs=
                   15817:     ;;
                   15818: 
                   15819:   darwin*)
1.237     moko     15820:     # if libdl is installed we need to link against it
                   15821:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   15822: printf %s "checking for dlopen in -ldl... " >&6; }
                   15823: if test ${ac_cv_lib_dl_dlopen+y}
                   15824: then :
                   15825:   printf %s "(cached) " >&6
                   15826: else case e in #(
                   15827:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     15828: LIBS="-ldl  $LIBS"
1.150     moko     15829: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15830: /* end confdefs.h.  */
                   15831: 
1.150     moko     15832: /* Override any GCC internal prototype to avoid an error.
                   15833:    Use char because int might match the return type of a GCC
1.237     moko     15834:    builtin and then its argument prototype would still apply.
                   15835:    The 'extern "C"' is for builds by C++ compilers;
                   15836:    although this is not generally supported in C code supporting it here
                   15837:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     15838: #ifdef __cplusplus
                   15839: extern "C"
                   15840: #endif
1.237     moko     15841: char dlopen (void);
1.128     moko     15842: int
1.237     moko     15843: main (void)
1.128     moko     15844: {
1.150     moko     15845: return dlopen ();
1.128     moko     15846:   ;
                   15847:   return 0;
                   15848: }
                   15849: _ACEOF
1.237     moko     15850: if ac_fn_c_try_link "$LINENO"
                   15851: then :
1.128     moko     15852:   ac_cv_lib_dl_dlopen=yes
1.237     moko     15853: else case e in #(
                   15854:   e) ac_cv_lib_dl_dlopen=no ;;
                   15855: esac
1.128     moko     15856: fi
1.237     moko     15857: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     15858:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     15859: LIBS=$ac_check_lib_save_LIBS ;;
                   15860: esac
1.128     moko     15861: fi
1.237     moko     15862: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   15863: printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
                   15864: if test "x$ac_cv_lib_dl_dlopen" = xyes
                   15865: then :
                   15866:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
                   15867: else case e in #(
                   15868:   e)
                   15869:     lt_cv_dlopen=dyld
1.128     moko     15870:     lt_cv_dlopen_libs=
                   15871:     lt_cv_dlopen_self=yes
1.237     moko     15872:      ;;
                   15873: esac
                   15874: fi
1.128     moko     15875: 
1.237     moko     15876:     ;;
1.128     moko     15877: 
1.237     moko     15878:   tpf*)
                   15879:     # Don't try to run any link tests for TPF.  We know it's impossible
                   15880:     # because TPF is a cross-compiler, and we know how we open DSOs.
                   15881:     lt_cv_dlopen=dlopen
                   15882:     lt_cv_dlopen_libs=
                   15883:     lt_cv_dlopen_self=no
1.128     moko     15884:     ;;
                   15885: 
                   15886:   *)
1.150     moko     15887:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
1.237     moko     15888: if test "x$ac_cv_func_shl_load" = xyes
                   15889: then :
                   15890:   lt_cv_dlopen=shl_load
                   15891: else case e in #(
                   15892:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   15893: printf %s "checking for shl_load in -ldld... " >&6; }
                   15894: if test ${ac_cv_lib_dld_shl_load+y}
                   15895: then :
                   15896:   printf %s "(cached) " >&6
                   15897: else case e in #(
                   15898:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     15899: LIBS="-ldld  $LIBS"
1.150     moko     15900: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15901: /* end confdefs.h.  */
                   15902: 
1.150     moko     15903: /* Override any GCC internal prototype to avoid an error.
                   15904:    Use char because int might match the return type of a GCC
1.237     moko     15905:    builtin and then its argument prototype would still apply.
                   15906:    The 'extern "C"' is for builds by C++ compilers;
                   15907:    although this is not generally supported in C code supporting it here
                   15908:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     15909: #ifdef __cplusplus
                   15910: extern "C"
                   15911: #endif
1.237     moko     15912: char shl_load (void);
1.128     moko     15913: int
1.237     moko     15914: main (void)
1.128     moko     15915: {
1.150     moko     15916: return shl_load ();
1.128     moko     15917:   ;
                   15918:   return 0;
                   15919: }
                   15920: _ACEOF
1.237     moko     15921: if ac_fn_c_try_link "$LINENO"
                   15922: then :
1.128     moko     15923:   ac_cv_lib_dld_shl_load=yes
1.237     moko     15924: else case e in #(
                   15925:   e) ac_cv_lib_dld_shl_load=no ;;
                   15926: esac
1.128     moko     15927: fi
1.237     moko     15928: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     15929:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     15930: LIBS=$ac_check_lib_save_LIBS ;;
                   15931: esac
1.128     moko     15932: fi
1.237     moko     15933: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   15934: printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
                   15935: if test "x$ac_cv_lib_dld_shl_load" = xyes
                   15936: then :
                   15937:   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
                   15938: else case e in #(
                   15939:   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   15940: if test "x$ac_cv_func_dlopen" = xyes
                   15941: then :
                   15942:   lt_cv_dlopen=dlopen
                   15943: else case e in #(
                   15944:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   15945: printf %s "checking for dlopen in -ldl... " >&6; }
                   15946: if test ${ac_cv_lib_dl_dlopen+y}
                   15947: then :
                   15948:   printf %s "(cached) " >&6
                   15949: else case e in #(
                   15950:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     15951: LIBS="-ldl  $LIBS"
1.150     moko     15952: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15953: /* end confdefs.h.  */
                   15954: 
1.150     moko     15955: /* Override any GCC internal prototype to avoid an error.
                   15956:    Use char because int might match the return type of a GCC
1.237     moko     15957:    builtin and then its argument prototype would still apply.
                   15958:    The 'extern "C"' is for builds by C++ compilers;
                   15959:    although this is not generally supported in C code supporting it here
                   15960:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     15961: #ifdef __cplusplus
                   15962: extern "C"
                   15963: #endif
1.237     moko     15964: char dlopen (void);
1.128     moko     15965: int
1.237     moko     15966: main (void)
1.128     moko     15967: {
1.150     moko     15968: return dlopen ();
1.128     moko     15969:   ;
                   15970:   return 0;
                   15971: }
                   15972: _ACEOF
1.237     moko     15973: if ac_fn_c_try_link "$LINENO"
                   15974: then :
1.128     moko     15975:   ac_cv_lib_dl_dlopen=yes
1.237     moko     15976: else case e in #(
                   15977:   e) ac_cv_lib_dl_dlopen=no ;;
                   15978: esac
1.128     moko     15979: fi
1.237     moko     15980: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     15981:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     15982: LIBS=$ac_check_lib_save_LIBS ;;
                   15983: esac
1.128     moko     15984: fi
1.237     moko     15985: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   15986: printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
                   15987: if test "x$ac_cv_lib_dl_dlopen" = xyes
                   15988: then :
                   15989:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
                   15990: else case e in #(
                   15991:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   15992: printf %s "checking for dlopen in -lsvld... " >&6; }
                   15993: if test ${ac_cv_lib_svld_dlopen+y}
                   15994: then :
                   15995:   printf %s "(cached) " >&6
                   15996: else case e in #(
                   15997:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     15998: LIBS="-lsvld  $LIBS"
1.150     moko     15999: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16000: /* end confdefs.h.  */
                   16001: 
1.150     moko     16002: /* Override any GCC internal prototype to avoid an error.
                   16003:    Use char because int might match the return type of a GCC
1.237     moko     16004:    builtin and then its argument prototype would still apply.
                   16005:    The 'extern "C"' is for builds by C++ compilers;
                   16006:    although this is not generally supported in C code supporting it here
                   16007:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     16008: #ifdef __cplusplus
                   16009: extern "C"
                   16010: #endif
1.237     moko     16011: char dlopen (void);
1.128     moko     16012: int
1.237     moko     16013: main (void)
1.128     moko     16014: {
1.150     moko     16015: return dlopen ();
1.128     moko     16016:   ;
                   16017:   return 0;
                   16018: }
                   16019: _ACEOF
1.237     moko     16020: if ac_fn_c_try_link "$LINENO"
                   16021: then :
1.128     moko     16022:   ac_cv_lib_svld_dlopen=yes
1.237     moko     16023: else case e in #(
                   16024:   e) ac_cv_lib_svld_dlopen=no ;;
                   16025: esac
1.128     moko     16026: fi
1.237     moko     16027: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     16028:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     16029: LIBS=$ac_check_lib_save_LIBS ;;
                   16030: esac
1.128     moko     16031: fi
1.237     moko     16032: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   16033: printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
                   16034: if test "x$ac_cv_lib_svld_dlopen" = xyes
                   16035: then :
                   16036:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
                   16037: else case e in #(
                   16038:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   16039: printf %s "checking for dld_link in -ldld... " >&6; }
                   16040: if test ${ac_cv_lib_dld_dld_link+y}
                   16041: then :
                   16042:   printf %s "(cached) " >&6
                   16043: else case e in #(
                   16044:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     16045: LIBS="-ldld  $LIBS"
1.150     moko     16046: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16047: /* end confdefs.h.  */
                   16048: 
1.150     moko     16049: /* Override any GCC internal prototype to avoid an error.
                   16050:    Use char because int might match the return type of a GCC
1.237     moko     16051:    builtin and then its argument prototype would still apply.
                   16052:    The 'extern "C"' is for builds by C++ compilers;
                   16053:    although this is not generally supported in C code supporting it here
                   16054:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     16055: #ifdef __cplusplus
                   16056: extern "C"
                   16057: #endif
1.237     moko     16058: char dld_link (void);
1.128     moko     16059: int
1.237     moko     16060: main (void)
1.128     moko     16061: {
1.150     moko     16062: return dld_link ();
1.128     moko     16063:   ;
                   16064:   return 0;
                   16065: }
                   16066: _ACEOF
1.237     moko     16067: if ac_fn_c_try_link "$LINENO"
                   16068: then :
1.128     moko     16069:   ac_cv_lib_dld_dld_link=yes
1.237     moko     16070: else case e in #(
                   16071:   e) ac_cv_lib_dld_dld_link=no ;;
                   16072: esac
1.150     moko     16073: fi
1.237     moko     16074: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     16075:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     16076: LIBS=$ac_check_lib_save_LIBS ;;
                   16077: esac
1.128     moko     16078: fi
1.237     moko     16079: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   16080: printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
                   16081: if test "x$ac_cv_lib_dld_dld_link" = xyes
                   16082: then :
                   16083:   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
1.128     moko     16084: fi
                   16085: 
1.237     moko     16086:               ;;
                   16087: esac
1.128     moko     16088: fi
                   16089: 
1.237     moko     16090:             ;;
                   16091: esac
1.128     moko     16092: fi
                   16093: 
1.237     moko     16094:           ;;
                   16095: esac
1.128     moko     16096: fi
                   16097: 
1.237     moko     16098:         ;;
                   16099: esac
1.128     moko     16100: fi
                   16101: 
1.237     moko     16102:        ;;
                   16103: esac
1.128     moko     16104: fi
                   16105: 
                   16106:     ;;
                   16107:   esac
                   16108: 
1.237     moko     16109:   if test no = "$lt_cv_dlopen"; then
                   16110:     enable_dlopen=no
                   16111:   else
1.128     moko     16112:     enable_dlopen=yes
                   16113:   fi
                   16114: 
                   16115:   case $lt_cv_dlopen in
                   16116:   dlopen)
1.237     moko     16117:     save_CPPFLAGS=$CPPFLAGS
                   16118:     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.128     moko     16119: 
1.237     moko     16120:     save_LDFLAGS=$LDFLAGS
1.128     moko     16121:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   16122: 
1.237     moko     16123:     save_LIBS=$LIBS
1.128     moko     16124:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   16125: 
1.237     moko     16126:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   16127: printf %s "checking whether a program can dlopen itself... " >&6; }
                   16128: if test ${lt_cv_dlopen_self+y}
                   16129: then :
                   16130:   printf %s "(cached) " >&6
                   16131: else case e in #(
                   16132:   e)     if test yes = "$cross_compiling"; then :
1.128     moko     16133:   lt_cv_dlopen_self=cross
                   16134: else
                   16135:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16136:   lt_status=$lt_dlunknown
                   16137:   cat > conftest.$ac_ext <<_LT_EOF
                   16138: #line $LINENO "configure"
                   16139: #include "confdefs.h"
                   16140: 
                   16141: #if HAVE_DLFCN_H
                   16142: #include <dlfcn.h>
                   16143: #endif
                   16144: 
                   16145: #include <stdio.h>
                   16146: 
                   16147: #ifdef RTLD_GLOBAL
                   16148: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16149: #else
                   16150: #  ifdef DL_GLOBAL
                   16151: #    define LT_DLGLOBAL                DL_GLOBAL
                   16152: #  else
                   16153: #    define LT_DLGLOBAL                0
                   16154: #  endif
                   16155: #endif
                   16156: 
                   16157: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16158:    find out it does not work in some platform. */
                   16159: #ifndef LT_DLLAZY_OR_NOW
                   16160: #  ifdef RTLD_LAZY
                   16161: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16162: #  else
                   16163: #    ifdef DL_LAZY
                   16164: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16165: #    else
                   16166: #      ifdef RTLD_NOW
                   16167: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16168: #      else
                   16169: #        ifdef DL_NOW
                   16170: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16171: #        else
                   16172: #          define LT_DLLAZY_OR_NOW     0
                   16173: #        endif
                   16174: #      endif
                   16175: #    endif
                   16176: #  endif
                   16177: #endif
                   16178: 
1.237     moko     16179: /* When -fvisibility=hidden is used, assume the code has been annotated
1.128     moko     16180:    correspondingly for the symbols needed.  */
1.237     moko     16181: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16182: int fnord (void) __attribute__((visibility("default")));
1.128     moko     16183: #endif
                   16184: 
1.237     moko     16185: int fnord (void) { return 42; }
                   16186: int main (void)
1.128     moko     16187: {
                   16188:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16189:   int status = $lt_dlunknown;
                   16190: 
                   16191:   if (self)
                   16192:     {
                   16193:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16194:       else
                   16195:         {
                   16196:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16197:           else puts (dlerror ());
                   16198:        }
                   16199:       /* dlclose (self); */
                   16200:     }
                   16201:   else
                   16202:     puts (dlerror ());
                   16203: 
                   16204:   return status;
                   16205: }
                   16206: _LT_EOF
1.150     moko     16207:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     16208:   (eval $ac_link) 2>&5
                   16209:   ac_status=$?
1.237     moko     16210:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16211:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1.128     moko     16212:     (./conftest; exit; ) >&5 2>/dev/null
                   16213:     lt_status=$?
                   16214:     case x$lt_status in
                   16215:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   16216:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   16217:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   16218:     esac
                   16219:   else :
                   16220:     # compilation failed
                   16221:     lt_cv_dlopen_self=no
                   16222:   fi
                   16223: fi
                   16224: rm -fr conftest*
                   16225: 
1.237     moko     16226:      ;;
                   16227: esac
1.128     moko     16228: fi
1.237     moko     16229: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   16230: printf "%s\n" "$lt_cv_dlopen_self" >&6; }
1.128     moko     16231: 
1.237     moko     16232:     if test yes = "$lt_cv_dlopen_self"; then
1.128     moko     16233:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.237     moko     16234:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   16235: printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
                   16236: if test ${lt_cv_dlopen_self_static+y}
                   16237: then :
                   16238:   printf %s "(cached) " >&6
                   16239: else case e in #(
                   16240:   e)     if test yes = "$cross_compiling"; then :
1.128     moko     16241:   lt_cv_dlopen_self_static=cross
                   16242: else
                   16243:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16244:   lt_status=$lt_dlunknown
                   16245:   cat > conftest.$ac_ext <<_LT_EOF
                   16246: #line $LINENO "configure"
                   16247: #include "confdefs.h"
                   16248: 
                   16249: #if HAVE_DLFCN_H
                   16250: #include <dlfcn.h>
                   16251: #endif
                   16252: 
                   16253: #include <stdio.h>
                   16254: 
                   16255: #ifdef RTLD_GLOBAL
                   16256: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16257: #else
                   16258: #  ifdef DL_GLOBAL
                   16259: #    define LT_DLGLOBAL                DL_GLOBAL
                   16260: #  else
                   16261: #    define LT_DLGLOBAL                0
                   16262: #  endif
                   16263: #endif
                   16264: 
                   16265: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16266:    find out it does not work in some platform. */
                   16267: #ifndef LT_DLLAZY_OR_NOW
                   16268: #  ifdef RTLD_LAZY
                   16269: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16270: #  else
                   16271: #    ifdef DL_LAZY
                   16272: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16273: #    else
                   16274: #      ifdef RTLD_NOW
                   16275: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16276: #      else
                   16277: #        ifdef DL_NOW
                   16278: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16279: #        else
                   16280: #          define LT_DLLAZY_OR_NOW     0
                   16281: #        endif
                   16282: #      endif
                   16283: #    endif
                   16284: #  endif
                   16285: #endif
                   16286: 
1.237     moko     16287: /* When -fvisibility=hidden is used, assume the code has been annotated
1.128     moko     16288:    correspondingly for the symbols needed.  */
1.237     moko     16289: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16290: int fnord (void) __attribute__((visibility("default")));
1.128     moko     16291: #endif
                   16292: 
1.237     moko     16293: int fnord (void) { return 42; }
                   16294: int main (void)
1.128     moko     16295: {
                   16296:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16297:   int status = $lt_dlunknown;
                   16298: 
                   16299:   if (self)
                   16300:     {
                   16301:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16302:       else
                   16303:         {
                   16304:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16305:           else puts (dlerror ());
                   16306:        }
                   16307:       /* dlclose (self); */
                   16308:     }
                   16309:   else
                   16310:     puts (dlerror ());
                   16311: 
                   16312:   return status;
                   16313: }
                   16314: _LT_EOF
1.150     moko     16315:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     16316:   (eval $ac_link) 2>&5
                   16317:   ac_status=$?
1.237     moko     16318:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16319:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1.128     moko     16320:     (./conftest; exit; ) >&5 2>/dev/null
                   16321:     lt_status=$?
                   16322:     case x$lt_status in
                   16323:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   16324:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   16325:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   16326:     esac
                   16327:   else :
                   16328:     # compilation failed
                   16329:     lt_cv_dlopen_self_static=no
                   16330:   fi
                   16331: fi
                   16332: rm -fr conftest*
                   16333: 
1.237     moko     16334:        ;;
                   16335: esac
1.128     moko     16336: fi
1.237     moko     16337: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   16338: printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     16339:     fi
                   16340: 
1.237     moko     16341:     CPPFLAGS=$save_CPPFLAGS
                   16342:     LDFLAGS=$save_LDFLAGS
                   16343:     LIBS=$save_LIBS
1.128     moko     16344:     ;;
                   16345:   esac
                   16346: 
                   16347:   case $lt_cv_dlopen_self in
                   16348:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   16349:   *) enable_dlopen_self=unknown ;;
                   16350:   esac
                   16351: 
                   16352:   case $lt_cv_dlopen_self_static in
                   16353:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   16354:   *) enable_dlopen_self_static=unknown ;;
                   16355:   esac
                   16356: fi
                   16357: 
                   16358: 
                   16359: 
                   16360: 
                   16361: 
                   16362: 
                   16363: 
                   16364: 
                   16365: 
                   16366: 
                   16367: 
                   16368: 
                   16369: 
                   16370: 
                   16371: 
                   16372: 
                   16373: 
                   16374: striplib=
                   16375: old_striplib=
1.237     moko     16376: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   16377: printf %s "checking whether stripping libraries is possible... " >&6; }
                   16378: if test -z "$STRIP"; then
                   16379:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   16380: printf "%s\n" "no" >&6; }
                   16381: else
                   16382:   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   16383:     old_striplib="$STRIP --strip-debug"
                   16384:     striplib="$STRIP --strip-unneeded"
                   16385:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   16386: printf "%s\n" "yes" >&6; }
                   16387:   else
                   16388:     case $host_os in
                   16389:     darwin*)
                   16390:       # FIXME - insert some real tests, host_os isn't really good enough
1.128     moko     16391:       striplib="$STRIP -x"
                   16392:       old_striplib="$STRIP -S"
1.237     moko     16393:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   16394: printf "%s\n" "yes" >&6; }
                   16395:       ;;
                   16396:     freebsd*)
                   16397:       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
                   16398:         old_striplib="$STRIP --strip-debug"
                   16399:         striplib="$STRIP --strip-unneeded"
                   16400:         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   16401: printf "%s\n" "yes" >&6; }
                   16402:       else
                   16403:         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   16404: printf "%s\n" "no" >&6; }
                   16405:       fi
                   16406:       ;;
                   16407:     *)
                   16408:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   16409: printf "%s\n" "no" >&6; }
                   16410:       ;;
                   16411:     esac
                   16412:   fi
1.128     moko     16413: fi
                   16414: 
                   16415: 
                   16416: 
                   16417: 
                   16418: 
                   16419: 
                   16420: 
                   16421: 
                   16422: 
                   16423: 
                   16424: 
                   16425: 
1.237     moko     16426:   # Report what library types will actually be built
                   16427:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   16428: printf %s "checking if libtool supports shared libraries... " >&6; }
                   16429:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   16430: printf "%s\n" "$can_build_shared" >&6; }
                   16431: 
                   16432:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   16433: printf %s "checking whether to build shared libraries... " >&6; }
                   16434:   test no = "$can_build_shared" && enable_shared=no
1.128     moko     16435: 
                   16436:   # On AIX, shared libraries and static libraries use the same namespace, and
                   16437:   # are all built from PIC.
                   16438:   case $host_os in
                   16439:   aix3*)
1.237     moko     16440:     test yes = "$enable_shared" && enable_static=no
1.128     moko     16441:     if test -n "$RANLIB"; then
                   16442:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   16443:       postinstall_cmds='$RANLIB $lib'
                   16444:     fi
                   16445:     ;;
                   16446: 
                   16447:   aix[4-9]*)
1.237     moko     16448:     if test ia64 != "$host_cpu"; then
                   16449:       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
                   16450:       yes,aix,yes) ;;                  # shared object as lib.so file only
                   16451:       yes,svr4,*) ;;                   # shared object as lib.so archive member only
                   16452:       yes,*) enable_static=no ;;       # shared object in lib.a archive as well
                   16453:       esac
1.128     moko     16454:     fi
                   16455:     ;;
                   16456:   esac
1.237     moko     16457:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   16458: printf "%s\n" "$enable_shared" >&6; }
1.128     moko     16459: 
1.237     moko     16460:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   16461: printf %s "checking whether to build static libraries... " >&6; }
1.128     moko     16462:   # Make sure either enable_shared or enable_static is yes.
1.237     moko     16463:   test yes = "$enable_shared" || enable_static=yes
                   16464:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   16465: printf "%s\n" "$enable_static" >&6; }
1.128     moko     16466: 
                   16467: 
                   16468: 
                   16469: 
                   16470: fi
                   16471: ac_ext=c
                   16472: ac_cpp='$CPP $CPPFLAGS'
                   16473: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16474: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16475: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16476: 
1.237     moko     16477: CC=$lt_save_CC
1.128     moko     16478: 
1.237     moko     16479:       if test -n "$CXX" && ( test no != "$CXX" &&
                   16480:     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
                   16481:     (test g++ != "$CXX"))); then
1.150     moko     16482:   ac_ext=cpp
1.128     moko     16483: ac_cpp='$CXXCPP $CPPFLAGS'
                   16484: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16485: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16486: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.237     moko     16487: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   16488: printf %s "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     16489: if test -z "$CXXCPP"; then
1.237     moko     16490:   if test ${ac_cv_prog_CXXCPP+y}
                   16491: then :
                   16492:   printf %s "(cached) " >&6
                   16493: else case e in #(
                   16494:   e)     # Double quotes because $CXX needs to be expanded
                   16495:     for CXXCPP in "$CXX -E" cpp /lib/cpp
1.128     moko     16496:     do
                   16497:       ac_preproc_ok=false
                   16498: for ac_cxx_preproc_warn_flag in '' yes
                   16499: do
                   16500:   # Use a header file that comes with gcc, so configuring glibc
                   16501:   # with a fresh cross-compiler works.
                   16502:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   16503:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     16504:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16505: /* end confdefs.h.  */
1.237     moko     16506: #include <limits.h>
1.128     moko     16507:                     Syntax error
                   16508: _ACEOF
1.237     moko     16509: if ac_fn_cxx_try_cpp "$LINENO"
                   16510: then :
1.150     moko     16511: 
1.237     moko     16512: else case e in #(
                   16513:   e) # Broken: fails on valid input.
                   16514: continue ;;
                   16515: esac
1.128     moko     16516: fi
1.150     moko     16517: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     16518: 
1.150     moko     16519:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     16520:   # can be detected and how.
1.150     moko     16521:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16522: /* end confdefs.h.  */
                   16523: #include <ac_nonexistent.h>
                   16524: _ACEOF
1.237     moko     16525: if ac_fn_cxx_try_cpp "$LINENO"
                   16526: then :
1.128     moko     16527:   # Broken: success on invalid input.
                   16528: continue
1.237     moko     16529: else case e in #(
                   16530:   e) # Passes both tests.
1.128     moko     16531: ac_preproc_ok=:
1.237     moko     16532: break ;;
                   16533: esac
1.128     moko     16534: fi
1.150     moko     16535: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     16536: 
                   16537: done
1.237     moko     16538: # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     16539: rm -f conftest.i conftest.err conftest.$ac_ext
1.237     moko     16540: if $ac_preproc_ok
                   16541: then :
1.128     moko     16542:   break
                   16543: fi
                   16544: 
                   16545:     done
                   16546:     ac_cv_prog_CXXCPP=$CXXCPP
1.237     moko     16547:    ;;
                   16548: esac
1.128     moko     16549: fi
                   16550:   CXXCPP=$ac_cv_prog_CXXCPP
                   16551: else
                   16552:   ac_cv_prog_CXXCPP=$CXXCPP
                   16553: fi
1.237     moko     16554: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   16555: printf "%s\n" "$CXXCPP" >&6; }
1.128     moko     16556: ac_preproc_ok=false
                   16557: for ac_cxx_preproc_warn_flag in '' yes
                   16558: do
                   16559:   # Use a header file that comes with gcc, so configuring glibc
                   16560:   # with a fresh cross-compiler works.
                   16561:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   16562:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     16563:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16564: /* end confdefs.h.  */
1.237     moko     16565: #include <limits.h>
1.128     moko     16566:                     Syntax error
                   16567: _ACEOF
1.237     moko     16568: if ac_fn_cxx_try_cpp "$LINENO"
                   16569: then :
1.150     moko     16570: 
1.237     moko     16571: else case e in #(
                   16572:   e) # Broken: fails on valid input.
                   16573: continue ;;
                   16574: esac
1.128     moko     16575: fi
1.150     moko     16576: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     16577: 
1.150     moko     16578:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     16579:   # can be detected and how.
1.150     moko     16580:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16581: /* end confdefs.h.  */
                   16582: #include <ac_nonexistent.h>
                   16583: _ACEOF
1.237     moko     16584: if ac_fn_cxx_try_cpp "$LINENO"
                   16585: then :
1.128     moko     16586:   # Broken: success on invalid input.
                   16587: continue
1.237     moko     16588: else case e in #(
                   16589:   e) # Passes both tests.
1.128     moko     16590: ac_preproc_ok=:
1.237     moko     16591: break ;;
                   16592: esac
1.128     moko     16593: fi
1.150     moko     16594: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     16595: 
                   16596: done
1.237     moko     16597: # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     16598: rm -f conftest.i conftest.err conftest.$ac_ext
1.237     moko     16599: if $ac_preproc_ok
                   16600: then :
1.150     moko     16601: 
1.237     moko     16602: else case e in #(
                   16603:   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   16604: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.150     moko     16605: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
1.237     moko     16606: See 'config.log' for more details" "$LINENO" 5; } ;;
                   16607: esac
1.128     moko     16608: fi
                   16609: 
                   16610: ac_ext=c
                   16611: ac_cpp='$CPP $CPPFLAGS'
                   16612: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16613: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16614: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16615: 
                   16616: else
                   16617:   _lt_caught_CXX_error=yes
                   16618: fi
                   16619: 
1.150     moko     16620: ac_ext=cpp
1.128     moko     16621: ac_cpp='$CXXCPP $CPPFLAGS'
                   16622: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16623: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16624: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   16625: 
                   16626: archive_cmds_need_lc_CXX=no
                   16627: allow_undefined_flag_CXX=
                   16628: always_export_symbols_CXX=no
                   16629: archive_expsym_cmds_CXX=
                   16630: compiler_needs_object_CXX=no
                   16631: export_dynamic_flag_spec_CXX=
                   16632: hardcode_direct_CXX=no
                   16633: hardcode_direct_absolute_CXX=no
                   16634: hardcode_libdir_flag_spec_CXX=
                   16635: hardcode_libdir_separator_CXX=
                   16636: hardcode_minus_L_CXX=no
                   16637: hardcode_shlibpath_var_CXX=unsupported
                   16638: hardcode_automatic_CXX=no
                   16639: inherit_rpath_CXX=no
                   16640: module_cmds_CXX=
                   16641: module_expsym_cmds_CXX=
                   16642: link_all_deplibs_CXX=unknown
                   16643: old_archive_cmds_CXX=$old_archive_cmds
                   16644: reload_flag_CXX=$reload_flag
                   16645: reload_cmds_CXX=$reload_cmds
                   16646: no_undefined_flag_CXX=
                   16647: whole_archive_flag_spec_CXX=
                   16648: enable_shared_with_static_runtimes_CXX=no
                   16649: 
                   16650: # Source file extension for C++ test sources.
                   16651: ac_ext=cpp
                   16652: 
                   16653: # Object file extension for compiled C++ test sources.
                   16654: objext=o
                   16655: objext_CXX=$objext
                   16656: 
                   16657: # No sense in running all these tests if we already determined that
                   16658: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   16659: # are currently assumed to apply to all compilers on this platform,
                   16660: # and will be corrupted by setting them based on a non-working compiler.
1.237     moko     16661: if test yes != "$_lt_caught_CXX_error"; then
1.128     moko     16662:   # Code to be used in simple compile tests
                   16663:   lt_simple_compile_test_code="int some_variable = 0;"
                   16664: 
                   16665:   # Code to be used in simple link tests
                   16666:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   16667: 
                   16668:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   16669: 
                   16670: 
                   16671: 
                   16672: 
                   16673: 
                   16674: 
                   16675: # If no C compiler was specified, use CC.
                   16676: LTCC=${LTCC-"$CC"}
                   16677: 
                   16678: # If no C compiler flags were specified, use CFLAGS.
                   16679: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   16680: 
                   16681: # Allow CC to be a program name with arguments.
                   16682: compiler=$CC
                   16683: 
                   16684: 
                   16685:   # save warnings/boilerplate of simple test code
                   16686:   ac_outfile=conftest.$ac_objext
                   16687: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   16688: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   16689: _lt_compiler_boilerplate=`cat conftest.err`
                   16690: $RM conftest*
                   16691: 
                   16692:   ac_outfile=conftest.$ac_objext
                   16693: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   16694: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   16695: _lt_linker_boilerplate=`cat conftest.err`
                   16696: $RM -r conftest*
                   16697: 
                   16698: 
                   16699:   # Allow CC to be a program name with arguments.
                   16700:   lt_save_CC=$CC
                   16701:   lt_save_CFLAGS=$CFLAGS
                   16702:   lt_save_LD=$LD
                   16703:   lt_save_GCC=$GCC
                   16704:   GCC=$GXX
                   16705:   lt_save_with_gnu_ld=$with_gnu_ld
                   16706:   lt_save_path_LD=$lt_cv_path_LD
                   16707:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   16708:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   16709:   else
                   16710:     $as_unset lt_cv_prog_gnu_ld
                   16711:   fi
                   16712:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   16713:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   16714:   else
                   16715:     $as_unset lt_cv_path_LD
                   16716:   fi
                   16717:   test -z "${LDCXX+set}" || LD=$LDCXX
                   16718:   CC=${CXX-"c++"}
                   16719:   CFLAGS=$CXXFLAGS
                   16720:   compiler=$CC
                   16721:   compiler_CXX=$CC
1.237     moko     16722:   func_cc_basename $compiler
                   16723: cc_basename=$func_cc_basename_result
1.128     moko     16724: 
                   16725: 
                   16726:   if test -n "$compiler"; then
                   16727:     # We don't want -fno-exception when compiling C++ code, so set the
                   16728:     # no_builtin_flag separately
1.237     moko     16729:     if test yes = "$GXX"; then
1.128     moko     16730:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   16731:     else
                   16732:       lt_prog_compiler_no_builtin_flag_CXX=
                   16733:     fi
                   16734: 
1.237     moko     16735:     if test yes = "$GXX"; then
1.128     moko     16736:       # Set up default GNU C++ configuration
                   16737: 
                   16738: 
                   16739: 
1.150     moko     16740: # Check whether --with-gnu-ld was given.
1.237     moko     16741: if test ${with_gnu_ld+y}
                   16742: then :
                   16743:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
                   16744: else case e in #(
                   16745:   e) with_gnu_ld=no ;;
                   16746: esac
1.150     moko     16747: fi
                   16748: 
1.128     moko     16749: ac_prog=ld
1.237     moko     16750: if test yes = "$GCC"; then
1.128     moko     16751:   # Check if gcc -print-prog-name=ld gives a path.
1.237     moko     16752:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   16753: printf %s "checking for ld used by $CC... " >&6; }
1.128     moko     16754:   case $host in
1.237     moko     16755:   *-*-mingw* | *-*-windows*)
                   16756:     # gcc leaves a trailing carriage return, which upsets mingw
1.128     moko     16757:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   16758:   *)
                   16759:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   16760:   esac
                   16761:   case $ac_prog in
                   16762:     # Accept absolute paths.
                   16763:     [\\/]* | ?:[\\/]*)
                   16764:       re_direlt='/[^/][^/]*/\.\./'
                   16765:       # Canonicalize the pathname of ld
                   16766:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   16767:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   16768:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   16769:       done
1.237     moko     16770:       test -z "$LD" && LD=$ac_prog
1.128     moko     16771:       ;;
                   16772:   "")
                   16773:     # If it fails, then pretend we aren't using GCC.
                   16774:     ac_prog=ld
                   16775:     ;;
                   16776:   *)
                   16777:     # If it is relative, then search for the first ld in PATH.
                   16778:     with_gnu_ld=unknown
                   16779:     ;;
                   16780:   esac
1.237     moko     16781: elif test yes = "$with_gnu_ld"; then
                   16782:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   16783: printf %s "checking for GNU ld... " >&6; }
                   16784: else
                   16785:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   16786: printf %s "checking for non-GNU ld... " >&6; }
                   16787: fi
                   16788: if test ${lt_cv_path_LD+y}
                   16789: then :
                   16790:   printf %s "(cached) " >&6
                   16791: else case e in #(
                   16792:   e) if test -z "$LD"; then
                   16793:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     16794:   for ac_dir in $PATH; do
1.237     moko     16795:     IFS=$lt_save_ifs
1.128     moko     16796:     test -z "$ac_dir" && ac_dir=.
                   16797:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.237     moko     16798:       lt_cv_path_LD=$ac_dir/$ac_prog
1.128     moko     16799:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   16800:       # but apparently some variants of GNU ld only accept -v.
                   16801:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   16802:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   16803:       *GNU* | *'with BFD'*)
1.237     moko     16804:        test no != "$with_gnu_ld" && break
1.128     moko     16805:        ;;
                   16806:       *)
1.237     moko     16807:        test yes != "$with_gnu_ld" && break
1.128     moko     16808:        ;;
                   16809:       esac
                   16810:     fi
                   16811:   done
1.237     moko     16812:   IFS=$lt_save_ifs
1.128     moko     16813: else
1.237     moko     16814:   lt_cv_path_LD=$LD # Let the user override the test with a path.
                   16815: fi ;;
                   16816: esac
1.128     moko     16817: fi
                   16818: 
1.237     moko     16819: LD=$lt_cv_path_LD
1.128     moko     16820: if test -n "$LD"; then
1.237     moko     16821:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   16822: printf "%s\n" "$LD" >&6; }
1.128     moko     16823: else
1.237     moko     16824:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   16825: printf "%s\n" "no" >&6; }
1.128     moko     16826: fi
1.150     moko     16827: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
1.237     moko     16828: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   16829: printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
                   16830: if test ${lt_cv_prog_gnu_ld+y}
                   16831: then :
                   16832:   printf %s "(cached) " >&6
                   16833: else case e in #(
                   16834:   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
1.128     moko     16835: case `$LD -v 2>&1 </dev/null` in
                   16836: *GNU* | *'with BFD'*)
                   16837:   lt_cv_prog_gnu_ld=yes
                   16838:   ;;
                   16839: *)
                   16840:   lt_cv_prog_gnu_ld=no
                   16841:   ;;
1.237     moko     16842: esac ;;
1.128     moko     16843: esac
                   16844: fi
1.237     moko     16845: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   16846: printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     16847: with_gnu_ld=$lt_cv_prog_gnu_ld
                   16848: 
                   16849: 
                   16850: 
                   16851: 
                   16852: 
                   16853: 
                   16854: 
                   16855:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   16856:       # archiving commands below assume that GNU ld is being used.
1.237     moko     16857:       if test yes = "$with_gnu_ld"; then
                   16858:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
                   16859:         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     16860: 
1.237     moko     16861:         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
                   16862:         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
1.128     moko     16863: 
                   16864:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   16865:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   16866:         #     investigate it a little bit more. (MM)
1.237     moko     16867:         wlarc='$wl'
1.128     moko     16868: 
                   16869:         # ancient GNU ld didn't support --whole-archive et. al.
1.237     moko     16870:         if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   16871:           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
1.128     moko     16872:         else
                   16873:           whole_archive_flag_spec_CXX=
                   16874:         fi
                   16875:       else
                   16876:         with_gnu_ld=no
                   16877:         wlarc=
                   16878: 
                   16879:         # A generic and very simple default shared library creation
                   16880:         # command for GNU C++ for the case where it uses the native
                   16881:         # linker, instead of GNU ld.  If possible, this setting should
                   16882:         # overridden to take advantage of the native linker features on
                   16883:         # the platform it is being used on.
                   16884:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   16885:       fi
                   16886: 
                   16887:       # Commands to make compiler produce verbose output that lists
                   16888:       # what "hidden" libraries, object files and flags are used when
                   16889:       # linking a shared library.
1.237     moko     16890:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
1.128     moko     16891: 
                   16892:     else
                   16893:       GXX=no
                   16894:       with_gnu_ld=no
                   16895:       wlarc=
                   16896:     fi
                   16897: 
                   16898:     # PORTME: fill in a description of your system's C++ link characteristics
1.237     moko     16899:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   16900: printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     16901:     ld_shlibs_CXX=yes
                   16902:     case $host_os in
                   16903:       aix3*)
                   16904:         # FIXME: insert proper C++ library support
                   16905:         ld_shlibs_CXX=no
                   16906:         ;;
                   16907:       aix[4-9]*)
1.237     moko     16908:         if test ia64 = "$host_cpu"; then
1.128     moko     16909:           # On IA64, the linker does run time linking by default, so we don't
                   16910:           # have to do anything special.
                   16911:           aix_use_runtimelinking=no
                   16912:           exp_sym_flag='-Bexport'
1.237     moko     16913:           no_entry_flag=
1.128     moko     16914:         else
                   16915:           aix_use_runtimelinking=no
                   16916: 
                   16917:           # Test if we are trying to use run time linking or normal
                   16918:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.237     moko     16919:           # have runtime linking enabled, and use it for executables.
                   16920:           # For shared libraries, we enable/disable runtime linking
                   16921:           # depending on the kind of the shared library created -
                   16922:           # when "with_aix_soname,aix_use_runtimelinking" is:
                   16923:           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
                   16924:           # "aix,yes"  lib.so          shared, rtl:yes, for executables
                   16925:           #            lib.a           static archive
                   16926:           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
                   16927:           #            lib.a(lib.so.V) shared, rtl:no,  for executables
                   16928:           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
                   16929:           #            lib.a(lib.so.V) shared, rtl:no
                   16930:           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
                   16931:           #            lib.a           static archive
1.128     moko     16932:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   16933:            for ld_flag in $LDFLAGS; do
                   16934:              case $ld_flag in
                   16935:              *-brtl*)
                   16936:                aix_use_runtimelinking=yes
                   16937:                break
                   16938:                ;;
                   16939:              esac
                   16940:            done
1.237     moko     16941:            if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
                   16942:              # With aix-soname=svr4, we create the lib.so.V shared archives only,
                   16943:              # so we don't have lib.a shared libs to link our executables.
                   16944:              # We have to force runtime linking in this case.
                   16945:              aix_use_runtimelinking=yes
                   16946:              LDFLAGS="$LDFLAGS -Wl,-brtl"
                   16947:            fi
1.128     moko     16948:            ;;
                   16949:           esac
                   16950: 
                   16951:           exp_sym_flag='-bexport'
                   16952:           no_entry_flag='-bnoentry'
                   16953:         fi
                   16954: 
                   16955:         # When large executables or shared objects are built, AIX ld can
                   16956:         # have problems creating the table of contents.  If linking a library
                   16957:         # or program results in "error TOC overflow" add -mminimal-toc to
                   16958:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   16959:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   16960: 
                   16961:         archive_cmds_CXX=''
                   16962:         hardcode_direct_CXX=yes
                   16963:         hardcode_direct_absolute_CXX=yes
                   16964:         hardcode_libdir_separator_CXX=':'
                   16965:         link_all_deplibs_CXX=yes
1.237     moko     16966:         file_list_spec_CXX='$wl-f,'
                   16967:         case $with_aix_soname,$aix_use_runtimelinking in
                   16968:         aix,*) ;;      # no import file
                   16969:         svr4,* | *,yes) # use import file
                   16970:           # The Import File defines what to hardcode.
                   16971:           hardcode_direct_CXX=no
                   16972:           hardcode_direct_absolute_CXX=no
                   16973:           ;;
                   16974:         esac
1.128     moko     16975: 
1.237     moko     16976:         if test yes = "$GXX"; then
1.128     moko     16977:           case $host_os in aix4.[012]|aix4.[012].*)
                   16978:           # We only want to do this on AIX 4.2 and lower, the check
                   16979:           # below for broken collect2 doesn't work under 4.3+
1.237     moko     16980:          collect2name=`$CC -print-prog-name=collect2`
1.128     moko     16981:          if test -f "$collect2name" &&
                   16982:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   16983:          then
                   16984:            # We have reworked collect2
                   16985:            :
                   16986:          else
                   16987:            # We have old collect2
                   16988:            hardcode_direct_CXX=unsupported
                   16989:            # It fails to find uninstalled libraries when the uninstalled
                   16990:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   16991:            # to unsupported forces relinking
                   16992:            hardcode_minus_L_CXX=yes
                   16993:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   16994:            hardcode_libdir_separator_CXX=
                   16995:          fi
                   16996:           esac
                   16997:           shared_flag='-shared'
1.237     moko     16998:          if test yes = "$aix_use_runtimelinking"; then
                   16999:            shared_flag=$shared_flag' $wl-G'
1.128     moko     17000:          fi
1.237     moko     17001:          # Need to ensure runtime linking is disabled for the traditional
                   17002:          # shared library, or the linker may eventually find shared libraries
                   17003:          # /with/ Import File - we do not want to mix them.
                   17004:          shared_flag_aix='-shared'
                   17005:          shared_flag_svr4='-shared $wl-G'
1.128     moko     17006:         else
                   17007:           # not using gcc
1.237     moko     17008:           if test ia64 = "$host_cpu"; then
1.128     moko     17009:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   17010:          # chokes on -Wl,-G. The following line is correct:
                   17011:          shared_flag='-G'
                   17012:           else
1.237     moko     17013:            if test yes = "$aix_use_runtimelinking"; then
                   17014:              shared_flag='$wl-G'
1.128     moko     17015:            else
1.237     moko     17016:              shared_flag='$wl-bM:SRE'
1.128     moko     17017:            fi
1.237     moko     17018:            shared_flag_aix='$wl-bM:SRE'
                   17019:            shared_flag_svr4='$wl-G'
1.128     moko     17020:           fi
                   17021:         fi
                   17022: 
1.237     moko     17023:         export_dynamic_flag_spec_CXX='$wl-bexpall'
1.128     moko     17024:         # It seems that -bexpall does not export symbols beginning with
                   17025:         # underscore (_), so it is better to generate a list of symbols to
                   17026:        # export.
                   17027:         always_export_symbols_CXX=yes
1.237     moko     17028:        if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
1.128     moko     17029:           # Warning - without using the other runtime loading flags (-brtl),
                   17030:           # -berok will link without error, but may produce a broken library.
1.237     moko     17031:           # The "-G" linker flag allows undefined symbols.
                   17032:           no_undefined_flag_CXX='-bernotok'
1.128     moko     17033:           # Determine the default libpath from the value encoded in an empty
                   17034:           # executable.
1.237     moko     17035:           if test set = "${lt_cv_aix_libpath+set}"; then
1.128     moko     17036:   aix_libpath=$lt_cv_aix_libpath
                   17037: else
1.237     moko     17038:   if test ${lt_cv_aix_libpath__CXX+y}
                   17039: then :
                   17040:   printf %s "(cached) " >&6
                   17041: else case e in #(
                   17042:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17043: /* end confdefs.h.  */
                   17044: 
                   17045: int
1.237     moko     17046: main (void)
1.128     moko     17047: {
                   17048: 
                   17049:   ;
                   17050:   return 0;
                   17051: }
                   17052: _ACEOF
1.237     moko     17053: if ac_fn_cxx_try_link "$LINENO"
                   17054: then :
1.128     moko     17055: 
                   17056:   lt_aix_libpath_sed='
                   17057:       /Import File Strings/,/^$/ {
                   17058:          /^0/ {
                   17059:              s/^0  *\([^ ]*\) *$/\1/
                   17060:              p
                   17061:          }
                   17062:       }'
                   17063:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   17064:   # Check for a 64-bit object if we didn't find anything.
                   17065:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   17066:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   17067:   fi
                   17068: fi
1.237     moko     17069: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     17070:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     17071:   if test -z "$lt_cv_aix_libpath__CXX"; then
1.237     moko     17072:     lt_cv_aix_libpath__CXX=/usr/lib:/lib
1.128     moko     17073:   fi
1.237     moko     17074:    ;;
                   17075: esac
1.128     moko     17076: fi
                   17077: 
                   17078:   aix_libpath=$lt_cv_aix_libpath__CXX
                   17079: fi
                   17080: 
1.237     moko     17081:           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
1.128     moko     17082: 
1.237     moko     17083:           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     17084:         else
1.237     moko     17085:           if test ia64 = "$host_cpu"; then
                   17086:            hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
1.128     moko     17087:            allow_undefined_flag_CXX="-z nodefs"
1.237     moko     17088:            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     17089:           else
                   17090:            # Determine the default libpath from the value encoded in an
                   17091:            # empty executable.
1.237     moko     17092:            if test set = "${lt_cv_aix_libpath+set}"; then
1.128     moko     17093:   aix_libpath=$lt_cv_aix_libpath
                   17094: else
1.237     moko     17095:   if test ${lt_cv_aix_libpath__CXX+y}
                   17096: then :
                   17097:   printf %s "(cached) " >&6
                   17098: else case e in #(
                   17099:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17100: /* end confdefs.h.  */
                   17101: 
                   17102: int
1.237     moko     17103: main (void)
1.128     moko     17104: {
                   17105: 
                   17106:   ;
                   17107:   return 0;
                   17108: }
                   17109: _ACEOF
1.237     moko     17110: if ac_fn_cxx_try_link "$LINENO"
                   17111: then :
1.128     moko     17112: 
                   17113:   lt_aix_libpath_sed='
                   17114:       /Import File Strings/,/^$/ {
                   17115:          /^0/ {
                   17116:              s/^0  *\([^ ]*\) *$/\1/
                   17117:              p
                   17118:          }
                   17119:       }'
                   17120:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   17121:   # Check for a 64-bit object if we didn't find anything.
                   17122:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   17123:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   17124:   fi
                   17125: fi
1.237     moko     17126: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     17127:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     17128:   if test -z "$lt_cv_aix_libpath__CXX"; then
1.237     moko     17129:     lt_cv_aix_libpath__CXX=/usr/lib:/lib
1.128     moko     17130:   fi
1.237     moko     17131:    ;;
                   17132: esac
1.128     moko     17133: fi
                   17134: 
                   17135:   aix_libpath=$lt_cv_aix_libpath__CXX
                   17136: fi
                   17137: 
1.237     moko     17138:            hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
1.128     moko     17139:            # Warning - without using the other run time loading flags,
                   17140:            # -berok will link without error, but may produce a broken library.
1.237     moko     17141:            no_undefined_flag_CXX=' $wl-bernotok'
                   17142:            allow_undefined_flag_CXX=' $wl-berok'
                   17143:            if test yes = "$with_gnu_ld"; then
1.128     moko     17144:              # We only use this code for GNU lds that support --whole-archive.
1.237     moko     17145:              whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
1.128     moko     17146:            else
                   17147:              # Exported symbols can be pulled into shared objects from archives
                   17148:              whole_archive_flag_spec_CXX='$convenience'
                   17149:            fi
                   17150:            archive_cmds_need_lc_CXX=yes
1.237     moko     17151:            archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
                   17152:            # -brtl affects multiple linker settings, -berok does not and is overridden later
                   17153:            compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
                   17154:            if test svr4 != "$with_aix_soname"; then
                   17155:              # This is similar to how AIX traditionally builds its shared
                   17156:              # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
                   17157:              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'
                   17158:            fi
                   17159:            if test aix != "$with_aix_soname"; then
                   17160:              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'
                   17161:            else
                   17162:              # used by -dlpreopen to get the symbols
                   17163:              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
                   17164:            fi
                   17165:            archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
1.128     moko     17166:           fi
                   17167:         fi
                   17168:         ;;
                   17169: 
                   17170:       beos*)
                   17171:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   17172:          allow_undefined_flag_CXX=unsupported
                   17173:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   17174:          # support --undefined.  This deserves some investigation.  FIXME
1.237     moko     17175:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     17176:        else
                   17177:          ld_shlibs_CXX=no
                   17178:        fi
                   17179:        ;;
                   17180: 
                   17181:       chorus*)
                   17182:         case $cc_basename in
                   17183:           *)
                   17184:          # FIXME: insert proper C++ library support
                   17185:          ld_shlibs_CXX=no
                   17186:          ;;
                   17187:         esac
                   17188:         ;;
                   17189: 
1.237     moko     17190:       cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     17191:        case $GXX,$cc_basename in
1.237     moko     17192:        ,cl* | no,cl* | ,icl* | no,icl*)
                   17193:          # Native MSVC or ICC
1.128     moko     17194:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   17195:          # no search path for DLLs.
                   17196:          hardcode_libdir_flag_spec_CXX=' '
                   17197:          allow_undefined_flag_CXX=unsupported
                   17198:          always_export_symbols_CXX=yes
                   17199:          file_list_spec_CXX='@'
                   17200:          # Tell ltmain to make .lib files, not .a files.
                   17201:          libext=lib
                   17202:          # Tell ltmain to make .dll files, not .so files.
1.237     moko     17203:          shrext_cmds=.dll
1.128     moko     17204:          # FIXME: Setting linknames here is a bad hack.
1.237     moko     17205:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
                   17206:          archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
                   17207:               cp "$export_symbols" "$output_objdir/$soname.def";
                   17208:               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
                   17209:             else
                   17210:               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
                   17211:             fi~
                   17212:             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   17213:             linknames='
1.128     moko     17214:          # The linker will not automatically build a static lib if we build a DLL.
                   17215:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   17216:          enable_shared_with_static_runtimes_CXX=yes
                   17217:          # Don't use ranlib
                   17218:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   17219:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
1.237     moko     17220:             lt_tool_outputfile="@TOOL_OUTPUT@"~
                   17221:             case $lt_outputfile in
                   17222:               *.exe|*.EXE) ;;
                   17223:               *)
                   17224:                 lt_outputfile=$lt_outputfile.exe
                   17225:                 lt_tool_outputfile=$lt_tool_outputfile.exe
                   17226:                 ;;
                   17227:             esac~
                   17228:             func_to_tool_file "$lt_outputfile"~
                   17229:             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
                   17230:               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   17231:               $RM "$lt_outputfile.manifest";
                   17232:             fi'
1.128     moko     17233:          ;;
                   17234:        *)
                   17235:          # g++
                   17236:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   17237:          # as there is no search path for DLLs.
                   17238:          hardcode_libdir_flag_spec_CXX='-L$libdir'
1.237     moko     17239:          export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
1.128     moko     17240:          allow_undefined_flag_CXX=unsupported
                   17241:          always_export_symbols_CXX=no
                   17242:          enable_shared_with_static_runtimes_CXX=yes
1.237     moko     17243:          file_list_spec_CXX='@'
1.128     moko     17244: 
                   17245:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1.237     moko     17246:            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'
                   17247:            # If the export-symbols file already is a .def file, use it as
                   17248:            # is; otherwise, prepend EXPORTS...
                   17249:            archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
                   17250:               cp $export_symbols $output_objdir/$soname.def;
                   17251:             else
                   17252:               echo EXPORTS > $output_objdir/$soname.def;
                   17253:               cat $export_symbols >> $output_objdir/$soname.def;
                   17254:             fi~
                   17255:             $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     17256:          else
                   17257:            ld_shlibs_CXX=no
                   17258:          fi
                   17259:          ;;
                   17260:        esac
                   17261:        ;;
                   17262:       darwin* | rhapsody*)
                   17263: 
                   17264: 
                   17265:   archive_cmds_need_lc_CXX=no
                   17266:   hardcode_direct_CXX=no
                   17267:   hardcode_automatic_CXX=yes
                   17268:   hardcode_shlibpath_var_CXX=unsupported
1.237     moko     17269:   if test yes = "$lt_cv_ld_force_load"; then
                   17270:     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     17271: 
                   17272:   else
                   17273:     whole_archive_flag_spec_CXX=''
                   17274:   fi
                   17275:   link_all_deplibs_CXX=yes
1.237     moko     17276:   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
1.128     moko     17277:   case $cc_basename in
1.237     moko     17278:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
1.128     moko     17279:      *) _lt_dar_can_shared=$GCC ;;
                   17280:   esac
1.237     moko     17281:   if test yes = "$_lt_dar_can_shared"; then
1.128     moko     17282:     output_verbose_link_cmd=func_echo_all
1.237     moko     17283:     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"
                   17284:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
                   17285:     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"
                   17286:     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"
                   17287:        if test yes = "$_lt_dar_needs_single_mod" -a yes != "$lt_cv_apple_cc_single_mod"; then
                   17288:       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"
                   17289:       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     17290:     fi
                   17291: 
                   17292:   else
                   17293:   ld_shlibs_CXX=no
                   17294:   fi
                   17295: 
                   17296:        ;;
                   17297: 
1.237     moko     17298:       os2*)
                   17299:        hardcode_libdir_flag_spec_CXX='-L$libdir'
                   17300:        hardcode_minus_L_CXX=yes
                   17301:        allow_undefined_flag_CXX=unsupported
                   17302:        shrext_cmds=.dll
                   17303:        archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   17304:          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   17305:          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   17306:          $ECHO EXPORTS >> $output_objdir/$libname.def~
                   17307:          emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
                   17308:          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   17309:          emximp -o $lib $output_objdir/$libname.def'
                   17310:        archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   17311:          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   17312:          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   17313:          $ECHO EXPORTS >> $output_objdir/$libname.def~
                   17314:          prefix_cmds="$SED"~
                   17315:          if test EXPORTS = "`$SED 1q $export_symbols`"; then
                   17316:            prefix_cmds="$prefix_cmds -e 1d";
                   17317:          fi~
                   17318:          prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
                   17319:          cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
                   17320:          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   17321:          emximp -o $lib $output_objdir/$libname.def'
                   17322:        old_archive_from_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
                   17323:        enable_shared_with_static_runtimes_CXX=yes
                   17324:        file_list_spec_CXX='@'
                   17325:        ;;
                   17326: 
1.128     moko     17327:       dgux*)
                   17328:         case $cc_basename in
                   17329:           ec++*)
                   17330:            # FIXME: insert proper C++ library support
                   17331:            ld_shlibs_CXX=no
                   17332:            ;;
                   17333:           ghcx*)
                   17334:            # Green Hills C++ Compiler
                   17335:            # FIXME: insert proper C++ library support
                   17336:            ld_shlibs_CXX=no
                   17337:            ;;
                   17338:           *)
                   17339:            # FIXME: insert proper C++ library support
                   17340:            ld_shlibs_CXX=no
                   17341:            ;;
                   17342:         esac
                   17343:         ;;
                   17344: 
                   17345:       freebsd2.*)
                   17346:         # C++ shared libraries reported to be fairly broken before
                   17347:        # switch to ELF
                   17348:         ld_shlibs_CXX=no
                   17349:         ;;
                   17350: 
                   17351:       freebsd-elf*)
                   17352:         archive_cmds_need_lc_CXX=no
                   17353:         ;;
                   17354: 
1.237     moko     17355:       freebsd* | dragonfly* | midnightbsd*)
1.128     moko     17356:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   17357:         # conventions
                   17358:         ld_shlibs_CXX=yes
                   17359:         ;;
                   17360: 
                   17361:       haiku*)
1.237     moko     17362:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   17363:         link_all_deplibs_CXX=no
1.128     moko     17364:         ;;
                   17365: 
                   17366:       hpux9*)
1.237     moko     17367:         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
1.128     moko     17368:         hardcode_libdir_separator_CXX=:
1.237     moko     17369:         export_dynamic_flag_spec_CXX='$wl-E'
1.128     moko     17370:         hardcode_direct_CXX=yes
                   17371:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   17372:                                             # but as the default
                   17373:                                             # location of the library.
                   17374: 
                   17375:         case $cc_basename in
                   17376:           CC*)
                   17377:             # FIXME: insert proper C++ library support
                   17378:             ld_shlibs_CXX=no
                   17379:             ;;
                   17380:           aCC*)
1.237     moko     17381:             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     17382:             # Commands to make compiler produce verbose output that lists
                   17383:             # what "hidden" libraries, object files and flags are used when
                   17384:             # linking a shared library.
                   17385:             #
                   17386:             # There doesn't appear to be a way to prevent this compiler from
                   17387:             # explicitly linking system object files so we need to strip them
                   17388:             # from the output so that they don't get included in the library
                   17389:             # dependencies.
1.237     moko     17390:             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     17391:             ;;
                   17392:           *)
1.237     moko     17393:             if test yes = "$GXX"; then
                   17394:               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     17395:             else
                   17396:               # FIXME: insert proper C++ library support
                   17397:               ld_shlibs_CXX=no
                   17398:             fi
                   17399:             ;;
                   17400:         esac
                   17401:         ;;
                   17402: 
                   17403:       hpux10*|hpux11*)
1.237     moko     17404:         if test no = "$with_gnu_ld"; then
                   17405:          hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
1.128     moko     17406:          hardcode_libdir_separator_CXX=:
                   17407: 
                   17408:           case $host_cpu in
                   17409:             hppa*64*|ia64*)
                   17410:               ;;
                   17411:             *)
1.237     moko     17412:              export_dynamic_flag_spec_CXX='$wl-E'
1.128     moko     17413:               ;;
                   17414:           esac
                   17415:         fi
                   17416:         case $host_cpu in
                   17417:           hppa*64*|ia64*)
                   17418:             hardcode_direct_CXX=no
                   17419:             hardcode_shlibpath_var_CXX=no
                   17420:             ;;
                   17421:           *)
                   17422:             hardcode_direct_CXX=yes
                   17423:             hardcode_direct_absolute_CXX=yes
                   17424:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   17425:                                                 # but as the default
                   17426:                                                 # location of the library.
                   17427:             ;;
                   17428:         esac
                   17429: 
                   17430:         case $cc_basename in
                   17431:           CC*)
                   17432:            # FIXME: insert proper C++ library support
                   17433:            ld_shlibs_CXX=no
                   17434:            ;;
                   17435:           aCC*)
                   17436:            case $host_cpu in
                   17437:              hppa*64*)
1.237     moko     17438:                archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.128     moko     17439:                ;;
                   17440:              ia64*)
1.237     moko     17441:                archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.128     moko     17442:                ;;
                   17443:              *)
1.237     moko     17444:                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     17445:                ;;
                   17446:            esac
                   17447:            # Commands to make compiler produce verbose output that lists
                   17448:            # what "hidden" libraries, object files and flags are used when
                   17449:            # linking a shared library.
                   17450:            #
                   17451:            # There doesn't appear to be a way to prevent this compiler from
                   17452:            # explicitly linking system object files so we need to strip them
                   17453:            # from the output so that they don't get included in the library
                   17454:            # dependencies.
1.237     moko     17455:            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     17456:            ;;
                   17457:           *)
1.237     moko     17458:            if test yes = "$GXX"; then
                   17459:              if test no = "$with_gnu_ld"; then
1.128     moko     17460:                case $host_cpu in
                   17461:                  hppa*64*)
1.237     moko     17462:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.128     moko     17463:                    ;;
                   17464:                  ia64*)
1.237     moko     17465:                    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     17466:                    ;;
                   17467:                  *)
1.237     moko     17468:                    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     17469:                    ;;
                   17470:                esac
                   17471:              fi
                   17472:            else
                   17473:              # FIXME: insert proper C++ library support
                   17474:              ld_shlibs_CXX=no
                   17475:            fi
                   17476:            ;;
                   17477:         esac
                   17478:         ;;
                   17479: 
                   17480:       interix[3-9]*)
                   17481:        hardcode_direct_CXX=no
                   17482:        hardcode_shlibpath_var_CXX=no
1.237     moko     17483:        hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
                   17484:        export_dynamic_flag_spec_CXX='$wl-E'
1.128     moko     17485:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   17486:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   17487:        # default) and relocated if they conflict, which is a slow very memory
                   17488:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   17489:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   17490:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
1.237     moko     17491:        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'
                   17492:        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     17493:        ;;
                   17494:       irix5* | irix6*)
                   17495:         case $cc_basename in
                   17496:           CC*)
                   17497:            # SGI C++
1.237     moko     17498:            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     17499: 
                   17500:            # Archives containing C++ object files must be created using
                   17501:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   17502:            # necessary to make sure instantiated templates are included
                   17503:            # in the archive.
                   17504:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   17505:            ;;
                   17506:           *)
1.237     moko     17507:            if test yes = "$GXX"; then
                   17508:              if test no = "$with_gnu_ld"; then
                   17509:                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     17510:              else
1.237     moko     17511:                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     17512:              fi
                   17513:            fi
                   17514:            link_all_deplibs_CXX=yes
                   17515:            ;;
                   17516:         esac
1.237     moko     17517:         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
1.128     moko     17518:         hardcode_libdir_separator_CXX=:
                   17519:         inherit_rpath_CXX=yes
                   17520:         ;;
                   17521: 
1.237     moko     17522:       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     17523:         case $cc_basename in
                   17524:           KCC*)
                   17525:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   17526: 
                   17527:            # KCC will only create a shared library if the output file
                   17528:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   17529:            # to its proper name (with version) after linking.
1.237     moko     17530:            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'
                   17531:            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     17532:            # Commands to make compiler produce verbose output that lists
                   17533:            # what "hidden" libraries, object files and flags are used when
                   17534:            # linking a shared library.
                   17535:            #
                   17536:            # There doesn't appear to be a way to prevent this compiler from
                   17537:            # explicitly linking system object files so we need to strip them
                   17538:            # from the output so that they don't get included in the library
                   17539:            # dependencies.
1.237     moko     17540:            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     17541: 
1.237     moko     17542:            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
                   17543:            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
1.128     moko     17544: 
                   17545:            # Archives containing C++ object files must be created using
                   17546:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   17547:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   17548:            ;;
                   17549:          icpc* | ecpc* )
                   17550:            # Intel C++
                   17551:            with_gnu_ld=yes
                   17552:            # version 8.0 and above of icpc choke on multiply defined symbols
                   17553:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   17554:            # earlier do not add the objects themselves.
                   17555:            case `$CC -V 2>&1` in
                   17556:              *"Version 7."*)
1.237     moko     17557:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
                   17558:                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     17559:                ;;
                   17560:              *)  # Version 8.0 or newer
                   17561:                tmp_idyn=
                   17562:                case $host_cpu in
                   17563:                  ia64*) tmp_idyn=' -i_dynamic';;
                   17564:                esac
1.237     moko     17565:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   17566:                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     17567:                ;;
                   17568:            esac
                   17569:            archive_cmds_need_lc_CXX=no
1.237     moko     17570:            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
                   17571:            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
                   17572:            whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
1.128     moko     17573:            ;;
                   17574:           pgCC* | pgcpp*)
                   17575:             # Portland Group C++ compiler
                   17576:            case `$CC -V` in
                   17577:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   17578:              prelink_cmds_CXX='tpldir=Template.dir~
1.237     moko     17579:                rm -rf $tpldir~
                   17580:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   17581:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
1.128     moko     17582:              old_archive_cmds_CXX='tpldir=Template.dir~
1.237     moko     17583:                 rm -rf $tpldir~
                   17584:                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   17585:                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   17586:                 $RANLIB $oldlib'
1.128     moko     17587:              archive_cmds_CXX='tpldir=Template.dir~
1.237     moko     17588:                 rm -rf $tpldir~
                   17589:                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   17590:                 $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     17591:              archive_expsym_cmds_CXX='tpldir=Template.dir~
1.237     moko     17592:                 rm -rf $tpldir~
                   17593:                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   17594:                 $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     17595:              ;;
                   17596:            *) # Version 6 and above use weak symbols
1.237     moko     17597:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
                   17598:              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     17599:              ;;
                   17600:            esac
                   17601: 
1.237     moko     17602:            hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
                   17603:            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
                   17604:            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     17605:             ;;
                   17606:          cxx*)
                   17607:            # Compaq C++
1.237     moko     17608:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
                   17609:            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     17610: 
                   17611:            runpath_var=LD_RUN_PATH
                   17612:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   17613:            hardcode_libdir_separator_CXX=:
                   17614: 
                   17615:            # Commands to make compiler produce verbose output that lists
                   17616:            # what "hidden" libraries, object files and flags are used when
                   17617:            # linking a shared library.
                   17618:            #
                   17619:            # There doesn't appear to be a way to prevent this compiler from
                   17620:            # explicitly linking system object files so we need to strip them
                   17621:            # from the output so that they don't get included in the library
                   17622:            # dependencies.
1.237     moko     17623:            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     17624:            ;;
                   17625:          xl* | mpixl* | bgxl*)
                   17626:            # IBM XL 8.0 on PPC, with GNU ld
1.237     moko     17627:            hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
                   17628:            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
                   17629:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   17630:            if test yes = "$supports_anon_versioning"; then
1.128     moko     17631:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
1.237     moko     17632:                 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   17633:                 echo "local: *; };" >> $output_objdir/$libname.ver~
                   17634:                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
1.128     moko     17635:            fi
                   17636:            ;;
                   17637:          *)
1.237     moko     17638:            case `$CC -V 2>&1 | $SED 5q` in
1.128     moko     17639:            *Sun\ C*)
                   17640:              # Sun C++ 5.9
                   17641:              no_undefined_flag_CXX=' -zdefs'
1.237     moko     17642:              archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   17643:              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     17644:              hardcode_libdir_flag_spec_CXX='-R$libdir'
1.237     moko     17645:              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     17646:              compiler_needs_object_CXX=yes
                   17647: 
                   17648:              # Not sure whether something based on
                   17649:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   17650:              # would be better.
                   17651:              output_verbose_link_cmd='func_echo_all'
                   17652: 
                   17653:              # Archives containing C++ object files must be created using
                   17654:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   17655:              # necessary to make sure instantiated templates are included
                   17656:              # in the archive.
                   17657:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   17658:              ;;
                   17659:            esac
                   17660:            ;;
                   17661:        esac
                   17662:        ;;
                   17663: 
                   17664:       lynxos*)
                   17665:         # FIXME: insert proper C++ library support
                   17666:        ld_shlibs_CXX=no
                   17667:        ;;
                   17668: 
                   17669:       m88k*)
                   17670:         # FIXME: insert proper C++ library support
                   17671:         ld_shlibs_CXX=no
                   17672:        ;;
                   17673: 
                   17674:       mvs*)
                   17675:         case $cc_basename in
                   17676:           cxx*)
                   17677:            # FIXME: insert proper C++ library support
                   17678:            ld_shlibs_CXX=no
                   17679:            ;;
                   17680:          *)
                   17681:            # FIXME: insert proper C++ library support
                   17682:            ld_shlibs_CXX=no
                   17683:            ;;
                   17684:        esac
                   17685:        ;;
                   17686: 
1.237     moko     17687:       *-mlibc)
                   17688:         ld_shlibs_CXX=yes
                   17689:        ;;
                   17690: 
1.128     moko     17691:       netbsd*)
                   17692:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   17693:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   17694:          wlarc=
                   17695:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   17696:          hardcode_direct_CXX=yes
                   17697:          hardcode_shlibpath_var_CXX=no
                   17698:        fi
                   17699:        # Workaround some broken pre-1.5 toolchains
                   17700:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   17701:        ;;
                   17702: 
                   17703:       *nto* | *qnx*)
                   17704:         ld_shlibs_CXX=yes
                   17705:        ;;
                   17706: 
                   17707:       openbsd*)
                   17708:        if test -f /usr/libexec/ld.so; then
                   17709:          hardcode_direct_CXX=yes
                   17710:          hardcode_shlibpath_var_CXX=no
                   17711:          hardcode_direct_absolute_CXX=yes
                   17712:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
1.237     moko     17713:          hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
                   17714:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
                   17715:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
                   17716:            export_dynamic_flag_spec_CXX='$wl-E'
                   17717:            whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
1.128     moko     17718:          fi
                   17719:          output_verbose_link_cmd=func_echo_all
                   17720:        else
                   17721:          ld_shlibs_CXX=no
                   17722:        fi
                   17723:        ;;
                   17724: 
                   17725:       osf3* | osf4* | osf5*)
                   17726:         case $cc_basename in
                   17727:           KCC*)
                   17728:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   17729: 
                   17730:            # KCC will only create a shared library if the output file
                   17731:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   17732:            # to its proper name (with version) after linking.
1.237     moko     17733:            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     17734: 
1.237     moko     17735:            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
1.128     moko     17736:            hardcode_libdir_separator_CXX=:
                   17737: 
                   17738:            # Archives containing C++ object files must be created using
                   17739:            # the KAI C++ compiler.
                   17740:            case $host in
                   17741:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   17742:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   17743:            esac
                   17744:            ;;
                   17745:           RCC*)
                   17746:            # Rational C++ 2.4.1
                   17747:            # FIXME: insert proper C++ library support
                   17748:            ld_shlibs_CXX=no
                   17749:            ;;
                   17750:           cxx*)
                   17751:            case $host in
                   17752:              osf3*)
1.237     moko     17753:                allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
                   17754:                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'
                   17755:                hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
1.128     moko     17756:                ;;
                   17757:              *)
                   17758:                allow_undefined_flag_CXX=' -expect_unresolved \*'
1.237     moko     17759:                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     17760:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
1.237     moko     17761:                   echo "-hidden">> $lib.exp~
                   17762:                   $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~
                   17763:                   $RM $lib.exp'
1.128     moko     17764:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   17765:                ;;
                   17766:            esac
                   17767: 
                   17768:            hardcode_libdir_separator_CXX=:
                   17769: 
                   17770:            # Commands to make compiler produce verbose output that lists
                   17771:            # what "hidden" libraries, object files and flags are used when
                   17772:            # linking a shared library.
                   17773:            #
                   17774:            # There doesn't appear to be a way to prevent this compiler from
                   17775:            # explicitly linking system object files so we need to strip them
                   17776:            # from the output so that they don't get included in the library
                   17777:            # dependencies.
1.237     moko     17778:            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     17779:            ;;
                   17780:          *)
1.237     moko     17781:            if test yes,no = "$GXX,$with_gnu_ld"; then
                   17782:              allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
1.128     moko     17783:              case $host in
                   17784:                osf3*)
1.237     moko     17785:                  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     17786:                  ;;
                   17787:                *)
1.237     moko     17788:                  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     17789:                  ;;
                   17790:              esac
                   17791: 
1.237     moko     17792:              hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
1.128     moko     17793:              hardcode_libdir_separator_CXX=:
                   17794: 
                   17795:              # Commands to make compiler produce verbose output that lists
                   17796:              # what "hidden" libraries, object files and flags are used when
                   17797:              # linking a shared library.
1.237     moko     17798:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
1.128     moko     17799: 
                   17800:            else
                   17801:              # FIXME: insert proper C++ library support
                   17802:              ld_shlibs_CXX=no
                   17803:            fi
                   17804:            ;;
                   17805:         esac
                   17806:         ;;
                   17807: 
                   17808:       psos*)
                   17809:         # FIXME: insert proper C++ library support
                   17810:         ld_shlibs_CXX=no
                   17811:         ;;
                   17812: 
1.237     moko     17813:       serenity*)
                   17814:         ;;
                   17815: 
1.128     moko     17816:       sunos4*)
                   17817:         case $cc_basename in
                   17818:           CC*)
                   17819:            # Sun C++ 4.x
                   17820:            # FIXME: insert proper C++ library support
                   17821:            ld_shlibs_CXX=no
                   17822:            ;;
                   17823:           lcc*)
                   17824:            # Lucid
                   17825:            # FIXME: insert proper C++ library support
                   17826:            ld_shlibs_CXX=no
                   17827:            ;;
                   17828:           *)
                   17829:            # FIXME: insert proper C++ library support
                   17830:            ld_shlibs_CXX=no
                   17831:            ;;
                   17832:         esac
                   17833:         ;;
                   17834: 
                   17835:       solaris*)
                   17836:         case $cc_basename in
                   17837:           CC* | sunCC*)
                   17838:            # Sun C++ 4.2, 5.x and Centerline C++
                   17839:             archive_cmds_need_lc_CXX=yes
                   17840:            no_undefined_flag_CXX=' -zdefs'
1.237     moko     17841:            archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.128     moko     17842:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     17843:               $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     17844: 
                   17845:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   17846:            hardcode_shlibpath_var_CXX=no
                   17847:            case $host_os in
                   17848:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   17849:              *)
                   17850:                # The compiler driver will combine and reorder linker options,
1.237     moko     17851:                # but understands '-z linker_flag'.
1.128     moko     17852:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   17853:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   17854:                ;;
                   17855:            esac
                   17856:            link_all_deplibs_CXX=yes
                   17857: 
                   17858:            output_verbose_link_cmd='func_echo_all'
                   17859: 
                   17860:            # Archives containing C++ object files must be created using
                   17861:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   17862:            # necessary to make sure instantiated templates are included
                   17863:            # in the archive.
                   17864:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   17865:            ;;
                   17866:           gcx*)
                   17867:            # Green Hills C++ Compiler
1.237     moko     17868:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
1.128     moko     17869: 
                   17870:            # The C++ compiler must be used to create the archive.
                   17871:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   17872:            ;;
                   17873:           *)
                   17874:            # GNU C++ compiler with Solaris linker
1.237     moko     17875:            if test yes,no = "$GXX,$with_gnu_ld"; then
                   17876:              no_undefined_flag_CXX=' $wl-z ${wl}defs'
1.128     moko     17877:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
1.237     moko     17878:                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     17879:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     17880:                   $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     17881: 
                   17882:                # Commands to make compiler produce verbose output that lists
                   17883:                # what "hidden" libraries, object files and flags are used when
                   17884:                # linking a shared library.
1.237     moko     17885:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
1.128     moko     17886:              else
1.237     moko     17887:                # g++ 2.7 appears to require '-G' NOT '-shared' on this
1.128     moko     17888:                # platform.
1.237     moko     17889:                archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
1.128     moko     17890:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     17891:                   $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     17892: 
                   17893:                # Commands to make compiler produce verbose output that lists
                   17894:                # what "hidden" libraries, object files and flags are used when
                   17895:                # linking a shared library.
1.237     moko     17896:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
1.128     moko     17897:              fi
                   17898: 
1.237     moko     17899:              hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
1.128     moko     17900:              case $host_os in
                   17901:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   17902:                *)
1.237     moko     17903:                  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
1.128     moko     17904:                  ;;
                   17905:              esac
                   17906:            fi
                   17907:            ;;
                   17908:         esac
                   17909:         ;;
                   17910: 
                   17911:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
1.237     moko     17912:       no_undefined_flag_CXX='$wl-z,text'
1.128     moko     17913:       archive_cmds_need_lc_CXX=no
                   17914:       hardcode_shlibpath_var_CXX=no
                   17915:       runpath_var='LD_RUN_PATH'
                   17916: 
                   17917:       case $cc_basename in
                   17918:         CC*)
1.237     moko     17919:          archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   17920:          archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     17921:          ;;
                   17922:        *)
1.237     moko     17923:          archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   17924:          archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     17925:          ;;
                   17926:       esac
                   17927:       ;;
                   17928: 
                   17929:       sysv5* | sco3.2v5* | sco5v6*)
1.237     moko     17930:        # Note: We CANNOT use -z defs as we might desire, because we do not
1.128     moko     17931:        # link with -lc, and that would cause any symbols used from libc to
                   17932:        # always be unresolved, which means just about no library would
                   17933:        # ever link correctly.  If we're not using GNU ld we use -z text
                   17934:        # though, which does catch some bad symbols but isn't as heavy-handed
                   17935:        # as -z defs.
1.237     moko     17936:        no_undefined_flag_CXX='$wl-z,text'
                   17937:        allow_undefined_flag_CXX='$wl-z,nodefs'
1.128     moko     17938:        archive_cmds_need_lc_CXX=no
                   17939:        hardcode_shlibpath_var_CXX=no
1.237     moko     17940:        hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
1.128     moko     17941:        hardcode_libdir_separator_CXX=':'
                   17942:        link_all_deplibs_CXX=yes
1.237     moko     17943:        export_dynamic_flag_spec_CXX='$wl-Bexport'
1.128     moko     17944:        runpath_var='LD_RUN_PATH'
                   17945: 
                   17946:        case $cc_basename in
                   17947:           CC*)
1.237     moko     17948:            archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   17949:            archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     17950:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
1.237     moko     17951:               '"$old_archive_cmds_CXX"
1.128     moko     17952:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
1.237     moko     17953:               '"$reload_cmds_CXX"
1.128     moko     17954:            ;;
                   17955:          *)
1.237     moko     17956:            archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   17957:            archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     17958:            ;;
                   17959:        esac
                   17960:       ;;
                   17961: 
                   17962:       tandem*)
                   17963:         case $cc_basename in
                   17964:           NCC*)
                   17965:            # NonStop-UX NCC 3.20
                   17966:            # FIXME: insert proper C++ library support
                   17967:            ld_shlibs_CXX=no
                   17968:            ;;
                   17969:           *)
                   17970:            # FIXME: insert proper C++ library support
                   17971:            ld_shlibs_CXX=no
                   17972:            ;;
                   17973:         esac
                   17974:         ;;
                   17975: 
                   17976:       vxworks*)
                   17977:         # FIXME: insert proper C++ library support
                   17978:         ld_shlibs_CXX=no
                   17979:         ;;
                   17980: 
                   17981:       *)
                   17982:         # FIXME: insert proper C++ library support
                   17983:         ld_shlibs_CXX=no
                   17984:         ;;
                   17985:     esac
                   17986: 
1.237     moko     17987:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   17988: printf "%s\n" "$ld_shlibs_CXX" >&6; }
                   17989:     test no = "$ld_shlibs_CXX" && can_build_shared=no
1.128     moko     17990: 
1.237     moko     17991:     GCC_CXX=$GXX
                   17992:     LD_CXX=$LD
1.128     moko     17993: 
                   17994:     ## CAVEAT EMPTOR:
                   17995:     ## There is no encapsulation within the following macros, do not change
                   17996:     ## the running order or otherwise move them around unless you know exactly
                   17997:     ## what you are doing...
                   17998:     # Dependencies to place before and after the object being linked:
                   17999: predep_objects_CXX=
                   18000: postdep_objects_CXX=
                   18001: predeps_CXX=
                   18002: postdeps_CXX=
                   18003: compiler_lib_search_path_CXX=
                   18004: 
                   18005: cat > conftest.$ac_ext <<_LT_EOF
                   18006: class Foo
                   18007: {
                   18008: public:
                   18009:   Foo (void) { a = 0; }
                   18010: private:
                   18011:   int a;
                   18012: };
                   18013: _LT_EOF
                   18014: 
                   18015: 
                   18016: _lt_libdeps_save_CFLAGS=$CFLAGS
                   18017: case "$CC $CFLAGS " in #(
                   18018: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   18019: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   18020: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   18021: esac
                   18022: 
1.150     moko     18023: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     18024:   (eval $ac_compile) 2>&5
                   18025:   ac_status=$?
1.237     moko     18026:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     18027:   test $ac_status = 0; }; then
1.128     moko     18028:   # Parse the compiler output and extract the necessary
                   18029:   # objects, libraries and library flags.
                   18030: 
                   18031:   # Sentinel used to keep track of whether or not we are before
                   18032:   # the conftest object file.
                   18033:   pre_test_object_deps_done=no
                   18034: 
                   18035:   for p in `eval "$output_verbose_link_cmd"`; do
1.237     moko     18036:     case $prev$p in
1.128     moko     18037: 
                   18038:     -L* | -R* | -l*)
1.237     moko     18039:        # Some compilers place space between "-{L,R,l}" and the path.
1.128     moko     18040:        # Remove the space.
1.237     moko     18041:        if test x-L = x"$p" ||
                   18042:           test x-R = x"$p" ||
                   18043:           test x-l = x"$p"; then
1.128     moko     18044:         prev=$p
                   18045:         continue
                   18046:        fi
                   18047: 
                   18048:        # Expand the sysroot to ease extracting the directories later.
                   18049:        if test -z "$prev"; then
                   18050:          case $p in
                   18051:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   18052:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   18053:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   18054:          esac
                   18055:        fi
                   18056:        case $p in
                   18057:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   18058:        esac
1.237     moko     18059:        if test no = "$pre_test_object_deps_done"; then
                   18060:         case $prev in
1.128     moko     18061:         -L | -R)
                   18062:           # Internal compiler library paths should come after those
                   18063:           # provided the user.  The postdeps already come after the
                   18064:           # user supplied libs so there is no need to process them.
                   18065:           if test -z "$compiler_lib_search_path_CXX"; then
1.237     moko     18066:             compiler_lib_search_path_CXX=$prev$p
1.128     moko     18067:           else
1.237     moko     18068:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
1.128     moko     18069:           fi
                   18070:           ;;
                   18071:         # The "-l" case would never come before the object being
                   18072:         # linked, so don't bother handling this case.
                   18073:         esac
                   18074:        else
                   18075:         if test -z "$postdeps_CXX"; then
1.237     moko     18076:           postdeps_CXX=$prev$p
1.128     moko     18077:         else
1.237     moko     18078:           postdeps_CXX="${postdeps_CXX} $prev$p"
1.128     moko     18079:         fi
                   18080:        fi
                   18081:        prev=
                   18082:        ;;
                   18083: 
                   18084:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   18085:     *.$objext)
                   18086:        # This assumes that the test object file only shows up
                   18087:        # once in the compiler output.
                   18088:        if test "$p" = "conftest.$objext"; then
                   18089:         pre_test_object_deps_done=yes
                   18090:         continue
                   18091:        fi
                   18092: 
1.237     moko     18093:        if test no = "$pre_test_object_deps_done"; then
1.128     moko     18094:         if test -z "$predep_objects_CXX"; then
1.237     moko     18095:           predep_objects_CXX=$p
1.128     moko     18096:         else
                   18097:           predep_objects_CXX="$predep_objects_CXX $p"
                   18098:         fi
                   18099:        else
                   18100:         if test -z "$postdep_objects_CXX"; then
1.237     moko     18101:           postdep_objects_CXX=$p
1.128     moko     18102:         else
                   18103:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   18104:         fi
                   18105:        fi
                   18106:        ;;
                   18107: 
                   18108:     *) ;; # Ignore the rest.
                   18109: 
                   18110:     esac
                   18111:   done
                   18112: 
                   18113:   # Clean up.
                   18114:   rm -f a.out a.exe
                   18115: else
                   18116:   echo "libtool.m4: error: problem compiling CXX test program"
                   18117: fi
                   18118: 
                   18119: $RM -f confest.$objext
                   18120: CFLAGS=$_lt_libdeps_save_CFLAGS
                   18121: 
                   18122: # PORTME: override above test on systems where it is broken
                   18123: case $host_os in
                   18124: interix[3-9]*)
                   18125:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   18126:   # hack all around it, let's just trust "g++" to DTRT.
                   18127:   predep_objects_CXX=
                   18128:   postdep_objects_CXX=
                   18129:   postdeps_CXX=
                   18130:   ;;
1.237     moko     18131: esac
1.128     moko     18132: 
                   18133: 
1.237     moko     18134: case " $postdeps_CXX " in
                   18135: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   18136: esac
1.128     moko     18137:  compiler_lib_search_dirs_CXX=
                   18138: if test -n "${compiler_lib_search_path_CXX}"; then
1.237     moko     18139:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
1.128     moko     18140: fi
                   18141: 
                   18142: 
                   18143: 
                   18144: 
                   18145: 
                   18146: 
                   18147: 
                   18148: 
                   18149: 
                   18150: 
                   18151: 
                   18152: 
                   18153: 
                   18154: 
                   18155: 
                   18156: 
                   18157: 
                   18158: 
                   18159: 
                   18160: 
                   18161: 
                   18162: 
                   18163: 
                   18164: 
                   18165: 
                   18166: 
                   18167: 
                   18168: 
                   18169: 
                   18170: 
                   18171: 
                   18172:     lt_prog_compiler_wl_CXX=
                   18173: lt_prog_compiler_pic_CXX=
                   18174: lt_prog_compiler_static_CXX=
                   18175: 
                   18176: 
                   18177:   # C++ specific cases for pic, static, wl, etc.
1.237     moko     18178:   if test yes = "$GXX"; then
1.128     moko     18179:     lt_prog_compiler_wl_CXX='-Wl,'
                   18180:     lt_prog_compiler_static_CXX='-static'
                   18181: 
                   18182:     case $host_os in
                   18183:     aix*)
                   18184:       # All AIX code is PIC.
1.237     moko     18185:       if test ia64 = "$host_cpu"; then
1.128     moko     18186:        # AIX 5 now supports IA64 processor
                   18187:        lt_prog_compiler_static_CXX='-Bstatic'
                   18188:       fi
1.237     moko     18189:       lt_prog_compiler_pic_CXX='-fPIC'
1.128     moko     18190:       ;;
                   18191: 
                   18192:     amigaos*)
                   18193:       case $host_cpu in
                   18194:       powerpc)
                   18195:             # see comment about AmigaOS4 .so support
                   18196:             lt_prog_compiler_pic_CXX='-fPIC'
                   18197:         ;;
                   18198:       m68k)
                   18199:             # FIXME: we need at least 68020 code to build shared libraries, but
1.237     moko     18200:             # adding the '-m68020' flag to GCC prevents building anything better,
                   18201:             # like '-m68040'.
1.128     moko     18202:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   18203:         ;;
                   18204:       esac
                   18205:       ;;
                   18206: 
                   18207:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   18208:       # PIC is the default for these OSes.
                   18209:       ;;
1.237     moko     18210:     mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
1.128     moko     18211:       # This hack is so that the source file can tell whether it is being
                   18212:       # built for inclusion in a dll (and should export symbols for example).
                   18213:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   18214:       # (--disable-auto-import) libraries
                   18215:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
1.237     moko     18216:       case $host_os in
                   18217:       os2*)
                   18218:        lt_prog_compiler_static_CXX='$wl-static'
                   18219:        ;;
                   18220:       esac
1.128     moko     18221:       ;;
                   18222:     darwin* | rhapsody*)
                   18223:       # PIC is the default on this platform
                   18224:       # Common symbols not allowed in MH_DYLIB files
                   18225:       lt_prog_compiler_pic_CXX='-fno-common'
                   18226:       ;;
                   18227:     *djgpp*)
                   18228:       # DJGPP does not support shared libraries at all
                   18229:       lt_prog_compiler_pic_CXX=
                   18230:       ;;
                   18231:     haiku*)
                   18232:       # PIC is the default for Haiku.
                   18233:       # The "-static" flag exists, but is broken.
                   18234:       lt_prog_compiler_static_CXX=
                   18235:       ;;
                   18236:     interix[3-9]*)
                   18237:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   18238:       # Instead, we relocate shared libraries at runtime.
                   18239:       ;;
                   18240:     sysv4*MP*)
                   18241:       if test -d /usr/nec; then
                   18242:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   18243:       fi
                   18244:       ;;
                   18245:     hpux*)
                   18246:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   18247:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   18248:       # sets the default TLS model and affects inlining.
                   18249:       case $host_cpu in
                   18250:       hppa*64*)
                   18251:        ;;
                   18252:       *)
                   18253:        lt_prog_compiler_pic_CXX='-fPIC'
                   18254:        ;;
                   18255:       esac
                   18256:       ;;
                   18257:     *qnx* | *nto*)
                   18258:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   18259:       # it will coredump.
                   18260:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   18261:       ;;
                   18262:     *)
                   18263:       lt_prog_compiler_pic_CXX='-fPIC'
                   18264:       ;;
                   18265:     esac
                   18266:   else
                   18267:     case $host_os in
                   18268:       aix[4-9]*)
                   18269:        # All AIX code is PIC.
1.237     moko     18270:        if test ia64 = "$host_cpu"; then
1.128     moko     18271:          # AIX 5 now supports IA64 processor
                   18272:          lt_prog_compiler_static_CXX='-Bstatic'
                   18273:        else
                   18274:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   18275:        fi
                   18276:        ;;
                   18277:       chorus*)
                   18278:        case $cc_basename in
                   18279:        cxch68*)
                   18280:          # Green Hills C++ Compiler
                   18281:          # _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"
                   18282:          ;;
                   18283:        esac
                   18284:        ;;
1.237     moko     18285:       mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
1.128     moko     18286:        # This hack is so that the source file can tell whether it is being
                   18287:        # built for inclusion in a dll (and should export symbols for example).
                   18288:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   18289:        ;;
                   18290:       dgux*)
                   18291:        case $cc_basename in
                   18292:          ec++*)
                   18293:            lt_prog_compiler_pic_CXX='-KPIC'
                   18294:            ;;
                   18295:          ghcx*)
                   18296:            # Green Hills C++ Compiler
                   18297:            lt_prog_compiler_pic_CXX='-pic'
                   18298:            ;;
                   18299:          *)
                   18300:            ;;
                   18301:        esac
                   18302:        ;;
1.237     moko     18303:       freebsd* | dragonfly* | midnightbsd*)
1.128     moko     18304:        # FreeBSD uses GNU C++
                   18305:        ;;
                   18306:       hpux9* | hpux10* | hpux11*)
                   18307:        case $cc_basename in
                   18308:          CC*)
                   18309:            lt_prog_compiler_wl_CXX='-Wl,'
1.237     moko     18310:            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
                   18311:            if test ia64 != "$host_cpu"; then
1.128     moko     18312:              lt_prog_compiler_pic_CXX='+Z'
                   18313:            fi
                   18314:            ;;
                   18315:          aCC*)
                   18316:            lt_prog_compiler_wl_CXX='-Wl,'
1.237     moko     18317:            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
1.128     moko     18318:            case $host_cpu in
                   18319:            hppa*64*|ia64*)
                   18320:              # +Z the default
                   18321:              ;;
                   18322:            *)
                   18323:              lt_prog_compiler_pic_CXX='+Z'
                   18324:              ;;
                   18325:            esac
                   18326:            ;;
                   18327:          *)
                   18328:            ;;
                   18329:        esac
                   18330:        ;;
                   18331:       interix*)
                   18332:        # This is c89, which is MS Visual C++ (no shared libs)
                   18333:        # Anyone wants to do a port?
                   18334:        ;;
                   18335:       irix5* | irix6* | nonstopux*)
                   18336:        case $cc_basename in
                   18337:          CC*)
                   18338:            lt_prog_compiler_wl_CXX='-Wl,'
                   18339:            lt_prog_compiler_static_CXX='-non_shared'
                   18340:            # CC pic flag -KPIC is the default.
                   18341:            ;;
                   18342:          *)
                   18343:            ;;
                   18344:        esac
                   18345:        ;;
1.237     moko     18346:       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     18347:        case $cc_basename in
                   18348:          KCC*)
                   18349:            # KAI C++ Compiler
                   18350:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   18351:            lt_prog_compiler_pic_CXX='-fPIC'
                   18352:            ;;
                   18353:          ecpc* )
1.237     moko     18354:            # old Intel C++ for x86_64, which still supported -KPIC.
1.128     moko     18355:            lt_prog_compiler_wl_CXX='-Wl,'
                   18356:            lt_prog_compiler_pic_CXX='-KPIC'
                   18357:            lt_prog_compiler_static_CXX='-static'
                   18358:            ;;
                   18359:          icpc* )
                   18360:            # Intel C++, used to be incompatible with GCC.
                   18361:            # ICC 10 doesn't accept -KPIC any more.
                   18362:            lt_prog_compiler_wl_CXX='-Wl,'
                   18363:            lt_prog_compiler_pic_CXX='-fPIC'
                   18364:            lt_prog_compiler_static_CXX='-static'
                   18365:            ;;
                   18366:          pgCC* | pgcpp*)
                   18367:            # Portland Group C++ compiler
                   18368:            lt_prog_compiler_wl_CXX='-Wl,'
                   18369:            lt_prog_compiler_pic_CXX='-fpic'
                   18370:            lt_prog_compiler_static_CXX='-Bstatic'
                   18371:            ;;
                   18372:          cxx*)
                   18373:            # Compaq C++
                   18374:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   18375:            # Linux and Compaq Tru64 Unix objects are PIC.
                   18376:            lt_prog_compiler_pic_CXX=
                   18377:            lt_prog_compiler_static_CXX='-non_shared'
                   18378:            ;;
                   18379:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   18380:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   18381:            lt_prog_compiler_wl_CXX='-Wl,'
                   18382:            lt_prog_compiler_pic_CXX='-qpic'
                   18383:            lt_prog_compiler_static_CXX='-qstaticlink'
                   18384:            ;;
                   18385:          *)
1.237     moko     18386:            case `$CC -V 2>&1 | $SED 5q` in
1.128     moko     18387:            *Sun\ C*)
                   18388:              # Sun C++ 5.9
                   18389:              lt_prog_compiler_pic_CXX='-KPIC'
                   18390:              lt_prog_compiler_static_CXX='-Bstatic'
                   18391:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   18392:              ;;
                   18393:            esac
                   18394:            ;;
                   18395:        esac
                   18396:        ;;
                   18397:       lynxos*)
                   18398:        ;;
                   18399:       m88k*)
                   18400:        ;;
                   18401:       mvs*)
                   18402:        case $cc_basename in
                   18403:          cxx*)
                   18404:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   18405:            ;;
                   18406:          *)
                   18407:            ;;
                   18408:        esac
                   18409:        ;;
1.237     moko     18410:       netbsd* | netbsdelf*-gnu)
                   18411:        ;;
                   18412:       *-mlibc)
1.128     moko     18413:        ;;
                   18414:       *qnx* | *nto*)
                   18415:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   18416:         # it will coredump.
                   18417:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   18418:         ;;
                   18419:       osf3* | osf4* | osf5*)
                   18420:        case $cc_basename in
                   18421:          KCC*)
                   18422:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   18423:            ;;
                   18424:          RCC*)
                   18425:            # Rational C++ 2.4.1
                   18426:            lt_prog_compiler_pic_CXX='-pic'
                   18427:            ;;
                   18428:          cxx*)
                   18429:            # Digital/Compaq C++
                   18430:            lt_prog_compiler_wl_CXX='-Wl,'
                   18431:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   18432:            # Linux and Compaq Tru64 Unix objects are PIC.
                   18433:            lt_prog_compiler_pic_CXX=
                   18434:            lt_prog_compiler_static_CXX='-non_shared'
                   18435:            ;;
                   18436:          *)
                   18437:            ;;
                   18438:        esac
                   18439:        ;;
                   18440:       psos*)
                   18441:        ;;
1.237     moko     18442:       serenity*)
                   18443:         ;;
1.128     moko     18444:       solaris*)
                   18445:        case $cc_basename in
                   18446:          CC* | sunCC*)
                   18447:            # Sun C++ 4.2, 5.x and Centerline C++
                   18448:            lt_prog_compiler_pic_CXX='-KPIC'
                   18449:            lt_prog_compiler_static_CXX='-Bstatic'
                   18450:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   18451:            ;;
                   18452:          gcx*)
                   18453:            # Green Hills C++ Compiler
                   18454:            lt_prog_compiler_pic_CXX='-PIC'
                   18455:            ;;
                   18456:          *)
                   18457:            ;;
                   18458:        esac
                   18459:        ;;
                   18460:       sunos4*)
                   18461:        case $cc_basename in
                   18462:          CC*)
                   18463:            # Sun C++ 4.x
                   18464:            lt_prog_compiler_pic_CXX='-pic'
                   18465:            lt_prog_compiler_static_CXX='-Bstatic'
                   18466:            ;;
                   18467:          lcc*)
                   18468:            # Lucid
                   18469:            lt_prog_compiler_pic_CXX='-pic'
                   18470:            ;;
                   18471:          *)
                   18472:            ;;
                   18473:        esac
                   18474:        ;;
                   18475:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   18476:        case $cc_basename in
                   18477:          CC*)
                   18478:            lt_prog_compiler_wl_CXX='-Wl,'
                   18479:            lt_prog_compiler_pic_CXX='-KPIC'
                   18480:            lt_prog_compiler_static_CXX='-Bstatic'
                   18481:            ;;
                   18482:        esac
                   18483:        ;;
                   18484:       tandem*)
                   18485:        case $cc_basename in
                   18486:          NCC*)
                   18487:            # NonStop-UX NCC 3.20
                   18488:            lt_prog_compiler_pic_CXX='-KPIC'
                   18489:            ;;
                   18490:          *)
                   18491:            ;;
                   18492:        esac
                   18493:        ;;
                   18494:       vxworks*)
                   18495:        ;;
                   18496:       *)
                   18497:        lt_prog_compiler_can_build_shared_CXX=no
                   18498:        ;;
                   18499:     esac
                   18500:   fi
                   18501: 
                   18502: case $host_os in
1.237     moko     18503:   # For platforms that do not support PIC, -DPIC is meaningless:
1.128     moko     18504:   *djgpp*)
                   18505:     lt_prog_compiler_pic_CXX=
                   18506:     ;;
                   18507:   *)
                   18508:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   18509:     ;;
                   18510: esac
                   18511: 
1.237     moko     18512: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   18513: printf %s "checking for $compiler option to produce PIC... " >&6; }
                   18514: if test ${lt_cv_prog_compiler_pic_CXX+y}
                   18515: then :
                   18516:   printf %s "(cached) " >&6
                   18517: else case e in #(
                   18518:   e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
                   18519: esac
1.128     moko     18520: fi
1.237     moko     18521: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   18522: printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     18523: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   18524: 
                   18525: #
                   18526: # Check to make sure the PIC flag actually works.
                   18527: #
                   18528: if test -n "$lt_prog_compiler_pic_CXX"; then
1.237     moko     18529:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   18530: printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   18531: if test ${lt_cv_prog_compiler_pic_works_CXX+y}
                   18532: then :
                   18533:   printf %s "(cached) " >&6
                   18534: else case e in #(
                   18535:   e) lt_cv_prog_compiler_pic_works_CXX=no
1.128     moko     18536:    ac_outfile=conftest.$ac_objext
                   18537:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.237     moko     18538:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
1.128     moko     18539:    # Insert the option either (1) after the last *FLAGS variable, or
                   18540:    # (2) before a word containing "conftest.", or (3) at the end.
                   18541:    # Note that $ac_compile itself does not contain backslashes and begins
                   18542:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   18543:    # The option is referenced via a variable to avoid confusing sed.
                   18544:    lt_compile=`echo "$ac_compile" | $SED \
                   18545:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   18546:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   18547:    -e 's:$: $lt_compiler_flag:'`
                   18548:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   18549:    (eval "$lt_compile" 2>conftest.err)
                   18550:    ac_status=$?
                   18551:    cat conftest.err >&5
                   18552:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18553:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   18554:      # The compiler can only warn and ignore the option if not recognized
                   18555:      # So say no if there are warnings other than the usual output.
                   18556:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   18557:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   18558:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   18559:        lt_cv_prog_compiler_pic_works_CXX=yes
                   18560:      fi
                   18561:    fi
                   18562:    $RM conftest*
1.237     moko     18563:  ;;
                   18564: esac
1.128     moko     18565: fi
1.237     moko     18566: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   18567: printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     18568: 
1.237     moko     18569: if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
1.128     moko     18570:     case $lt_prog_compiler_pic_CXX in
                   18571:      "" | " "*) ;;
                   18572:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   18573:      esac
                   18574: else
                   18575:     lt_prog_compiler_pic_CXX=
                   18576:      lt_prog_compiler_can_build_shared_CXX=no
                   18577: fi
                   18578: 
                   18579: fi
                   18580: 
                   18581: 
                   18582: 
                   18583: 
                   18584: 
                   18585: #
                   18586: # Check to make sure the static flag actually works.
                   18587: #
                   18588: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.237     moko     18589: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   18590: printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   18591: if test ${lt_cv_prog_compiler_static_works_CXX+y}
                   18592: then :
                   18593:   printf %s "(cached) " >&6
                   18594: else case e in #(
                   18595:   e) lt_cv_prog_compiler_static_works_CXX=no
                   18596:    save_LDFLAGS=$LDFLAGS
1.128     moko     18597:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   18598:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   18599:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   18600:      # The linker can only warn and ignore the option if not recognized
                   18601:      # So say no if there are warnings
                   18602:      if test -s conftest.err; then
                   18603:        # Append any errors to the config.log.
                   18604:        cat conftest.err 1>&5
                   18605:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   18606:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   18607:        if diff conftest.exp conftest.er2 >/dev/null; then
                   18608:          lt_cv_prog_compiler_static_works_CXX=yes
                   18609:        fi
                   18610:      else
                   18611:        lt_cv_prog_compiler_static_works_CXX=yes
                   18612:      fi
                   18613:    fi
                   18614:    $RM -r conftest*
1.237     moko     18615:    LDFLAGS=$save_LDFLAGS
                   18616:  ;;
                   18617: esac
1.128     moko     18618: fi
1.237     moko     18619: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   18620: printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     18621: 
1.237     moko     18622: if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
1.128     moko     18623:     :
                   18624: else
                   18625:     lt_prog_compiler_static_CXX=
                   18626: fi
                   18627: 
                   18628: 
                   18629: 
                   18630: 
1.237     moko     18631:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   18632: printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   18633: if test ${lt_cv_prog_compiler_c_o_CXX+y}
                   18634: then :
                   18635:   printf %s "(cached) " >&6
                   18636: else case e in #(
                   18637:   e) lt_cv_prog_compiler_c_o_CXX=no
1.128     moko     18638:    $RM -r conftest 2>/dev/null
                   18639:    mkdir conftest
                   18640:    cd conftest
                   18641:    mkdir out
                   18642:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   18643: 
                   18644:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   18645:    # Insert the option either (1) after the last *FLAGS variable, or
                   18646:    # (2) before a word containing "conftest.", or (3) at the end.
                   18647:    # Note that $ac_compile itself does not contain backslashes and begins
                   18648:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   18649:    lt_compile=`echo "$ac_compile" | $SED \
                   18650:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   18651:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   18652:    -e 's:$: $lt_compiler_flag:'`
                   18653:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   18654:    (eval "$lt_compile" 2>out/conftest.err)
                   18655:    ac_status=$?
                   18656:    cat out/conftest.err >&5
                   18657:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18658:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   18659:    then
                   18660:      # The compiler can only warn and ignore the option if not recognized
                   18661:      # So say no if there are warnings
                   18662:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   18663:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   18664:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   18665:        lt_cv_prog_compiler_c_o_CXX=yes
                   18666:      fi
                   18667:    fi
                   18668:    chmod u+w . 2>&5
                   18669:    $RM conftest*
                   18670:    # SGI C++ compiler will create directory out/ii_files/ for
                   18671:    # template instantiation
                   18672:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   18673:    $RM out/* && rmdir out
                   18674:    cd ..
                   18675:    $RM -r conftest
                   18676:    $RM conftest*
1.237     moko     18677:  ;;
                   18678: esac
1.128     moko     18679: fi
1.237     moko     18680: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   18681: printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     18682: 
                   18683: 
                   18684: 
1.237     moko     18685:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   18686: printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   18687: if test ${lt_cv_prog_compiler_c_o_CXX+y}
                   18688: then :
                   18689:   printf %s "(cached) " >&6
                   18690: else case e in #(
                   18691:   e) lt_cv_prog_compiler_c_o_CXX=no
1.128     moko     18692:    $RM -r conftest 2>/dev/null
                   18693:    mkdir conftest
                   18694:    cd conftest
                   18695:    mkdir out
                   18696:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   18697: 
                   18698:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   18699:    # Insert the option either (1) after the last *FLAGS variable, or
                   18700:    # (2) before a word containing "conftest.", or (3) at the end.
                   18701:    # Note that $ac_compile itself does not contain backslashes and begins
                   18702:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   18703:    lt_compile=`echo "$ac_compile" | $SED \
                   18704:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   18705:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   18706:    -e 's:$: $lt_compiler_flag:'`
                   18707:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   18708:    (eval "$lt_compile" 2>out/conftest.err)
                   18709:    ac_status=$?
                   18710:    cat out/conftest.err >&5
                   18711:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18712:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   18713:    then
                   18714:      # The compiler can only warn and ignore the option if not recognized
                   18715:      # So say no if there are warnings
                   18716:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   18717:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   18718:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   18719:        lt_cv_prog_compiler_c_o_CXX=yes
                   18720:      fi
                   18721:    fi
                   18722:    chmod u+w . 2>&5
                   18723:    $RM conftest*
                   18724:    # SGI C++ compiler will create directory out/ii_files/ for
                   18725:    # template instantiation
                   18726:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   18727:    $RM out/* && rmdir out
                   18728:    cd ..
                   18729:    $RM -r conftest
                   18730:    $RM conftest*
1.237     moko     18731:  ;;
                   18732: esac
1.128     moko     18733: fi
1.237     moko     18734: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   18735: printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     18736: 
                   18737: 
                   18738: 
                   18739: 
1.237     moko     18740: hard_links=nottested
                   18741: if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
1.128     moko     18742:   # do not overwrite the value of need_locks provided by the user
1.237     moko     18743:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   18744: printf %s "checking if we can lock with hard links... " >&6; }
1.128     moko     18745:   hard_links=yes
                   18746:   $RM conftest*
                   18747:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   18748:   touch conftest.a
                   18749:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   18750:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.237     moko     18751:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   18752: printf "%s\n" "$hard_links" >&6; }
                   18753:   if test no = "$hard_links"; then
                   18754:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
                   18755: printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
1.128     moko     18756:     need_locks=warn
                   18757:   fi
                   18758: else
                   18759:   need_locks=no
                   18760: fi
                   18761: 
                   18762: 
                   18763: 
1.237     moko     18764:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   18765: printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     18766: 
                   18767:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   18768:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   18769:   case $host_os in
                   18770:   aix[4-9]*)
                   18771:     # If we're using GNU nm, then we don't want the "-C" option.
1.237     moko     18772:     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
                   18773:     # Without the "-l" option, or with the "-B" option, AIX nm treats
                   18774:     # weak defined symbols like other global defined symbols, whereas
                   18775:     # GNU nm marks them as "W".
                   18776:     # While the 'weak' keyword is ignored in the Export File, we need
                   18777:     # it in the Import File for the 'aix-soname' feature, so we have
                   18778:     # to replace the "-B" option with "-P" for AIX nm.
1.128     moko     18779:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1.237     moko     18780:       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     18781:     else
1.237     moko     18782:       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     18783:     fi
                   18784:     ;;
                   18785:   pw32*)
1.237     moko     18786:     export_symbols_cmds_CXX=$ltdll_cmds
1.128     moko     18787:     ;;
1.237     moko     18788:   cygwin* | mingw* | windows* | cegcc*)
1.128     moko     18789:     case $cc_basename in
1.237     moko     18790:     cl* | icl*)
1.128     moko     18791:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   18792:       ;;
                   18793:     *)
                   18794:       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'
                   18795:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   18796:       ;;
                   18797:     esac
                   18798:     ;;
1.237     moko     18799:   linux* | k*bsd*-gnu | gnu*)
                   18800:     link_all_deplibs_CXX=no
                   18801:     ;;
1.128     moko     18802:   *)
                   18803:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   18804:     ;;
                   18805:   esac
                   18806: 
1.237     moko     18807: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   18808: printf "%s\n" "$ld_shlibs_CXX" >&6; }
                   18809: test no = "$ld_shlibs_CXX" && can_build_shared=no
1.128     moko     18810: 
                   18811: with_gnu_ld_CXX=$with_gnu_ld
                   18812: 
                   18813: 
                   18814: 
                   18815: 
                   18816: 
                   18817: 
                   18818: #
                   18819: # Do we need to explicitly link libc?
                   18820: #
                   18821: case "x$archive_cmds_need_lc_CXX" in
                   18822: x|xyes)
                   18823:   # Assume -lc should be added
                   18824:   archive_cmds_need_lc_CXX=yes
                   18825: 
1.237     moko     18826:   if test yes,yes = "$GCC,$enable_shared"; then
1.128     moko     18827:     case $archive_cmds_CXX in
                   18828:     *'~'*)
                   18829:       # FIXME: we may have to deal with multi-command sequences.
                   18830:       ;;
                   18831:     '$CC '*)
                   18832:       # Test whether the compiler implicitly links with -lc since on some
                   18833:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   18834:       # to ld, don't add -lc before -lgcc.
1.237     moko     18835:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   18836: printf %s "checking whether -lc should be explicitly linked in... " >&6; }
                   18837: if test ${lt_cv_archive_cmds_need_lc_CXX+y}
                   18838: then :
                   18839:   printf %s "(cached) " >&6
                   18840: else case e in #(
                   18841:   e) $RM conftest*
1.128     moko     18842:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   18843: 
1.150     moko     18844:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     18845:   (eval $ac_compile) 2>&5
                   18846:   ac_status=$?
1.237     moko     18847:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     18848:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     18849:          soname=conftest
                   18850:          lib=conftest
                   18851:          libobjs=conftest.$ac_objext
                   18852:          deplibs=
                   18853:          wl=$lt_prog_compiler_wl_CXX
                   18854:          pic_flag=$lt_prog_compiler_pic_CXX
                   18855:          compiler_flags=-v
                   18856:          linker_flags=-v
                   18857:          verstring=
                   18858:          output_objdir=.
                   18859:          libname=conftest
                   18860:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   18861:          allow_undefined_flag_CXX=
1.150     moko     18862:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     18863:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   18864:   ac_status=$?
1.237     moko     18865:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     18866:   test $ac_status = 0; }
1.128     moko     18867:          then
                   18868:            lt_cv_archive_cmds_need_lc_CXX=no
                   18869:          else
                   18870:            lt_cv_archive_cmds_need_lc_CXX=yes
                   18871:          fi
                   18872:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   18873:        else
                   18874:          cat conftest.err 1>&5
                   18875:        fi
                   18876:        $RM conftest*
1.237     moko     18877:         ;;
                   18878: esac
1.128     moko     18879: fi
1.237     moko     18880: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   18881: printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     18882:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   18883:       ;;
                   18884:     esac
                   18885:   fi
                   18886:   ;;
                   18887: esac
                   18888: 
                   18889: 
                   18890: 
                   18891: 
                   18892: 
                   18893: 
                   18894: 
                   18895: 
                   18896: 
                   18897: 
                   18898: 
                   18899: 
                   18900: 
                   18901: 
                   18902: 
                   18903: 
                   18904: 
                   18905: 
                   18906: 
                   18907: 
                   18908: 
                   18909: 
                   18910: 
                   18911: 
                   18912: 
                   18913: 
                   18914: 
                   18915: 
                   18916: 
                   18917: 
                   18918: 
                   18919: 
                   18920: 
                   18921: 
                   18922: 
                   18923: 
                   18924: 
                   18925: 
                   18926: 
                   18927: 
                   18928: 
                   18929: 
                   18930: 
                   18931: 
                   18932: 
                   18933: 
                   18934: 
                   18935: 
                   18936: 
                   18937: 
                   18938: 
                   18939: 
                   18940: 
                   18941: 
                   18942: 
                   18943: 
                   18944: 
                   18945: 
                   18946: 
                   18947: 
                   18948: 
                   18949: 
1.237     moko     18950:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   18951: printf %s "checking dynamic linker characteristics... " >&6; }
1.128     moko     18952: 
                   18953: library_names_spec=
                   18954: libname_spec='lib$name'
                   18955: soname_spec=
1.237     moko     18956: shrext_cmds=.so
1.128     moko     18957: postinstall_cmds=
                   18958: postuninstall_cmds=
                   18959: finish_cmds=
                   18960: finish_eval=
                   18961: shlibpath_var=
                   18962: shlibpath_overrides_runpath=unknown
                   18963: version_type=none
                   18964: dynamic_linker="$host_os ld.so"
                   18965: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   18966: need_lib_prefix=unknown
                   18967: hardcode_into_libs=no
                   18968: 
                   18969: # when you set need_version to no, make sure it does not cause -set_version
                   18970: # flags to be left without arguments
                   18971: need_version=unknown
                   18972: 
1.237     moko     18973: 
                   18974: 
1.128     moko     18975: case $host_os in
                   18976: aix3*)
                   18977:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     18978:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
1.128     moko     18979:   shlibpath_var=LIBPATH
                   18980: 
                   18981:   # AIX 3 has no versioning support, so we append a major version to the name.
1.237     moko     18982:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     18983:   ;;
                   18984: 
                   18985: aix[4-9]*)
                   18986:   version_type=linux # correct to gnu/linux during the next big refactor
                   18987:   need_lib_prefix=no
                   18988:   need_version=no
                   18989:   hardcode_into_libs=yes
1.237     moko     18990:   if test ia64 = "$host_cpu"; then
1.128     moko     18991:     # AIX 5 supports IA64
1.237     moko     18992:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
1.128     moko     18993:     shlibpath_var=LD_LIBRARY_PATH
                   18994:   else
                   18995:     # With GCC up to 2.95.x, collect2 would create an import file
                   18996:     # for dependence libraries.  The import file would start with
1.237     moko     18997:     # the line '#! .'.  This would cause the generated library to
                   18998:     # depend on '.', always an invalid library.  This was fixed in
1.128     moko     18999:     # development snapshots of GCC prior to 3.0.
                   19000:     case $host_os in
                   19001:       aix4 | aix4.[01] | aix4.[01].*)
                   19002:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   19003:           echo ' yes '
1.237     moko     19004:           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
1.128     moko     19005:        :
                   19006:       else
                   19007:        can_build_shared=no
                   19008:       fi
                   19009:       ;;
                   19010:     esac
1.237     moko     19011:     # Using Import Files as archive members, it is possible to support
                   19012:     # filename-based versioning of shared library archives on AIX. While
                   19013:     # this would work for both with and without runtime linking, it will
                   19014:     # prevent static linking of such archives. So we do filename-based
                   19015:     # shared library versioning with .so extension only, which is used
                   19016:     # when both runtime linking and shared linking is enabled.
                   19017:     # Unfortunately, runtime linking may impact performance, so we do
                   19018:     # not want this to be the default eventually. Also, we use the
                   19019:     # versioned .so libs for executables only if there is the -brtl
                   19020:     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
                   19021:     # To allow for filename-based versioning support, we need to create
                   19022:     # libNAME.so.V as an archive file, containing:
                   19023:     # *) an Import File, referring to the versioned filename of the
                   19024:     #    archive as well as the shared archive member, telling the
                   19025:     #    bitwidth (32 or 64) of that shared object, and providing the
                   19026:     #    list of exported symbols of that shared object, eventually
                   19027:     #    decorated with the 'weak' keyword
                   19028:     # *) the shared object with the F_LOADONLY flag set, to really avoid
                   19029:     #    it being seen by the linker.
                   19030:     # At run time we better use the real file rather than another symlink,
                   19031:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
                   19032: 
                   19033:     case $with_aix_soname,$aix_use_runtimelinking in
                   19034:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
1.128     moko     19035:     # soname into executable. Probably we can add versioning support to
                   19036:     # collect2, so additional links can be useful in future.
1.237     moko     19037:     aix,yes) # traditional libtool
                   19038:       dynamic_linker='AIX unversionable lib.so'
1.128     moko     19039:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   19040:       # instead of lib<name>.a to let people know that these are not
                   19041:       # typical AIX shared libraries.
1.237     moko     19042:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19043:       ;;
                   19044:     aix,no) # traditional AIX only
                   19045:       dynamic_linker='AIX lib.a(lib.so.V)'
1.128     moko     19046:       # We preserve .a as extension for shared libraries through AIX4.2
                   19047:       # and later when we are not doing run time linking.
1.237     moko     19048:       library_names_spec='$libname$release.a $libname.a'
                   19049:       soname_spec='$libname$release$shared_ext$major'
                   19050:       ;;
                   19051:     svr4,*) # full svr4 only
                   19052:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
                   19053:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
                   19054:       # We do not specify a path in Import Files, so LIBPATH fires.
                   19055:       shlibpath_overrides_runpath=yes
                   19056:       ;;
                   19057:     *,yes) # both, prefer svr4
                   19058:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
                   19059:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
                   19060:       # unpreferred sharedlib libNAME.a needs extra handling
                   19061:       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"'
                   19062:       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"'
                   19063:       # We do not specify a path in Import Files, so LIBPATH fires.
                   19064:       shlibpath_overrides_runpath=yes
                   19065:       ;;
                   19066:     *,no) # both, prefer aix
                   19067:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
                   19068:       library_names_spec='$libname$release.a $libname.a'
                   19069:       soname_spec='$libname$release$shared_ext$major'
                   19070:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
                   19071:       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)'
                   19072:       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"'
                   19073:       ;;
                   19074:     esac
1.128     moko     19075:     shlibpath_var=LIBPATH
                   19076:   fi
                   19077:   ;;
                   19078: 
                   19079: amigaos*)
                   19080:   case $host_cpu in
                   19081:   powerpc)
                   19082:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   19083:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
1.237     moko     19084:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     19085:     ;;
                   19086:   m68k)
                   19087:     library_names_spec='$libname.ixlibrary $libname.a'
                   19088:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.237     moko     19089:     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     19090:     ;;
                   19091:   esac
                   19092:   ;;
                   19093: 
                   19094: beos*)
1.237     moko     19095:   library_names_spec='$libname$shared_ext'
1.128     moko     19096:   dynamic_linker="$host_os ld.so"
                   19097:   shlibpath_var=LIBRARY_PATH
                   19098:   ;;
                   19099: 
                   19100: bsdi[45]*)
                   19101:   version_type=linux # correct to gnu/linux during the next big refactor
                   19102:   need_version=no
1.237     moko     19103:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19104:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19105:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   19106:   shlibpath_var=LD_LIBRARY_PATH
                   19107:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   19108:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   19109:   # the default ld.so.conf also contains /usr/contrib/lib and
                   19110:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   19111:   # libtool to hard-code these into programs
                   19112:   ;;
                   19113: 
1.237     moko     19114: cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     19115:   version_type=windows
1.237     moko     19116:   shrext_cmds=.dll
1.128     moko     19117:   need_version=no
                   19118:   need_lib_prefix=no
                   19119: 
                   19120:   case $GCC,$cc_basename in
                   19121:   yes,*)
                   19122:     # gcc
                   19123:     library_names_spec='$libname.dll.a'
                   19124:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.237     moko     19125:     # If user builds GCC with multilib enabled,
                   19126:     # it should just install on $(libdir)
                   19127:     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
                   19128:     if test xyes = x"$multilib"; then
                   19129:       postinstall_cmds='base_file=`basename \$file`~
                   19130:         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
                   19131:         dldir=$destdir/`dirname \$dlpath`~
                   19132:         $install_prog $dir/$dlname $destdir/$dlname~
                   19133:         chmod a+x $destdir/$dlname~
                   19134:         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   19135:           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
                   19136:         fi'
                   19137:     else
                   19138:       postinstall_cmds='base_file=`basename \$file`~
                   19139:         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
                   19140:         dldir=$destdir/`dirname \$dlpath`~
                   19141:         test -d \$dldir || mkdir -p \$dldir~
                   19142:         $install_prog $dir/$dlname \$dldir/$dlname~
                   19143:         chmod a+x \$dldir/$dlname~
                   19144:         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   19145:           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   19146:         fi'
                   19147:     fi
1.128     moko     19148:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   19149:       dlpath=$dir/\$dldll~
                   19150:        $RM \$dlpath'
                   19151:     shlibpath_overrides_runpath=yes
                   19152: 
                   19153:     case $host_os in
                   19154:     cygwin*)
                   19155:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.237     moko     19156:       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     19157: 
                   19158:       ;;
1.237     moko     19159:     mingw* | windows* | cegcc*)
1.128     moko     19160:       # MinGW DLLs use traditional 'lib' prefix
1.237     moko     19161:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     19162:       ;;
                   19163:     pw32*)
                   19164:       # pw32 DLLs use 'pw' prefix rather than 'lib'
1.237     moko     19165:       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     19166:       ;;
                   19167:     esac
                   19168:     dynamic_linker='Win32 ld.exe'
                   19169:     ;;
                   19170: 
1.237     moko     19171:   *,cl* | *,icl*)
                   19172:     # Native MSVC or ICC
1.128     moko     19173:     libname_spec='$name'
1.237     moko     19174:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
                   19175:     library_names_spec='$libname.dll.lib'
1.128     moko     19176: 
                   19177:     case $build_os in
1.237     moko     19178:     mingw* | windows*)
1.128     moko     19179:       sys_lib_search_path_spec=
                   19180:       lt_save_ifs=$IFS
                   19181:       IFS=';'
                   19182:       for lt_path in $LIB
                   19183:       do
                   19184:         IFS=$lt_save_ifs
                   19185:         # Let DOS variable expansion print the short 8.3 style file name.
                   19186:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   19187:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   19188:       done
                   19189:       IFS=$lt_save_ifs
                   19190:       # Convert to MSYS style.
1.237     moko     19191:       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     19192:       ;;
                   19193:     cygwin*)
                   19194:       # Convert to unix form, then to dos form, then back to unix form
                   19195:       # but this time dos style (no spaces!) so that the unix form looks
                   19196:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   19197:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   19198:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   19199:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   19200:       ;;
                   19201:     *)
1.237     moko     19202:       sys_lib_search_path_spec=$LIB
1.128     moko     19203:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   19204:         # It is most probably a Windows format PATH.
                   19205:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   19206:       else
                   19207:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   19208:       fi
                   19209:       # FIXME: find the short name or the path components, as spaces are
                   19210:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   19211:       ;;
                   19212:     esac
                   19213: 
                   19214:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.237     moko     19215:     postinstall_cmds='base_file=`basename \$file`~
                   19216:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
1.128     moko     19217:       dldir=$destdir/`dirname \$dlpath`~
                   19218:       test -d \$dldir || mkdir -p \$dldir~
                   19219:       $install_prog $dir/$dlname \$dldir/$dlname'
                   19220:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   19221:       dlpath=$dir/\$dldll~
                   19222:        $RM \$dlpath'
                   19223:     shlibpath_overrides_runpath=yes
                   19224:     dynamic_linker='Win32 link.exe'
                   19225:     ;;
                   19226: 
                   19227:   *)
1.237     moko     19228:     # Assume MSVC and ICC wrapper
                   19229:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
1.128     moko     19230:     dynamic_linker='Win32 ld.exe'
                   19231:     ;;
                   19232:   esac
                   19233:   # FIXME: first we should search . and the directory the executable is in
                   19234:   shlibpath_var=PATH
                   19235:   ;;
                   19236: 
                   19237: darwin* | rhapsody*)
                   19238:   dynamic_linker="$host_os dyld"
                   19239:   version_type=darwin
                   19240:   need_lib_prefix=no
                   19241:   need_version=no
1.237     moko     19242:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
                   19243:   soname_spec='$libname$release$major$shared_ext'
1.128     moko     19244:   shlibpath_overrides_runpath=yes
                   19245:   shlibpath_var=DYLD_LIBRARY_PATH
                   19246:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   19247: 
                   19248:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   19249:   ;;
                   19250: 
                   19251: dgux*)
                   19252:   version_type=linux # correct to gnu/linux during the next big refactor
                   19253:   need_lib_prefix=no
                   19254:   need_version=no
1.237     moko     19255:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19256:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19257:   shlibpath_var=LD_LIBRARY_PATH
                   19258:   ;;
                   19259: 
1.237     moko     19260: freebsd* | dragonfly* | midnightbsd*)
1.128     moko     19261:   # DragonFly does not have aout.  When/if they implement a new
                   19262:   # versioning mechanism, adjust this.
                   19263:   if test -x /usr/bin/objformat; then
                   19264:     objformat=`/usr/bin/objformat`
                   19265:   else
                   19266:     case $host_os in
                   19267:     freebsd[23].*) objformat=aout ;;
                   19268:     *) objformat=elf ;;
                   19269:     esac
                   19270:   fi
                   19271:   version_type=freebsd-$objformat
                   19272:   case $version_type in
                   19273:     freebsd-elf*)
1.237     moko     19274:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19275:       soname_spec='$libname$release$shared_ext$major'
1.128     moko     19276:       need_version=no
                   19277:       need_lib_prefix=no
                   19278:       ;;
                   19279:     freebsd-*)
1.237     moko     19280:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     19281:       need_version=yes
                   19282:       ;;
                   19283:   esac
1.237     moko     19284:   case $host_cpu in
                   19285:     powerpc64)
                   19286:       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
                   19287:       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
                   19288:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   19289: /* end confdefs.h.  */
                   19290: int test_pointer_size[sizeof (void *) - 5];
                   19291: 
                   19292: _ACEOF
                   19293: if ac_fn_cxx_try_compile "$LINENO"
                   19294: then :
1.128     moko     19295:   shlibpath_var=LD_LIBRARY_PATH
1.237     moko     19296: else case e in #(
                   19297:   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
                   19298: esac
                   19299: fi
                   19300: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   19301:       ;;
                   19302:     *)
                   19303:       shlibpath_var=LD_LIBRARY_PATH
                   19304:       ;;
                   19305:   esac
1.128     moko     19306:   case $host_os in
                   19307:   freebsd2.*)
                   19308:     shlibpath_overrides_runpath=yes
                   19309:     ;;
                   19310:   freebsd3.[01]* | freebsdelf3.[01]*)
                   19311:     shlibpath_overrides_runpath=yes
                   19312:     hardcode_into_libs=yes
                   19313:     ;;
                   19314:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   19315:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   19316:     shlibpath_overrides_runpath=no
                   19317:     hardcode_into_libs=yes
                   19318:     ;;
                   19319:   *) # from 4.6 on, and DragonFly
                   19320:     shlibpath_overrides_runpath=yes
                   19321:     hardcode_into_libs=yes
                   19322:     ;;
                   19323:   esac
                   19324:   ;;
                   19325: 
                   19326: haiku*)
                   19327:   version_type=linux # correct to gnu/linux during the next big refactor
                   19328:   need_lib_prefix=no
                   19329:   need_version=no
                   19330:   dynamic_linker="$host_os runtime_loader"
1.237     moko     19331:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19332:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19333:   shlibpath_var=LIBRARY_PATH
1.237     moko     19334:   shlibpath_overrides_runpath=no
                   19335:   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
                   19336:   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
                   19337:   hardcode_into_libs=no
1.128     moko     19338:   ;;
                   19339: 
                   19340: hpux9* | hpux10* | hpux11*)
                   19341:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   19342:   # link against other versions.
                   19343:   version_type=sunos
                   19344:   need_lib_prefix=no
                   19345:   need_version=no
                   19346:   case $host_cpu in
                   19347:   ia64*)
                   19348:     shrext_cmds='.so'
                   19349:     hardcode_into_libs=yes
                   19350:     dynamic_linker="$host_os dld.so"
                   19351:     shlibpath_var=LD_LIBRARY_PATH
                   19352:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.237     moko     19353:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19354:     soname_spec='$libname$release$shared_ext$major'
                   19355:     if test 32 = "$HPUX_IA64_MODE"; then
1.128     moko     19356:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.237     moko     19357:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
1.128     moko     19358:     else
                   19359:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.237     moko     19360:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
1.128     moko     19361:     fi
                   19362:     ;;
                   19363:   hppa*64*)
                   19364:     shrext_cmds='.sl'
                   19365:     hardcode_into_libs=yes
                   19366:     dynamic_linker="$host_os dld.sl"
                   19367:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   19368:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.237     moko     19369:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19370:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     19371:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   19372:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   19373:     ;;
                   19374:   *)
                   19375:     shrext_cmds='.sl'
                   19376:     dynamic_linker="$host_os dld.sl"
                   19377:     shlibpath_var=SHLIB_PATH
                   19378:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.237     moko     19379:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19380:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     19381:     ;;
                   19382:   esac
                   19383:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   19384:   postinstall_cmds='chmod 555 $lib'
                   19385:   # or fails outright, so override atomically:
                   19386:   install_override_mode=555
                   19387:   ;;
                   19388: 
                   19389: interix[3-9]*)
                   19390:   version_type=linux # correct to gnu/linux during the next big refactor
                   19391:   need_lib_prefix=no
                   19392:   need_version=no
1.237     moko     19393:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19394:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19395:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   19396:   shlibpath_var=LD_LIBRARY_PATH
                   19397:   shlibpath_overrides_runpath=no
                   19398:   hardcode_into_libs=yes
                   19399:   ;;
                   19400: 
                   19401: irix5* | irix6* | nonstopux*)
                   19402:   case $host_os in
                   19403:     nonstopux*) version_type=nonstopux ;;
                   19404:     *)
1.237     moko     19405:        if test yes = "$lt_cv_prog_gnu_ld"; then
1.128     moko     19406:                version_type=linux # correct to gnu/linux during the next big refactor
                   19407:        else
                   19408:                version_type=irix
                   19409:        fi ;;
                   19410:   esac
                   19411:   need_lib_prefix=no
                   19412:   need_version=no
1.237     moko     19413:   soname_spec='$libname$release$shared_ext$major'
                   19414:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
1.128     moko     19415:   case $host_os in
                   19416:   irix5* | nonstopux*)
                   19417:     libsuff= shlibsuff=
                   19418:     ;;
                   19419:   *)
                   19420:     case $LD in # libtool.m4 will add one of these switches to LD
                   19421:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   19422:       libsuff= shlibsuff= libmagic=32-bit;;
                   19423:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   19424:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   19425:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   19426:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   19427:     *) libsuff= shlibsuff= libmagic=never-match;;
                   19428:     esac
                   19429:     ;;
                   19430:   esac
                   19431:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   19432:   shlibpath_overrides_runpath=no
1.237     moko     19433:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
                   19434:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
1.128     moko     19435:   hardcode_into_libs=yes
                   19436:   ;;
                   19437: 
                   19438: # No shared lib support for Linux oldld, aout, or coff.
                   19439: linux*oldld* | linux*aout* | linux*coff*)
                   19440:   dynamic_linker=no
                   19441:   ;;
                   19442: 
1.237     moko     19443: linux*android*)
                   19444:   version_type=none # Android doesn't support versioned libraries.
                   19445:   need_lib_prefix=no
                   19446:   need_version=no
                   19447:   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
                   19448:   soname_spec='$libname$release$shared_ext'
                   19449:   finish_cmds=
                   19450:   shlibpath_var=LD_LIBRARY_PATH
                   19451:   shlibpath_overrides_runpath=yes
                   19452: 
                   19453:   # This implies no fast_install, which is unacceptable.
                   19454:   # Some rework will be needed to allow for fast_install
                   19455:   # before this can be enabled.
                   19456:   hardcode_into_libs=yes
                   19457: 
                   19458:   dynamic_linker='Android linker'
                   19459:   # -rpath works at least for libraries that are not overridden by
                   19460:   # libraries installed in system locations.
                   19461:   hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
                   19462:   ;;
                   19463: 
1.128     moko     19464: # This must be glibc/ELF.
1.237     moko     19465: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     19466:   version_type=linux # correct to gnu/linux during the next big refactor
                   19467:   need_lib_prefix=no
                   19468:   need_version=no
1.237     moko     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'
1.128     moko     19471:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   19472:   shlibpath_var=LD_LIBRARY_PATH
                   19473:   shlibpath_overrides_runpath=no
                   19474: 
                   19475:   # Some binutils ld are patched to set DT_RUNPATH
1.237     moko     19476:   if test ${lt_cv_shlibpath_overrides_runpath+y}
                   19477: then :
                   19478:   printf %s "(cached) " >&6
                   19479: else case e in #(
                   19480:   e) lt_cv_shlibpath_overrides_runpath=no
1.128     moko     19481:     save_LDFLAGS=$LDFLAGS
                   19482:     save_libdir=$libdir
                   19483:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   19484:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150     moko     19485:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     19486: /* end confdefs.h.  */
                   19487: 
                   19488: int
1.237     moko     19489: main (void)
1.128     moko     19490: {
                   19491: 
                   19492:   ;
                   19493:   return 0;
                   19494: }
                   19495: _ACEOF
1.237     moko     19496: if ac_fn_cxx_try_link "$LINENO"
                   19497: then :
                   19498:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
                   19499: then :
1.128     moko     19500:   lt_cv_shlibpath_overrides_runpath=yes
                   19501: fi
                   19502: fi
1.237     moko     19503: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     19504:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     19505:     LDFLAGS=$save_LDFLAGS
                   19506:     libdir=$save_libdir
1.237     moko     19507:      ;;
                   19508: esac
1.128     moko     19509: fi
                   19510: 
                   19511:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   19512: 
                   19513:   # This implies no fast_install, which is unacceptable.
                   19514:   # Some rework will be needed to allow for fast_install
                   19515:   # before this can be enabled.
                   19516:   hardcode_into_libs=yes
                   19517: 
1.237     moko     19518:   # Ideally, we could use ldconfig to report *all* directories which are
                   19519:   # searched for libraries, however this is still not possible.  Aside from not
                   19520:   # being certain /sbin/ldconfig is available, command
                   19521:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
                   19522:   # even though it is searched at run-time.  Try to do the best guess by
                   19523:   # appending ld.so.conf contents (and includes) to the search path.
1.128     moko     19524:   if test -f /etc/ld.so.conf; then
                   19525:     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' ' '`
                   19526:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   19527:   fi
                   19528: 
                   19529:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   19530:   # powerpc, because MkLinux only supported shared libraries with the
                   19531:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   19532:   # most powerpc-linux boxes support dynamic linking these days and
                   19533:   # people can always --disable-shared, the test was removed, and we
                   19534:   # assume the GNU/Linux dynamic linker is in use.
                   19535:   dynamic_linker='GNU/Linux ld.so'
                   19536:   ;;
                   19537: 
1.237     moko     19538: netbsdelf*-gnu)
                   19539:   version_type=linux
                   19540:   need_lib_prefix=no
                   19541:   need_version=no
                   19542:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19543:   soname_spec='$libname$release$shared_ext$major'
                   19544:   shlibpath_var=LD_LIBRARY_PATH
                   19545:   shlibpath_overrides_runpath=no
                   19546:   hardcode_into_libs=yes
                   19547:   dynamic_linker='NetBSD ld.elf_so'
                   19548:   ;;
                   19549: 
                   19550: netbsdelf*-gnu)
                   19551:   version_type=linux
                   19552:   need_lib_prefix=no
                   19553:   need_version=no
                   19554:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   19555:   soname_spec='${libname}${release}${shared_ext}$major'
                   19556:   shlibpath_var=LD_LIBRARY_PATH
                   19557:   shlibpath_overrides_runpath=no
                   19558:   hardcode_into_libs=yes
                   19559:   dynamic_linker='NetBSD ld.elf_so'
                   19560:   ;;
                   19561: 
1.128     moko     19562: netbsd*)
                   19563:   version_type=sunos
                   19564:   need_lib_prefix=no
                   19565:   need_version=no
                   19566:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.237     moko     19567:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     19568:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   19569:     dynamic_linker='NetBSD (a.out) ld.so'
                   19570:   else
1.237     moko     19571:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19572:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     19573:     dynamic_linker='NetBSD ld.elf_so'
                   19574:   fi
                   19575:   shlibpath_var=LD_LIBRARY_PATH
                   19576:   shlibpath_overrides_runpath=yes
                   19577:   hardcode_into_libs=yes
                   19578:   ;;
                   19579: 
1.237     moko     19580: *-mlibc)
                   19581:   version_type=linux # correct to gnu/linux during the next big refactor
                   19582:   need_lib_prefix=no
                   19583:   need_version=no
                   19584:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19585:   soname_spec='$libname$release$shared_ext$major'
                   19586:   dynamic_linker='mlibc ld.so'
                   19587:   shlibpath_var=LD_LIBRARY_PATH
                   19588:   shlibpath_overrides_runpath=no
                   19589:   hardcode_into_libs=yes
                   19590:   ;;
                   19591: 
1.128     moko     19592: newsos6)
                   19593:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     19594:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     19595:   shlibpath_var=LD_LIBRARY_PATH
                   19596:   shlibpath_overrides_runpath=yes
                   19597:   ;;
                   19598: 
                   19599: *nto* | *qnx*)
                   19600:   version_type=qnx
                   19601:   need_lib_prefix=no
                   19602:   need_version=no
1.237     moko     19603:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19604:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19605:   shlibpath_var=LD_LIBRARY_PATH
                   19606:   shlibpath_overrides_runpath=no
                   19607:   hardcode_into_libs=yes
                   19608:   dynamic_linker='ldqnx.so'
                   19609:   ;;
                   19610: 
                   19611: openbsd*)
                   19612:   version_type=sunos
1.237     moko     19613:   sys_lib_dlsearch_path_spec=/usr/lib
1.128     moko     19614:   need_lib_prefix=no
1.237     moko     19615:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
                   19616:     need_version=no
                   19617:   else
                   19618:     need_version=yes
                   19619:   fi
                   19620:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     19621:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   19622:   shlibpath_var=LD_LIBRARY_PATH
1.237     moko     19623:   shlibpath_overrides_runpath=yes
1.128     moko     19624:   ;;
                   19625: 
                   19626: os2*)
                   19627:   libname_spec='$name'
1.237     moko     19628:   version_type=windows
                   19629:   shrext_cmds=.dll
                   19630:   need_version=no
1.128     moko     19631:   need_lib_prefix=no
1.237     moko     19632:   # OS/2 can only load a DLL with a base name of 8 characters or less.
                   19633:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
                   19634:     v=$($ECHO $release$versuffix | tr -d .-);
                   19635:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
                   19636:     $ECHO $n$v`$shared_ext'
                   19637:   library_names_spec='${libname}_dll.$libext'
1.128     moko     19638:   dynamic_linker='OS/2 ld.exe'
1.237     moko     19639:   shlibpath_var=BEGINLIBPATH
                   19640:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   19641:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   19642:   postinstall_cmds='base_file=`basename \$file`~
                   19643:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
                   19644:     dldir=$destdir/`dirname \$dlpath`~
                   19645:     test -d \$dldir || mkdir -p \$dldir~
                   19646:     $install_prog $dir/$dlname \$dldir/$dlname~
                   19647:     chmod a+x \$dldir/$dlname~
                   19648:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   19649:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   19650:     fi'
                   19651:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
                   19652:     dlpath=$dir/\$dldll~
                   19653:     $RM \$dlpath'
1.128     moko     19654:   ;;
                   19655: 
                   19656: osf3* | osf4* | osf5*)
                   19657:   version_type=osf
                   19658:   need_lib_prefix=no
                   19659:   need_version=no
1.237     moko     19660:   soname_spec='$libname$release$shared_ext$major'
                   19661:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     19662:   shlibpath_var=LD_LIBRARY_PATH
                   19663:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.237     moko     19664:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.128     moko     19665:   ;;
                   19666: 
                   19667: rdos*)
                   19668:   dynamic_linker=no
                   19669:   ;;
                   19670: 
1.237     moko     19671: serenity*)
                   19672:   version_type=linux # correct to gnu/linux during the next big refactor
                   19673:   need_lib_prefix=no
                   19674:   need_version=no
                   19675:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19676:   soname_spec='$libname$release$shared_ext$major'
                   19677:   shlibpath_var=LD_LIBRARY_PATH
                   19678:   shlibpath_overrides_runpath=no
                   19679:   dynamic_linker='SerenityOS LibELF'
                   19680:   ;;
                   19681: 
1.128     moko     19682: solaris*)
                   19683:   version_type=linux # correct to gnu/linux during the next big refactor
                   19684:   need_lib_prefix=no
                   19685:   need_version=no
1.237     moko     19686:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19687:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19688:   shlibpath_var=LD_LIBRARY_PATH
                   19689:   shlibpath_overrides_runpath=yes
                   19690:   hardcode_into_libs=yes
                   19691:   # ldd complains unless libraries are executable
                   19692:   postinstall_cmds='chmod +x $lib'
                   19693:   ;;
                   19694: 
                   19695: sunos4*)
                   19696:   version_type=sunos
1.237     moko     19697:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     19698:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   19699:   shlibpath_var=LD_LIBRARY_PATH
                   19700:   shlibpath_overrides_runpath=yes
1.237     moko     19701:   if test yes = "$with_gnu_ld"; then
1.128     moko     19702:     need_lib_prefix=no
                   19703:   fi
                   19704:   need_version=yes
                   19705:   ;;
                   19706: 
                   19707: sysv4 | sysv4.3*)
                   19708:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     19709:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19710:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19711:   shlibpath_var=LD_LIBRARY_PATH
                   19712:   case $host_vendor in
                   19713:     sni)
                   19714:       shlibpath_overrides_runpath=no
                   19715:       need_lib_prefix=no
                   19716:       runpath_var=LD_RUN_PATH
1.237     moko     19717:       ;;
                   19718:     siemens)
                   19719:       need_lib_prefix=no
                   19720:       ;;
                   19721:     motorola)
                   19722:       need_lib_prefix=no
                   19723:       need_version=no
                   19724:       shlibpath_overrides_runpath=no
                   19725:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   19726:       ;;
                   19727:   esac
                   19728:   ;;
                   19729: 
                   19730: sysv4*MP*)
                   19731:   if test -d /usr/nec; then
                   19732:     version_type=linux # correct to gnu/linux during the next big refactor
                   19733:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
                   19734:     soname_spec='$libname$shared_ext.$major'
                   19735:     shlibpath_var=LD_LIBRARY_PATH
                   19736:   fi
                   19737:   ;;
                   19738: 
                   19739: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   19740:   version_type=sco
                   19741:   need_lib_prefix=no
                   19742:   need_version=no
                   19743:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
                   19744:   soname_spec='$libname$release$shared_ext$major'
                   19745:   shlibpath_var=LD_LIBRARY_PATH
                   19746:   shlibpath_overrides_runpath=yes
                   19747:   hardcode_into_libs=yes
                   19748:   if test yes = "$with_gnu_ld"; then
                   19749:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   19750:   else
                   19751:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   19752:     case $host_os in
                   19753:       sco3.2v5*)
                   19754:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   19755:        ;;
                   19756:     esac
                   19757:   fi
                   19758:   sys_lib_dlsearch_path_spec='/usr/lib'
                   19759:   ;;
                   19760: 
                   19761: tpf*)
                   19762:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   19763:   version_type=linux # correct to gnu/linux during the next big refactor
                   19764:   need_lib_prefix=no
                   19765:   need_version=no
                   19766:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19767:   shlibpath_var=LD_LIBRARY_PATH
                   19768:   shlibpath_overrides_runpath=no
                   19769:   hardcode_into_libs=yes
                   19770:   ;;
                   19771: 
                   19772: uts4*)
                   19773:   version_type=linux # correct to gnu/linux during the next big refactor
                   19774:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19775:   soname_spec='$libname$release$shared_ext$major'
                   19776:   shlibpath_var=LD_LIBRARY_PATH
                   19777:   ;;
                   19778: 
                   19779: emscripten*)
                   19780:   version_type=none
                   19781:   need_lib_prefix=no
                   19782:   need_version=no
                   19783:   library_names_spec='$libname$release$shared_ext'
                   19784:   soname_spec='$libname$release$shared_ext'
                   19785:   finish_cmds=
                   19786:   dynamic_linker="Emscripten linker"
                   19787:   lt_prog_compiler_wl_CXX=
                   19788: lt_prog_compiler_pic_CXX=
                   19789: lt_prog_compiler_static_CXX=
                   19790: 
                   19791: 
                   19792:   # C++ specific cases for pic, static, wl, etc.
                   19793:   if test yes = "$GXX"; then
                   19794:     lt_prog_compiler_wl_CXX='-Wl,'
                   19795:     lt_prog_compiler_static_CXX='-static'
                   19796: 
                   19797:     case $host_os in
                   19798:     aix*)
                   19799:       # All AIX code is PIC.
                   19800:       if test ia64 = "$host_cpu"; then
                   19801:        # AIX 5 now supports IA64 processor
                   19802:        lt_prog_compiler_static_CXX='-Bstatic'
                   19803:       fi
                   19804:       lt_prog_compiler_pic_CXX='-fPIC'
                   19805:       ;;
                   19806: 
                   19807:     amigaos*)
                   19808:       case $host_cpu in
                   19809:       powerpc)
                   19810:             # see comment about AmigaOS4 .so support
                   19811:             lt_prog_compiler_pic_CXX='-fPIC'
                   19812:         ;;
                   19813:       m68k)
                   19814:             # FIXME: we need at least 68020 code to build shared libraries, but
                   19815:             # adding the '-m68020' flag to GCC prevents building anything better,
                   19816:             # like '-m68040'.
                   19817:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   19818:         ;;
                   19819:       esac
                   19820:       ;;
                   19821: 
                   19822:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   19823:       # PIC is the default for these OSes.
                   19824:       ;;
                   19825:     mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
                   19826:       # This hack is so that the source file can tell whether it is being
                   19827:       # built for inclusion in a dll (and should export symbols for example).
                   19828:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   19829:       # (--disable-auto-import) libraries
                   19830:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   19831:       case $host_os in
                   19832:       os2*)
                   19833:        lt_prog_compiler_static_CXX='$wl-static'
                   19834:        ;;
                   19835:       esac
                   19836:       ;;
                   19837:     darwin* | rhapsody*)
                   19838:       # PIC is the default on this platform
                   19839:       # Common symbols not allowed in MH_DYLIB files
                   19840:       lt_prog_compiler_pic_CXX='-fno-common'
                   19841:       ;;
                   19842:     *djgpp*)
                   19843:       # DJGPP does not support shared libraries at all
                   19844:       lt_prog_compiler_pic_CXX=
                   19845:       ;;
                   19846:     haiku*)
                   19847:       # PIC is the default for Haiku.
                   19848:       # The "-static" flag exists, but is broken.
                   19849:       lt_prog_compiler_static_CXX=
                   19850:       ;;
                   19851:     interix[3-9]*)
                   19852:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   19853:       # Instead, we relocate shared libraries at runtime.
                   19854:       ;;
                   19855:     sysv4*MP*)
                   19856:       if test -d /usr/nec; then
                   19857:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   19858:       fi
                   19859:       ;;
                   19860:     hpux*)
                   19861:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   19862:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   19863:       # sets the default TLS model and affects inlining.
                   19864:       case $host_cpu in
                   19865:       hppa*64*)
                   19866:        ;;
                   19867:       *)
                   19868:        lt_prog_compiler_pic_CXX='-fPIC'
                   19869:        ;;
                   19870:       esac
                   19871:       ;;
                   19872:     *qnx* | *nto*)
                   19873:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   19874:       # it will coredump.
                   19875:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   19876:       ;;
                   19877:     *)
                   19878:       lt_prog_compiler_pic_CXX='-fPIC'
                   19879:       ;;
                   19880:     esac
                   19881:   else
                   19882:     case $host_os in
                   19883:       aix[4-9]*)
                   19884:        # All AIX code is PIC.
                   19885:        if test ia64 = "$host_cpu"; then
                   19886:          # AIX 5 now supports IA64 processor
                   19887:          lt_prog_compiler_static_CXX='-Bstatic'
                   19888:        else
                   19889:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   19890:        fi
                   19891:        ;;
                   19892:       chorus*)
                   19893:        case $cc_basename in
                   19894:        cxch68*)
                   19895:          # Green Hills C++ Compiler
                   19896:          # _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"
                   19897:          ;;
                   19898:        esac
                   19899:        ;;
                   19900:       mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
                   19901:        # This hack is so that the source file can tell whether it is being
                   19902:        # built for inclusion in a dll (and should export symbols for example).
                   19903:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   19904:        ;;
                   19905:       dgux*)
                   19906:        case $cc_basename in
                   19907:          ec++*)
                   19908:            lt_prog_compiler_pic_CXX='-KPIC'
                   19909:            ;;
                   19910:          ghcx*)
                   19911:            # Green Hills C++ Compiler
                   19912:            lt_prog_compiler_pic_CXX='-pic'
                   19913:            ;;
                   19914:          *)
                   19915:            ;;
                   19916:        esac
                   19917:        ;;
                   19918:       freebsd* | dragonfly* | midnightbsd*)
                   19919:        # FreeBSD uses GNU C++
                   19920:        ;;
                   19921:       hpux9* | hpux10* | hpux11*)
                   19922:        case $cc_basename in
                   19923:          CC*)
                   19924:            lt_prog_compiler_wl_CXX='-Wl,'
                   19925:            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
                   19926:            if test ia64 != "$host_cpu"; then
                   19927:              lt_prog_compiler_pic_CXX='+Z'
                   19928:            fi
                   19929:            ;;
                   19930:          aCC*)
                   19931:            lt_prog_compiler_wl_CXX='-Wl,'
                   19932:            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
                   19933:            case $host_cpu in
                   19934:            hppa*64*|ia64*)
                   19935:              # +Z the default
                   19936:              ;;
                   19937:            *)
                   19938:              lt_prog_compiler_pic_CXX='+Z'
                   19939:              ;;
                   19940:            esac
                   19941:            ;;
                   19942:          *)
                   19943:            ;;
                   19944:        esac
                   19945:        ;;
                   19946:       interix*)
                   19947:        # This is c89, which is MS Visual C++ (no shared libs)
                   19948:        # Anyone wants to do a port?
                   19949:        ;;
                   19950:       irix5* | irix6* | nonstopux*)
                   19951:        case $cc_basename in
                   19952:          CC*)
                   19953:            lt_prog_compiler_wl_CXX='-Wl,'
                   19954:            lt_prog_compiler_static_CXX='-non_shared'
                   19955:            # CC pic flag -KPIC is the default.
                   19956:            ;;
                   19957:          *)
                   19958:            ;;
                   19959:        esac
                   19960:        ;;
                   19961:       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
                   19962:        case $cc_basename in
                   19963:          KCC*)
                   19964:            # KAI C++ Compiler
                   19965:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   19966:            lt_prog_compiler_pic_CXX='-fPIC'
                   19967:            ;;
                   19968:          ecpc* )
                   19969:            # old Intel C++ for x86_64, which still supported -KPIC.
                   19970:            lt_prog_compiler_wl_CXX='-Wl,'
                   19971:            lt_prog_compiler_pic_CXX='-KPIC'
                   19972:            lt_prog_compiler_static_CXX='-static'
                   19973:            ;;
                   19974:          icpc* )
                   19975:            # Intel C++, used to be incompatible with GCC.
                   19976:            # ICC 10 doesn't accept -KPIC any more.
                   19977:            lt_prog_compiler_wl_CXX='-Wl,'
                   19978:            lt_prog_compiler_pic_CXX='-fPIC'
                   19979:            lt_prog_compiler_static_CXX='-static'
                   19980:            ;;
                   19981:          pgCC* | pgcpp*)
                   19982:            # Portland Group C++ compiler
                   19983:            lt_prog_compiler_wl_CXX='-Wl,'
                   19984:            lt_prog_compiler_pic_CXX='-fpic'
                   19985:            lt_prog_compiler_static_CXX='-Bstatic'
                   19986:            ;;
                   19987:          cxx*)
                   19988:            # Compaq C++
                   19989:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   19990:            # Linux and Compaq Tru64 Unix objects are PIC.
                   19991:            lt_prog_compiler_pic_CXX=
                   19992:            lt_prog_compiler_static_CXX='-non_shared'
                   19993:            ;;
                   19994:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   19995:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   19996:            lt_prog_compiler_wl_CXX='-Wl,'
                   19997:            lt_prog_compiler_pic_CXX='-qpic'
                   19998:            lt_prog_compiler_static_CXX='-qstaticlink'
                   19999:            ;;
                   20000:          *)
                   20001:            case `$CC -V 2>&1 | $SED 5q` in
                   20002:            *Sun\ C*)
                   20003:              # Sun C++ 5.9
                   20004:              lt_prog_compiler_pic_CXX='-KPIC'
                   20005:              lt_prog_compiler_static_CXX='-Bstatic'
                   20006:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   20007:              ;;
                   20008:            esac
                   20009:            ;;
                   20010:        esac
                   20011:        ;;
                   20012:       lynxos*)
                   20013:        ;;
                   20014:       m88k*)
                   20015:        ;;
                   20016:       mvs*)
                   20017:        case $cc_basename in
                   20018:          cxx*)
                   20019:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   20020:            ;;
                   20021:          *)
                   20022:            ;;
                   20023:        esac
                   20024:        ;;
                   20025:       netbsd* | netbsdelf*-gnu)
                   20026:        ;;
                   20027:       *-mlibc)
                   20028:        ;;
                   20029:       *qnx* | *nto*)
                   20030:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   20031:         # it will coredump.
                   20032:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   20033:         ;;
                   20034:       osf3* | osf4* | osf5*)
                   20035:        case $cc_basename in
                   20036:          KCC*)
                   20037:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   20038:            ;;
                   20039:          RCC*)
                   20040:            # Rational C++ 2.4.1
                   20041:            lt_prog_compiler_pic_CXX='-pic'
                   20042:            ;;
                   20043:          cxx*)
                   20044:            # Digital/Compaq C++
                   20045:            lt_prog_compiler_wl_CXX='-Wl,'
                   20046:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   20047:            # Linux and Compaq Tru64 Unix objects are PIC.
                   20048:            lt_prog_compiler_pic_CXX=
                   20049:            lt_prog_compiler_static_CXX='-non_shared'
                   20050:            ;;
                   20051:          *)
                   20052:            ;;
                   20053:        esac
                   20054:        ;;
                   20055:       psos*)
                   20056:        ;;
                   20057:       serenity*)
                   20058:         ;;
                   20059:       solaris*)
                   20060:        case $cc_basename in
                   20061:          CC* | sunCC*)
                   20062:            # Sun C++ 4.2, 5.x and Centerline C++
                   20063:            lt_prog_compiler_pic_CXX='-KPIC'
                   20064:            lt_prog_compiler_static_CXX='-Bstatic'
                   20065:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   20066:            ;;
                   20067:          gcx*)
                   20068:            # Green Hills C++ Compiler
                   20069:            lt_prog_compiler_pic_CXX='-PIC'
                   20070:            ;;
                   20071:          *)
                   20072:            ;;
                   20073:        esac
                   20074:        ;;
                   20075:       sunos4*)
                   20076:        case $cc_basename in
                   20077:          CC*)
                   20078:            # Sun C++ 4.x
                   20079:            lt_prog_compiler_pic_CXX='-pic'
                   20080:            lt_prog_compiler_static_CXX='-Bstatic'
                   20081:            ;;
                   20082:          lcc*)
                   20083:            # Lucid
                   20084:            lt_prog_compiler_pic_CXX='-pic'
                   20085:            ;;
                   20086:          *)
                   20087:            ;;
                   20088:        esac
                   20089:        ;;
                   20090:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   20091:        case $cc_basename in
                   20092:          CC*)
                   20093:            lt_prog_compiler_wl_CXX='-Wl,'
                   20094:            lt_prog_compiler_pic_CXX='-KPIC'
                   20095:            lt_prog_compiler_static_CXX='-Bstatic'
                   20096:            ;;
                   20097:        esac
                   20098:        ;;
                   20099:       tandem*)
                   20100:        case $cc_basename in
                   20101:          NCC*)
                   20102:            # NonStop-UX NCC 3.20
                   20103:            lt_prog_compiler_pic_CXX='-KPIC'
                   20104:            ;;
                   20105:          *)
                   20106:            ;;
                   20107:        esac
                   20108:        ;;
                   20109:       vxworks*)
                   20110:        ;;
                   20111:       *)
                   20112:        lt_prog_compiler_can_build_shared_CXX=no
                   20113:        ;;
                   20114:     esac
                   20115:   fi
                   20116: 
                   20117: case $host_os in
                   20118:   # For platforms that do not support PIC, -DPIC is meaningless:
                   20119:   *djgpp*)
                   20120:     lt_prog_compiler_pic_CXX=
                   20121:     ;;
                   20122:   *)
                   20123:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   20124:     ;;
                   20125: esac
                   20126: 
                   20127: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   20128: printf %s "checking for $compiler option to produce PIC... " >&6; }
                   20129: if test ${lt_cv_prog_compiler_pic_CXX+y}
                   20130: then :
                   20131:   printf %s "(cached) " >&6
                   20132: else case e in #(
                   20133:   e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
                   20134: esac
                   20135: fi
                   20136: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   20137: printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
                   20138: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   20139: 
                   20140: #
                   20141: # Check to make sure the PIC flag actually works.
                   20142: #
                   20143: if test -n "$lt_prog_compiler_pic_CXX"; then
                   20144:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   20145: printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   20146: if test ${lt_cv_prog_compiler_pic_works_CXX+y}
                   20147: then :
                   20148:   printf %s "(cached) " >&6
                   20149: else case e in #(
                   20150:   e) lt_cv_prog_compiler_pic_works_CXX=no
                   20151:    ac_outfile=conftest.$ac_objext
                   20152:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   20153:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
                   20154:    # Insert the option either (1) after the last *FLAGS variable, or
                   20155:    # (2) before a word containing "conftest.", or (3) at the end.
                   20156:    # Note that $ac_compile itself does not contain backslashes and begins
                   20157:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   20158:    # The option is referenced via a variable to avoid confusing sed.
                   20159:    lt_compile=`echo "$ac_compile" | $SED \
                   20160:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   20161:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   20162:    -e 's:$: $lt_compiler_flag:'`
                   20163:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   20164:    (eval "$lt_compile" 2>conftest.err)
                   20165:    ac_status=$?
                   20166:    cat conftest.err >&5
                   20167:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   20168:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   20169:      # The compiler can only warn and ignore the option if not recognized
                   20170:      # So say no if there are warnings other than the usual output.
                   20171:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   20172:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   20173:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   20174:        lt_cv_prog_compiler_pic_works_CXX=yes
                   20175:      fi
                   20176:    fi
                   20177:    $RM conftest*
                   20178:  ;;
                   20179: esac
                   20180: fi
                   20181: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   20182: printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
                   20183: 
                   20184: if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
                   20185:     case $lt_prog_compiler_pic_CXX in
                   20186:      "" | " "*) ;;
                   20187:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   20188:      esac
                   20189: else
                   20190:     lt_prog_compiler_pic_CXX=
                   20191:      lt_prog_compiler_can_build_shared_CXX=no
                   20192: fi
                   20193: 
                   20194: fi
                   20195: 
                   20196: 
                   20197: 
                   20198: 
                   20199: 
                   20200: #
                   20201: # Check to make sure the static flag actually works.
                   20202: #
                   20203: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
                   20204: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   20205: printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   20206: if test ${lt_cv_prog_compiler_static_works_CXX+y}
                   20207: then :
                   20208:   printf %s "(cached) " >&6
                   20209: else case e in #(
                   20210:   e) lt_cv_prog_compiler_static_works_CXX=no
                   20211:    save_LDFLAGS=$LDFLAGS
                   20212:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   20213:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   20214:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   20215:      # The linker can only warn and ignore the option if not recognized
                   20216:      # So say no if there are warnings
                   20217:      if test -s conftest.err; then
                   20218:        # Append any errors to the config.log.
                   20219:        cat conftest.err 1>&5
                   20220:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   20221:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   20222:        if diff conftest.exp conftest.er2 >/dev/null; then
                   20223:          lt_cv_prog_compiler_static_works_CXX=yes
                   20224:        fi
                   20225:      else
                   20226:        lt_cv_prog_compiler_static_works_CXX=yes
                   20227:      fi
                   20228:    fi
                   20229:    $RM -r conftest*
                   20230:    LDFLAGS=$save_LDFLAGS
                   20231:  ;;
                   20232: esac
                   20233: fi
                   20234: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   20235: printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     20236: 
1.237     moko     20237: if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
                   20238:     :
                   20239: else
                   20240:     lt_prog_compiler_static_CXX=
                   20241: fi
1.128     moko     20242: 
                   20243: 
                   20244: 
1.237     moko     20245: ='-fPIC'
                   20246:   archive_cmds_CXX='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
                   20247:   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'
                   20248:   archive_cmds_need_lc_CXX=no
                   20249:   no_undefined_flag_CXX=
1.128     moko     20250:   ;;
                   20251: 
                   20252: *)
                   20253:   dynamic_linker=no
                   20254:   ;;
                   20255: esac
1.237     moko     20256: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   20257: printf "%s\n" "$dynamic_linker" >&6; }
                   20258: test no = "$dynamic_linker" && can_build_shared=no
1.128     moko     20259: 
                   20260: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.237     moko     20261: if test yes = "$GCC"; then
1.128     moko     20262:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   20263: fi
                   20264: 
1.237     moko     20265: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
                   20266:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
1.128     moko     20267: fi
1.237     moko     20268: 
                   20269: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
                   20270:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
1.128     moko     20271: fi
                   20272: 
1.237     moko     20273: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
                   20274: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
                   20275: 
                   20276: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
                   20277: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
                   20278: 
                   20279: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
                   20280: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
1.128     moko     20281: 
                   20282: 
                   20283: 
                   20284: 
                   20285: 
                   20286: 
                   20287: 
                   20288: 
                   20289: 
                   20290: 
                   20291: 
                   20292: 
                   20293: 
                   20294: 
                   20295: 
                   20296: 
                   20297: 
                   20298: 
                   20299: 
                   20300: 
                   20301: 
                   20302: 
                   20303: 
                   20304: 
                   20305: 
                   20306: 
                   20307: 
                   20308: 
                   20309: 
                   20310: 
                   20311: 
                   20312: 
                   20313: 
                   20314: 
                   20315: 
                   20316: 
                   20317: 
1.237     moko     20318: 
                   20319: 
                   20320: 
                   20321:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   20322: printf %s "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     20323: hardcode_action_CXX=
                   20324: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   20325:    test -n "$runpath_var_CXX" ||
1.237     moko     20326:    test yes = "$hardcode_automatic_CXX"; then
1.128     moko     20327: 
                   20328:   # We can hardcode non-existent directories.
1.237     moko     20329:   if test no != "$hardcode_direct_CXX" &&
1.128     moko     20330:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   20331:      # have to relink, otherwise we might link with an installed library
                   20332:      # when we should be linking with a yet-to-be-installed one
1.237     moko     20333:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
                   20334:      test no != "$hardcode_minus_L_CXX"; then
1.128     moko     20335:     # Linking always hardcodes the temporary library directory.
                   20336:     hardcode_action_CXX=relink
                   20337:   else
                   20338:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   20339:     hardcode_action_CXX=immediate
                   20340:   fi
                   20341: else
                   20342:   # We cannot hardcode anything, or else we can only hardcode existing
                   20343:   # directories.
                   20344:   hardcode_action_CXX=unsupported
                   20345: fi
1.237     moko     20346: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   20347: printf "%s\n" "$hardcode_action_CXX" >&6; }
1.128     moko     20348: 
1.237     moko     20349: if test relink = "$hardcode_action_CXX" ||
                   20350:    test yes = "$inherit_rpath_CXX"; then
1.128     moko     20351:   # Fast installation is not supported
                   20352:   enable_fast_install=no
1.237     moko     20353: elif test yes = "$shlibpath_overrides_runpath" ||
                   20354:      test no = "$enable_shared"; then
1.128     moko     20355:   # Fast installation is not necessary
                   20356:   enable_fast_install=needless
                   20357: fi
                   20358: 
                   20359: 
                   20360: 
                   20361: 
                   20362: 
                   20363: 
                   20364: 
                   20365:   fi # test -n "$compiler"
                   20366: 
                   20367:   CC=$lt_save_CC
                   20368:   CFLAGS=$lt_save_CFLAGS
                   20369:   LDCXX=$LD
                   20370:   LD=$lt_save_LD
                   20371:   GCC=$lt_save_GCC
                   20372:   with_gnu_ld=$lt_save_with_gnu_ld
                   20373:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   20374:   lt_cv_path_LD=$lt_save_path_LD
                   20375:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   20376:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
1.237     moko     20377: fi # test yes != "$_lt_caught_CXX_error"
1.128     moko     20378: 
                   20379: ac_ext=c
                   20380: ac_cpp='$CPP $CPPFLAGS'
                   20381: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   20382: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   20383: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   20384: 
                   20385: 
                   20386: 
                   20387: 
                   20388: 
                   20389: 
                   20390: 
                   20391: 
                   20392: 
                   20393: 
                   20394: 
                   20395: 
                   20396: 
                   20397: 
                   20398: 
1.150     moko     20399:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     20400: 
                   20401: 
                   20402: 
                   20403: 
                   20404: # Only expand once:
                   20405: 
                   20406: 
1.237     moko     20407: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
                   20408: printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
                   20409: if test ${ac_cv_c_undeclared_builtin_options+y}
                   20410: then :
                   20411:   printf %s "(cached) " >&6
                   20412: else case e in #(
                   20413:   e) ac_save_CFLAGS=$CFLAGS
                   20414:    ac_cv_c_undeclared_builtin_options='cannot detect'
                   20415:    for ac_arg in '' -fno-builtin; do
                   20416:      CFLAGS="$ac_save_CFLAGS $ac_arg"
                   20417:      # This test program should *not* compile successfully.
                   20418:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20419: /* end confdefs.h.  */
                   20420: 
                   20421: int
                   20422: main (void)
                   20423: {
                   20424: (void) strchr;
                   20425:   ;
                   20426:   return 0;
                   20427: }
                   20428: _ACEOF
                   20429: if ac_fn_c_try_compile "$LINENO"
                   20430: then :
                   20431: 
                   20432: else case e in #(
                   20433:   e) # This test program should compile successfully.
                   20434:         # No library function is consistently available on
                   20435:         # freestanding implementations, so test against a dummy
                   20436:         # declaration.  Include always-available headers on the
                   20437:         # off chance that they somehow elicit warnings.
                   20438:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20439: /* end confdefs.h.  */
                   20440: #include <float.h>
                   20441: #include <limits.h>
                   20442: #include <stdarg.h>
                   20443: #include <stddef.h>
                   20444: extern void ac_decl (int, char *);
                   20445: 
                   20446: int
                   20447: main (void)
                   20448: {
                   20449: (void) ac_decl (0, (char *) 0);
                   20450:   (void) ac_decl;
                   20451: 
                   20452:   ;
                   20453:   return 0;
                   20454: }
                   20455: _ACEOF
                   20456: if ac_fn_c_try_compile "$LINENO"
                   20457: then :
                   20458:   if test x"$ac_arg" = x
                   20459: then :
                   20460:   ac_cv_c_undeclared_builtin_options='none needed'
                   20461: else case e in #(
                   20462:   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
                   20463: esac
                   20464: fi
                   20465:           break
                   20466: fi
                   20467: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   20468: esac
                   20469: fi
                   20470: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   20471:     done
                   20472:     CFLAGS=$ac_save_CFLAGS
                   20473:    ;;
                   20474: esac
                   20475: fi
                   20476: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
                   20477: printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
                   20478:   case $ac_cv_c_undeclared_builtin_options in #(
                   20479:   'cannot detect') :
                   20480:     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   20481: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
                   20482: as_fn_error $? "cannot make $CC report undeclared builtins
                   20483: See 'config.log' for more details" "$LINENO" 5; } ;; #(
                   20484:   'none needed') :
                   20485:     ac_c_undeclared_builtin_options='' ;; #(
                   20486:   *) :
                   20487:     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
                   20488: esac
1.128     moko     20489: 
1.237     moko     20490: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
                   20491: printf %s "checking what extension is used for runtime loadable modules... " >&6; }
                   20492: if test ${libltdl_cv_shlibext+y}
                   20493: then :
                   20494:   printf %s "(cached) " >&6
                   20495: else case e in #(
                   20496:   e)
1.128     moko     20497: module=yes
                   20498: eval libltdl_cv_shlibext=$shrext_cmds
                   20499: module=no
                   20500: eval libltdl_cv_shrext=$shrext_cmds
1.237     moko     20501:    ;;
                   20502: esac
1.128     moko     20503: fi
1.237     moko     20504: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   20505: printf "%s\n" "$libltdl_cv_shlibext" >&6; }
1.128     moko     20506: if test -n "$libltdl_cv_shlibext"; then
                   20507: 
1.237     moko     20508: printf "%s\n" "#define LT_MODULE_EXT \"$libltdl_cv_shlibext\"" >>confdefs.h
1.128     moko     20509: 
                   20510: fi
                   20511: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   20512: 
1.237     moko     20513: printf "%s\n" "#define LT_SHARED_EXT \"$libltdl_cv_shrext\"" >>confdefs.h
                   20514: 
                   20515: fi
                   20516: if test -n "$shared_archive_member_spec"; then
                   20517: 
                   20518: printf "%s\n" "#define LT_SHARED_LIB_MEMBER \"($shared_archive_member_spec.o)\"" >>confdefs.h
1.128     moko     20519: 
                   20520: fi
                   20521: 
1.237     moko     20522: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
                   20523: printf %s "checking what variable specifies run-time module search path... " >&6; }
                   20524: if test ${lt_cv_module_path_var+y}
                   20525: then :
                   20526:   printf %s "(cached) " >&6
                   20527: else case e in #(
                   20528:   e) lt_cv_module_path_var=$shlibpath_var ;;
                   20529: esac
1.128     moko     20530: fi
1.237     moko     20531: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   20532: printf "%s\n" "$lt_cv_module_path_var" >&6; }
1.128     moko     20533: if test -n "$lt_cv_module_path_var"; then
                   20534: 
1.237     moko     20535: printf "%s\n" "#define LT_MODULE_PATH_VAR \"$lt_cv_module_path_var\"" >>confdefs.h
1.128     moko     20536: 
                   20537: fi
                   20538: 
1.237     moko     20539: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   20540: printf %s "checking for the default library search path... " >&6; }
                   20541: if test ${lt_cv_sys_dlsearch_path+y}
                   20542: then :
                   20543:   printf %s "(cached) " >&6
                   20544: else case e in #(
                   20545:   e) lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec ;;
                   20546: esac
1.128     moko     20547: fi
1.237     moko     20548: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   20549: printf "%s\n" "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     20550: if test -n "$lt_cv_sys_dlsearch_path"; then
                   20551:   sys_dlsearch_path=
                   20552:   for dir in $lt_cv_sys_dlsearch_path; do
                   20553:     if test -z "$sys_dlsearch_path"; then
1.237     moko     20554:       sys_dlsearch_path=$dir
1.128     moko     20555:     else
1.237     moko     20556:       sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
1.128     moko     20557:     fi
                   20558:   done
                   20559: 
1.237     moko     20560: printf "%s\n" "#define LT_DLSEARCH_PATH \"$sys_dlsearch_path\"" >>confdefs.h
1.128     moko     20561: 
                   20562: fi
                   20563: 
                   20564: 
                   20565: LT_DLLOADERS=
                   20566: 
                   20567: 
                   20568: ac_ext=c
                   20569: ac_cpp='$CPP $CPPFLAGS'
                   20570: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   20571: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   20572: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   20573: 
1.237     moko     20574: lt_dlload_save_LIBS=$LIBS
1.128     moko     20575: 
                   20576: LIBADD_DLOPEN=
1.237     moko     20577: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   20578: printf %s "checking for library containing dlopen... " >&6; }
                   20579: if test ${ac_cv_search_dlopen+y}
                   20580: then :
                   20581:   printf %s "(cached) " >&6
                   20582: else case e in #(
                   20583:   e) ac_func_search_save_LIBS=$LIBS
1.150     moko     20584: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     20585: /* end confdefs.h.  */
                   20586: 
1.150     moko     20587: /* Override any GCC internal prototype to avoid an error.
                   20588:    Use char because int might match the return type of a GCC
1.237     moko     20589:    builtin and then its argument prototype would still apply.
                   20590:    The 'extern "C"' is for builds by C++ compilers;
                   20591:    although this is not generally supported in C code supporting it here
                   20592:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     20593: #ifdef __cplusplus
                   20594: extern "C"
                   20595: #endif
1.237     moko     20596: char dlopen (void);
1.128     moko     20597: int
1.237     moko     20598: main (void)
1.128     moko     20599: {
1.150     moko     20600: return dlopen ();
1.128     moko     20601:   ;
                   20602:   return 0;
                   20603: }
                   20604: _ACEOF
1.237     moko     20605: for ac_lib in '' dl
                   20606: do
1.150     moko     20607:   if test -z "$ac_lib"; then
                   20608:     ac_res="none required"
                   20609:   else
                   20610:     ac_res=-l$ac_lib
                   20611:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   20612:   fi
1.237     moko     20613:   if ac_fn_c_try_link "$LINENO"
                   20614: then :
1.150     moko     20615:   ac_cv_search_dlopen=$ac_res
                   20616: fi
1.237     moko     20617: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     20618:     conftest$ac_exeext
1.237     moko     20619:   if test ${ac_cv_search_dlopen+y}
                   20620: then :
1.150     moko     20621:   break
1.128     moko     20622: fi
1.150     moko     20623: done
1.237     moko     20624: if test ${ac_cv_search_dlopen+y}
                   20625: then :
1.128     moko     20626: 
1.237     moko     20627: else case e in #(
                   20628:   e) ac_cv_search_dlopen=no ;;
                   20629: esac
1.128     moko     20630: fi
1.150     moko     20631: rm conftest.$ac_ext
1.237     moko     20632: LIBS=$ac_func_search_save_LIBS ;;
                   20633: esac
1.128     moko     20634: fi
1.237     moko     20635: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   20636: printf "%s\n" "$ac_cv_search_dlopen" >&6; }
1.150     moko     20637: ac_res=$ac_cv_search_dlopen
1.237     moko     20638: if test "$ac_res" != no
                   20639: then :
1.150     moko     20640:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     20641: 
1.237     moko     20642: printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     20643: 
1.237     moko     20644:        if test "$ac_cv_search_dlopen" != "none required"; then
                   20645:          LIBADD_DLOPEN=-ldl
1.128     moko     20646:        fi
1.237     moko     20647:        libltdl_cv_lib_dl_dlopen=yes
1.128     moko     20648:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
1.237     moko     20649: else case e in #(
                   20650:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     20651: /* end confdefs.h.  */
                   20652: #if HAVE_DLFCN_H
                   20653: #  include <dlfcn.h>
                   20654: #endif
                   20655: 
                   20656: int
1.237     moko     20657: main (void)
1.128     moko     20658: {
                   20659: dlopen(0, 0);
                   20660:   ;
                   20661:   return 0;
                   20662: }
                   20663: _ACEOF
1.237     moko     20664: if ac_fn_c_try_link "$LINENO"
                   20665: then :
1.128     moko     20666: 
1.237     moko     20667: printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     20668: 
1.237     moko     20669:            libltdl_cv_func_dlopen=yes
1.128     moko     20670:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
1.237     moko     20671: else case e in #(
                   20672:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   20673: printf %s "checking for dlopen in -lsvld... " >&6; }
                   20674: if test ${ac_cv_lib_svld_dlopen+y}
                   20675: then :
                   20676:   printf %s "(cached) " >&6
                   20677: else case e in #(
                   20678:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     20679: LIBS="-lsvld  $LIBS"
1.150     moko     20680: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     20681: /* end confdefs.h.  */
                   20682: 
1.150     moko     20683: /* Override any GCC internal prototype to avoid an error.
                   20684:    Use char because int might match the return type of a GCC
1.237     moko     20685:    builtin and then its argument prototype would still apply.
                   20686:    The 'extern "C"' is for builds by C++ compilers;
                   20687:    although this is not generally supported in C code supporting it here
                   20688:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     20689: #ifdef __cplusplus
                   20690: extern "C"
                   20691: #endif
1.237     moko     20692: char dlopen (void);
1.128     moko     20693: int
1.237     moko     20694: main (void)
1.128     moko     20695: {
1.150     moko     20696: return dlopen ();
1.128     moko     20697:   ;
                   20698:   return 0;
                   20699: }
                   20700: _ACEOF
1.237     moko     20701: if ac_fn_c_try_link "$LINENO"
                   20702: then :
1.128     moko     20703:   ac_cv_lib_svld_dlopen=yes
1.237     moko     20704: else case e in #(
                   20705:   e) ac_cv_lib_svld_dlopen=no ;;
                   20706: esac
1.128     moko     20707: fi
1.237     moko     20708: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     20709:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     20710: LIBS=$ac_check_lib_save_LIBS ;;
                   20711: esac
1.128     moko     20712: fi
1.237     moko     20713: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   20714: printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
                   20715: if test "x$ac_cv_lib_svld_dlopen" = xyes
                   20716: then :
1.128     moko     20717: 
1.237     moko     20718: printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     20719: 
1.237     moko     20720:                LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
1.128     moko     20721:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   20722: fi
1.237     moko     20723:  ;;
                   20724: esac
1.128     moko     20725: fi
1.237     moko     20726: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   20727:     conftest$ac_exeext conftest.$ac_ext ;;
                   20728: esac
1.128     moko     20729: fi
                   20730: 
1.237     moko     20731: if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
1.128     moko     20732: then
1.237     moko     20733:   lt_save_LIBS=$LIBS
1.128     moko     20734:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150     moko     20735:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
1.237     moko     20736: if test "x$ac_cv_func_dlerror" = xyes
                   20737: then :
                   20738:   printf "%s\n" "#define HAVE_DLERROR 1" >>confdefs.h
1.128     moko     20739: 
                   20740: fi
                   20741: 
1.237     moko     20742:   LIBS=$lt_save_LIBS
1.128     moko     20743: fi
                   20744: 
                   20745: 
                   20746: LIBADD_SHL_LOAD=
1.150     moko     20747: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
1.237     moko     20748: if test "x$ac_cv_func_shl_load" = xyes
                   20749: then :
1.128     moko     20750: 
1.237     moko     20751: printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     20752: 
                   20753:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.237     moko     20754: else case e in #(
                   20755:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   20756: printf %s "checking for shl_load in -ldld... " >&6; }
                   20757: if test ${ac_cv_lib_dld_shl_load+y}
                   20758: then :
                   20759:   printf %s "(cached) " >&6
                   20760: else case e in #(
                   20761:   e) ac_check_lib_save_LIBS=$LIBS
1.66      paf      20762: LIBS="-ldld  $LIBS"
1.150     moko     20763: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      20764: /* end confdefs.h.  */
1.10      paf      20765: 
1.150     moko     20766: /* Override any GCC internal prototype to avoid an error.
                   20767:    Use char because int might match the return type of a GCC
1.237     moko     20768:    builtin and then its argument prototype would still apply.
                   20769:    The 'extern "C"' is for builds by C++ compilers;
                   20770:    although this is not generally supported in C code supporting it here
                   20771:    has little cost and some practical benefit (sr 110532).  */
1.66      paf      20772: #ifdef __cplusplus
                   20773: extern "C"
                   20774: #endif
1.237     moko     20775: char shl_load (void);
1.66      paf      20776: int
1.237     moko     20777: main (void)
1.66      paf      20778: {
1.150     moko     20779: return shl_load ();
1.66      paf      20780:   ;
                   20781:   return 0;
                   20782: }
                   20783: _ACEOF
1.237     moko     20784: if ac_fn_c_try_link "$LINENO"
                   20785: then :
1.66      paf      20786:   ac_cv_lib_dld_shl_load=yes
1.237     moko     20787: else case e in #(
                   20788:   e) ac_cv_lib_dld_shl_load=no ;;
                   20789: esac
1.66      paf      20790: fi
1.237     moko     20791: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     20792:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     20793: LIBS=$ac_check_lib_save_LIBS ;;
                   20794: esac
1.66      paf      20795: fi
1.237     moko     20796: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   20797: printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
                   20798: if test "x$ac_cv_lib_dld_shl_load" = xyes
                   20799: then :
1.1       paf      20800: 
1.237     moko     20801: printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      20802: 
1.128     moko     20803:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.237     moko     20804:            LIBADD_SHL_LOAD=-ldld
1.128     moko     20805: fi
1.237     moko     20806:  ;;
                   20807: esac
1.128     moko     20808: fi
                   20809: 
                   20810: 
                   20811: 
                   20812: case $host_os in
                   20813: darwin[1567].*)
                   20814: # We only want this for pre-Mac OS X 10.4.
1.150     moko     20815:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
1.237     moko     20816: if test "x$ac_cv_func__dyld_func_lookup" = xyes
                   20817: then :
1.150     moko     20818: 
1.237     moko     20819: printf "%s\n" "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     20820: 
1.150     moko     20821:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   20822: fi
1.128     moko     20823: 
1.150     moko     20824:   ;;
                   20825: beos*)
1.128     moko     20826:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   20827:   ;;
1.237     moko     20828: cygwin* | mingw* | windows* | pw32*)
                   20829:   ac_fn_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   20830: " "$ac_c_undeclared_builtin_options" "CFLAGS"
                   20831: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes
                   20832: then :
1.150     moko     20833:   ac_have_decl=1
1.237     moko     20834: else case e in #(
                   20835:   e) ac_have_decl=0 ;;
                   20836: esac
1.128     moko     20837: fi
1.237     moko     20838: printf "%s\n" "#define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl" >>confdefs.h
1.128     moko     20839: 
                   20840:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   20841:   ;;
                   20842: esac
                   20843: 
1.237     moko     20844: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   20845: printf %s "checking for dld_link in -ldld... " >&6; }
                   20846: if test ${ac_cv_lib_dld_dld_link+y}
                   20847: then :
                   20848:   printf %s "(cached) " >&6
                   20849: else case e in #(
                   20850:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     20851: LIBS="-ldld  $LIBS"
1.150     moko     20852: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      20853: /* end confdefs.h.  */
1.62      paf      20854: 
1.150     moko     20855: /* Override any GCC internal prototype to avoid an error.
                   20856:    Use char because int might match the return type of a GCC
1.237     moko     20857:    builtin and then its argument prototype would still apply.
                   20858:    The 'extern "C"' is for builds by C++ compilers;
                   20859:    although this is not generally supported in C code supporting it here
                   20860:    has little cost and some practical benefit (sr 110532).  */
1.66      paf      20861: #ifdef __cplusplus
                   20862: extern "C"
                   20863: #endif
1.237     moko     20864: char dld_link (void);
1.66      paf      20865: int
1.237     moko     20866: main (void)
1.66      paf      20867: {
1.150     moko     20868: return dld_link ();
1.66      paf      20869:   ;
                   20870:   return 0;
                   20871: }
                   20872: _ACEOF
1.237     moko     20873: if ac_fn_c_try_link "$LINENO"
                   20874: then :
1.128     moko     20875:   ac_cv_lib_dld_dld_link=yes
1.237     moko     20876: else case e in #(
                   20877:   e) ac_cv_lib_dld_dld_link=no ;;
                   20878: esac
1.128     moko     20879: fi
1.237     moko     20880: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     20881:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     20882: LIBS=$ac_check_lib_save_LIBS ;;
                   20883: esac
1.128     moko     20884: fi
1.237     moko     20885: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   20886: printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
                   20887: if test "x$ac_cv_lib_dld_dld_link" = xyes
                   20888: then :
1.128     moko     20889: 
1.237     moko     20890: printf "%s\n" "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     20891: 
                   20892:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   20893: fi
                   20894: 
                   20895: 
                   20896: 
                   20897: 
                   20898: LT_DLPREOPEN=
                   20899: if test -n "$LT_DLLOADERS"
                   20900: then
                   20901:   for lt_loader in $LT_DLLOADERS; do
                   20902:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   20903:   done
                   20904: 
1.237     moko     20905: printf "%s\n" "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     20906: 
                   20907: fi
                   20908: 
                   20909: 
                   20910: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   20911: 
                   20912: 
1.237     moko     20913: LIBS=$lt_dlload_save_LIBS
1.128     moko     20914: ac_ext=c
                   20915: ac_cpp='$CPP $CPPFLAGS'
                   20916: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   20917: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   20918: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   20919: 
                   20920: 
1.237     moko     20921: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   20922: printf %s "checking for _ prefix in compiled symbols... " >&6; }
                   20923: if test ${lt_cv_sys_symbol_underscore+y}
                   20924: then :
                   20925:   printf %s "(cached) " >&6
                   20926: else case e in #(
                   20927:   e) lt_cv_sys_symbol_underscore=no
1.128     moko     20928:   cat > conftest.$ac_ext <<_LT_EOF
                   20929: void nm_test_func(){}
1.237     moko     20930: int main(void){nm_test_func;return 0;}
1.128     moko     20931: _LT_EOF
1.150     moko     20932:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     20933:   (eval $ac_compile) 2>&5
                   20934:   ac_status=$?
1.237     moko     20935:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     20936:   test $ac_status = 0; }; then
1.128     moko     20937:     # Now try to grab the symbols.
                   20938:     ac_nlist=conftest.nm
1.150     moko     20939:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     20940:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   20941:   ac_status=$?
1.237     moko     20942:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     20943:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     20944:       # See whether the symbols have a leading underscore.
                   20945:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   20946:         lt_cv_sys_symbol_underscore=yes
                   20947:       else
                   20948:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   20949:          :
                   20950:         else
                   20951:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   20952:         fi
                   20953:       fi
                   20954:     else
                   20955:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   20956:     fi
                   20957:   else
                   20958:     echo "configure: failed program was:" >&5
                   20959:     cat conftest.c >&5
                   20960:   fi
                   20961:   rm -rf conftest*
1.237     moko     20962:    ;;
                   20963: esac
1.66      paf      20964: fi
1.237     moko     20965: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   20966: printf "%s\n" "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     20967:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      20968: 
1.62      paf      20969: 
1.237     moko     20970: if test yes = "$lt_cv_sys_symbol_underscore"; then
                   20971:   if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
                   20972:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   20973: printf %s "checking whether we have to add an underscore for dlsym... " >&6; }
                   20974: if test ${libltdl_cv_need_uscore+y}
                   20975: then :
                   20976:   printf %s "(cached) " >&6
                   20977: else case e in #(
                   20978:   e) libltdl_cv_need_uscore=unknown
                   20979:       dlsym_uscore_save_LIBS=$LIBS
                   20980:       LIBS="$LIBS $LIBADD_DLOPEN"
                   20981:       libname=conftmod # stay within 8.3 filename limits!
                   20982:       cat >$libname.$ac_ext <<_LT_EOF
1.128     moko     20983: #line $LINENO "configure"
                   20984: #include "confdefs.h"
1.237     moko     20985: /* When -fvisibility=hidden is used, assume the code has been annotated
                   20986:    correspondingly for the symbols needed.  */
                   20987: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   20988: int fnord () __attribute__((visibility("default")));
                   20989: #endif
                   20990: int fnord () { return 42; }
                   20991: _LT_EOF
1.128     moko     20992: 
1.237     moko     20993:       # ltfn_module_cmds module_cmds
                   20994:       # Execute tilde-delimited MODULE_CMDS with environment primed for
                   20995:       # $module_cmds or $archive_cmds type content.
                   20996:       ltfn_module_cmds ()
                   20997:       {( # subshell avoids polluting parent global environment
                   20998:           module_cmds_save_ifs=$IFS; IFS='~'
                   20999:           for cmd in $1; do
                   21000:             IFS=$module_cmds_save_ifs
                   21001:             libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
                   21002:             rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
                   21003:             major=; versuffix=; verstring=; deplibs=
                   21004:             ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
                   21005:             eval $cmd
                   21006:           done
                   21007:           IFS=$module_cmds_save_ifs
                   21008:       )}
                   21009: 
                   21010:       # Compile a loadable module using libtool macro expansion results.
                   21011:       $CC $pic_flag -c $libname.$ac_ext
                   21012:       ltfn_module_cmds "${module_cmds:-$archive_cmds}"
                   21013: 
                   21014:       # Try to fetch fnord with dlsym().
                   21015:       libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
                   21016:       cat >conftest.$ac_ext <<_LT_EOF
                   21017: #line $LINENO "configure"
                   21018: #include "confdefs.h"
1.66      paf      21019: #if HAVE_DLFCN_H
1.128     moko     21020: #include <dlfcn.h>
                   21021: #endif
                   21022: #include <stdio.h>
1.237     moko     21023: #ifndef RTLD_GLOBAL
1.128     moko     21024: #  ifdef DL_GLOBAL
1.237     moko     21025: #    define RTLD_GLOBAL DL_GLOBAL
1.128     moko     21026: #  else
1.237     moko     21027: #    define RTLD_GLOBAL 0
1.128     moko     21028: #  endif
                   21029: #endif
1.237     moko     21030: #ifndef RTLD_NOW
                   21031: #  ifdef DL_NOW
                   21032: #    define RTLD_NOW DL_NOW
1.128     moko     21033: #  else
1.237     moko     21034: #    define RTLD_NOW 0
1.128     moko     21035: #  endif
                   21036: #endif
1.237     moko     21037: int main (void) {
                   21038:   void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
                   21039:   int status = $libltdl_dlunknown;
                   21040:   if (handle) {
                   21041:     if (dlsym (handle, "fnord"))
                   21042:       status = $libltdl_dlnouscore;
                   21043:     else {
                   21044:       if (dlsym (handle, "_fnord"))
                   21045:         status = $libltdl_dluscore;
1.128     moko     21046:       else
1.237     moko     21047:        puts (dlerror ());
1.128     moko     21048:     }
1.237     moko     21049:     dlclose (handle);
                   21050:   } else
1.128     moko     21051:     puts (dlerror ());
                   21052:   return status;
1.66      paf      21053: }
1.128     moko     21054: _LT_EOF
1.237     moko     21055:       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     21056:   (eval $ac_link) 2>&5
1.66      paf      21057:   ac_status=$?
1.237     moko     21058:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   21059:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
                   21060:         (./conftest; exit; ) >&5 2>/dev/null
                   21061:         libltdl_status=$?
                   21062:         case x$libltdl_status in
                   21063:           x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
                   21064:          x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
                   21065:          x*) libltdl_cv_need_uscore=unknown ;;
                   21066:         esac
                   21067:       fi
                   21068:       rm -rf conftest* $libname*
                   21069:       LIBS=$dlsym_uscore_save_LIBS
                   21070:      ;;
                   21071: esac
1.128     moko     21072: fi
1.237     moko     21073: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   21074: printf "%s\n" "$libltdl_cv_need_uscore" >&6; }
1.128     moko     21075:   fi
                   21076: fi
                   21077: 
1.237     moko     21078: if test yes = "$libltdl_cv_need_uscore"; then
1.29      paf      21079: 
1.237     moko     21080: printf "%s\n" "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      21081: 
1.128     moko     21082: fi
                   21083: 
1.237     moko     21084: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   21085: printf %s "checking whether deplibs are loaded by dlopen... " >&6; }
                   21086: if test ${lt_cv_sys_dlopen_deplibs+y}
                   21087: then :
                   21088:   printf %s "(cached) " >&6
                   21089: else case e in #(
                   21090:   e) # PORTME does your system automatically load deplibs for dlopen?
1.128     moko     21091:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   21092:   # For now, we just catch OSes we know something about -- in the
                   21093:   # future, we'll try test this programmatically.
                   21094:   lt_cv_sys_dlopen_deplibs=unknown
                   21095:   case $host_os in
                   21096:   aix3*|aix4.1.*|aix4.2.*)
                   21097:     # Unknown whether this is true for these versions of AIX, but
1.237     moko     21098:     # we want this 'case' here to explicitly catch those versions.
1.128     moko     21099:     lt_cv_sys_dlopen_deplibs=unknown
                   21100:     ;;
                   21101:   aix[4-9]*)
                   21102:     lt_cv_sys_dlopen_deplibs=yes
                   21103:     ;;
                   21104:   amigaos*)
                   21105:     case $host_cpu in
                   21106:     powerpc)
                   21107:       lt_cv_sys_dlopen_deplibs=no
                   21108:       ;;
                   21109:     esac
                   21110:     ;;
                   21111:   darwin*)
                   21112:     # Assuming the user has installed a libdl from somewhere, this is true
                   21113:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   21114:     lt_cv_sys_dlopen_deplibs=yes
                   21115:     ;;
1.237     moko     21116:   freebsd* | dragonfly* | midnightbsd*)
1.128     moko     21117:     lt_cv_sys_dlopen_deplibs=yes
                   21118:     ;;
                   21119:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   21120:     # GNU and its variants, using gnu ld.so (Glibc)
                   21121:     lt_cv_sys_dlopen_deplibs=yes
                   21122:     ;;
                   21123:   hpux10*|hpux11*)
                   21124:     lt_cv_sys_dlopen_deplibs=yes
                   21125:     ;;
                   21126:   interix*)
                   21127:     lt_cv_sys_dlopen_deplibs=yes
                   21128:     ;;
                   21129:   irix[12345]*|irix6.[01]*)
                   21130:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   21131:     # know how it worked for any of those versions.
                   21132:     lt_cv_sys_dlopen_deplibs=unknown
                   21133:     ;;
                   21134:   irix*)
                   21135:     # The case above catches anything before 6.2, and it's known that
                   21136:     # at 6.2 and later dlopen does load deplibs.
                   21137:     lt_cv_sys_dlopen_deplibs=yes
                   21138:     ;;
1.237     moko     21139:   *-mlibc)
                   21140:     lt_cv_sys_dlopen_deplibs=yes
                   21141:     ;;
                   21142:   netbsd* | netbsdelf*-gnu)
1.128     moko     21143:     lt_cv_sys_dlopen_deplibs=yes
                   21144:     ;;
                   21145:   openbsd*)
                   21146:     lt_cv_sys_dlopen_deplibs=yes
                   21147:     ;;
                   21148:   osf[1234]*)
                   21149:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   21150:     # it did *not* use an RPATH in a shared library to find objects the
1.237     moko     21151:     # library depends on, so we explicitly say 'no'.
1.128     moko     21152:     lt_cv_sys_dlopen_deplibs=no
                   21153:     ;;
                   21154:   osf5.0|osf5.0a|osf5.1)
                   21155:     # dlopen *does* load deplibs and with the right loader patch applied
                   21156:     # it even uses RPATH in a shared library to search for shared objects
                   21157:     # that the library depends on, but there's no easy way to know if that
                   21158:     # patch is installed.  Since this is the case, all we can really
                   21159:     # say is unknown -- it depends on the patch being installed.  If
1.237     moko     21160:     # it is, this changes to 'yes'.  Without it, it would be 'no'.
1.128     moko     21161:     lt_cv_sys_dlopen_deplibs=unknown
                   21162:     ;;
                   21163:   osf*)
                   21164:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   21165:     # the comments above for what we know about them.
                   21166:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
1.237     moko     21167:     # is used to find them so we can finally say 'yes'.
1.128     moko     21168:     lt_cv_sys_dlopen_deplibs=yes
                   21169:     ;;
                   21170:   qnx*)
                   21171:     lt_cv_sys_dlopen_deplibs=yes
                   21172:     ;;
                   21173:   solaris*)
                   21174:     lt_cv_sys_dlopen_deplibs=yes
                   21175:     ;;
                   21176:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   21177:     libltdl_cv_sys_dlopen_deplibs=yes
                   21178:     ;;
                   21179:   esac
1.237     moko     21180:    ;;
                   21181: esac
1.128     moko     21182: fi
1.237     moko     21183: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   21184: printf "%s\n" "$lt_cv_sys_dlopen_deplibs" >&6; }
                   21185: if test yes != "$lt_cv_sys_dlopen_deplibs"; then
1.128     moko     21186: 
1.237     moko     21187: printf "%s\n" "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     21188: 
1.243     moko     21189: fi
1.128     moko     21190: 
                   21191: 
1.243     moko     21192: ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
1.237     moko     21193: "
1.243     moko     21194: if test "x$ac_cv_header_argz_h" = xyes
1.237     moko     21195: then :
1.243     moko     21196:   printf "%s\n" "#define HAVE_ARGZ_H 1" >>confdefs.h
1.237     moko     21197: 
                   21198: fi
1.243     moko     21199: 
                   21200: 
                   21201: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
                   21202: #  include <argz.h>
                   21203: #endif
1.237     moko     21204: "
1.243     moko     21205: if test "x$ac_cv_type_error_t" = xyes
1.237     moko     21206: then :
                   21207: 
1.243     moko     21208: printf "%s\n" "#define HAVE_ERROR_T 1" >>confdefs.h
1.237     moko     21209: 
                   21210: 
1.243     moko     21211: else case e in #(
                   21212:   e)
                   21213: printf "%s\n" "#define error_t int" >>confdefs.h
1.237     moko     21214: 
1.128     moko     21215: 
1.243     moko     21216: printf "%s\n" "#define __error_t_defined 1" >>confdefs.h
                   21217:  ;;
                   21218: esac
1.150     moko     21219: fi
1.128     moko     21220: 
                   21221: 
1.243     moko     21222: LT_ARGZ_H=
1.128     moko     21223: 
1.243     moko     21224:   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert argz_next argz_stringify
1.150     moko     21225: do :
1.237     moko     21226:   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
1.150     moko     21227: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.237     moko     21228: if eval test \"x\$"$as_ac_var"\" = x"yes"
                   21229: then :
1.150     moko     21230:   cat >>confdefs.h <<_ACEOF
1.237     moko     21231: #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
1.150     moko     21232: _ACEOF
1.66      paf      21233: 
1.237     moko     21234: else case e in #(
1.243     moko     21235:   e) LT_ARGZ_H=lt__argz.h;
1.66      paf      21236: 
1.243     moko     21237:   _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
1.237     moko     21238:  ;;
                   21239: esac
                   21240: fi
1.1       paf      21241: 
1.128     moko     21242: done
                   21243: 
1.243     moko     21244: if test -z "$LT_ARGZ_H"
                   21245: then :
                   21246:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   21247: printf %s "checking if argz actually works... " >&6; }
                   21248: if test ${lt_cv_sys_argz_works+y}
                   21249: then :
                   21250:   printf %s "(cached) " >&6
                   21251: else case e in #(
                   21252:   e) case $host_os in #(
                   21253:         *cygwin*)
                   21254:           lt_cv_sys_argz_works=no
                   21255:           if test no != "$cross_compiling"; then
                   21256:             lt_cv_sys_argz_works="guessing no"
                   21257:           else
                   21258:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   21259:             save_IFS=$IFS
                   21260:             IFS=-.
                   21261:             set x `uname -r | $SED -e "$lt_sed_extract_leading_digits"`
                   21262:             IFS=$save_IFS
                   21263:             lt_os_major=${2-0}
                   21264:             lt_os_minor=${3-0}
                   21265:             lt_os_micro=${4-0}
                   21266:             if test 1 -lt "$lt_os_major" \
                   21267:                || { test 1 -eq "$lt_os_major" \
                   21268:                  && { test 5 -lt "$lt_os_minor" \
                   21269:                    || { test 5 -eq "$lt_os_minor" \
                   21270:                      && test 24 -lt "$lt_os_micro"; }; }; }; then
                   21271:               lt_cv_sys_argz_works=yes
                   21272:             fi
                   21273:           fi
                   21274:           ;; #(
                   21275:         *) lt_cv_sys_argz_works=yes ;;
                   21276:         esac ;;
                   21277: esac
                   21278: fi
                   21279: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   21280: printf "%s\n" "$lt_cv_sys_argz_works" >&6; }
                   21281:      if test yes = "$lt_cv_sys_argz_works"
1.237     moko     21282: then :
1.243     moko     21283: 
                   21284: printf "%s\n" "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     21285: 
1.237     moko     21286: else case e in #(
1.243     moko     21287:   e) LT_ARGZ_H=lt__argz.h
                   21288: 
1.128     moko     21289: 
1.243     moko     21290:   _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
1.237     moko     21291:  ;;
                   21292: esac
                   21293: fi
1.243     moko     21294: fi
1.128     moko     21295: 
                   21296: 
                   21297: 
1.243     moko     21298: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   21299: printf %s "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   21300: if test ${libltdl_cv_preloaded_symbols+y}
                   21301: then :
                   21302:   printf %s "(cached) " >&6
                   21303: else case e in #(
                   21304:   e) if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   21305:     libltdl_cv_preloaded_symbols=yes
                   21306:   else
                   21307:     libltdl_cv_preloaded_symbols=no
                   21308:   fi
                   21309:    ;;
                   21310: esac
                   21311: fi
                   21312: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   21313: printf "%s\n" "$libltdl_cv_preloaded_symbols" >&6; }
                   21314: if test yes = "$libltdl_cv_preloaded_symbols"; then
1.64      paf      21315: 
1.243     moko     21316: printf "%s\n" "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.128     moko     21317: 
1.243     moko     21318: fi
1.128     moko     21319: 
                   21320: 
                   21321: 
1.243     moko     21322: # Set options
1.128     moko     21323: 
                   21324: 
                   21325: 
                   21326: 
                   21327: 
                   21328: 
                   21329: 
                   21330: 
                   21331: 
                   21332: 
                   21333: 
                   21334: 
1.243     moko     21335: # Check whether --with-included_ltdl was given.
                   21336: if test ${with_included_ltdl+y}
1.237     moko     21337: then :
1.243     moko     21338:   withval=$with_included_ltdl;
                   21339: fi
1.150     moko     21340: 
                   21341: 
1.243     moko     21342: if test yes != "$with_included_ltdl"; then
                   21343:   # We are not being forced to use the included libltdl sources, so
                   21344:   # decide whether there is a useful installed version we can use.
                   21345:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     21346: 
1.243     moko     21347: "
                   21348: if test "x$ac_cv_header_ltdl_h" = xyes
1.237     moko     21349: then :
1.243     moko     21350:   ac_fn_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
                   21351:            #include <ltdl.h>
                   21352: " "$ac_c_undeclared_builtin_options" "CFLAGS"
                   21353: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes
1.237     moko     21354: then :
1.243     moko     21355:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   21356: printf %s "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   21357: if test ${ac_cv_lib_ltdl_lt_dladvise_preload+y}
1.237     moko     21358: then :
1.243     moko     21359:   printf %s "(cached) " >&6
                   21360: else case e in #(
                   21361:   e) ac_check_lib_save_LIBS=$LIBS
                   21362: LIBS="-lltdl  $LIBS"
                   21363: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      21364: /* end confdefs.h.  */
1.150     moko     21365: 
1.243     moko     21366: /* Override any GCC internal prototype to avoid an error.
                   21367:    Use char because int might match the return type of a GCC
                   21368:    builtin and then its argument prototype would still apply.
                   21369:    The 'extern "C"' is for builds by C++ compilers;
                   21370:    although this is not generally supported in C code supporting it here
                   21371:    has little cost and some practical benefit (sr 110532).  */
                   21372: #ifdef __cplusplus
                   21373: extern "C"
                   21374: #endif
                   21375: char lt_dladvise_preload (void);
1.128     moko     21376: int
1.237     moko     21377: main (void)
1.128     moko     21378: {
1.243     moko     21379: return lt_dladvise_preload ();
1.128     moko     21380:   ;
                   21381:   return 0;
                   21382: }
1.62      paf      21383: _ACEOF
1.243     moko     21384: if ac_fn_c_try_link "$LINENO"
1.237     moko     21385: then :
1.243     moko     21386:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.237     moko     21387: else case e in #(
1.243     moko     21388:   e) ac_cv_lib_ltdl_lt_dladvise_preload=no ;;
1.237     moko     21389: esac
1.128     moko     21390: fi
1.243     moko     21391: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   21392:     conftest$ac_exeext conftest.$ac_ext
                   21393: LIBS=$ac_check_lib_save_LIBS ;;
                   21394: esac
1.128     moko     21395: fi
1.243     moko     21396: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   21397: printf "%s\n" "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   21398: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes
1.237     moko     21399: then :
1.243     moko     21400:   with_included_ltdl=no
                   21401: else case e in #(
                   21402:   e) with_included_ltdl=yes ;;
                   21403: esac
1.128     moko     21404: fi
1.150     moko     21405: 
1.237     moko     21406: else case e in #(
1.243     moko     21407:   e) with_included_ltdl=yes ;;
1.237     moko     21408: esac
1.128     moko     21409: fi
1.243     moko     21410: else case e in #(
                   21411:   e) with_included_ltdl=yes ;;
1.237     moko     21412: esac
1.128     moko     21413: fi
1.150     moko     21414: 
1.66      paf      21415: fi
1.150     moko     21416: 
                   21417: 
1.128     moko     21418: 
1.66      paf      21419: 
1.243     moko     21420: # Check whether --with-ltdl_include was given.
                   21421: if test ${with_ltdl_include+y}
                   21422: then :
                   21423:   withval=$with_ltdl_include;
                   21424: fi
1.128     moko     21425: 
1.1       paf      21426: 
1.243     moko     21427: if test -n "$with_ltdl_include"; then
                   21428:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   21429:   else
                   21430:     as_fn_error $? "invalid ltdl include directory: '$with_ltdl_include'" "$LINENO" 5
                   21431:   fi
                   21432: else
                   21433:   with_ltdl_include=no
                   21434: fi
1.66      paf      21435: 
                   21436: 
1.243     moko     21437: # Check whether --with-ltdl_lib was given.
                   21438: if test ${with_ltdl_lib+y}
1.237     moko     21439: then :
1.243     moko     21440:   withval=$with_ltdl_lib;
                   21441: fi
                   21442: 
                   21443: 
                   21444: if test -n "$with_ltdl_lib"; then
                   21445:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   21446:   else
                   21447:     as_fn_error $? "invalid ltdl library directory: '$with_ltdl_lib'" "$LINENO" 5
                   21448:   fi
                   21449: else
                   21450:   with_ltdl_lib=no
                   21451: fi
1.62      paf      21452: 
1.243     moko     21453: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   21454:   ,yes,no,no,)
                   21455:        case $enable_ltdl_convenience in
                   21456:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
                   21457:   "") enable_ltdl_convenience=yes
                   21458:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
1.237     moko     21459: esac
1.243     moko     21460: LIBLTDL='$(top_build_prefix)'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
                   21461: LTDLDEPS=$LIBLTDL
                   21462: LTDLINCL='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   21463: 
                   21464: 
                   21465: 
                   21466: 
                   21467: 
                   21468: # For backwards non-gettext consistent compatibility...
                   21469: INCLTDL=$LTDLINCL
                   21470: 
                   21471: 
                   21472:        ;;
                   21473:   ,no,no,no,)
                   21474:        # If the included ltdl is not to be used, then use the
                   21475:        # preinstalled libltdl we found.
1.66      paf      21476: 
1.243     moko     21477: printf "%s\n" "#define HAVE_LTDL 1" >>confdefs.h
1.156     moko     21478: 
1.243     moko     21479:        LIBLTDL=-lltdl
                   21480:        LTDLDEPS=
                   21481:        LTDLINCL=
                   21482:        ;;
                   21483:   ,no*,no,*)
                   21484:        as_fn_error $? "'--with-ltdl-include' and '--with-ltdl-lib' options must be used together" "$LINENO" 5
                   21485:        ;;
                   21486:   *)   with_included_ltdl=no
                   21487:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   21488:        LTDLDEPS=
                   21489:        LTDLINCL=-I$with_ltdl_include
                   21490:        ;;
1.237     moko     21491: esac
1.243     moko     21492: INCLTDL=$LTDLINCL
1.156     moko     21493: 
1.243     moko     21494: # Report our decision...
                   21495: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   21496: printf %s "checking where to find libltdl headers... " >&6; }
                   21497: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   21498: printf "%s\n" "$LTDLINCL" >&6; }
                   21499: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   21500: printf %s "checking where to find libltdl library... " >&6; }
                   21501: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   21502: printf "%s\n" "$LIBLTDL" >&6; }
1.159     moko     21503: 
                   21504: 
                   21505: 
1.243     moko     21506: # Check whether --enable-ltdl-install was given.
                   21507: if test ${enable_ltdl_install+y}
                   21508: then :
                   21509:   enableval=$enable_ltdl_install;
                   21510: fi
1.159     moko     21511: 
1.165     moko     21512: 
1.243     moko     21513: case ,$enable_ltdl_install,$enable_ltdl_convenience in
                   21514:   *yes*) ;;
                   21515:   *) enable_ltdl_convenience=yes ;;
                   21516: esac
1.165     moko     21517: 
1.243     moko     21518:  if test no != "${enable_ltdl_install-no}"; then
                   21519:   INSTALL_LTDL_TRUE=
                   21520:   INSTALL_LTDL_FALSE='#'
                   21521: else
                   21522:   INSTALL_LTDL_TRUE='#'
                   21523:   INSTALL_LTDL_FALSE=
                   21524: fi
1.165     moko     21525: 
1.243     moko     21526:   if test no != "${enable_ltdl_convenience-no}"; then
                   21527:   CONVENIENCE_LTDL_TRUE=
                   21528:   CONVENIENCE_LTDL_FALSE='#'
                   21529: else
                   21530:   CONVENIENCE_LTDL_TRUE='#'
                   21531:   CONVENIENCE_LTDL_FALSE=
                   21532: fi
1.156     moko     21533: 
1.243     moko     21534:   if test -n "$LT_ARGZ_H"; then
                   21535:   LTARGZH_EXISTS_TRUE=
                   21536:   LTARGZH_EXISTS_FALSE='#'
                   21537: else
                   21538:   LTARGZH_EXISTS_TRUE='#'
                   21539:   LTARGZH_EXISTS_FALSE=
                   21540: fi
1.156     moko     21541: 
                   21542: 
1.128     moko     21543: 
1.243     moko     21544:     subdirs="$subdirs src/lib/ltdl"
1.159     moko     21545: 
                   21546: 
                   21547: 
                   21548: 
1.243     moko     21549: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   21550: # the user used.  This is so that ltdl.h can pick up the parent projects
                   21551: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   21552: # definitions required by ltdl.c.
                   21553: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
1.234     moko     21554: 
                   21555: 
1.159     moko     21556: 
1.243     moko     21557: ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default
                   21558: "
                   21559: if test "x$ac_cv_header_unistd_h" = xyes
1.237     moko     21560: then :
1.243     moko     21561:   printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
1.161     moko     21562: 
1.243     moko     21563: fi
                   21564: ac_fn_c_check_header_compile "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default
                   21565: "
                   21566: if test "x$ac_cv_header_dl_h" = xyes
1.237     moko     21567: then :
1.243     moko     21568:   printf "%s\n" "#define HAVE_DL_H 1" >>confdefs.h
                   21569: 
1.161     moko     21570: fi
1.243     moko     21571: ac_fn_c_check_header_compile "$LINENO" "sys/dl.h" "ac_cv_header_sys_dl_h" "$ac_includes_default
                   21572: "
                   21573: if test "x$ac_cv_header_sys_dl_h" = xyes
                   21574: then :
                   21575:   printf "%s\n" "#define HAVE_SYS_DL_H 1" >>confdefs.h
                   21576: 
1.161     moko     21577: fi
1.243     moko     21578: ac_fn_c_check_header_compile "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default
                   21579: "
                   21580: if test "x$ac_cv_header_dld_h" = xyes
1.237     moko     21581: then :
1.243     moko     21582:   printf "%s\n" "#define HAVE_DLD_H 1" >>confdefs.h
1.161     moko     21583: 
                   21584: fi
1.243     moko     21585: ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default
                   21586: "
                   21587: if test "x$ac_cv_header_mach_o_dyld_h" = xyes
1.237     moko     21588: then :
1.243     moko     21589:   printf "%s\n" "#define HAVE_MACH_O_DYLD_H 1" >>confdefs.h
1.161     moko     21590: 
                   21591: fi
1.243     moko     21592: ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default
                   21593: "
                   21594: if test "x$ac_cv_header_dirent_h" = xyes
1.237     moko     21595: then :
1.243     moko     21596:   printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
                   21597: 
1.161     moko     21598: fi
1.243     moko     21599: 
                   21600: 
                   21601: 
                   21602:   for ac_func in closedir opendir readdir
                   21603: do :
                   21604:   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
                   21605: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   21606: if eval test \"x\$"$as_ac_var"\" = x"yes"
1.237     moko     21607: then :
1.243     moko     21608:   cat >>confdefs.h <<_ACEOF
                   21609: #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
                   21610: _ACEOF
1.161     moko     21611: 
1.237     moko     21612: else case e in #(
1.243     moko     21613:   e)
                   21614: 
                   21615:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
                   21616:  ;;
1.237     moko     21617: esac
1.161     moko     21618: fi
                   21619: 
1.243     moko     21620: done
1.161     moko     21621: 
1.243     moko     21622:   for ac_func in strlcat strlcpy
                   21623: do :
                   21624:   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
                   21625: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   21626: if eval test \"x\$"$as_ac_var"\" = x"yes"
1.237     moko     21627: then :
1.243     moko     21628:   cat >>confdefs.h <<_ACEOF
                   21629: #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
                   21630: _ACEOF
                   21631: 
1.237     moko     21632: else case e in #(
1.243     moko     21633:   e)
1.161     moko     21634: 
1.243     moko     21635:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   21636:  ;;
                   21637: esac
1.161     moko     21638: fi
1.243     moko     21639: 
1.161     moko     21640: done
                   21641: 
                   21642: 
1.243     moko     21643: printf "%s\n" "#define LT_LIBEXT \"$libext\"" >>confdefs.h
                   21644: 
                   21645: 
                   21646: name=
                   21647: eval "lt_libprefix=\"$libname_spec\""
                   21648: 
                   21649: printf "%s\n" "#define LT_LIBPREFIX \"$lt_libprefix\"" >>confdefs.h
                   21650: 
                   21651: 
                   21652: name=ltdl
                   21653: eval "LTDLOPEN=\"$libname_spec\""
                   21654: 
1.161     moko     21655: 
                   21656: 
                   21657: 
                   21658: 
                   21659: 
                   21660: 
                   21661: 
1.243     moko     21662: # Only expand once:
1.161     moko     21663: 
                   21664: 
                   21665: 
1.159     moko     21666: 
1.243     moko     21667:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   21668: printf %s "checking whether byte ordering is bigendian... " >&6; }
                   21669: if test ${ac_cv_c_bigendian+y}
1.237     moko     21670: then :
                   21671:   printf %s "(cached) " >&6
                   21672: else case e in #(
1.243     moko     21673:   e) ac_cv_c_bigendian=unknown
                   21674:     # See if we're dealing with a universal compiler.
                   21675:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21676: /* end confdefs.h.  */
                   21677: #ifndef __APPLE_CC__
                   21678:               not a universal capable compiler
                   21679:             #endif
                   21680:             typedef int dummy;
                   21681: 
                   21682: _ACEOF
                   21683: if ac_fn_c_try_compile "$LINENO"
1.237     moko     21684: then :
1.243     moko     21685: 
                   21686:        # Check for potential -arch flags.  It is not universal unless
                   21687:        # there are at least two -arch flags with different values.
                   21688:        ac_arch=
                   21689:        ac_prev=
                   21690:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   21691:         if test -n "$ac_prev"; then
                   21692:           case $ac_word in
                   21693:             i?86 | x86_64 | ppc | ppc64)
                   21694:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   21695:                 ac_arch=$ac_word
                   21696:               else
                   21697:                 ac_cv_c_bigendian=universal
                   21698:                 break
                   21699:               fi
                   21700:               ;;
                   21701:           esac
                   21702:           ac_prev=
                   21703:         elif test "x$ac_word" = "x-arch"; then
                   21704:           ac_prev=arch
                   21705:         fi
                   21706:        done
1.237     moko     21707: fi
1.243     moko     21708: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   21709:     if test $ac_cv_c_bigendian = unknown; then
                   21710:       # See if sys/param.h defines the BYTE_ORDER macro.
                   21711:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.171     moko     21712: /* end confdefs.h.  */
                   21713: #include <sys/types.h>
1.243     moko     21714:             #include <sys/param.h>
                   21715: 
1.171     moko     21716: int
1.237     moko     21717: main (void)
1.171     moko     21718: {
1.243     moko     21719: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\
                   21720:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\
                   21721:                     && LITTLE_ENDIAN)
                   21722:              bogus endian macros
                   21723:             #endif
1.171     moko     21724: 
                   21725:   ;
                   21726:   return 0;
                   21727: }
                   21728: _ACEOF
1.237     moko     21729: if ac_fn_c_try_compile "$LINENO"
                   21730: then :
1.243     moko     21731:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   21732:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21733: /* end confdefs.h.  */
                   21734: #include <sys/types.h>
                   21735:                #include <sys/param.h>
                   21736: 
                   21737: int
                   21738: main (void)
                   21739: {
                   21740: #if BYTE_ORDER != BIG_ENDIAN
                   21741:                 not big endian
                   21742:                #endif
                   21743: 
                   21744:   ;
                   21745:   return 0;
                   21746: }
                   21747: _ACEOF
                   21748: if ac_fn_c_try_compile "$LINENO"
1.237     moko     21749: then :
1.243     moko     21750:   ac_cv_c_bigendian=yes
1.237     moko     21751: else case e in #(
1.243     moko     21752:   e) ac_cv_c_bigendian=no ;;
1.237     moko     21753: esac
                   21754: fi
1.243     moko     21755: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.171     moko     21756: fi
1.237     moko     21757: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.243     moko     21758:     fi
                   21759:     if test $ac_cv_c_bigendian = unknown; then
                   21760:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   21761:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21762: /* end confdefs.h.  */
                   21763: #include <limits.h>
1.237     moko     21764: 
1.243     moko     21765: int
                   21766: main (void)
                   21767: {
                   21768: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   21769:              bogus endian macros
                   21770:             #endif
1.237     moko     21771: 
1.243     moko     21772:   ;
                   21773:   return 0;
                   21774: }
                   21775: _ACEOF
                   21776: if ac_fn_c_try_compile "$LINENO"
                   21777: then :
                   21778:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   21779:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21780: /* end confdefs.h.  */
                   21781: #include <limits.h>
1.237     moko     21782: 
1.243     moko     21783: int
                   21784: main (void)
                   21785: {
                   21786: #ifndef _BIG_ENDIAN
                   21787:                 not big endian
                   21788:                #endif
1.171     moko     21789: 
1.243     moko     21790:   ;
                   21791:   return 0;
                   21792: }
                   21793: _ACEOF
                   21794: if ac_fn_c_try_compile "$LINENO"
                   21795: then :
                   21796:   ac_cv_c_bigendian=yes
                   21797: else case e in #(
                   21798:   e) ac_cv_c_bigendian=no ;;
1.237     moko     21799: esac
1.243     moko     21800: fi
                   21801: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   21802: fi
                   21803: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   21804:     fi
                   21805:     if test $ac_cv_c_bigendian = unknown; then
                   21806:       # Compile a test program.
                   21807:       if test "$cross_compiling" = yes
1.237     moko     21808: then :
1.243     moko     21809:   # Try to guess by grepping values from an object file.
                   21810:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21811: /* end confdefs.h.  */
                   21812: unsigned short int ascii_mm[] =
                   21813:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   21814:                unsigned short int ascii_ii[] =
                   21815:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   21816:                int use_ascii (int i) {
                   21817:                  return ascii_mm[i] + ascii_ii[i];
                   21818:                }
                   21819:                unsigned short int ebcdic_ii[] =
                   21820:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   21821:                unsigned short int ebcdic_mm[] =
                   21822:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   21823:                int use_ebcdic (int i) {
                   21824:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   21825:                }
                   21826:                int
                   21827:                main (int argc, char **argv)
                   21828:                {
                   21829:                  /* Intimidate the compiler so that it does not
                   21830:                     optimize the arrays away.  */
                   21831:                  char *p = argv[0];
                   21832:                  ascii_mm[1] = *p++; ebcdic_mm[1] = *p++;
                   21833:                  ascii_ii[1] = *p++; ebcdic_ii[1] = *p++;
                   21834:                  return use_ascii (argc) == use_ebcdic (*p);
                   21835:                }
                   21836: _ACEOF
                   21837: if ac_fn_c_try_link "$LINENO"
1.237     moko     21838: then :
1.243     moko     21839:   if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then
                   21840:              ac_cv_c_bigendian=yes
                   21841:            fi
                   21842:            if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then
                   21843:              if test "$ac_cv_c_bigendian" = unknown; then
                   21844:                ac_cv_c_bigendian=no
                   21845:              else
                   21846:                # finding both strings is unlikely to happen, but who knows?
                   21847:                ac_cv_c_bigendian=unknown
                   21848:              fi
                   21849:            fi
1.171     moko     21850: fi
1.243     moko     21851: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   21852:     conftest$ac_exeext conftest.$ac_ext
                   21853: else case e in #(
                   21854:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.171     moko     21855: /* end confdefs.h.  */
1.243     moko     21856: $ac_includes_default
1.171     moko     21857: int
1.237     moko     21858: main (void)
1.171     moko     21859: {
                   21860: 
1.243     moko     21861:             /* Are we little or big endian?  From Harbison&Steele.  */
                   21862:             union
                   21863:             {
                   21864:               long int l;
                   21865:               char c[sizeof (long int)];
                   21866:             } u;
                   21867:             u.l = 1;
                   21868:             return u.c[sizeof (long int) - 1] == 1;
                   21869: 
1.171     moko     21870:   ;
                   21871:   return 0;
                   21872: }
                   21873: _ACEOF
1.243     moko     21874: if ac_fn_c_try_run "$LINENO"
1.237     moko     21875: then :
1.243     moko     21876:   ac_cv_c_bigendian=no
                   21877: else case e in #(
                   21878:   e) ac_cv_c_bigendian=yes ;;
                   21879: esac
                   21880: fi
                   21881: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   21882:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   21883: esac
1.171     moko     21884: fi
1.243     moko     21885: 
                   21886:     fi ;;
1.237     moko     21887: esac
1.171     moko     21888: fi
1.243     moko     21889: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   21890: printf "%s\n" "$ac_cv_c_bigendian" >&6; }
                   21891:  case $ac_cv_c_bigendian in #(
                   21892:    yes)
                   21893: 
                   21894: printf "%s\n" "#define PA_BIG_ENDIAN /**/" >>confdefs.h
                   21895: 
                   21896: ;; #(
                   21897:    no)
1.237     moko     21898: 
1.243     moko     21899: printf "%s\n" "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.237     moko     21900: 
                   21901:  ;; #(
1.243     moko     21902:    universal)
1.237     moko     21903: 
1.243     moko     21904: printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.171     moko     21905: 
1.243     moko     21906:      ;; #(
                   21907:    *)
                   21908:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
                   21909:  ;;
                   21910:  esac
1.171     moko     21911: 
1.237     moko     21912: 
1.243     moko     21913: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   21914: if test "x$ac_cv_type_size_t" = xyes
1.237     moko     21915: then :
                   21916: 
1.243     moko     21917: else case e in #(
                   21918:   e)
                   21919: printf "%s\n" "#define size_t unsigned int" >>confdefs.h
                   21920:  ;;
                   21921: esac
1.237     moko     21922: fi
1.243     moko     21923: 
                   21924: ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
                   21925: if test "x$ac_cv_type_ssize_t" = xyes
1.237     moko     21926: then :
                   21927: 
1.243     moko     21928: else case e in #(
                   21929:   e)
                   21930: printf "%s\n" "#define ssize_t int" >>confdefs.h
                   21931:  ;;
                   21932: esac
1.237     moko     21933: fi
                   21934: 
1.243     moko     21935: ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
                   21936: case $ac_cv_c_uint8_t in #(
                   21937:   no|yes) ;; #(
                   21938:   *)
                   21939: 
                   21940: printf "%s\n" "#define _UINT8_T 1" >>confdefs.h
                   21941: 
                   21942: 
                   21943: printf "%s\n" "#define uint8_t $ac_cv_c_uint8_t" >>confdefs.h
                   21944: ;;
                   21945:   esac
                   21946: 
                   21947: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
                   21948: case $ac_cv_c_uint16_t in #(
                   21949:   no|yes) ;; #(
                   21950:   *)
                   21951: 
                   21952: 
                   21953: printf "%s\n" "#define uint16_t $ac_cv_c_uint16_t" >>confdefs.h
                   21954: ;;
                   21955:   esac
                   21956: 
                   21957: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
                   21958: case $ac_cv_c_uint32_t in #(
                   21959:   no|yes) ;; #(
                   21960:   *)
                   21961: 
                   21962: printf "%s\n" "#define _UINT32_T 1" >>confdefs.h
                   21963: 
1.237     moko     21964: 
1.243     moko     21965: printf "%s\n" "#define uint32_t $ac_cv_c_uint32_t" >>confdefs.h
                   21966: ;;
                   21967:   esac
1.237     moko     21968: 
1.243     moko     21969: ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
                   21970: case $ac_cv_c_uint64_t in #(
                   21971:   no|yes) ;; #(
                   21972:   *)
1.237     moko     21973: 
1.243     moko     21974: printf "%s\n" "#define _UINT64_T 1" >>confdefs.h
1.237     moko     21975: 
                   21976: 
1.243     moko     21977: printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
                   21978: ;;
                   21979:   esac
1.237     moko     21980: 
1.243     moko     21981: ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
                   21982: case $ac_cv_c_int64_t in #(
                   21983:   no|yes) ;; #(
                   21984:   *)
1.237     moko     21985: 
1.243     moko     21986: printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
                   21987: ;;
                   21988: esac
1.237     moko     21989: 
                   21990: 
1.243     moko     21991: ac_header_dirent=no
                   21992: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   21993:   as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"`
                   21994: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
                   21995: printf %s "checking for $ac_hdr that defines DIR... " >&6; }
                   21996: if eval test \${$as_ac_Header+y}
1.237     moko     21997: then :
1.243     moko     21998:   printf %s "(cached) " >&6
                   21999: else case e in #(
                   22000:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   22001: /* end confdefs.h.  */
                   22002: #include <sys/types.h>
                   22003: #include <$ac_hdr>
1.237     moko     22004: 
1.243     moko     22005: int
                   22006: main (void)
                   22007: {
                   22008: if ((DIR *) 0)
                   22009: return 0;
                   22010:   ;
                   22011:   return 0;
                   22012: }
                   22013: _ACEOF
                   22014: if ac_fn_c_try_compile "$LINENO"
                   22015: then :
                   22016:   eval "$as_ac_Header=yes"
                   22017: else case e in #(
                   22018:   e) eval "$as_ac_Header=no" ;;
                   22019: esac
1.237     moko     22020: fi
1.243     moko     22021: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   22022: esac
1.237     moko     22023: fi
1.243     moko     22024: eval ac_res=\$$as_ac_Header
                   22025:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   22026: printf "%s\n" "$ac_res" >&6; }
                   22027: if eval test \"x\$"$as_ac_Header"\" = x"yes"
1.237     moko     22028: then :
1.243     moko     22029:   cat >>confdefs.h <<_ACEOF
                   22030: #define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1
                   22031: _ACEOF
1.237     moko     22032: 
1.243     moko     22033: ac_header_dirent=$ac_hdr; break
1.237     moko     22034: fi
                   22035: 
1.243     moko     22036: done
                   22037: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   22038: if test $ac_header_dirent = dirent.h; then
                   22039:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   22040: printf %s "checking for library containing opendir... " >&6; }
                   22041: if test ${ac_cv_search_opendir+y}
1.237     moko     22042: then :
1.243     moko     22043:   printf %s "(cached) " >&6
                   22044: else case e in #(
                   22045:   e) ac_func_search_save_LIBS=$LIBS
                   22046: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   22047: /* end confdefs.h.  */
1.237     moko     22048: 
1.243     moko     22049: /* Override any GCC internal prototype to avoid an error.
                   22050:    Use char because int might match the return type of a GCC
                   22051:    builtin and then its argument prototype would still apply.
                   22052:    The 'extern "C"' is for builds by C++ compilers;
                   22053:    although this is not generally supported in C code supporting it here
                   22054:    has little cost and some practical benefit (sr 110532).  */
                   22055: #ifdef __cplusplus
                   22056: extern "C"
                   22057: #endif
                   22058: char opendir (void);
                   22059: int
                   22060: main (void)
                   22061: {
                   22062: return opendir ();
                   22063:   ;
                   22064:   return 0;
                   22065: }
                   22066: _ACEOF
                   22067: for ac_lib in '' dir
                   22068: do
                   22069:   if test -z "$ac_lib"; then
                   22070:     ac_res="none required"
                   22071:   else
                   22072:     ac_res=-l$ac_lib
                   22073:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   22074:   fi
                   22075:   if ac_fn_c_try_link "$LINENO"
1.237     moko     22076: then :
1.243     moko     22077:   ac_cv_search_opendir=$ac_res
1.237     moko     22078: fi
1.243     moko     22079: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   22080:     conftest$ac_exeext
                   22081:   if test ${ac_cv_search_opendir+y}
1.237     moko     22082: then :
1.243     moko     22083:   break
1.237     moko     22084: fi
1.243     moko     22085: done
                   22086: if test ${ac_cv_search_opendir+y}
1.237     moko     22087: then :
                   22088: 
1.243     moko     22089: else case e in #(
                   22090:   e) ac_cv_search_opendir=no ;;
                   22091: esac
1.171     moko     22092: fi
1.243     moko     22093: rm conftest.$ac_ext
                   22094: LIBS=$ac_func_search_save_LIBS ;;
                   22095: esac
1.237     moko     22096: fi
1.243     moko     22097: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   22098: printf "%s\n" "$ac_cv_search_opendir" >&6; }
                   22099: ac_res=$ac_cv_search_opendir
                   22100: if test "$ac_res" != no
1.237     moko     22101: then :
1.243     moko     22102:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.171     moko     22103: 
                   22104: fi
                   22105: 
1.243     moko     22106: else
                   22107:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   22108: printf %s "checking for library containing opendir... " >&6; }
                   22109: if test ${ac_cv_search_opendir+y}
1.237     moko     22110: then :
1.243     moko     22111:   printf %s "(cached) " >&6
                   22112: else case e in #(
                   22113:   e) ac_func_search_save_LIBS=$LIBS
                   22114: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   22115: /* end confdefs.h.  */
1.237     moko     22116: 
1.243     moko     22117: /* Override any GCC internal prototype to avoid an error.
                   22118:    Use char because int might match the return type of a GCC
                   22119:    builtin and then its argument prototype would still apply.
                   22120:    The 'extern "C"' is for builds by C++ compilers;
                   22121:    although this is not generally supported in C code supporting it here
                   22122:    has little cost and some practical benefit (sr 110532).  */
                   22123: #ifdef __cplusplus
                   22124: extern "C"
                   22125: #endif
                   22126: char opendir (void);
                   22127: int
                   22128: main (void)
                   22129: {
                   22130: return opendir ();
                   22131:   ;
                   22132:   return 0;
                   22133: }
                   22134: _ACEOF
                   22135: for ac_lib in '' x
                   22136: do
                   22137:   if test -z "$ac_lib"; then
                   22138:     ac_res="none required"
                   22139:   else
                   22140:     ac_res=-l$ac_lib
                   22141:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   22142:   fi
                   22143:   if ac_fn_c_try_link "$LINENO"
1.237     moko     22144: then :
1.243     moko     22145:   ac_cv_search_opendir=$ac_res
1.237     moko     22146: fi
1.243     moko     22147: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   22148:     conftest$ac_exeext
                   22149:   if test ${ac_cv_search_opendir+y}
1.237     moko     22150: then :
1.243     moko     22151:   break
1.159     moko     22152: fi
1.243     moko     22153: done
                   22154: if test ${ac_cv_search_opendir+y}
1.237     moko     22155: then :
1.150     moko     22156: 
1.243     moko     22157: else case e in #(
                   22158:   e) ac_cv_search_opendir=no ;;
                   22159: esac
1.237     moko     22160: fi
1.243     moko     22161: rm conftest.$ac_ext
                   22162: LIBS=$ac_func_search_save_LIBS ;;
                   22163: esac
1.237     moko     22164: fi
1.243     moko     22165: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   22166: printf "%s\n" "$ac_cv_search_opendir" >&6; }
                   22167: ac_res=$ac_cv_search_opendir
                   22168: if test "$ac_res" != no
1.237     moko     22169: then :
1.243     moko     22170:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.159     moko     22171: 
                   22172: fi
                   22173: 
1.237     moko     22174: fi
1.159     moko     22175: 
                   22176: 
                   22177: 
1.243     moko     22178:   ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
                   22179: #include <sys/types.h>
                   22180: #ifdef HAVE_DIRENT_H
                   22181: # include <dirent.h>
                   22182: #else
                   22183: # define dirent direct
                   22184: # ifdef HAVE_SYS_NDIR_H
                   22185: #  include <sys/ndir.h>
                   22186: # endif
                   22187: # ifdef HAVE_SYS_DIR_H
                   22188: #  include <sys/dir.h>
                   22189: # endif
                   22190: # ifdef HAVE_NDIR_H
                   22191: #  include <ndir.h>
                   22192: # endif
                   22193: #endif
1.237     moko     22194: 
1.243     moko     22195: "
                   22196: if test "x$ac_cv_member_struct_dirent_d_type" = xyes
1.237     moko     22197: then :
1.159     moko     22198: 
1.243     moko     22199: printf "%s\n" "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
1.62      paf      22200: 
                   22201: 
1.237     moko     22202: fi
1.62      paf      22203: 
                   22204: 
                   22205: 
1.243     moko     22206: # Check whether --enable-largefile was given.
                   22207: if test ${enable_largefile+y}
                   22208: then :
                   22209:   enableval=$enable_largefile;
                   22210: fi
                   22211: if test "$enable_largefile,$enable_year2038" != no,no
                   22212: then :
                   22213:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CPPFLAGS option for large files" >&5
                   22214: printf %s "checking for $CPPFLAGS option for large files... " >&6; }
                   22215: if test ${ac_cv_sys_largefile_opts+y}
1.237     moko     22216: then :
                   22217:   printf %s "(cached) " >&6
                   22218: else case e in #(
1.243     moko     22219:   e) ac_save_CPPFLAGS=$CPPFLAGS
                   22220:   ac_opt_found=no
                   22221:   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1"; do
                   22222:     if test x"$ac_opt" != x"none needed"
                   22223: then :
                   22224:   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
                   22225: fi
                   22226:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22227: /* end confdefs.h.  */
1.243     moko     22228: #include <sys/types.h>
                   22229: #ifndef FTYPE
                   22230: # define FTYPE off_t
                   22231: #endif
                   22232:  /* Check that FTYPE can represent 2**63 - 1 correctly.
                   22233:     We can't simply define LARGE_FTYPE to be 9223372036854775807,
                   22234:     since some C++ compilers masquerading as C compilers
                   22235:     incorrectly reject 9223372036854775807.  */
                   22236: #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
                   22237:   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
                   22238:                       && LARGE_FTYPE % 2147483647 == 1)
                   22239:                      ? 1 : -1];
1.66      paf      22240: int
1.237     moko     22241: main (void)
1.66      paf      22242: {
1.243     moko     22243: 
1.66      paf      22244:   ;
                   22245:   return 0;
                   22246: }
1.62      paf      22247: _ACEOF
1.243     moko     22248: if ac_fn_c_try_compile "$LINENO"
                   22249: then :
                   22250:   if test x"$ac_opt" = x"none needed"
                   22251: then :
                   22252:   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
                   22253:         CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t"
                   22254:         if ac_fn_c_try_compile "$LINENO"
1.237     moko     22255: then :
1.243     moko     22256: 
1.237     moko     22257: else case e in #(
1.243     moko     22258:   e) CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
                   22259:            if ac_fn_c_try_compile "$LINENO"
                   22260: then :
                   22261:   ac_opt='-D_FILE_OFFSET_BITS=64'
                   22262: fi
                   22263: rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
1.237     moko     22264: esac
1.62      paf      22265: fi
1.243     moko     22266: rm -f core conftest.err conftest.$ac_objext conftest.beam
                   22267: fi
                   22268:       ac_cv_sys_largefile_opts=$ac_opt
                   22269:       ac_opt_found=yes
                   22270: fi
                   22271: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   22272:     test $ac_opt_found = no || break
                   22273:   done
                   22274:   CPPFLAGS=$ac_save_CPPFLAGS
                   22275: 
                   22276:   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
1.237     moko     22277: esac
1.62      paf      22278: fi
1.243     moko     22279: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
                   22280: printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
                   22281: 
                   22282: ac_have_largefile=yes
                   22283: case $ac_cv_sys_largefile_opts in #(
                   22284:   "none needed") :
                   22285:      ;; #(
                   22286:   "supported through gnulib") :
                   22287:      ;; #(
                   22288:   "support not detected") :
                   22289:     ac_have_largefile=no ;; #(
                   22290:   "-D_FILE_OFFSET_BITS=64") :
1.1       paf      22291: 
1.243     moko     22292: printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
                   22293:  ;; #(
                   22294:   "-D_LARGE_FILES=1") :
1.66      paf      22295: 
1.243     moko     22296: printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
                   22297:  ;; #(
                   22298:   *) :
                   22299:     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
                   22300: esac
1.1       paf      22301: 
1.243     moko     22302: if test "$enable_year2038" != no
                   22303: then :
                   22304:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CPPFLAGS option for timestamps after 2038" >&5
                   22305: printf %s "checking for $CPPFLAGS option for timestamps after 2038... " >&6; }
                   22306: if test ${ac_cv_sys_year2038_opts+y}
1.237     moko     22307: then :
                   22308:   printf %s "(cached) " >&6
                   22309: else case e in #(
1.243     moko     22310:   e) ac_save_CPPFLAGS="$CPPFLAGS"
                   22311:   ac_opt_found=no
                   22312:   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
                   22313:     if test x"$ac_opt" != x"none needed"
                   22314: then :
                   22315:   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
                   22316: fi
                   22317:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22318: /* end confdefs.h.  */
1.66      paf      22319: 
1.243     moko     22320:   #include <time.h>
                   22321:   /* Check that time_t can represent 2**32 - 1 correctly.  */
                   22322:   #define LARGE_TIME_T \\
                   22323:     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
                   22324:   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
                   22325:                            && LARGE_TIME_T % 65537 == 0)
                   22326:                           ? 1 : -1];
1.66      paf      22327: 
1.62      paf      22328: int
1.237     moko     22329: main (void)
1.62      paf      22330: {
1.243     moko     22331: 
1.62      paf      22332:   ;
                   22333:   return 0;
                   22334: }
                   22335: _ACEOF
1.243     moko     22336: if ac_fn_c_try_compile "$LINENO"
1.237     moko     22337: then :
1.243     moko     22338:   ac_cv_sys_year2038_opts="$ac_opt"
                   22339:       ac_opt_found=yes
                   22340: fi
                   22341: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   22342:     test $ac_opt_found = no || break
                   22343:   done
                   22344:   CPPFLAGS="$ac_save_CPPFLAGS"
                   22345:   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
1.237     moko     22346: esac
1.1       paf      22347: fi
1.243     moko     22348: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
                   22349: printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
                   22350: 
                   22351: ac_have_year2038=yes
                   22352: case $ac_cv_sys_year2038_opts in #(
                   22353:   "none needed") :
                   22354:      ;; #(
                   22355:   "support not detected") :
                   22356:     ac_have_year2038=no ;; #(
                   22357:   "-D_TIME_BITS=64") :
                   22358: 
                   22359: printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
                   22360:  ;; #(
                   22361:   "-D__MINGW_USE_VC2005_COMPAT") :
                   22362: 
                   22363: printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
                   22364:  ;; #(
                   22365:   "-U_USE_32_BIT_TIME_T"*) :
                   22366:     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   22367: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
                   22368: as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
                   22369: will stop working after mid-January 2038. Remove
                   22370: _USE_32BIT_TIME_T from the compiler flags.
                   22371: See 'config.log' for more details" "$LINENO" 5; } ;; #(
                   22372:   *) :
                   22373:     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
1.237     moko     22374: esac
1.243     moko     22375: 
                   22376: fi
                   22377: 
1.62      paf      22378: fi
1.243     moko     22379: 
                   22380: ac_fn_c_check_header_compile "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
                   22381: if test "x$ac_cv_header_stdio_h" = xyes
1.237     moko     22382: then :
1.243     moko     22383:   printf "%s\n" "#define HAVE_STDIO_H 1" >>confdefs.h
1.1       paf      22384: 
1.243     moko     22385: fi
                   22386: ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
                   22387: if test "x$ac_cv_header_sys_types_h" = xyes
                   22388: then :
                   22389:   printf "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h
1.1       paf      22390: 
                   22391: fi
1.243     moko     22392: ac_fn_c_check_header_compile "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
                   22393: if test "x$ac_cv_header_sys_stat_h" = xyes
                   22394: then :
                   22395:   printf "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h
1.1       paf      22396: 
1.243     moko     22397: fi
                   22398: ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
                   22399: if test "x$ac_cv_header_stdlib_h" = xyes
1.237     moko     22400: then :
1.243     moko     22401:   printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
1.66      paf      22402: 
1.243     moko     22403: fi
                   22404: ac_fn_c_check_header_compile "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default"
                   22405: if test "x$ac_cv_header_stddef_h" = xyes
                   22406: then :
                   22407:   printf "%s\n" "#define HAVE_STDDEF_H 1" >>confdefs.h
1.66      paf      22408: 
1.243     moko     22409: fi
                   22410: ac_fn_c_check_header_compile "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default"
                   22411: if test "x$ac_cv_header_memory_h" = xyes
1.237     moko     22412: then :
1.243     moko     22413:   printf "%s\n" "#define HAVE_MEMORY_H 1" >>confdefs.h
                   22414: 
1.30      paf      22415: fi
1.243     moko     22416: ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
                   22417: if test "x$ac_cv_header_string_h" = xyes
                   22418: then :
                   22419:   printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
                   22420: 
1.62      paf      22421: fi
1.243     moko     22422: ac_fn_c_check_header_compile "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
                   22423: if test "x$ac_cv_header_strings_h" = xyes
1.237     moko     22424: then :
1.243     moko     22425:   printf "%s\n" "#define HAVE_STRINGS_H 1" >>confdefs.h
1.30      paf      22426: 
1.243     moko     22427: fi
                   22428: ac_fn_c_check_header_compile "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
                   22429: if test "x$ac_cv_header_inttypes_h" = xyes
                   22430: then :
                   22431:   printf "%s\n" "#define HAVE_INTTYPES_H 1" >>confdefs.h
1.30      paf      22432: 
                   22433: fi
1.243     moko     22434: ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
                   22435: if test "x$ac_cv_header_stdint_h" = xyes
                   22436: then :
                   22437:   printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
1.30      paf      22438: 
1.243     moko     22439: fi
                   22440: ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
                   22441: if test "x$ac_cv_header_unistd_h" = xyes
1.237     moko     22442: then :
1.243     moko     22443:   printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
                   22444: 
                   22445: fi
1.66      paf      22446: 
1.243     moko     22447: ac_fn_c_check_header_compile "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
                   22448: if test "x$ac_cv_header_time_h" = xyes
1.237     moko     22449: then :
1.243     moko     22450:   printf "%s\n" "#define HAVE_TIME_H 1" >>confdefs.h
                   22451: 
1.30      paf      22452: fi
1.243     moko     22453: ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
                   22454: if test "x$ac_cv_header_sys_time_h" = xyes
                   22455: then :
                   22456:   printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
                   22457: 
1.62      paf      22458: fi
1.243     moko     22459: ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
                   22460: if test "x$ac_cv_header_assert_h" = xyes
1.237     moko     22461: then :
1.243     moko     22462:   printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h
1.30      paf      22463: 
1.243     moko     22464: fi
                   22465: ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
                   22466: if test "x$ac_cv_header_limits_h" = xyes
                   22467: then :
                   22468:   printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
1.30      paf      22469: 
                   22470: fi
1.243     moko     22471: ac_fn_c_check_header_compile "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
                   22472: if test "x$ac_cv_header_ctype_h" = xyes
                   22473: then :
                   22474:   printf "%s\n" "#define HAVE_CTYPE_H 1" >>confdefs.h
1.30      paf      22475: 
1.243     moko     22476: fi
                   22477: ac_fn_c_check_header_compile "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
                   22478: if test "x$ac_cv_header_math_h" = xyes
1.237     moko     22479: then :
1.243     moko     22480:   printf "%s\n" "#define HAVE_MATH_H 1" >>confdefs.h
1.62      paf      22481: 
1.243     moko     22482: fi
                   22483: ac_fn_c_check_header_compile "$LINENO" "process.h" "ac_cv_header_process_h" "$ac_includes_default"
                   22484: if test "x$ac_cv_header_process_h" = xyes
1.237     moko     22485: then :
1.243     moko     22486:   printf "%s\n" "#define HAVE_PROCESS_H 1" >>confdefs.h
                   22487: 
1.8       paf      22488: fi
1.243     moko     22489: ac_fn_c_check_header_compile "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
                   22490: if test "x$ac_cv_header_stdarg_h" = xyes
                   22491: then :
                   22492:   printf "%s\n" "#define HAVE_STDARG_H 1" >>confdefs.h
                   22493: 
1.8       paf      22494: fi
1.243     moko     22495: ac_fn_c_check_header_compile "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default"
                   22496: if test "x$ac_cv_header_setjmp_h" = xyes
1.237     moko     22497: then :
1.243     moko     22498:   printf "%s\n" "#define HAVE_SETJMP_H 1" >>confdefs.h
1.66      paf      22499: 
1.243     moko     22500: fi
                   22501: ac_fn_c_check_header_compile "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
                   22502: if test "x$ac_cv_header_signal_h" = xyes
                   22503: then :
                   22504:   printf "%s\n" "#define HAVE_SIGNAL_H 1" >>confdefs.h
1.66      paf      22505: 
1.62      paf      22506: fi
1.243     moko     22507: ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
                   22508: if test "x$ac_cv_header_pthread_h" = xyes
                   22509: then :
                   22510:   printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
1.62      paf      22511: 
1.243     moko     22512: fi
1.128     moko     22513: 
1.243     moko     22514: ac_fn_c_check_header_compile "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
                   22515: if test "x$ac_cv_header_errno_h" = xyes
                   22516: then :
                   22517:   printf "%s\n" "#define HAVE_ERRNO_H 1" >>confdefs.h
1.128     moko     22518: 
1.243     moko     22519: fi
                   22520: ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
                   22521: if test "x$ac_cv_header_dirent_h" = xyes
                   22522: then :
                   22523:   printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
1.1       paf      22524: 
1.243     moko     22525: fi
                   22526: ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
                   22527: if test "x$ac_cv_header_fcntl_h" = xyes
1.237     moko     22528: then :
1.243     moko     22529:   printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
1.62      paf      22530: 
1.243     moko     22531: fi
                   22532: ac_fn_c_check_header_compile "$LINENO" "io.h" "ac_cv_header_io_h" "$ac_includes_default"
                   22533: if test "x$ac_cv_header_io_h" = xyes
1.237     moko     22534: then :
1.243     moko     22535:   printf "%s\n" "#define HAVE_IO_H 1" >>confdefs.h
                   22536: 
1.62      paf      22537: fi
1.243     moko     22538: ac_fn_c_check_header_compile "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
                   22539: if test "x$ac_cv_header_sys_file_h" = xyes
                   22540: then :
                   22541:   printf "%s\n" "#define HAVE_SYS_FILE_H 1" >>confdefs.h
                   22542: 
1.62      paf      22543: fi
1.243     moko     22544: ac_fn_c_check_header_compile "$LINENO" "sys/locking.h" "ac_cv_header_sys_locking_h" "$ac_includes_default"
                   22545: if test "x$ac_cv_header_sys_locking_h" = xyes
1.237     moko     22546: then :
1.243     moko     22547:   printf "%s\n" "#define HAVE_SYS_LOCKING_H 1" >>confdefs.h
1.1       paf      22548: 
1.243     moko     22549: fi
                   22550: ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
                   22551: if test "x$ac_cv_header_sys_select_h" = xyes
                   22552: then :
                   22553:   printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
1.1       paf      22554: 
                   22555: fi
1.243     moko     22556: ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
                   22557: if test "x$ac_cv_header_sys_resource_h" = xyes
                   22558: then :
                   22559:   printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
1.1       paf      22560: 
1.243     moko     22561: fi
                   22562: ac_fn_c_check_header_compile "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
                   22563: if test "x$ac_cv_header_sys_wait_h" = xyes
1.237     moko     22564: then :
1.243     moko     22565:   printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
                   22566: 
                   22567: fi
1.62      paf      22568: 
1.243     moko     22569: ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
                   22570: if test "x$ac_cv_header_sys_socket_h" = xyes
1.237     moko     22571: then :
1.243     moko     22572:   printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
                   22573: 
1.62      paf      22574: fi
1.243     moko     22575: ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
                   22576: if test "x$ac_cv_header_netinet_in_h" = xyes
                   22577: then :
                   22578:   printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
                   22579: 
1.62      paf      22580: fi
1.243     moko     22581: ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
                   22582: if test "x$ac_cv_header_arpa_inet_h" = xyes
1.237     moko     22583: then :
1.243     moko     22584:   printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
1.1       paf      22585: 
1.243     moko     22586: fi
                   22587: ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
                   22588: if test "x$ac_cv_header_netdb_h" = xyes
                   22589: then :
                   22590:   printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
1.66      paf      22591: 
                   22592: fi
                   22593: 
                   22594: 
                   22595: 
1.237     moko     22596: ac_fn_c_check_func "$LINENO" "flock" "ac_cv_func_flock"
                   22597: if test "x$ac_cv_func_flock" = xyes
                   22598: then :
                   22599:   printf "%s\n" "#define HAVE_FLOCK 1" >>confdefs.h
                   22600: 
                   22601: fi
                   22602: ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
                   22603: if test "x$ac_cv_func_fcntl" = xyes
                   22604: then :
                   22605:   printf "%s\n" "#define HAVE_FCNTL 1" >>confdefs.h
                   22606: 
                   22607: fi
                   22608: ac_fn_c_check_func "$LINENO" "lockf" "ac_cv_func_lockf"
                   22609: if test "x$ac_cv_func_lockf" = xyes
                   22610: then :
                   22611:   printf "%s\n" "#define HAVE_LOCKF 1" >>confdefs.h
                   22612: 
                   22613: fi
                   22614: ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate"
                   22615: if test "x$ac_cv_func_ftruncate" = xyes
                   22616: then :
                   22617:   printf "%s\n" "#define HAVE_FTRUNCATE 1" >>confdefs.h
                   22618: 
                   22619: fi
                   22620: ac_fn_c_check_func "$LINENO" "fchmod" "ac_cv_func_fchmod"
                   22621: if test "x$ac_cv_func_fchmod" = xyes
                   22622: then :
                   22623:   printf "%s\n" "#define HAVE_FCHMOD 1" >>confdefs.h
                   22624: 
                   22625: fi
                   22626: 
                   22627: ac_fn_c_check_func "$LINENO" "getrusage" "ac_cv_func_getrusage"
                   22628: if test "x$ac_cv_func_getrusage" = xyes
                   22629: then :
                   22630:   printf "%s\n" "#define HAVE_GETRUSAGE 1" >>confdefs.h
                   22631: 
                   22632: fi
                   22633: ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
                   22634: if test "x$ac_cv_func_gettimeofday" = xyes
                   22635: then :
                   22636:   printf "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
                   22637: 
                   22638: fi
                   22639: ac_fn_c_check_func "$LINENO" "crypt" "ac_cv_func_crypt"
                   22640: if test "x$ac_cv_func_crypt" = xyes
                   22641: then :
                   22642:   printf "%s\n" "#define HAVE_CRYPT 1" >>confdefs.h
                   22643: 
                   22644: fi
                   22645: ac_fn_c_check_func "$LINENO" "sigsetjmp" "ac_cv_func_sigsetjmp"
                   22646: if test "x$ac_cv_func_sigsetjmp" = xyes
                   22647: then :
                   22648:   printf "%s\n" "#define HAVE_SIGSETJMP 1" >>confdefs.h
                   22649: 
                   22650: fi
                   22651: ac_fn_c_check_func "$LINENO" "siglongjmp" "ac_cv_func_siglongjmp"
                   22652: if test "x$ac_cv_func_siglongjmp" = xyes
                   22653: then :
                   22654:   printf "%s\n" "#define HAVE_SIGLONGJMP 1" >>confdefs.h
1.159     moko     22655: 
                   22656: fi
1.237     moko     22657: ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
                   22658: if test "x$ac_cv_func_unsetenv" = xyes
                   22659: then :
                   22660:   printf "%s\n" "#define HAVE_UNSETENV 1" >>confdefs.h
1.66      paf      22661: 
1.237     moko     22662: fi
                   22663: ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog"
                   22664: if test "x$ac_cv_func_syslog" = xyes
                   22665: then :
                   22666:   printf "%s\n" "#define HAVE_SYSLOG 1" >>confdefs.h
1.1       paf      22667: 
1.66      paf      22668: fi
                   22669: 
1.1       paf      22670: 
                   22671: 
1.159     moko     22672: 
1.67      paf      22673: pa_func=sigsetjmp
1.237     moko     22674: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
                   22675: printf %s "checking for (maybe built-in) function $pa_func... " >&6; }
1.229     moko     22676: 
                   22677:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      22678: /* end confdefs.h.  */
                   22679: 
                   22680: #ifdef HAVE_SETJMP_H
                   22681: #      include <setjmp.h>
                   22682: #endif
                   22683: 
                   22684: int
1.237     moko     22685: main (void)
1.67      paf      22686: {
                   22687: 
                   22688:         $pa_func(0,0);
                   22689: 
                   22690:   ;
                   22691:   return 0;
                   22692: }
                   22693: _ACEOF
1.237     moko     22694: if ac_fn_c_try_compile "$LINENO"
                   22695: then :
                   22696:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22697: printf "%s\n" "yes" >&6; }
1.67      paf      22698: cat >>confdefs.h <<_ACEOF
1.237     moko     22699: #define `printf "%s\n" "HAVE_$pa_func" | sed "$as_sed_cpp"` 1
1.67      paf      22700: _ACEOF
                   22701: 
                   22702: 
1.237     moko     22703: else case e in #(
                   22704:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22705: printf "%s\n" "no" >&6; }
1.229     moko     22706: 
1.237     moko     22707:    ;;
                   22708: esac
1.67      paf      22709: fi
1.237     moko     22710: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.67      paf      22711: 
                   22712: 
                   22713: 
1.159     moko     22714: 
1.229     moko     22715: 
1.150     moko     22716: ac_ext=cpp
1.67      paf      22717: ac_cpp='$CXXCPP $CPPFLAGS'
                   22718: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   22719: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   22720: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   22721: 
                   22722: 
                   22723: 
1.188     moko     22724: for pa_func in trunc round sign isfinite
1.67      paf      22725: do
                   22726: 
1.237     moko     22727: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
                   22728: printf %s "checking for (maybe built-in) math function $pa_func... " >&6; }
1.229     moko     22729: 
                   22730:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      22731: /* end confdefs.h.  */
                   22732: 
                   22733: #ifdef HAVE_MATH_H
                   22734: #       include <math.h>
                   22735: #endif
                   22736: 
                   22737: int
1.237     moko     22738: main (void)
1.67      paf      22739: {
                   22740: 
                   22741:         double result=$pa_func(1.6);
                   22742: 
                   22743:   ;
                   22744:   return 0;
                   22745: }
                   22746: _ACEOF
1.237     moko     22747: if ac_fn_cxx_try_compile "$LINENO"
                   22748: then :
                   22749:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22750: printf "%s\n" "yes" >&6; }
1.67      paf      22751: cat >>confdefs.h <<_ACEOF
1.237     moko     22752: #define `printf "%s\n" "HAVE_$pa_func" | sed "$as_sed_cpp"`  1
1.62      paf      22753: _ACEOF
1.66      paf      22754: 
1.237     moko     22755: else case e in #(
                   22756:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22757: printf "%s\n" "no" >&6; }
1.229     moko     22758: 
1.237     moko     22759:    ;;
                   22760: esac
1.62      paf      22761: fi
1.237     moko     22762: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.150     moko     22763: 
1.229     moko     22764: 
1.150     moko     22765: done
                   22766: 
                   22767: ac_ext=c
                   22768: ac_cpp='$CPP $CPPFLAGS'
                   22769: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   22770: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   22771: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   22772: 
                   22773: 
                   22774: 
1.237     moko     22775: 
                   22776:   for ac_func in qsort
1.150     moko     22777: do :
                   22778:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
1.237     moko     22779: if test "x$ac_cv_func_qsort" = xyes
                   22780: then :
                   22781:   printf "%s\n" "#define HAVE_QSORT 1" >>confdefs.h
1.1       paf      22782: 
1.237     moko     22783: else case e in #(
                   22784:   e) as_fn_error $? "No qsort library function." "$LINENO" 5 ;;
                   22785: esac
1.1       paf      22786: fi
1.237     moko     22787: 
1.66      paf      22788: done
1.1       paf      22789: 
                   22790: 
1.62      paf      22791: 
1.177     moko     22792: ac_ext=cpp
                   22793: ac_cpp='$CXXCPP $CPPFLAGS'
                   22794: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   22795: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   22796: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   22797: 
1.237     moko     22798: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
                   22799: printf %s "checking for timezone variable... " >&6; }
1.229     moko     22800: 
                   22801:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22802: /* end confdefs.h.  */
1.66      paf      22803: #include <time.h>
1.62      paf      22804: int
1.237     moko     22805: main (void)
1.62      paf      22806: {
1.177     moko     22807: int test=timezone;
1.62      paf      22808:   ;
                   22809:   return 0;
                   22810: }
                   22811: _ACEOF
1.237     moko     22812: if ac_fn_cxx_try_compile "$LINENO"
                   22813: then :
                   22814:   printf "%s\n" "#define HAVE_TIMEZONE 1" >>confdefs.h
                   22815:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22816: printf "%s\n" "yes" >&6; }
                   22817: else case e in #(
                   22818:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22819: printf "%s\n" "no" >&6; }
                   22820:    ;;
                   22821: esac
1.62      paf      22822: fi
1.237     moko     22823: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.229     moko     22824: 
1.177     moko     22825: ac_ext=c
                   22826: ac_cpp='$CPP $CPPFLAGS'
                   22827: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   22828: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   22829: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   22830: 
1.1       paf      22831: 
1.237     moko     22832: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
                   22833: printf %s "checking for tm_gmtoff in struct tm... " >&6; }
1.229     moko     22834: 
                   22835:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22836: /* end confdefs.h.  */
1.66      paf      22837: #include <time.h>
1.62      paf      22838: int
1.237     moko     22839: main (void)
1.62      paf      22840: {
1.176     moko     22841: struct tm tm; tm.tm_gmtoff=0;
1.62      paf      22842:   ;
                   22843:   return 0;
                   22844: }
                   22845: _ACEOF
1.237     moko     22846: if ac_fn_c_try_compile "$LINENO"
                   22847: then :
                   22848:   printf "%s\n" "#define HAVE_TM_GMTOFF 1" >>confdefs.h
                   22849:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22850: printf "%s\n" "yes" >&6; }
                   22851: else case e in #(
                   22852:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22853: printf "%s\n" "no" >&6; }
                   22854:    ;;
                   22855: esac
1.62      paf      22856: fi
1.237     moko     22857: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.62      paf      22858: 
1.229     moko     22859: 
1.237     moko     22860: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
                   22861: printf %s "checking for tm_tzadj in struct tm... " >&6; }
1.229     moko     22862: 
                   22863:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22864: /* end confdefs.h.  */
1.66      paf      22865: #include <time.h>
1.62      paf      22866: int
1.237     moko     22867: main (void)
1.62      paf      22868: {
1.176     moko     22869: struct tm tm; tm.tm_tzadj=0;
1.62      paf      22870:   ;
                   22871:   return 0;
                   22872: }
                   22873: _ACEOF
1.237     moko     22874: if ac_fn_c_try_compile "$LINENO"
                   22875: then :
                   22876:   printf "%s\n" "#define HAVE_TM_TZADJ 1" >>confdefs.h
                   22877:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22878: printf "%s\n" "yes" >&6; }
                   22879: else case e in #(
                   22880:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22881: printf "%s\n" "no" >&6; }
                   22882:    ;;
                   22883: esac
1.62      paf      22884: fi
1.237     moko     22885: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       paf      22886: 
1.229     moko     22887: 
1.237     moko     22888: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gettid" >&5
                   22889: printf %s "checking for gettid... " >&6; }
1.229     moko     22890: 
                   22891:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.206     moko     22892: /* end confdefs.h.  */
                   22893: 
                   22894: #include <sys/types.h>
1.247     moko     22895: #include <unistd.h>
1.206     moko     22896: #include <sys/syscall.h>
                   22897: 
                   22898: int
1.237     moko     22899: main (void)
1.206     moko     22900: {
                   22901: uint tid=syscall(__NR_gettid);
                   22902:   ;
                   22903:   return 0;
                   22904: }
                   22905: _ACEOF
1.237     moko     22906: if ac_fn_c_try_compile "$LINENO"
                   22907: then :
                   22908:   printf "%s\n" "#define HAVE_GETTID 1" >>confdefs.h
                   22909:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22910: printf "%s\n" "yes" >&6; }
                   22911: else case e in #(
                   22912:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22913: printf "%s\n" "no" >&6; }
                   22914:    ;;
                   22915: esac
1.206     moko     22916: fi
1.237     moko     22917: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.206     moko     22918: 
1.229     moko     22919: 
1.237     moko     22920: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5
                   22921: printf %s "checking for TLS... " >&6; }
1.229     moko     22922: 
                   22923:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.208     moko     22924: /* end confdefs.h.  */
1.209     moko     22925: __thread int i=0;
1.208     moko     22926: int
1.237     moko     22927: main (void)
1.208     moko     22928: {
1.209     moko     22929: 
1.208     moko     22930:   ;
                   22931:   return 0;
                   22932: }
                   22933: _ACEOF
1.237     moko     22934: if ac_fn_c_try_compile "$LINENO"
                   22935: then :
                   22936:   printf "%s\n" "#define HAVE_TLS 1" >>confdefs.h
                   22937:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22938: printf "%s\n" "yes" >&6; }
                   22939: else case e in #(
                   22940:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22941: printf "%s\n" "no" >&6; }
                   22942:    ;;
                   22943: esac
1.208     moko     22944: fi
1.237     moko     22945: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.208     moko     22946: 
1.229     moko     22947: 
1.237     moko     22948: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 0..9999 year date range support" >&5
                   22949: printf %s "checking for 0..9999 year date range support... " >&6; }
                   22950: if test "$cross_compiling" = yes
                   22951: then :
                   22952:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22953: printf "%s\n" "no" >&6; }
                   22954: else case e in #(
                   22955:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22956: /* end confdefs.h.  */
1.176     moko     22957: 
                   22958: #include <string.h>
1.66      paf      22959: #include <time.h>
1.176     moko     22960: 
                   22961: int main() {
                   22962:        struct tm tmL,tmH;
                   22963:        memset(&tmL, 0, sizeof(tmL));
                   22964:        memset(&tmH, 0, sizeof(tmH));
                   22965:        tmL.tm_year=-1900;
                   22966:        tmL.tm_mon=-1;
                   22967:        tmH.tm_year=9999-1900;
                   22968:        tmH.tm_mon=12-1;
                   22969:        tmH.tm_mday=31;
                   22970:        return mktime(&tmL)==-1 || mktime(&tmH)==-1;
1.62      paf      22971: }
1.176     moko     22972: 
1.62      paf      22973: _ACEOF
1.237     moko     22974: if ac_fn_c_try_run "$LINENO"
                   22975: then :
                   22976:   printf "%s\n" "#define PA_DATE64 1" >>confdefs.h
                   22977:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22978: printf "%s\n" "yes" >&6; }
                   22979: else case e in #(
                   22980:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22981: printf "%s\n" "no" >&6; } ;;
                   22982: esac
1.62      paf      22983: fi
1.176     moko     22984: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1.237     moko     22985:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   22986: esac
1.176     moko     22987: fi
1.31      paf      22988: 
1.1       paf      22989: 
                   22990: 
                   22991: 
1.62      paf      22992: 
                   22993: 
                   22994: 
1.206     moko     22995: 
1.208     moko     22996: 
1.150     moko     22997: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      22998: 
                   22999: 
1.200     moko     23000: 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      23001: 
                   23002: cat >confcache <<\_ACEOF
1.1       paf      23003: # This file is a shell script that caches the results of configure
                   23004: # tests run on this system so they can be shared between configure
1.62      paf      23005: # scripts and configure runs, see configure's option --config-cache.
                   23006: # It is not useful on other systems.  If it contains results you don't
                   23007: # want to keep, you may remove or edit it.
1.1       paf      23008: #
1.62      paf      23009: # config.status only pays attention to the cache file if you give it
                   23010: # the --recheck option to rerun configure.
1.1       paf      23011: #
1.237     moko     23012: # 'ac_cv_env_foo' variables (set or unset) will be overridden when
                   23013: # loading this file, other *unset* 'ac_cv_foo' will be assigned the
1.62      paf      23014: # following values.
                   23015: 
                   23016: _ACEOF
                   23017: 
1.1       paf      23018: # The following way of writing the cache mishandles newlines in values,
                   23019: # but we know of no workaround that is simple, portable, and efficient.
1.150     moko     23020: # So, we kill variables containing newlines.
1.1       paf      23021: # Ultrix sh set writes to stderr and can't be redirected directly,
                   23022: # and sets the high bit in the cache file unless we assign to the vars.
1.150     moko     23023: (
                   23024:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   23025:     eval ac_val=\$$ac_var
                   23026:     case $ac_val in #(
                   23027:     *${as_nl}*)
                   23028:       case $ac_var in #(
1.237     moko     23029:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   23030: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.150     moko     23031:       esac
                   23032:       case $ac_var in #(
                   23033:       _ | IFS | as_nl) ;; #(
                   23034:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   23035:       *) { eval $ac_var=; unset $ac_var;} ;;
                   23036:       esac ;;
                   23037:     esac
                   23038:   done
                   23039: 
1.62      paf      23040:   (set) 2>&1 |
1.150     moko     23041:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   23042:     *${as_nl}ac_space=\ *)
1.237     moko     23043:       # 'set' does not quote correctly, so add quotes: double-quote
1.150     moko     23044:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      23045:       sed -n \
1.86      paf      23046:        "s/'/'\\\\''/g;
                   23047:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150     moko     23048:       ;; #(
1.62      paf      23049:     *)
1.237     moko     23050:       # 'set' quotes correctly as required by POSIX, so do not add quotes.
1.150     moko     23051:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      23052:       ;;
1.150     moko     23053:     esac |
                   23054:     sort
                   23055: ) |
1.62      paf      23056:   sed '
1.150     moko     23057:      /^ac_cv_env_/b end
1.62      paf      23058:      t clear
1.150     moko     23059:      :clear
1.237     moko     23060:      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1.62      paf      23061:      t end
1.150     moko     23062:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   23063:      :end' >>confcache
                   23064: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   23065:   if test -w "$cache_file"; then
                   23066:     if test "x$cache_file" != "x/dev/null"; then
1.237     moko     23067:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   23068: printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1.150     moko     23069:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   23070:        cat confcache >"$cache_file"
                   23071:       else
                   23072:         case $cache_file in #(
                   23073:         */* | ?:*)
                   23074:          mv -f confcache "$cache_file"$$ &&
                   23075:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   23076:         *)
                   23077:          mv -f confcache "$cache_file" ;;
                   23078:        esac
                   23079:       fi
                   23080:     fi
1.1       paf      23081:   else
1.237     moko     23082:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   23083: printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      23084:   fi
                   23085: fi
                   23086: rm -f confcache
                   23087: 
                   23088: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   23089: # Let make expand exec_prefix.
                   23090: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   23091: 
1.62      paf      23092: DEFS=-DHAVE_CONFIG_H
                   23093: 
                   23094: ac_libobjs=
                   23095: ac_ltlibobjs=
1.229     moko     23096: U=
1.62      paf      23097: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   23098:   # 1. Remove the extension, and $U if already installed.
1.150     moko     23099:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.237     moko     23100:   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1.150     moko     23101:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   23102:   #    will be set to the directory where LIBOBJS objects are built.
                   23103:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   23104:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      23105: done
                   23106: LIBOBJS=$ac_libobjs
                   23107: 
                   23108: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      23109: 
                   23110: 
1.237     moko     23111: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
                   23112: printf %s "checking that generated files are newer than configure... " >&6; }
1.187     moko     23113:    if test -n "$am_sleep_pid"; then
                   23114:      # Hide warnings about reused PIDs.
                   23115:      wait $am_sleep_pid 2>/dev/null
                   23116:    fi
1.237     moko     23117:    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
                   23118: printf "%s\n" "done" >&6; }
                   23119: case $enable_silent_rules in # (((
                   23120:   yes) AM_DEFAULT_VERBOSITY=0;;
                   23121:    no) AM_DEFAULT_VERBOSITY=1;;
                   23122: esac
                   23123: if test $am_cv_make_support_nested_variables = yes; then
                   23124:     AM_V='$(V)'
                   23125:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
                   23126: else
                   23127:   AM_V=$AM_DEFAULT_VERBOSITY
                   23128:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
                   23129: fi
                   23130: 
1.150     moko     23131:  if test -n "$EXEEXT"; then
                   23132:   am__EXEEXT_TRUE=
                   23133:   am__EXEEXT_FALSE='#'
                   23134: else
                   23135:   am__EXEEXT_TRUE='#'
                   23136:   am__EXEEXT_FALSE=
                   23137: fi
                   23138: 
1.62      paf      23139: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150     moko     23140:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   23141: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      23142: fi
1.66      paf      23143: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150     moko     23144:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   23145: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      23146: fi
1.66      paf      23147: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150     moko     23148:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   23149: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      23150: fi
1.122     moko     23151: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150     moko     23152:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
                   23153: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      23154: fi
1.128     moko     23155: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150     moko     23156:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   23157: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     23158: fi
                   23159: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150     moko     23160:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   23161: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     23162: fi
1.237     moko     23163: if test -z "${LTARGZH_EXISTS_TRUE}" && test -z "${LTARGZH_EXISTS_FALSE}"; then
                   23164:   as_fn_error $? "conditional \"LTARGZH_EXISTS\" was never defined.
                   23165: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23166: fi
1.150     moko     23167: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     23168: 
                   23169:     _ltdl_libobjs=
                   23170:     _ltdl_ltlibobjs=
                   23171:     if test -n "$_LT_LIBOBJS"; then
                   23172:       # Remove the extension.
                   23173:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
1.237     moko     23174:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | $SED "$_lt_sed_drop_objext" | sort -u`; do
1.128     moko     23175:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   23176:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   23177:       done
                   23178:     fi
                   23179:     ltdl_LIBOBJS=$_ltdl_libobjs
                   23180: 
                   23181:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   23182: 
                   23183: 
1.62      paf      23184: 
1.237     moko     23185: # Check whether --enable-year2038 was given.
                   23186: if test ${enable_year2038+y}
                   23187: then :
                   23188:   enableval=$enable_year2038;
                   23189: fi
                   23190: 
1.150     moko     23191: 
                   23192: : "${CONFIG_STATUS=./config.status}"
                   23193: ac_write_fail=0
1.62      paf      23194: ac_clean_files_save=$ac_clean_files
                   23195: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.237     moko     23196: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   23197: printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1.150     moko     23198: as_write_fail=0
                   23199: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      23200: #! $SHELL
                   23201: # Generated by $as_me.
                   23202: # Run this file to recreate the current configuration.
                   23203: # Compiler output produced by configure, useful for debugging
                   23204: # configure, is in config.log if it exists.
                   23205: 
                   23206: debug=false
                   23207: ac_cs_recheck=false
                   23208: ac_cs_silent=false
1.150     moko     23209: 
1.62      paf      23210: SHELL=\${CONFIG_SHELL-$SHELL}
1.150     moko     23211: export SHELL
                   23212: _ASEOF
                   23213: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   23214: ## -------------------- ##
                   23215: ## M4sh Initialization. ##
                   23216: ## -------------------- ##
1.62      paf      23217: 
1.150     moko     23218: # Be more Bourne compatible
                   23219: DUALCASE=1; export DUALCASE # for MKS sh
1.237     moko     23220: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
                   23221: then :
1.62      paf      23222:   emulate sh
                   23223:   NULLCMD=:
1.150     moko     23224:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      23225:   # is contrary to our usage.  Disable this feature.
                   23226:   alias -g '${1+"$@"}'='"$@"'
1.150     moko     23227:   setopt NO_GLOB_SUBST
1.237     moko     23228: else case e in #(
                   23229:   e) case `(set -o) 2>/dev/null` in #(
1.150     moko     23230:   *posix*) :
                   23231:     set -o posix ;; #(
                   23232:   *) :
                   23233:      ;;
1.237     moko     23234: esac ;;
1.150     moko     23235: esac
                   23236: fi
                   23237: 
                   23238: 
1.237     moko     23239: 
                   23240: # Reset variables that may have inherited troublesome values from
                   23241: # the environment.
                   23242: 
                   23243: # IFS needs to be set, to space, tab, and newline, in precisely that order.
                   23244: # (If _AS_PATH_WALK were called with IFS unset, it would have the
                   23245: # side effect of setting IFS to empty, thus disabling word splitting.)
                   23246: # Quoting is to prevent editors from complaining about space-tab.
1.150     moko     23247: as_nl='
                   23248: '
                   23249: export as_nl
1.237     moko     23250: IFS=" ""       $as_nl"
                   23251: 
                   23252: PS1='$ '
                   23253: PS2='> '
                   23254: PS4='+ '
                   23255: 
                   23256: # Ensure predictable behavior from utilities with locale-dependent output.
                   23257: LC_ALL=C
                   23258: export LC_ALL
                   23259: LANGUAGE=C
                   23260: export LANGUAGE
                   23261: 
                   23262: # We cannot yet rely on "unset" to work, but we need these variables
                   23263: # to be unset--not just set to an empty or harmless value--now, to
                   23264: # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
                   23265: # also avoids known problems related to "unset" and subshell syntax
                   23266: # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
                   23267: for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
                   23268: do eval test \${$as_var+y} \
                   23269:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   23270: done
                   23271: 
                   23272: # Ensure that fds 0, 1, and 2 are open.
                   23273: if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
                   23274: if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
                   23275: if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
1.62      paf      23276: 
1.150     moko     23277: # The user is always right.
1.237     moko     23278: if ${PATH_SEPARATOR+false} :; then
1.150     moko     23279:   PATH_SEPARATOR=:
                   23280:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   23281:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   23282:       PATH_SEPARATOR=';'
                   23283:   }
1.62      paf      23284: fi
                   23285: 
                   23286: 
1.150     moko     23287: # Find who we are.  Look in the path if we contain no directory separator.
                   23288: as_myself=
                   23289: case $0 in #((
                   23290:   *[\\/]* ) as_myself=$0 ;;
                   23291:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   23292: for as_dir in $PATH
                   23293: do
                   23294:   IFS=$as_save_IFS
1.237     moko     23295:   case $as_dir in #(((
                   23296:     '') as_dir=./ ;;
                   23297:     */) ;;
                   23298:     *) as_dir=$as_dir/ ;;
                   23299:   esac
                   23300:     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1.150     moko     23301:   done
                   23302: IFS=$as_save_IFS
                   23303: 
                   23304:      ;;
                   23305: esac
1.237     moko     23306: # We did not find ourselves, most probably we were run as 'sh COMMAND'
1.150     moko     23307: # in which case we are not to be found in the path.
                   23308: if test "x$as_myself" = x; then
                   23309:   as_myself=$0
                   23310: fi
                   23311: if test ! -f "$as_myself"; then
1.237     moko     23312:   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.150     moko     23313:   exit 1
                   23314: fi
                   23315: 
                   23316: 
                   23317: 
                   23318: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   23319: # ----------------------------------------
                   23320: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   23321: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   23322: # script with STATUS, using 1 if that was 0.
                   23323: as_fn_error ()
                   23324: {
                   23325:   as_status=$1; test $as_status -eq 0 && as_status=1
                   23326:   if test "$4"; then
                   23327:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.237     moko     23328:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.150     moko     23329:   fi
1.237     moko     23330:   printf "%s\n" "$as_me: error: $2" >&2
1.150     moko     23331:   as_fn_exit $as_status
                   23332: } # as_fn_error
                   23333: 
                   23334: 
                   23335: # as_fn_set_status STATUS
                   23336: # -----------------------
                   23337: # Set $? to STATUS, without forking.
                   23338: as_fn_set_status ()
                   23339: {
                   23340:   return $1
                   23341: } # as_fn_set_status
                   23342: 
                   23343: # as_fn_exit STATUS
                   23344: # -----------------
                   23345: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   23346: as_fn_exit ()
                   23347: {
                   23348:   set +e
                   23349:   as_fn_set_status $1
                   23350:   exit $1
                   23351: } # as_fn_exit
                   23352: 
                   23353: # as_fn_unset VAR
                   23354: # ---------------
                   23355: # Portably unset VAR.
                   23356: as_fn_unset ()
                   23357: {
                   23358:   { eval $1=; unset $1;}
                   23359: }
                   23360: as_unset=as_fn_unset
1.237     moko     23361: 
1.150     moko     23362: # as_fn_append VAR VALUE
                   23363: # ----------------------
                   23364: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   23365: # advantage of any shell optimizations that allow amortized linear growth over
                   23366: # repeated appends, instead of the typical quadratic growth present in naive
                   23367: # implementations.
1.237     moko     23368: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
                   23369: then :
1.150     moko     23370:   eval 'as_fn_append ()
                   23371:   {
                   23372:     eval $1+=\$2
                   23373:   }'
1.237     moko     23374: else case e in #(
                   23375:   e) as_fn_append ()
1.150     moko     23376:   {
                   23377:     eval $1=\$$1\$2
1.237     moko     23378:   } ;;
                   23379: esac
1.150     moko     23380: fi # as_fn_append
                   23381: 
                   23382: # as_fn_arith ARG...
                   23383: # ------------------
                   23384: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   23385: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   23386: # must be portable across $(()) and expr.
1.237     moko     23387: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
                   23388: then :
1.150     moko     23389:   eval 'as_fn_arith ()
                   23390:   {
                   23391:     as_val=$(( $* ))
                   23392:   }'
1.237     moko     23393: else case e in #(
                   23394:   e) as_fn_arith ()
1.150     moko     23395:   {
                   23396:     as_val=`expr "$@" || test $? -eq 1`
1.237     moko     23397:   } ;;
                   23398: esac
1.150     moko     23399: fi # as_fn_arith
                   23400: 
1.1       paf      23401: 
1.150     moko     23402: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   23403:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      23404:   as_expr=expr
                   23405: else
                   23406:   as_expr=false
                   23407: fi
                   23408: 
1.150     moko     23409: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      23410:   as_basename=basename
                   23411: else
                   23412:   as_basename=false
                   23413: fi
                   23414: 
1.150     moko     23415: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   23416:   as_dirname=dirname
                   23417: else
                   23418:   as_dirname=false
                   23419: fi
1.62      paf      23420: 
1.150     moko     23421: as_me=`$as_basename -- "$0" ||
1.62      paf      23422: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   23423:         X"$0" : 'X\(//\)$' \| \
1.150     moko     23424:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     23425: printf "%s\n" X/"$0" |
1.150     moko     23426:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   23427:            s//\1/
                   23428:            q
                   23429:          }
                   23430:          /^X\/\(\/\/\)$/{
                   23431:            s//\1/
                   23432:            q
                   23433:          }
                   23434:          /^X\/\(\/\).*/{
                   23435:            s//\1/
                   23436:            q
                   23437:          }
                   23438:          s/.*/./; q'`
1.62      paf      23439: 
                   23440: # Avoid depending upon Character Ranges.
                   23441: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   23442: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   23443: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   23444: as_cr_digits='0123456789'
                   23445: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   23446: 
1.237     moko     23447: 
                   23448: # Determine whether it's possible to make 'echo' print without a newline.
                   23449: # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
                   23450: # for compatibility with existing Makefiles.
1.150     moko     23451: ECHO_C= ECHO_N= ECHO_T=
                   23452: case `echo -n x` in #(((((
                   23453: -n*)
                   23454:   case `echo 'xy\c'` in
                   23455:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   23456:   xy)  ECHO_C='\c';;
                   23457:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   23458:        ECHO_T='        ';;
                   23459:   esac;;
                   23460: *)
                   23461:   ECHO_N='-n';;
1.62      paf      23462: esac
                   23463: 
1.237     moko     23464: # For backward compatibility with old third-party macros, we provide
                   23465: # the shell variables $as_echo and $as_echo_n.  New code should use
                   23466: # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
                   23467: as_echo='printf %s\n'
                   23468: as_echo_n='printf %s'
                   23469: 
1.150     moko     23470: rm -f conf$$ conf$$.exe conf$$.file
                   23471: if test -d conf$$.dir; then
                   23472:   rm -f conf$$.dir/conf$$.file
1.62      paf      23473: else
1.150     moko     23474:   rm -f conf$$.dir
                   23475:   mkdir conf$$.dir 2>/dev/null
1.62      paf      23476: fi
1.150     moko     23477: if (echo >conf$$.file) 2>/dev/null; then
                   23478:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   23479:     as_ln_s='ln -s'
                   23480:     # ... but there are two gotchas:
1.237     moko     23481:     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
                   23482:     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
                   23483:     # In both cases, we have to default to 'cp -pR'.
1.150     moko     23484:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.166     moko     23485:       as_ln_s='cp -pR'
1.150     moko     23486:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   23487:     as_ln_s=ln
                   23488:   else
1.166     moko     23489:     as_ln_s='cp -pR'
1.62      paf      23490:   fi
                   23491: else
1.166     moko     23492:   as_ln_s='cp -pR'
1.62      paf      23493: fi
1.150     moko     23494: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   23495: rmdir conf$$.dir 2>/dev/null
                   23496: 
                   23497: 
                   23498: # as_fn_mkdir_p
                   23499: # -------------
                   23500: # Create "$as_dir" as a directory, including parents if necessary.
                   23501: as_fn_mkdir_p ()
                   23502: {
                   23503: 
                   23504:   case $as_dir in #(
                   23505:   -*) as_dir=./$as_dir;;
                   23506:   esac
                   23507:   test -d "$as_dir" || eval $as_mkdir_p || {
                   23508:     as_dirs=
                   23509:     while :; do
                   23510:       case $as_dir in #(
1.237     moko     23511:       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.150     moko     23512:       *) as_qdir=$as_dir;;
                   23513:       esac
                   23514:       as_dirs="'$as_qdir' $as_dirs"
                   23515:       as_dir=`$as_dirname -- "$as_dir" ||
                   23516: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   23517:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   23518:         X"$as_dir" : 'X\(//\)$' \| \
                   23519:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     23520: printf "%s\n" X"$as_dir" |
1.150     moko     23521:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   23522:            s//\1/
                   23523:            q
                   23524:          }
                   23525:          /^X\(\/\/\)[^/].*/{
                   23526:            s//\1/
                   23527:            q
                   23528:          }
                   23529:          /^X\(\/\/\)$/{
                   23530:            s//\1/
                   23531:            q
                   23532:          }
                   23533:          /^X\(\/\).*/{
                   23534:            s//\1/
                   23535:            q
                   23536:          }
                   23537:          s/.*/./; q'`
                   23538:       test -d "$as_dir" && break
                   23539:     done
                   23540:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   23541:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   23542: 
1.62      paf      23543: 
1.150     moko     23544: } # as_fn_mkdir_p
1.62      paf      23545: if mkdir -p . 2>/dev/null; then
1.150     moko     23546:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      23547: else
1.86      paf      23548:   test -d ./-p && rmdir ./-p
1.62      paf      23549:   as_mkdir_p=false
                   23550: fi
                   23551: 
1.166     moko     23552: 
                   23553: # as_fn_executable_p FILE
                   23554: # -----------------------
                   23555: # Test if FILE is an executable regular file.
                   23556: as_fn_executable_p ()
                   23557: {
                   23558:   test -f "$1" && test -x "$1"
                   23559: } # as_fn_executable_p
                   23560: as_test_x='test -x'
                   23561: as_executable_p=as_fn_executable_p
1.62      paf      23562: 
                   23563: # Sed expression to map a string onto a valid CPP name.
1.237     moko     23564: as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   23565: as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
1.62      paf      23566: 
                   23567: # Sed expression to map a string onto a valid variable name.
1.237     moko     23568: as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   23569: as_tr_sh="eval sed '$as_sed_sh'" # deprecated
1.62      paf      23570: 
                   23571: 
                   23572: exec 6>&1
1.150     moko     23573: ## ----------------------------------- ##
                   23574: ## Main body of $CONFIG_STATUS script. ##
                   23575: ## ----------------------------------- ##
                   23576: _ASEOF
                   23577: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      23578: 
1.150     moko     23579: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   23580: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      23581: # report actual input values of CONFIG_FILES etc. instead of their
1.150     moko     23582: # values after options handling.
                   23583: ac_log="
1.230     moko     23584: This file was extended by parser $as_me 3.5.2b, which was
1.237     moko     23585: generated by GNU Autoconf 2.72.  Invocation command line was
1.62      paf      23586: 
                   23587:   CONFIG_FILES    = $CONFIG_FILES
                   23588:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   23589:   CONFIG_LINKS    = $CONFIG_LINKS
                   23590:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   23591:   $ $0 $@
                   23592: 
1.150     moko     23593: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   23594: "
                   23595: 
1.62      paf      23596: _ACEOF
                   23597: 
1.150     moko     23598: case $ac_config_files in *"
                   23599: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   23600: esac
1.62      paf      23601: 
1.150     moko     23602: case $ac_config_headers in *"
                   23603: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   23604: esac
1.62      paf      23605: 
                   23606: 
1.150     moko     23607: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   23608: # Files that config.status was made for.
                   23609: config_files="$ac_config_files"
                   23610: config_headers="$ac_config_headers"
                   23611: config_commands="$ac_config_commands"
1.62      paf      23612: 
1.150     moko     23613: _ACEOF
1.62      paf      23614: 
1.150     moko     23615: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      23616: ac_cs_usage="\
1.237     moko     23617: '$as_me' instantiates files and other configuration actions
1.150     moko     23618: from templates according to the current configuration.  Unless the files
                   23619: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      23620: 
1.150     moko     23621: Usage: $0 [OPTION]... [TAG]...
1.62      paf      23622: 
                   23623:   -h, --help       print this help, then exit
1.150     moko     23624:   -V, --version    print version number and configuration settings, then exit
                   23625:       --config     print configuration, then exit
                   23626:   -q, --quiet, --silent
                   23627:                    do not print progress messages
1.62      paf      23628:   -d, --debug      don't remove temporary files
                   23629:       --recheck    update $as_me by reconfiguring in the same conditions
1.150     moko     23630:       --file=FILE[:TEMPLATE]
                   23631:                    instantiate the configuration file FILE
                   23632:       --header=FILE[:TEMPLATE]
                   23633:                    instantiate the configuration header FILE
1.62      paf      23634: 
                   23635: Configuration files:
                   23636: $config_files
                   23637: 
                   23638: Configuration headers:
                   23639: $config_headers
                   23640: 
                   23641: Configuration commands:
                   23642: $config_commands
                   23643: 
1.150     moko     23644: Report bugs to the package provider."
                   23645: 
1.62      paf      23646: _ACEOF
1.237     moko     23647: ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
                   23648: ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1.150     moko     23649: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.237     moko     23650: ac_cs_config='$ac_cs_config_escaped'
1.62      paf      23651: ac_cs_version="\\
1.230     moko     23652: parser config.status 3.5.2b
1.237     moko     23653: configured by $0, generated by GNU Autoconf 2.72,
1.150     moko     23654:   with options \\"\$ac_cs_config\\"
1.62      paf      23655: 
1.237     moko     23656: Copyright (C) 2023 Free Software Foundation, Inc.
1.62      paf      23657: This config.status script is free software; the Free Software Foundation
                   23658: gives unlimited permission to copy, distribute and modify it."
1.150     moko     23659: 
                   23660: ac_pwd='$ac_pwd'
                   23661: srcdir='$srcdir'
                   23662: INSTALL='$INSTALL'
                   23663: MKDIR_P='$MKDIR_P'
                   23664: AWK='$AWK'
                   23665: test -n "\$AWK" || AWK=awk
1.62      paf      23666: _ACEOF
                   23667: 
1.150     moko     23668: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   23669: # The default lists apply if the user does not specify any file.
1.62      paf      23670: ac_need_defaults=:
                   23671: while test $# != 0
                   23672: do
                   23673:   case $1 in
1.150     moko     23674:   --*=?*)
                   23675:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   23676:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      23677:     ac_shift=:
                   23678:     ;;
1.150     moko     23679:   --*=)
                   23680:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   23681:     ac_optarg=
                   23682:     ac_shift=:
                   23683:     ;;
                   23684:   *)
1.62      paf      23685:     ac_option=$1
                   23686:     ac_optarg=$2
                   23687:     ac_shift=shift
                   23688:     ;;
                   23689:   esac
                   23690: 
                   23691:   case $ac_option in
                   23692:   # Handling of the options.
                   23693:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   23694:     ac_cs_recheck=: ;;
1.150     moko     23695:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.237     moko     23696:     printf "%s\n" "$ac_cs_version"; exit ;;
1.150     moko     23697:   --config | --confi | --conf | --con | --co | --c )
1.237     moko     23698:     printf "%s\n" "$ac_cs_config"; exit ;;
1.150     moko     23699:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      23700:     debug=: ;;
                   23701:   --file | --fil | --fi | --f )
                   23702:     $ac_shift
1.150     moko     23703:     case $ac_optarg in
1.237     moko     23704:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.150     moko     23705:     '') as_fn_error $? "missing file argument" ;;
                   23706:     esac
                   23707:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      23708:     ac_need_defaults=false;;
                   23709:   --header | --heade | --head | --hea )
                   23710:     $ac_shift
1.150     moko     23711:     case $ac_optarg in
1.237     moko     23712:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.150     moko     23713:     esac
                   23714:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      23715:     ac_need_defaults=false;;
1.150     moko     23716:   --he | --h)
                   23717:     # Conflict between --help and --header
1.237     moko     23718:     as_fn_error $? "ambiguous option: '$1'
                   23719: Try '$0 --help' for more information.";;
1.150     moko     23720:   --help | --hel | -h )
1.237     moko     23721:     printf "%s\n" "$ac_cs_usage"; exit ;;
1.62      paf      23722:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   23723:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   23724:     ac_cs_silent=: ;;
                   23725: 
                   23726:   # This is an error.
1.237     moko     23727:   -*) as_fn_error $? "unrecognized option: '$1'
                   23728: Try '$0 --help' for more information." ;;
1.62      paf      23729: 
1.150     moko     23730:   *) as_fn_append ac_config_targets " $1"
                   23731:      ac_need_defaults=false ;;
1.62      paf      23732: 
                   23733:   esac
                   23734:   shift
                   23735: done
                   23736: 
                   23737: ac_configure_extra_args=
                   23738: 
                   23739: if $ac_cs_silent; then
                   23740:   exec 6>/dev/null
1.150     moko     23741:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   23742: fi
                   23743: 
                   23744: _ACEOF
                   23745: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   23746: if \$ac_cs_recheck; then
1.166     moko     23747:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.150     moko     23748:   shift
1.237     moko     23749:   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1.150     moko     23750:   CONFIG_SHELL='$SHELL'
                   23751:   export CONFIG_SHELL
                   23752:   exec "\$@"
                   23753: fi
                   23754: 
                   23755: _ACEOF
                   23756: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   23757: exec 5>>config.log
                   23758: {
                   23759:   echo
                   23760:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   23761: ## Running $as_me. ##
                   23762: _ASBOX
1.237     moko     23763:   printf "%s\n" "$ac_log"
1.150     moko     23764: } >&5
1.62      paf      23765: 
                   23766: _ACEOF
1.150     moko     23767: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      23768: #
1.150     moko     23769: # INIT-COMMANDS
1.1       paf      23770: #
1.199     moko     23771: AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1.62      paf      23772: 
1.128     moko     23773: 
                   23774: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   23775: # if CDPATH is set.
                   23776: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   23777: 
                   23778: sed_quote_subst='$sed_quote_subst'
                   23779: double_quote_subst='$double_quote_subst'
                   23780: delay_variable_subst='$delay_variable_subst'
                   23781: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   23782: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   23783: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   23784: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   23785: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     23786: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     23787: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     23788: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     23789: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
1.237     moko     23790: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
1.128     moko     23791: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   23792: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   23793: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   23794: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   23795: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   23796: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   23797: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   23798: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   23799: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   23800: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   23801: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   23802: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   23803: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   23804: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   23805: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   23806: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   23807: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   23808: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   23809: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   23810: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   23811: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   23812: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   23813: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   23814: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   23815: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   23816: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   23817: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
1.237     moko     23818: FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
1.128     moko     23819: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   23820: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   23821: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   23822: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   23823: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   23824: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
1.237     moko     23825: lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
1.128     moko     23826: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   23827: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   23828: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   23829: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   23830: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   23831: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   23832: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   23833: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   23834: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   23835: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   23836: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   23837: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   23838: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   23839: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
1.237     moko     23840: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
1.128     moko     23841: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   23842: 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     23843: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
1.128     moko     23844: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   23845: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
1.237     moko     23846: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
1.128     moko     23847: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   23848: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   23849: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   23850: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   23851: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   23852: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   23853: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   23854: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   23855: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   23856: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   23857: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   23858: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   23859: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   23860: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   23861: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   23862: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   23863: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   23864: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   23865: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   23866: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   23867: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   23868: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   23869: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   23870: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   23871: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   23872: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   23873: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   23874: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   23875: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   23876: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   23877: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   23878: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   23879: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   23880: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   23881: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   23882: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   23883: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   23884: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   23885: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   23886: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   23887: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   23888: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   23889: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   23890: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   23891: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   23892: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   23893: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   23894: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   23895: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   23896: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   23897: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   23898: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   23899: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   23900: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   23901: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   23902: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   23903: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   23904: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   23905: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   23906: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   23907: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   23908: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   23909: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   23910: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
1.237     moko     23911: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
                   23912: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
1.128     moko     23913: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   23914: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   23915: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   23916: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   23917: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   23918: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   23919: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   23920: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   23921: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   23922: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   23923: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   23924: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   23925: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   23926: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   23927: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23928: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23929: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   23930: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   23931: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   23932: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   23933: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   23934: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   23935: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   23936: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   23937: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   23938: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   23939: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   23940: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   23941: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23942: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23943: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23944: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23945: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23946: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23947: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   23948: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   23949: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   23950: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   23951: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   23952: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   23953: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   23954: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   23955: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   23956: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   23957: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   23958: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   23959: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   23960: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23961: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   23962: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   23963: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23964: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23965: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   23966: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   23967: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   23968: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   23969: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   23970: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   23971: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   23972: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   23973: 
                   23974: LTCC='$LTCC'
                   23975: LTCFLAGS='$LTCFLAGS'
                   23976: compiler='$compiler_DEFAULT'
                   23977: 
                   23978: # A function that is used when there is no print builtin or printf.
                   23979: func_fallback_echo ()
                   23980: {
                   23981:   eval 'cat <<_LTECHO_EOF
                   23982: \$1
                   23983: _LTECHO_EOF'
                   23984: }
                   23985: 
                   23986: # Quote evaled strings.
                   23987: for var in AS \
                   23988: DLLTOOL \
                   23989: OBJDUMP \
                   23990: SHELL \
                   23991: ECHO \
                   23992: PATH_SEPARATOR \
                   23993: SED \
                   23994: GREP \
                   23995: EGREP \
                   23996: FGREP \
                   23997: LD \
                   23998: NM \
                   23999: LN_S \
                   24000: lt_SP2NL \
                   24001: lt_NL2SP \
                   24002: reload_flag \
1.237     moko     24003: FILECMD \
1.128     moko     24004: deplibs_check_method \
                   24005: file_magic_cmd \
                   24006: file_magic_glob \
                   24007: want_nocaseglob \
                   24008: sharedlib_from_linklib_cmd \
                   24009: AR \
                   24010: archiver_list_spec \
                   24011: STRIP \
                   24012: RANLIB \
                   24013: CC \
                   24014: CFLAGS \
                   24015: compiler \
                   24016: lt_cv_sys_global_symbol_pipe \
                   24017: lt_cv_sys_global_symbol_to_cdecl \
1.237     moko     24018: lt_cv_sys_global_symbol_to_import \
1.128     moko     24019: lt_cv_sys_global_symbol_to_c_name_address \
                   24020: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
1.237     moko     24021: lt_cv_nm_interface \
1.128     moko     24022: nm_file_list_spec \
1.237     moko     24023: lt_cv_truncate_bin \
1.128     moko     24024: lt_prog_compiler_no_builtin_flag \
                   24025: lt_prog_compiler_pic \
                   24026: lt_prog_compiler_wl \
                   24027: lt_prog_compiler_static \
                   24028: lt_cv_prog_compiler_c_o \
                   24029: need_locks \
                   24030: MANIFEST_TOOL \
                   24031: DSYMUTIL \
                   24032: NMEDIT \
                   24033: LIPO \
                   24034: OTOOL \
                   24035: OTOOL64 \
                   24036: shrext_cmds \
                   24037: export_dynamic_flag_spec \
                   24038: whole_archive_flag_spec \
                   24039: compiler_needs_object \
                   24040: with_gnu_ld \
                   24041: allow_undefined_flag \
                   24042: no_undefined_flag \
                   24043: hardcode_libdir_flag_spec \
                   24044: hardcode_libdir_separator \
                   24045: exclude_expsyms \
                   24046: include_expsyms \
                   24047: file_list_spec \
                   24048: variables_saved_for_relink \
                   24049: libname_spec \
                   24050: library_names_spec \
                   24051: soname_spec \
                   24052: install_override_mode \
                   24053: finish_eval \
                   24054: old_striplib \
                   24055: striplib \
                   24056: compiler_lib_search_dirs \
                   24057: predep_objects \
                   24058: postdep_objects \
                   24059: predeps \
                   24060: postdeps \
                   24061: compiler_lib_search_path \
                   24062: LD_CXX \
                   24063: reload_flag_CXX \
                   24064: compiler_CXX \
                   24065: lt_prog_compiler_no_builtin_flag_CXX \
                   24066: lt_prog_compiler_pic_CXX \
                   24067: lt_prog_compiler_wl_CXX \
                   24068: lt_prog_compiler_static_CXX \
                   24069: lt_cv_prog_compiler_c_o_CXX \
                   24070: export_dynamic_flag_spec_CXX \
                   24071: whole_archive_flag_spec_CXX \
                   24072: compiler_needs_object_CXX \
                   24073: with_gnu_ld_CXX \
                   24074: allow_undefined_flag_CXX \
                   24075: no_undefined_flag_CXX \
                   24076: hardcode_libdir_flag_spec_CXX \
                   24077: hardcode_libdir_separator_CXX \
                   24078: exclude_expsyms_CXX \
                   24079: include_expsyms_CXX \
                   24080: file_list_spec_CXX \
                   24081: compiler_lib_search_dirs_CXX \
                   24082: predep_objects_CXX \
                   24083: postdep_objects_CXX \
                   24084: predeps_CXX \
                   24085: postdeps_CXX \
                   24086: compiler_lib_search_path_CXX; do
                   24087:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   24088:     *[\\\\\\\`\\"\\\$]*)
1.237     moko     24089:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
1.128     moko     24090:       ;;
                   24091:     *)
                   24092:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   24093:       ;;
                   24094:     esac
                   24095: done
                   24096: 
                   24097: # Double-quote double-evaled strings.
                   24098: for var in reload_cmds \
                   24099: old_postinstall_cmds \
                   24100: old_postuninstall_cmds \
                   24101: old_archive_cmds \
                   24102: extract_expsyms_cmds \
                   24103: old_archive_from_new_cmds \
                   24104: old_archive_from_expsyms_cmds \
                   24105: archive_cmds \
                   24106: archive_expsym_cmds \
                   24107: module_cmds \
                   24108: module_expsym_cmds \
                   24109: export_symbols_cmds \
                   24110: prelink_cmds \
                   24111: postlink_cmds \
                   24112: postinstall_cmds \
                   24113: postuninstall_cmds \
                   24114: finish_cmds \
                   24115: sys_lib_search_path_spec \
1.237     moko     24116: configure_time_dlsearch_path \
                   24117: configure_time_lt_sys_library_path \
1.128     moko     24118: reload_cmds_CXX \
                   24119: old_archive_cmds_CXX \
                   24120: old_archive_from_new_cmds_CXX \
                   24121: old_archive_from_expsyms_cmds_CXX \
                   24122: archive_cmds_CXX \
                   24123: archive_expsym_cmds_CXX \
                   24124: module_cmds_CXX \
                   24125: module_expsym_cmds_CXX \
                   24126: export_symbols_cmds_CXX \
                   24127: prelink_cmds_CXX \
                   24128: postlink_cmds_CXX; do
                   24129:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   24130:     *[\\\\\\\`\\"\\\$]*)
1.237     moko     24131:       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     24132:       ;;
                   24133:     *)
                   24134:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   24135:       ;;
                   24136:     esac
                   24137: done
                   24138: 
                   24139: ac_aux_dir='$ac_aux_dir'
                   24140: 
1.237     moko     24141: # See if we are running on zsh, and set the options that allow our
1.128     moko     24142: # commands through without removal of \ escapes INIT.
1.237     moko     24143: if test -n "\${ZSH_VERSION+set}"; then
1.128     moko     24144:    setopt NO_GLOB_SUBST
                   24145: fi
                   24146: 
                   24147: 
                   24148:     PACKAGE='$PACKAGE'
                   24149:     VERSION='$VERSION'
                   24150:     RM='$RM'
                   24151:     ofile='$ofile'
                   24152: 
                   24153: 
                   24154: 
                   24155: 
                   24156: 
                   24157: 
1.62      paf      24158: _ACEOF
                   24159: 
1.150     moko     24160: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      24161: 
1.150     moko     24162: # Handling of arguments.
1.62      paf      24163: for ac_config_target in $ac_config_targets
1.1       paf      24164: do
1.150     moko     24165:   case $ac_config_target in
                   24166:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   24167:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   24168:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   24169:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   24170:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   24171:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   24172:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   24173:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   24174:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   24175:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   24176:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   24177:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   24178:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
                   24179:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   24180:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   24181:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   24182:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   24183:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   24184:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
                   24185:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   24186:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   24187:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
                   24188:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.173     moko     24189:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
                   24190:     "src/lib/punycode/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/punycode/Makefile" ;;
1.150     moko     24191:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
                   24192:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   24193:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   24194:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
                   24195:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   24196:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   24197:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
1.200     moko     24198:     "etc/auto.p") CONFIG_FILES="$CONFIG_FILES etc/auto.p" ;;
1.150     moko     24199: 
1.237     moko     24200:   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
1.1       paf      24201:   esac
                   24202: done
                   24203: 
1.150     moko     24204: 
1.62      paf      24205: # If the user did not use the arguments to specify the items to instantiate,
                   24206: # then the envvar interface is used.  Set only those that are not.
                   24207: # We use the long form for the default assignment because of an extremely
                   24208: # bizarre bug on SunOS 4.1.3.
                   24209: if $ac_need_defaults; then
1.237     moko     24210:   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
                   24211:   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
                   24212:   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
1.62      paf      24213: fi
                   24214: 
                   24215: # Have a temporary directory for convenience.  Make it in the build tree
1.150     moko     24216: # simply because there is no reason against having it here, and in addition,
1.62      paf      24217: # creating and moving files from /tmp can sometimes cause problems.
1.150     moko     24218: # Hook for its removal unless debugging.
                   24219: # Note that there is a small window in which the directory will not be cleaned:
1.237     moko     24220: # after its creation but before its name has been assigned to '$tmp'.
1.62      paf      24221: $debug ||
                   24222: {
1.150     moko     24223:   tmp= ac_tmp=
                   24224:   trap 'exit_status=$?
                   24225:   : "${ac_tmp:=$tmp}"
                   24226:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   24227: ' 0
                   24228:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      24229: }
                   24230: # Create a (secure) tmp directory for tmp files.
                   24231: 
                   24232: {
1.150     moko     24233:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   24234:   test -d "$tmp"
1.62      paf      24235: }  ||
                   24236: {
1.150     moko     24237:   tmp=./conf$$-$RANDOM
                   24238:   (umask 077 && mkdir "$tmp")
                   24239: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   24240: ac_tmp=$tmp
                   24241: 
                   24242: # Set up the scripts for CONFIG_FILES section.
                   24243: # No need to generate them if there are no CONFIG_FILES.
1.237     moko     24244: # This happens for instance with './config.status config.h'.
1.150     moko     24245: if test -n "$CONFIG_FILES"; then
                   24246: 
                   24247: 
                   24248: ac_cr=`echo X | tr X '\015'`
                   24249: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   24250: # But we know of no other shell where ac_cr would be empty at this
                   24251: # point, so we can use a bashism as a fallback.
                   24252: if test "x$ac_cr" = x; then
                   24253:   eval ac_cr=\$\'\\r\'
                   24254: fi
                   24255: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   24256: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   24257:   ac_cs_awk_cr='\\r'
                   24258: else
                   24259:   ac_cs_awk_cr=$ac_cr
                   24260: fi
                   24261: 
                   24262: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   24263: _ACEOF
                   24264: 
                   24265: 
1.62      paf      24266: {
1.150     moko     24267:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   24268:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   24269:   echo "_ACEOF"
                   24270: } >conf$$subs.sh ||
                   24271:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   24272: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   24273: ac_delim='%!_!# '
                   24274: for ac_last_try in false false false false false :; do
                   24275:   . ./conf$$subs.sh ||
                   24276:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   24277: 
                   24278:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   24279:   if test $ac_delim_n = $ac_delim_num; then
                   24280:     break
                   24281:   elif $ac_last_try; then
                   24282:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   24283:   else
                   24284:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   24285:   fi
                   24286: done
                   24287: rm -f conf$$subs.sh
                   24288: 
                   24289: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24290: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   24291: _ACEOF
                   24292: sed -n '
                   24293: h
                   24294: s/^/S["/; s/!.*/"]=/
                   24295: p
                   24296: g
                   24297: s/^[^!]*!//
                   24298: :repl
                   24299: t repl
                   24300: s/'"$ac_delim"'$//
                   24301: t delim
                   24302: :nl
                   24303: h
                   24304: s/\(.\{148\}\)..*/\1/
                   24305: t more1
                   24306: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   24307: p
                   24308: n
                   24309: b repl
                   24310: :more1
                   24311: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   24312: p
                   24313: g
                   24314: s/.\{148\}//
                   24315: t nl
                   24316: :delim
                   24317: h
                   24318: s/\(.\{148\}\)..*/\1/
                   24319: t more2
                   24320: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   24321: p
                   24322: b
                   24323: :more2
                   24324: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   24325: p
                   24326: g
                   24327: s/.\{148\}//
                   24328: t delim
                   24329: ' <conf$$subs.awk | sed '
                   24330: /^[^""]/{
                   24331:   N
                   24332:   s/\n//
                   24333: }
                   24334: ' >>$CONFIG_STATUS || ac_write_fail=1
                   24335: rm -f conf$$subs.awk
                   24336: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24337: _ACAWK
                   24338: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   24339:   for (key in S) S_is_set[key] = 1
                   24340:   FS = ""
                   24341: 
                   24342: }
                   24343: {
                   24344:   line = $ 0
                   24345:   nfields = split(line, field, "@")
                   24346:   substed = 0
                   24347:   len = length(field[1])
                   24348:   for (i = 2; i < nfields; i++) {
                   24349:     key = field[i]
                   24350:     keylen = length(key)
                   24351:     if (S_is_set[key]) {
                   24352:       value = S[key]
                   24353:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   24354:       len += length(value) + length(field[++i])
                   24355:       substed = 1
                   24356:     } else
                   24357:       len += 1 + keylen
                   24358:   }
                   24359: 
                   24360:   print line
1.62      paf      24361: }
                   24362: 
1.150     moko     24363: _ACAWK
                   24364: _ACEOF
                   24365: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24366: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   24367:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   24368: else
                   24369:   cat
                   24370: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   24371:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      24372: _ACEOF
1.1       paf      24373: 
1.150     moko     24374: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   24375: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   24376: # trailing colons and then remove the whole line if VPATH becomes empty
                   24377: # (actually we leave an empty line to preserve line numbers).
                   24378: if test "x$srcdir" = x.; then
                   24379:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   24380: h
                   24381: s///
                   24382: s/^/:/
                   24383: s/[     ]*$/:/
                   24384: s/:\$(srcdir):/:/g
                   24385: s/:\${srcdir}:/:/g
                   24386: s/:@srcdir@:/:/g
                   24387: s/^:*//
                   24388: s/:*$//
                   24389: x
                   24390: s/\(=[  ]*\).*/\1/
                   24391: G
                   24392: s/\n//
                   24393: s/^[^=]*=[      ]*$//
                   24394: }'
                   24395: fi
1.62      paf      24396: 
1.150     moko     24397: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24398: fi # test -n "$CONFIG_FILES"
1.1       paf      24399: 
1.150     moko     24400: # Set up the scripts for CONFIG_HEADERS section.
                   24401: # No need to generate them if there are no CONFIG_HEADERS.
1.237     moko     24402: # This happens for instance with './config.status Makefile'.
1.150     moko     24403: if test -n "$CONFIG_HEADERS"; then
                   24404: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   24405: BEGIN {
                   24406: _ACEOF
                   24407: 
1.237     moko     24408: # Transform confdefs.h into an awk script 'defines.awk', embedded as
1.150     moko     24409: # here-document in config.status, that substitutes the proper values into
                   24410: # config.h.in to produce config.h.
                   24411: 
                   24412: # Create a delimiter string that does not exist in confdefs.h, to ease
                   24413: # handling of long lines.
                   24414: ac_delim='%!_!# '
                   24415: for ac_last_try in false false :; do
                   24416:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   24417:   if test -z "$ac_tt"; then
                   24418:     break
                   24419:   elif $ac_last_try; then
                   24420:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   24421:   else
                   24422:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      24423:   fi
1.150     moko     24424: done
1.1       paf      24425: 
1.150     moko     24426: # For the awk script, D is an array of macro values keyed by name,
                   24427: # likewise P contains macro parameters if any.  Preserve backslash
                   24428: # newline sequences.
                   24429: 
                   24430: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   24431: sed -n '
                   24432: s/.\{148\}/&'"$ac_delim"'/g
                   24433: t rset
                   24434: :rset
                   24435: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   24436: t def
                   24437: d
                   24438: :def
                   24439: s/\\$//
                   24440: t bsnl
                   24441: s/["\\]/\\&/g
                   24442: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   24443: D["\1"]=" \3"/p
                   24444: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   24445: d
                   24446: :bsnl
                   24447: s/["\\]/\\&/g
                   24448: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   24449: D["\1"]=" \3\\\\\\n"\\/p
                   24450: t cont
                   24451: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   24452: t cont
                   24453: d
                   24454: :cont
                   24455: n
                   24456: s/.\{148\}/&'"$ac_delim"'/g
                   24457: t clear
                   24458: :clear
                   24459: s/\\$//
                   24460: t bsnlc
                   24461: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   24462: d
                   24463: :bsnlc
                   24464: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   24465: b cont
                   24466: ' <confdefs.h | sed '
                   24467: s/'"$ac_delim"'/"\\\
                   24468: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   24469: 
                   24470: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24471:   for (key in D) D_is_set[key] = 1
                   24472:   FS = ""
                   24473: }
                   24474: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   24475:   line = \$ 0
                   24476:   split(line, arg, " ")
                   24477:   if (arg[1] == "#") {
                   24478:     defundef = arg[2]
                   24479:     mac1 = arg[3]
                   24480:   } else {
                   24481:     defundef = substr(arg[1], 2)
                   24482:     mac1 = arg[2]
                   24483:   }
                   24484:   split(mac1, mac2, "(") #)
                   24485:   macro = mac2[1]
                   24486:   prefix = substr(line, 1, index(line, defundef) - 1)
                   24487:   if (D_is_set[macro]) {
                   24488:     # Preserve the white space surrounding the "#".
                   24489:     print prefix "define", macro P[macro] D[macro]
                   24490:     next
                   24491:   } else {
                   24492:     # Replace #undef with comments.  This is necessary, for example,
                   24493:     # in the case of _POSIX_SOURCE, which is predefined and required
                   24494:     # on some systems where configure will not decide to define it.
                   24495:     if (defundef == "undef") {
                   24496:       print "/*", prefix defundef, macro, "*/"
                   24497:       next
                   24498:     }
                   24499:   }
                   24500: }
                   24501: { print }
                   24502: _ACAWK
1.62      paf      24503: _ACEOF
1.150     moko     24504: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24505:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   24506: fi # test -n "$CONFIG_HEADERS"
                   24507: 
                   24508: 
                   24509: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   24510: shift
                   24511: for ac_tag
                   24512: do
                   24513:   case $ac_tag in
                   24514:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   24515:   esac
                   24516:   case $ac_mode$ac_tag in
                   24517:   :[FHL]*:*);;
1.237     moko     24518:   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
1.150     moko     24519:   :[FH]-) ac_tag=-:-;;
                   24520:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   24521:   esac
                   24522:   ac_save_IFS=$IFS
                   24523:   IFS=:
                   24524:   set x $ac_tag
                   24525:   IFS=$ac_save_IFS
                   24526:   shift
                   24527:   ac_file=$1
                   24528:   shift
                   24529: 
                   24530:   case $ac_mode in
                   24531:   :L) ac_source=$1;;
                   24532:   :[FH])
                   24533:     ac_file_inputs=
                   24534:     for ac_f
                   24535:     do
                   24536:       case $ac_f in
                   24537:       -) ac_f="$ac_tmp/stdin";;
                   24538:       *) # Look for the file first in the build tree, then in the source tree
                   24539:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
1.237     moko     24540:         # because $ac_f cannot contain ':'.
1.150     moko     24541:         test -f "$ac_f" ||
                   24542:           case $ac_f in
                   24543:           [\\/$]*) false;;
                   24544:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   24545:           esac ||
1.237     moko     24546:           as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
1.150     moko     24547:       esac
1.237     moko     24548:       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.150     moko     24549:       as_fn_append ac_file_inputs " '$ac_f'"
                   24550:     done
                   24551: 
1.237     moko     24552:     # Let's still pretend it is 'configure' which instantiates (i.e., don't
1.150     moko     24553:     # use $as_me), people would be surprised to read:
                   24554:     #    /* config.h.  Generated by config.status.  */
                   24555:     configure_input='Generated from '`
1.237     moko     24556:          printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1.150     moko     24557:        `' by configure.'
                   24558:     if test x"$ac_file" != x-; then
                   24559:       configure_input="$ac_file.  $configure_input"
1.237     moko     24560:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   24561: printf "%s\n" "$as_me: creating $ac_file" >&6;}
1.150     moko     24562:     fi
                   24563:     # Neutralize special characters interpreted by sed in replacement strings.
                   24564:     case $configure_input in #(
                   24565:     *\&* | *\|* | *\\* )
1.237     moko     24566:        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1.150     moko     24567:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   24568:     *) ac_sed_conf_input=$configure_input;;
                   24569:     esac
                   24570: 
                   24571:     case $ac_tag in
                   24572:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   24573:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   24574:     esac
                   24575:     ;;
1.1       paf      24576:   esac
                   24577: 
1.150     moko     24578:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      24579: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      24580:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   24581:         X"$ac_file" : 'X\(//\)$' \| \
1.150     moko     24582:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     24583: printf "%s\n" X"$ac_file" |
1.150     moko     24584:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   24585:            s//\1/
                   24586:            q
                   24587:          }
                   24588:          /^X\(\/\/\)[^/].*/{
                   24589:            s//\1/
                   24590:            q
                   24591:          }
                   24592:          /^X\(\/\/\)$/{
                   24593:            s//\1/
                   24594:            q
                   24595:          }
                   24596:          /^X\(\/\).*/{
                   24597:            s//\1/
                   24598:            q
                   24599:          }
                   24600:          s/.*/./; q'`
                   24601:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      24602:   ac_builddir=.
                   24603: 
1.150     moko     24604: case "$ac_dir" in
                   24605: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   24606: *)
1.237     moko     24607:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.150     moko     24608:   # A ".." for each directory in $ac_dir_suffix.
1.237     moko     24609:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.150     moko     24610:   case $ac_top_builddir_sub in
                   24611:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   24612:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   24613:   esac ;;
                   24614: esac
                   24615: ac_abs_top_builddir=$ac_pwd
                   24616: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   24617: # for backward compatibility:
                   24618: ac_top_builddir=$ac_top_build_prefix
1.62      paf      24619: 
                   24620: case $srcdir in
1.150     moko     24621:   .)  # We are building in place.
1.62      paf      24622:     ac_srcdir=.
1.150     moko     24623:     ac_top_srcdir=$ac_top_builddir_sub
                   24624:     ac_abs_top_srcdir=$ac_pwd ;;
                   24625:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      24626:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     24627:     ac_top_srcdir=$srcdir
                   24628:     ac_abs_top_srcdir=$srcdir ;;
                   24629:   *) # Relative name.
                   24630:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   24631:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   24632:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      24633: esac
1.150     moko     24634: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      24635: 
1.62      paf      24636: 
1.150     moko     24637:   case $ac_mode in
                   24638:   :F)
                   24639:   #
                   24640:   # CONFIG_FILE
                   24641:   #
1.1       paf      24642: 
1.62      paf      24643:   case $INSTALL in
                   24644:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150     moko     24645:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      24646:   esac
1.150     moko     24647:   ac_MKDIR_P=$MKDIR_P
                   24648:   case $MKDIR_P in
                   24649:   [\\/$]* | ?:[\\/]* ) ;;
                   24650:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   24651:   esac
                   24652: _ACEOF
1.1       paf      24653: 
1.150     moko     24654: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24655: # If the template does not know about datarootdir, expand it.
                   24656: # FIXME: This hack should be removed a few years after 2.60.
                   24657: ac_datarootdir_hack=; ac_datarootdir_seen=
                   24658: ac_sed_dataroot='
                   24659: /datarootdir/ {
                   24660:   p
                   24661:   q
                   24662: }
                   24663: /@datadir@/p
                   24664: /@docdir@/p
                   24665: /@infodir@/p
                   24666: /@localedir@/p
                   24667: /@mandir@/p'
                   24668: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   24669: *datarootdir*) ac_datarootdir_seen=yes;;
                   24670: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.237     moko     24671:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   24672: printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.150     moko     24673: _ACEOF
                   24674: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24675:   ac_datarootdir_hack='
                   24676:   s&@datadir@&$datadir&g
                   24677:   s&@docdir@&$docdir&g
                   24678:   s&@infodir@&$infodir&g
                   24679:   s&@localedir@&$localedir&g
                   24680:   s&@mandir@&$mandir&g
                   24681:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   24682: esac
                   24683: _ACEOF
1.62      paf      24684: 
1.237     moko     24685: # Neutralize VPATH when '$srcdir' = '.'.
1.150     moko     24686: # Shell code in configure.ac might set extrasub.
                   24687: # FIXME: do we really want to maintain this feature?
                   24688: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24689: ac_sed_extra="$ac_vpsub
1.62      paf      24690: $extrasub
                   24691: _ACEOF
1.150     moko     24692: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      24693: :t
                   24694: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150     moko     24695: s|@configure_input@|$ac_sed_conf_input|;t t
                   24696: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   24697: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   24698: s&@srcdir@&$ac_srcdir&;t t
                   24699: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   24700: s&@top_srcdir@&$ac_top_srcdir&;t t
                   24701: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   24702: s&@builddir@&$ac_builddir&;t t
                   24703: s&@abs_builddir@&$ac_abs_builddir&;t t
                   24704: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   24705: s&@INSTALL@&$ac_INSTALL&;t t
                   24706: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   24707: $ac_datarootdir_hack
                   24708: "
                   24709: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   24710:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   24711: 
                   24712: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   24713:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   24714:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   24715:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.237     moko     24716:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1.150     moko     24717: which seems to be undefined.  Please make sure it is defined" >&5
1.237     moko     24718: printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1.150     moko     24719: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      24720: 
1.150     moko     24721:   rm -f "$ac_tmp/stdin"
1.62      paf      24722:   case $ac_file in
1.150     moko     24723:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   24724:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   24725:   esac \
                   24726:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   24727:  ;;
                   24728:   :H)
                   24729:   #
                   24730:   # CONFIG_HEADER
                   24731:   #
1.62      paf      24732:   if test x"$ac_file" != x-; then
1.150     moko     24733:     {
1.237     moko     24734:       printf "%s\n" "/* $configure_input  */" >&1 \
1.150     moko     24735:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   24736:     } >"$ac_tmp/config.h" \
                   24737:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   24738:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.237     moko     24739:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   24740: printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      24741:     else
1.150     moko     24742:       rm -f "$ac_file"
                   24743:       mv "$ac_tmp/config.h" "$ac_file" \
                   24744:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      24745:     fi
                   24746:   else
1.237     moko     24747:     printf "%s\n" "/* $configure_input  */" >&1 \
1.150     moko     24748:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   24749:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      24750:   fi
1.150     moko     24751: # Compute "$ac_file"'s index in $config_headers.
                   24752: _am_arg="$ac_file"
1.86      paf      24753: _am_stamp_count=1
                   24754: for _am_header in $config_headers :; do
                   24755:   case $_am_header in
1.150     moko     24756:     $_am_arg | $_am_arg:* )
1.86      paf      24757:       break ;;
                   24758:     * )
                   24759:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   24760:   esac
                   24761: done
1.150     moko     24762: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   24763: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   24764:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   24765:         X"$_am_arg" : 'X\(//\)$' \| \
                   24766:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     24767: printf "%s\n" X"$_am_arg" |
1.150     moko     24768:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   24769:            s//\1/
                   24770:            q
                   24771:          }
                   24772:          /^X\(\/\/\)[^/].*/{
                   24773:            s//\1/
                   24774:            q
                   24775:          }
                   24776:          /^X\(\/\/\)$/{
                   24777:            s//\1/
                   24778:            q
                   24779:          }
                   24780:          /^X\(\/\).*/{
                   24781:            s//\1/
                   24782:            q
                   24783:          }
                   24784:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   24785:  ;;
1.62      paf      24786: 
1.237     moko     24787:   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   24788: printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
1.150     moko     24789:  ;;
                   24790:   esac
1.86      paf      24791: 
1.62      paf      24792: 
1.150     moko     24793:   case $ac_file$ac_mode in
                   24794:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.187     moko     24795:   # Older Autoconf quotes --file arguments for eval, but not when files
1.150     moko     24796:   # are listed without --file.  Let's play safe and only enable the eval
                   24797:   # if we detect the quoting.
1.199     moko     24798:   # TODO: see whether this extra hack can be removed once we start
                   24799:   # requiring Autoconf 2.70 or later.
                   24800:   case $CONFIG_FILES in #(
                   24801:   *\'*) :
                   24802:     eval set x "$CONFIG_FILES" ;; #(
                   24803:   *) :
                   24804:     set x $CONFIG_FILES ;; #(
                   24805:   *) :
                   24806:      ;;
                   24807: esac
1.150     moko     24808:   shift
1.199     moko     24809:   # Used to flag and report bootstrapping failures.
                   24810:   am_rc=0
                   24811:   for am_mf
1.150     moko     24812:   do
                   24813:     # Strip MF so we end up with the name of the file.
1.237     moko     24814:     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
1.199     moko     24815:     # Check whether this is an Automake generated Makefile which includes
                   24816:     # dependency-tracking related rules and includes.
                   24817:     # Grep'ing the whole file directly is not great: AIX grep has a line
1.150     moko     24818:     # limit of 2048, but all sed's we know have understand at least 4000.
1.199     moko     24819:     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
                   24820:       || continue
                   24821:     am_dirpart=`$as_dirname -- "$am_mf" ||
                   24822: $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   24823:         X"$am_mf" : 'X\(//\)[^/]' \| \
                   24824:         X"$am_mf" : 'X\(//\)$' \| \
                   24825:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     24826: printf "%s\n" X"$am_mf" |
1.150     moko     24827:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   24828:            s//\1/
                   24829:            q
                   24830:          }
                   24831:          /^X\(\/\/\)[^/].*/{
                   24832:            s//\1/
                   24833:            q
                   24834:          }
                   24835:          /^X\(\/\/\)$/{
                   24836:            s//\1/
                   24837:            q
                   24838:          }
                   24839:          /^X\(\/\).*/{
                   24840:            s//\1/
                   24841:            q
                   24842:          }
                   24843:          s/.*/./; q'`
1.199     moko     24844:     am_filepart=`$as_basename -- "$am_mf" ||
                   24845: $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
                   24846:         X"$am_mf" : 'X\(//\)$' \| \
                   24847:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     24848: printf "%s\n" X/"$am_mf" |
1.199     moko     24849:     sed '/^.*\/\([^/][^/]*\)\/*$/{
1.150     moko     24850:            s//\1/
                   24851:            q
                   24852:          }
1.199     moko     24853:          /^X\/\(\/\/\)$/{
1.150     moko     24854:            s//\1/
                   24855:            q
                   24856:          }
1.199     moko     24857:          /^X\/\(\/\).*/{
1.150     moko     24858:            s//\1/
                   24859:            q
                   24860:          }
                   24861:          s/.*/./; q'`
1.199     moko     24862:     { echo "$as_me:$LINENO: cd "$am_dirpart" \
                   24863:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   24864:         | $MAKE -f - am--depfiles" >&5
                   24865:    (cd "$am_dirpart" \
                   24866:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   24867:         | $MAKE -f - am--depfiles) >&5 2>&5
                   24868:    ac_status=$?
                   24869:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   24870:    (exit $ac_status); } || am_rc=$?
1.62      paf      24871:   done
1.199     moko     24872:   if test $am_rc -ne 0; then
1.237     moko     24873:     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   24874: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.199     moko     24875: as_fn_error $? "Something went wrong bootstrapping makefile fragments
1.216     moko     24876:     for automatic dependency tracking.  If GNU make was not used, consider
                   24877:     re-running the configure script with MAKE=\"gmake\" (or whatever is
                   24878:     necessary).  You can also try re-running configure with the
1.199     moko     24879:     '--disable-dependency-tracking' option to at least be able to build
                   24880:     the package (albeit without support for automatic dependency tracking).
1.237     moko     24881: See 'config.log' for more details" "$LINENO" 5; }
1.199     moko     24882:   fi
                   24883:   { am_dirpart=; unset am_dirpart;}
                   24884:   { am_filepart=; unset am_filepart;}
                   24885:   { am_mf=; unset am_mf;}
                   24886:   { am_rc=; unset am_rc;}
                   24887:   rm -f conftest-deps.mk
1.150     moko     24888: }
1.62      paf      24889:  ;;
1.150     moko     24890:     "libtool":C)
1.128     moko     24891: 
1.237     moko     24892:     # See if we are running on zsh, and set the options that allow our
1.128     moko     24893:     # commands through without removal of \ escapes.
1.237     moko     24894:     if test -n "${ZSH_VERSION+set}"; then
1.128     moko     24895:       setopt NO_GLOB_SUBST
                   24896:     fi
                   24897: 
1.237     moko     24898:     cfgfile=${ofile}T
1.128     moko     24899:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   24900:     $RM "$cfgfile"
                   24901: 
                   24902:     cat <<_LT_EOF >> "$cfgfile"
                   24903: #! $SHELL
1.237     moko     24904: # Generated automatically by $as_me ($PACKAGE) $VERSION
                   24905: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   24906: 
                   24907: # Provide generalized library-building support services.
                   24908: # Written by Gordon Matzigkeit, 1996
1.128     moko     24909: 
1.237     moko     24910: # Copyright (C) 2024 Free Software Foundation, Inc.
                   24911: # This is free software; see the source for copying conditions.  There is NO
                   24912: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
                   24913: 
                   24914: # GNU Libtool is free software; you can redistribute it and/or modify
                   24915: # it under the terms of the GNU General Public License as published by
                   24916: # the Free Software Foundation; either version 2 of the License, or
                   24917: # (at your option) any later version.
1.128     moko     24918: #
1.237     moko     24919: # As a special exception to the GNU General Public License, if you
                   24920: # distribute this file as part of a program or library that is built
                   24921: # using GNU Libtool, you may include this file under the  same
                   24922: # distribution terms that you use for the rest of that program.
1.128     moko     24923: #
1.237     moko     24924: # GNU Libtool is distributed in the hope that it will be useful, but
                   24925: # WITHOUT ANY WARRANTY; without even the implied warranty of
1.128     moko     24926: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   24927: # GNU General Public License for more details.
                   24928: #
                   24929: # You should have received a copy of the GNU General Public License
1.237     moko     24930: # along with this program.  If not, see <http://www.gnu.org/licenses/>.
1.128     moko     24931: 
                   24932: 
                   24933: # The names of the tagged configurations supported by this script.
1.237     moko     24934: available_tags='CXX '
                   24935: 
                   24936: # Configured defaults for sys_lib_dlsearch_path munging.
                   24937: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
1.128     moko     24938: 
                   24939: # ### BEGIN LIBTOOL CONFIG
                   24940: 
                   24941: # Which release of libtool.m4 was used?
                   24942: macro_version=$macro_version
                   24943: macro_revision=$macro_revision
                   24944: 
                   24945: # Assembler program.
                   24946: AS=$lt_AS
                   24947: 
                   24948: # DLL creation program.
                   24949: DLLTOOL=$lt_DLLTOOL
                   24950: 
                   24951: # Object dumper program.
                   24952: OBJDUMP=$lt_OBJDUMP
                   24953: 
1.145     moko     24954: # What type of objects to build.
                   24955: pic_mode=$pic_mode
                   24956: 
1.128     moko     24957: # Whether or not to build shared libraries.
                   24958: build_libtool_libs=$enable_shared
                   24959: 
1.138     moko     24960: # Whether or not to build static libraries.
                   24961: build_old_libs=$enable_static
                   24962: 
1.128     moko     24963: # Whether or not to optimize for fast installation.
                   24964: fast_install=$enable_fast_install
                   24965: 
1.237     moko     24966: # Shared archive member basename,for filename based shared library versioning on AIX.
                   24967: shared_archive_member_spec=$shared_archive_member_spec
                   24968: 
1.128     moko     24969: # Shell to use when invoking shell scripts.
                   24970: SHELL=$lt_SHELL
                   24971: 
                   24972: # An echo program that protects backslashes.
                   24973: ECHO=$lt_ECHO
                   24974: 
                   24975: # The PATH separator for the build system.
                   24976: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   24977: 
                   24978: # The host system.
                   24979: host_alias=$host_alias
                   24980: host=$host
                   24981: host_os=$host_os
                   24982: 
                   24983: # The build system.
                   24984: build_alias=$build_alias
                   24985: build=$build
                   24986: build_os=$build_os
                   24987: 
                   24988: # A sed program that does not truncate output.
                   24989: SED=$lt_SED
                   24990: 
                   24991: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   24992: Xsed="\$SED -e 1s/^X//"
                   24993: 
                   24994: # A grep program that handles long lines.
                   24995: GREP=$lt_GREP
                   24996: 
                   24997: # An ERE matcher.
                   24998: EGREP=$lt_EGREP
                   24999: 
                   25000: # A literal string matcher.
                   25001: FGREP=$lt_FGREP
                   25002: 
                   25003: # A BSD- or MS-compatible name lister.
                   25004: NM=$lt_NM
                   25005: 
                   25006: # Whether we need soft or hard links.
                   25007: LN_S=$lt_LN_S
                   25008: 
                   25009: # What is the maximum length of a command?
                   25010: max_cmd_len=$max_cmd_len
                   25011: 
                   25012: # Object file suffix (normally "o").
                   25013: objext=$ac_objext
                   25014: 
                   25015: # Executable file suffix (normally "").
                   25016: exeext=$exeext
                   25017: 
                   25018: # whether the shell understands "unset".
                   25019: lt_unset=$lt_unset
                   25020: 
                   25021: # turn spaces into newlines.
                   25022: SP2NL=$lt_lt_SP2NL
                   25023: 
                   25024: # turn newlines into spaces.
                   25025: NL2SP=$lt_lt_NL2SP
                   25026: 
                   25027: # convert \$build file names to \$host format.
                   25028: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   25029: 
                   25030: # convert \$build files to toolchain format.
                   25031: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   25032: 
1.237     moko     25033: # A file(cmd) program that detects file types.
                   25034: FILECMD=$lt_FILECMD
                   25035: 
1.128     moko     25036: # Method to check whether dependent libraries are shared objects.
                   25037: deplibs_check_method=$lt_deplibs_check_method
                   25038: 
                   25039: # Command to use when deplibs_check_method = "file_magic".
                   25040: file_magic_cmd=$lt_file_magic_cmd
                   25041: 
                   25042: # How to find potential files when deplibs_check_method = "file_magic".
                   25043: file_magic_glob=$lt_file_magic_glob
                   25044: 
                   25045: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   25046: want_nocaseglob=$lt_want_nocaseglob
                   25047: 
                   25048: # Command to associate shared and link libraries.
                   25049: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   25050: 
                   25051: # The archiver.
                   25052: AR=$lt_AR
                   25053: 
1.237     moko     25054: # Flags to create an archive (by configure).
                   25055: lt_ar_flags=$lt_ar_flags
                   25056: 
1.128     moko     25057: # Flags to create an archive.
1.237     moko     25058: AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
1.128     moko     25059: 
                   25060: # How to feed a file listing to the archiver.
                   25061: archiver_list_spec=$lt_archiver_list_spec
                   25062: 
                   25063: # A symbol stripping program.
                   25064: STRIP=$lt_STRIP
                   25065: 
                   25066: # Commands used to install an old-style archive.
                   25067: RANLIB=$lt_RANLIB
                   25068: old_postinstall_cmds=$lt_old_postinstall_cmds
                   25069: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   25070: 
                   25071: # Whether to use a lock for old archive extraction.
                   25072: lock_old_archive_extraction=$lock_old_archive_extraction
                   25073: 
                   25074: # A C compiler.
                   25075: LTCC=$lt_CC
                   25076: 
                   25077: # LTCC compiler flags.
                   25078: LTCFLAGS=$lt_CFLAGS
                   25079: 
                   25080: # Take the output of nm and produce a listing of raw symbols and C names.
                   25081: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   25082: 
                   25083: # Transform the output of nm in a proper C declaration.
                   25084: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   25085: 
1.237     moko     25086: # Transform the output of nm into a list of symbols to manually relocate.
                   25087: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
                   25088: 
1.128     moko     25089: # Transform the output of nm in a C name address pair.
                   25090: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   25091: 
                   25092: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   25093: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   25094: 
1.237     moko     25095: # The name lister interface.
                   25096: nm_interface=$lt_lt_cv_nm_interface
                   25097: 
1.128     moko     25098: # Specify filename containing input files for \$NM.
                   25099: nm_file_list_spec=$lt_nm_file_list_spec
                   25100: 
1.237     moko     25101: # The root where to search for dependent libraries,and where our libraries should be installed.
1.128     moko     25102: lt_sysroot=$lt_sysroot
                   25103: 
1.237     moko     25104: # Command to truncate a binary pipe.
                   25105: lt_truncate_bin=$lt_lt_cv_truncate_bin
                   25106: 
1.128     moko     25107: # The name of the directory that contains temporary libtool files.
                   25108: objdir=$objdir
                   25109: 
                   25110: # Used to examine libraries when file_magic_cmd begins with "file".
                   25111: MAGIC_CMD=$MAGIC_CMD
                   25112: 
                   25113: # Must we lock files when doing compilation?
                   25114: need_locks=$lt_need_locks
                   25115: 
                   25116: # Manifest tool.
                   25117: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   25118: 
                   25119: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   25120: DSYMUTIL=$lt_DSYMUTIL
                   25121: 
                   25122: # Tool to change global to local symbols on Mac OS X.
                   25123: NMEDIT=$lt_NMEDIT
                   25124: 
                   25125: # Tool to manipulate fat objects and archives on Mac OS X.
                   25126: LIPO=$lt_LIPO
                   25127: 
                   25128: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   25129: OTOOL=$lt_OTOOL
                   25130: 
                   25131: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   25132: OTOOL64=$lt_OTOOL64
                   25133: 
                   25134: # Old archive suffix (normally "a").
                   25135: libext=$libext
                   25136: 
                   25137: # Shared library suffix (normally ".so").
                   25138: shrext_cmds=$lt_shrext_cmds
                   25139: 
                   25140: # The commands to extract the exported symbol list from a shared archive.
                   25141: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   25142: 
                   25143: # Variables whose values should be saved in libtool wrapper scripts and
                   25144: # restored at link time.
                   25145: variables_saved_for_relink=$lt_variables_saved_for_relink
                   25146: 
                   25147: # Do we need the "lib" prefix for modules?
                   25148: need_lib_prefix=$need_lib_prefix
                   25149: 
                   25150: # Do we need a version for libraries?
                   25151: need_version=$need_version
                   25152: 
                   25153: # Library versioning type.
                   25154: version_type=$version_type
                   25155: 
                   25156: # Shared library runtime path variable.
                   25157: runpath_var=$runpath_var
                   25158: 
                   25159: # Shared library path variable.
                   25160: shlibpath_var=$shlibpath_var
                   25161: 
                   25162: # Is shlibpath searched before the hard-coded library search path?
                   25163: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   25164: 
                   25165: # Format of library name prefix.
                   25166: libname_spec=$lt_libname_spec
                   25167: 
                   25168: # List of archive names.  First name is the real one, the rest are links.
                   25169: # The last name is the one that the linker finds with -lNAME
                   25170: library_names_spec=$lt_library_names_spec
                   25171: 
                   25172: # The coded name of the library, if different from the real name.
                   25173: soname_spec=$lt_soname_spec
                   25174: 
                   25175: # Permission mode override for installation of shared libraries.
                   25176: install_override_mode=$lt_install_override_mode
                   25177: 
                   25178: # Command to use after installation of a shared archive.
                   25179: postinstall_cmds=$lt_postinstall_cmds
                   25180: 
                   25181: # Command to use after uninstallation of a shared archive.
                   25182: postuninstall_cmds=$lt_postuninstall_cmds
                   25183: 
                   25184: # Commands used to finish a libtool library installation in a directory.
                   25185: finish_cmds=$lt_finish_cmds
                   25186: 
                   25187: # As "finish_cmds", except a single script fragment to be evaled but
                   25188: # not shown.
                   25189: finish_eval=$lt_finish_eval
                   25190: 
                   25191: # Whether we should hardcode library paths into libraries.
                   25192: hardcode_into_libs=$hardcode_into_libs
                   25193: 
                   25194: # Compile-time system search path for libraries.
                   25195: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   25196: 
1.237     moko     25197: # Detected run-time system search path for libraries.
                   25198: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
                   25199: 
                   25200: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
                   25201: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
1.128     moko     25202: 
                   25203: # Whether dlopen is supported.
                   25204: dlopen_support=$enable_dlopen
                   25205: 
                   25206: # Whether dlopen of programs is supported.
                   25207: dlopen_self=$enable_dlopen_self
                   25208: 
                   25209: # Whether dlopen of statically linked programs is supported.
                   25210: dlopen_self_static=$enable_dlopen_self_static
                   25211: 
                   25212: # Commands to strip libraries.
                   25213: old_striplib=$lt_old_striplib
                   25214: striplib=$lt_striplib
                   25215: 
                   25216: 
                   25217: # The linker used to build libraries.
                   25218: LD=$lt_LD
                   25219: 
                   25220: # How to create reloadable object files.
                   25221: reload_flag=$lt_reload_flag
                   25222: reload_cmds=$lt_reload_cmds
                   25223: 
                   25224: # Commands used to build an old-style archive.
                   25225: old_archive_cmds=$lt_old_archive_cmds
                   25226: 
                   25227: # A language specific compiler.
                   25228: CC=$lt_compiler
                   25229: 
                   25230: # Is the compiler the GNU compiler?
                   25231: with_gcc=$GCC
                   25232: 
                   25233: # Compiler flag to turn off builtin functions.
                   25234: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   25235: 
                   25236: # Additional compiler flags for building library objects.
                   25237: pic_flag=$lt_lt_prog_compiler_pic
                   25238: 
                   25239: # How to pass a linker flag through the compiler.
                   25240: wl=$lt_lt_prog_compiler_wl
                   25241: 
                   25242: # Compiler flag to prevent dynamic linking.
                   25243: link_static_flag=$lt_lt_prog_compiler_static
                   25244: 
                   25245: # Does compiler simultaneously support -c and -o options?
                   25246: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   25247: 
                   25248: # Whether or not to add -lc for building shared libraries.
                   25249: build_libtool_need_lc=$archive_cmds_need_lc
                   25250: 
                   25251: # Whether or not to disallow shared libs when runtime libs are static.
                   25252: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   25253: 
                   25254: # Compiler flag to allow reflexive dlopens.
                   25255: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   25256: 
                   25257: # Compiler flag to generate shared objects directly from archives.
                   25258: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   25259: 
                   25260: # Whether the compiler copes with passing no objects directly.
                   25261: compiler_needs_object=$lt_compiler_needs_object
                   25262: 
                   25263: # Create an old-style archive from a shared archive.
                   25264: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   25265: 
                   25266: # Create a temporary old-style archive to link instead of a shared archive.
                   25267: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   25268: 
                   25269: # Commands used to build a shared archive.
                   25270: archive_cmds=$lt_archive_cmds
                   25271: archive_expsym_cmds=$lt_archive_expsym_cmds
                   25272: 
                   25273: # Commands used to build a loadable module if different from building
                   25274: # a shared archive.
                   25275: module_cmds=$lt_module_cmds
                   25276: module_expsym_cmds=$lt_module_expsym_cmds
                   25277: 
                   25278: # Whether we are building with GNU ld or not.
                   25279: with_gnu_ld=$lt_with_gnu_ld
                   25280: 
                   25281: # Flag that allows shared libraries with undefined symbols to be built.
                   25282: allow_undefined_flag=$lt_allow_undefined_flag
                   25283: 
                   25284: # Flag that enforces no undefined symbols.
                   25285: no_undefined_flag=$lt_no_undefined_flag
                   25286: 
                   25287: # Flag to hardcode \$libdir into a binary during linking.
                   25288: # This must work even if \$libdir does not exist
                   25289: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   25290: 
                   25291: # Whether we need a single "-rpath" flag with a separated argument.
                   25292: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   25293: 
1.237     moko     25294: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.128     moko     25295: # DIR into the resulting binary.
                   25296: hardcode_direct=$hardcode_direct
                   25297: 
1.237     moko     25298: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.128     moko     25299: # DIR into the resulting binary and the resulting library dependency is
1.237     moko     25300: # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
1.128     moko     25301: # library is relocated.
                   25302: hardcode_direct_absolute=$hardcode_direct_absolute
                   25303: 
                   25304: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   25305: # into the resulting binary.
                   25306: hardcode_minus_L=$hardcode_minus_L
                   25307: 
                   25308: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   25309: # into the resulting binary.
                   25310: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   25311: 
                   25312: # Set to "yes" if building a shared library automatically hardcodes DIR
                   25313: # into the library and all subsequent libraries and executables linked
                   25314: # against it.
                   25315: hardcode_automatic=$hardcode_automatic
                   25316: 
                   25317: # Set to yes if linker adds runtime paths of dependent libraries
                   25318: # to runtime path list.
                   25319: inherit_rpath=$inherit_rpath
                   25320: 
                   25321: # Whether libtool must link a program against all its dependency libraries.
                   25322: link_all_deplibs=$link_all_deplibs
                   25323: 
                   25324: # Set to "yes" if exported symbols are required.
                   25325: always_export_symbols=$always_export_symbols
                   25326: 
                   25327: # The commands to list exported symbols.
                   25328: export_symbols_cmds=$lt_export_symbols_cmds
                   25329: 
                   25330: # Symbols that should not be listed in the preloaded symbols.
                   25331: exclude_expsyms=$lt_exclude_expsyms
                   25332: 
                   25333: # Symbols that must always be exported.
                   25334: include_expsyms=$lt_include_expsyms
                   25335: 
                   25336: # Commands necessary for linking programs (against libraries) with templates.
                   25337: prelink_cmds=$lt_prelink_cmds
                   25338: 
                   25339: # Commands necessary for finishing linking programs.
                   25340: postlink_cmds=$lt_postlink_cmds
                   25341: 
                   25342: # Specify filename containing input files.
                   25343: file_list_spec=$lt_file_list_spec
                   25344: 
                   25345: # How to hardcode a shared library path into an executable.
                   25346: hardcode_action=$hardcode_action
                   25347: 
                   25348: # The directories searched by this compiler when creating a shared library.
                   25349: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   25350: 
                   25351: # Dependencies to place before and after the objects being linked to
                   25352: # create a shared library.
                   25353: predep_objects=$lt_predep_objects
                   25354: postdep_objects=$lt_postdep_objects
                   25355: predeps=$lt_predeps
                   25356: postdeps=$lt_postdeps
                   25357: 
                   25358: # The library search path used internally by the compiler when linking
                   25359: # a shared library.
                   25360: compiler_lib_search_path=$lt_compiler_lib_search_path
                   25361: 
                   25362: # ### END LIBTOOL CONFIG
                   25363: 
                   25364: _LT_EOF
                   25365: 
1.237     moko     25366:     cat <<'_LT_EOF' >> "$cfgfile"
                   25367: 
                   25368: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
                   25369: 
                   25370: # func_munge_path_list VARIABLE PATH
                   25371: # -----------------------------------
                   25372: # VARIABLE is name of variable containing _space_ separated list of
                   25373: # directories to be munged by the contents of PATH, which is string
                   25374: # having a format:
                   25375: # "DIR[:DIR]:"
                   25376: #       string "DIR[ DIR]" will be prepended to VARIABLE
                   25377: # ":DIR[:DIR]"
                   25378: #       string "DIR[ DIR]" will be appended to VARIABLE
                   25379: # "DIRP[:DIRP]::[DIRA:]DIRA"
                   25380: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
                   25381: #       "DIRA[ DIRA]" will be appended to VARIABLE
                   25382: # "DIR[:DIR]"
                   25383: #       VARIABLE will be replaced by "DIR[ DIR]"
                   25384: func_munge_path_list ()
                   25385: {
                   25386:     case x$2 in
                   25387:     x)
                   25388:         ;;
                   25389:     *:)
                   25390:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
                   25391:         ;;
                   25392:     x:*)
                   25393:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
                   25394:         ;;
                   25395:     *::*)
                   25396:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
                   25397:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
                   25398:         ;;
                   25399:     *)
                   25400:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
                   25401:         ;;
                   25402:     esac
                   25403: }
                   25404: 
                   25405: 
                   25406: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
                   25407: func_cc_basename ()
                   25408: {
                   25409:     for cc_temp in $*""; do
                   25410:       case $cc_temp in
                   25411:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   25412:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   25413:         \-*) ;;
                   25414:         *) break;;
                   25415:       esac
                   25416:     done
                   25417:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   25418: }
                   25419: 
                   25420: 
                   25421: # ### END FUNCTIONS SHARED WITH CONFIGURE
                   25422: 
                   25423: _LT_EOF
                   25424: 
1.128     moko     25425:   case $host_os in
                   25426:   aix3*)
                   25427:     cat <<\_LT_EOF >> "$cfgfile"
                   25428: # AIX sometimes has problems with the GCC collect2 program.  For some
                   25429: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   25430: # vanish in a puff of smoke.
1.237     moko     25431: if test set != "${COLLECT_NAMES+set}"; then
1.128     moko     25432:   COLLECT_NAMES=
                   25433:   export COLLECT_NAMES
                   25434: fi
                   25435: _LT_EOF
                   25436:     ;;
                   25437:   esac
                   25438: 
                   25439: 
1.237     moko     25440: 
                   25441: ltmain=$ac_aux_dir/ltmain.sh
1.128     moko     25442: 
                   25443: 
                   25444:   # We use sed instead of cat because bash on DJGPP gets confused if
                   25445:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   25446:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   25447:   # is reportedly fixed, but why not run on old versions too?
1.237     moko     25448:   $SED '$q' "$ltmain" >> "$cfgfile" \
1.128     moko     25449:      || (rm -f "$cfgfile"; exit 1)
                   25450: 
                   25451:    mv -f "$cfgfile" "$ofile" ||
                   25452:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   25453:   chmod +x "$ofile"
                   25454: 
                   25455: 
                   25456:     cat <<_LT_EOF >> "$ofile"
                   25457: 
                   25458: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   25459: 
                   25460: # The linker used to build libraries.
                   25461: LD=$lt_LD_CXX
                   25462: 
                   25463: # How to create reloadable object files.
                   25464: reload_flag=$lt_reload_flag_CXX
                   25465: reload_cmds=$lt_reload_cmds_CXX
                   25466: 
                   25467: # Commands used to build an old-style archive.
                   25468: old_archive_cmds=$lt_old_archive_cmds_CXX
                   25469: 
                   25470: # A language specific compiler.
                   25471: CC=$lt_compiler_CXX
                   25472: 
                   25473: # Is the compiler the GNU compiler?
                   25474: with_gcc=$GCC_CXX
                   25475: 
                   25476: # Compiler flag to turn off builtin functions.
                   25477: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   25478: 
                   25479: # Additional compiler flags for building library objects.
                   25480: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   25481: 
                   25482: # How to pass a linker flag through the compiler.
                   25483: wl=$lt_lt_prog_compiler_wl_CXX
                   25484: 
                   25485: # Compiler flag to prevent dynamic linking.
                   25486: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   25487: 
                   25488: # Does compiler simultaneously support -c and -o options?
                   25489: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   25490: 
                   25491: # Whether or not to add -lc for building shared libraries.
                   25492: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   25493: 
                   25494: # Whether or not to disallow shared libs when runtime libs are static.
                   25495: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   25496: 
                   25497: # Compiler flag to allow reflexive dlopens.
                   25498: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   25499: 
                   25500: # Compiler flag to generate shared objects directly from archives.
                   25501: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   25502: 
                   25503: # Whether the compiler copes with passing no objects directly.
                   25504: compiler_needs_object=$lt_compiler_needs_object_CXX
                   25505: 
                   25506: # Create an old-style archive from a shared archive.
                   25507: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   25508: 
                   25509: # Create a temporary old-style archive to link instead of a shared archive.
                   25510: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   25511: 
                   25512: # Commands used to build a shared archive.
                   25513: archive_cmds=$lt_archive_cmds_CXX
                   25514: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   25515: 
                   25516: # Commands used to build a loadable module if different from building
                   25517: # a shared archive.
                   25518: module_cmds=$lt_module_cmds_CXX
                   25519: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   25520: 
                   25521: # Whether we are building with GNU ld or not.
                   25522: with_gnu_ld=$lt_with_gnu_ld_CXX
                   25523: 
                   25524: # Flag that allows shared libraries with undefined symbols to be built.
                   25525: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   25526: 
                   25527: # Flag that enforces no undefined symbols.
                   25528: no_undefined_flag=$lt_no_undefined_flag_CXX
                   25529: 
                   25530: # Flag to hardcode \$libdir into a binary during linking.
                   25531: # This must work even if \$libdir does not exist
                   25532: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   25533: 
                   25534: # Whether we need a single "-rpath" flag with a separated argument.
                   25535: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   25536: 
1.237     moko     25537: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.128     moko     25538: # DIR into the resulting binary.
                   25539: hardcode_direct=$hardcode_direct_CXX
                   25540: 
1.237     moko     25541: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.128     moko     25542: # DIR into the resulting binary and the resulting library dependency is
1.237     moko     25543: # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
1.128     moko     25544: # library is relocated.
                   25545: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   25546: 
                   25547: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   25548: # into the resulting binary.
                   25549: hardcode_minus_L=$hardcode_minus_L_CXX
                   25550: 
                   25551: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   25552: # into the resulting binary.
                   25553: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   25554: 
                   25555: # Set to "yes" if building a shared library automatically hardcodes DIR
                   25556: # into the library and all subsequent libraries and executables linked
                   25557: # against it.
                   25558: hardcode_automatic=$hardcode_automatic_CXX
                   25559: 
                   25560: # Set to yes if linker adds runtime paths of dependent libraries
                   25561: # to runtime path list.
                   25562: inherit_rpath=$inherit_rpath_CXX
                   25563: 
                   25564: # Whether libtool must link a program against all its dependency libraries.
                   25565: link_all_deplibs=$link_all_deplibs_CXX
                   25566: 
                   25567: # Set to "yes" if exported symbols are required.
                   25568: always_export_symbols=$always_export_symbols_CXX
                   25569: 
                   25570: # The commands to list exported symbols.
                   25571: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   25572: 
                   25573: # Symbols that should not be listed in the preloaded symbols.
                   25574: exclude_expsyms=$lt_exclude_expsyms_CXX
                   25575: 
                   25576: # Symbols that must always be exported.
                   25577: include_expsyms=$lt_include_expsyms_CXX
                   25578: 
                   25579: # Commands necessary for linking programs (against libraries) with templates.
                   25580: prelink_cmds=$lt_prelink_cmds_CXX
                   25581: 
                   25582: # Commands necessary for finishing linking programs.
                   25583: postlink_cmds=$lt_postlink_cmds_CXX
                   25584: 
                   25585: # Specify filename containing input files.
                   25586: file_list_spec=$lt_file_list_spec_CXX
                   25587: 
                   25588: # How to hardcode a shared library path into an executable.
                   25589: hardcode_action=$hardcode_action_CXX
                   25590: 
                   25591: # The directories searched by this compiler when creating a shared library.
                   25592: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   25593: 
                   25594: # Dependencies to place before and after the objects being linked to
                   25595: # create a shared library.
                   25596: predep_objects=$lt_predep_objects_CXX
                   25597: postdep_objects=$lt_postdep_objects_CXX
                   25598: predeps=$lt_predeps_CXX
                   25599: postdeps=$lt_postdeps_CXX
                   25600: 
                   25601: # The library search path used internally by the compiler when linking
                   25602: # a shared library.
                   25603: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   25604: 
                   25605: # ### END LIBTOOL TAG CONFIG: CXX
                   25606: _LT_EOF
                   25607: 
                   25608:  ;;
1.150     moko     25609: 
1.62      paf      25610:   esac
1.150     moko     25611: done # for ac_tag
1.62      paf      25612: 
                   25613: 
1.150     moko     25614: as_fn_exit 0
1.62      paf      25615: _ACEOF
                   25616: ac_clean_files=$ac_clean_files_save
                   25617: 
1.150     moko     25618: test $ac_write_fail = 0 ||
                   25619:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   25620: 
1.1       paf      25621: 
1.62      paf      25622: # configure is writing to config.log, and then calls config.status.
                   25623: # config.status does its own redirection, appending to config.log.
                   25624: # Unfortunately, on DOS this fails, as config.log is still kept open
                   25625: # by configure, so config.status won't be able to write to it; its
                   25626: # output is simply discarded.  So we exec the FD to /dev/null,
                   25627: # effectively closing config.log, so it can be properly (re)opened and
                   25628: # appended to by config.status.  When coming back to configure, we
                   25629: # need to make the FD available again.
                   25630: if test "$no_create" != yes; then
                   25631:   ac_cs_success=:
                   25632:   ac_config_status_args=
                   25633:   test "$silent" = yes &&
                   25634:     ac_config_status_args="$ac_config_status_args --quiet"
                   25635:   exec 5>/dev/null
                   25636:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   25637:   exec 5>>config.log
                   25638:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   25639:   # would make configure fail if this is the last instruction.
1.150     moko     25640:   $ac_cs_success || as_fn_exit 1
1.62      paf      25641: fi
                   25642: 
                   25643: #
                   25644: # CONFIG_SUBDIRS section.
                   25645: #
1.1       paf      25646: if test "$no_recursion" != yes; then
                   25647: 
1.150     moko     25648:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   25649:   # so they do not pile up.
1.1       paf      25650:   ac_sub_configure_args=
                   25651:   ac_prev=
1.150     moko     25652:   eval "set x $ac_configure_args"
                   25653:   shift
                   25654:   for ac_arg
                   25655:   do
1.1       paf      25656:     if test -n "$ac_prev"; then
                   25657:       ac_prev=
                   25658:       continue
                   25659:     fi
1.62      paf      25660:     case $ac_arg in
1.1       paf      25661:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   25662:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   25663:       ac_prev=cache_file ;;
                   25664:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      25665:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   25666:     | --c=*)
                   25667:       ;;
                   25668:     --config-cache | -C)
1.1       paf      25669:       ;;
                   25670:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   25671:       ac_prev=srcdir ;;
                   25672:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   25673:       ;;
1.62      paf      25674:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   25675:       ac_prev=prefix ;;
                   25676:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   25677:       ;;
1.150     moko     25678:     --disable-option-checking)
                   25679:       ;;
                   25680:     *)
                   25681:       case $ac_arg in
1.237     moko     25682:       *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.150     moko     25683:       esac
                   25684:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      25685:     esac
                   25686:   done
                   25687: 
1.62      paf      25688:   # Always prepend --prefix to ensure using the same prefix
                   25689:   # in subdir configurations.
1.150     moko     25690:   ac_arg="--prefix=$prefix"
                   25691:   case $ac_arg in
1.237     moko     25692:   *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.150     moko     25693:   esac
                   25694:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   25695: 
                   25696:   # Pass --silent
                   25697:   if test "$silent" = yes; then
                   25698:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   25699:   fi
                   25700: 
                   25701:   # Always prepend --disable-option-checking to silence warnings, since
                   25702:   # different subdirs can have different --enable and --with options.
                   25703:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      25704: 
                   25705:   ac_popdir=`pwd`
                   25706:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      25707: 
                   25708:     # Do not complain, so a configure script can configure whichever
                   25709:     # parts of a large source tree are present.
1.150     moko     25710:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      25711: 
1.150     moko     25712:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
1.237     moko     25713:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   25714:     printf "%s\n" "$ac_msg" >&6
1.150     moko     25715:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      25716:     ac_builddir=.
                   25717: 
1.150     moko     25718: case "$ac_dir" in
                   25719: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   25720: *)
1.237     moko     25721:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.150     moko     25722:   # A ".." for each directory in $ac_dir_suffix.
1.237     moko     25723:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.150     moko     25724:   case $ac_top_builddir_sub in
                   25725:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   25726:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   25727:   esac ;;
                   25728: esac
                   25729: ac_abs_top_builddir=$ac_pwd
                   25730: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   25731: # for backward compatibility:
                   25732: ac_top_builddir=$ac_top_build_prefix
1.62      paf      25733: 
                   25734: case $srcdir in
1.150     moko     25735:   .)  # We are building in place.
1.62      paf      25736:     ac_srcdir=.
1.150     moko     25737:     ac_top_srcdir=$ac_top_builddir_sub
                   25738:     ac_abs_top_srcdir=$ac_pwd ;;
                   25739:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      25740:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     25741:     ac_top_srcdir=$srcdir
                   25742:     ac_abs_top_srcdir=$srcdir ;;
                   25743:   *) # Relative name.
                   25744:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   25745:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   25746:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      25747: esac
1.150     moko     25748: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      25749: 
                   25750: 
1.150     moko     25751:     cd "$ac_dir"
1.1       paf      25752: 
1.237     moko     25753:     # Check for configure.gnu first; this name is used for a wrapper for
                   25754:     # Metaconfig's "Configure" on case-insensitive file systems.
1.150     moko     25755:     if test -f "$ac_srcdir/configure.gnu"; then
                   25756:       ac_sub_configure=$ac_srcdir/configure.gnu
                   25757:     elif test -f "$ac_srcdir/configure"; then
                   25758:       ac_sub_configure=$ac_srcdir/configure
1.1       paf      25759:     else
1.237     moko     25760:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   25761: printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      25762:       ac_sub_configure=
                   25763:     fi
                   25764: 
                   25765:     # The recursion is here.
                   25766:     if test -n "$ac_sub_configure"; then
                   25767:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      25768:       case $cache_file in
                   25769:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150     moko     25770:       *) # Relative name.
                   25771:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      25772:       esac
                   25773: 
1.237     moko     25774:       { 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
                   25775: 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      25776:       # The eval makes quoting arguments work.
1.150     moko     25777:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   25778:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   25779:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      25780:     fi
                   25781: 
1.150     moko     25782:     cd "$ac_popdir"
1.1       paf      25783:   done
                   25784: fi
1.150     moko     25785: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.237     moko     25786:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   25787: printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.150     moko     25788: fi
1.1       paf      25789: 
1.237     moko     25790: 

E-mail: