Annotation of parser3/configure, revision 1.241

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: 
                   6160: 
1.150     moko     6161: # Check whether --with-build-warnings was given.
1.237     moko     6162: if test ${with_build_warnings+y}
                   6163: then :
                   6164:   withval=$with_build_warnings; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
                   6165: printf "%s\n" "$as_me: WARNING: enabling compiler warnings" >&2;}
1.225     moko     6166:        CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2 -Wextra -Wall -Wno-parentheses"
1.71      paf      6167: 
1.150     moko     6168: fi
                   6169: 
1.1       paf      6170: 
                   6171: 
1.182     moko     6172: # Check whether --with-coverage was given.
1.237     moko     6173: if test ${with_coverage+y}
                   6174: then :
                   6175:   withval=$with_coverage; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling gcov support" >&5
                   6176: printf "%s\n" "$as_me: WARNING: enabling gcov support" >&2;}
1.182     moko     6177:        CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O0-9*//g'`
                   6178:        CXXFLAGS=`echo "$XXCFLAGS" | $SED -e 's/-O0-9*//g'`
                   6179:        CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   6180:        CXXFLAGS="$CXXFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   6181:        LDFLAGS="$LDFLAGS -lgcov"
                   6182: 
                   6183: fi
                   6184: 
                   6185: 
                   6186: 
                   6187: # Check whether --with-profiler was given.
1.237     moko     6188: if test ${with_profiler+y}
                   6189: then :
                   6190:   withval=$with_profiler; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling gprof support" >&5
                   6191: printf "%s\n" "$as_me: WARNING: enabling gprof support" >&2;}
1.193     moko     6192:        CFLAGS="$CFLAGS -O0 -pg -g"
                   6193:        CXXFLAGS="$CXXFLAGS -O0 -pg -g"
1.182     moko     6194: 
                   6195: fi
                   6196: 
                   6197: 
                   6198: 
1.150     moko     6199: # Check whether --with-assertions was given.
1.237     moko     6200: if test ${with_assertions+y}
                   6201: then :
                   6202:   withval=$with_assertions; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling assertions" >&5
                   6203: printf "%s\n" "$as_me: WARNING: enabling assertions" >&2;}
                   6204: 
                   6205: else case e in #(
                   6206:   e)
                   6207: printf "%s\n" "#define NDEBUG /**/" >>confdefs.h
1.67      paf      6208: 
1.237     moko     6209:  ;;
                   6210: esac
1.150     moko     6211: fi
1.67      paf      6212: 
                   6213: 
1.94      misha    6214: 
1.150     moko     6215: # Check whether --with-sjlj-exceptions was given.
1.237     moko     6216: if test ${with_sjlj_exceptions+y}
                   6217: then :
1.150     moko     6218:   withval=$with_sjlj_exceptions;
1.237     moko     6219: printf "%s\n" "#define PA_WITH_SJLJ_EXCEPTIONS /**/" >>confdefs.h
1.128     moko     6220: 
                   6221: 
1.150     moko     6222: fi
1.128     moko     6223: 
                   6224: 
1.62      paf      6225: 
1.201     moko     6226: 
1.203     moko     6227: # Check whether --with-system-cfg was given.
1.237     moko     6228: if test ${with_system_cfg+y}
                   6229: then :
1.203     moko     6230:   withval=$with_system_cfg;
1.237     moko     6231: printf "%s\n" "#define SYSTEM_CONFIG_FILE \"$withval\"" >>confdefs.h
1.201     moko     6232: 
                   6233: 
                   6234: fi
                   6235: 
                   6236: 
                   6237: 
1.150     moko     6238: # Check whether --enable-safe-mode was given.
1.237     moko     6239: if test ${enable_safe_mode+y}
                   6240: then :
1.150     moko     6241:   enableval=$enable_safe_mode;
1.67      paf      6242:        SAFE_MODE=$enableval
1.60      paf      6243: 
1.1       paf      6244: 
1.150     moko     6245: fi
                   6246: 
1.128     moko     6247: 
1.60      paf      6248: if test "$SAFE_MODE" = "no"; then
1.237     moko     6249:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   6250: printf "%s\n" "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      6251: else
1.62      paf      6252: 
1.237     moko     6253: printf "%s\n" "#define PA_SAFE_MODE /**/" >>confdefs.h
1.1       paf      6254: 
                   6255: fi
                   6256: 
1.94      misha    6257: 
1.150     moko     6258: # Check whether --enable-execs was given.
1.237     moko     6259: if test ${enable_execs+y}
                   6260: then :
1.150     moko     6261:   enableval=$enable_execs;
1.13      paf      6262: if test "$enableval" = "no"; then
1.237     moko     6263:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling file execs" >&5
                   6264: printf "%s\n" "$as_me: WARNING: disabling file execs" >&2;}
1.62      paf      6265: 
1.237     moko     6266: printf "%s\n" "#define NO_PA_EXECS /**/" >>confdefs.h
1.13      paf      6267: 
                   6268: fi
                   6269: 
                   6270: 
1.150     moko     6271: fi
1.13      paf      6272: 
1.60      paf      6273: 
1.94      misha    6274: 
1.150     moko     6275: # Check whether --enable-stringstream was given.
1.237     moko     6276: if test ${enable_stringstream+y}
                   6277: then :
1.150     moko     6278:   enableval=$enable_stringstream;
1.94      misha    6279: if test "$enableval" = "no"; then
1.237     moko     6280:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling stringstream usage" >&5
                   6281: printf "%s\n" "$as_me: WARNING: disabling stringstream usage" >&2;}
1.94      misha    6282: 
1.237     moko     6283: printf "%s\n" "#define NO_STRINGSTREAM /**/" >>confdefs.h
1.94      misha    6284: 
                   6285: fi
                   6286: 
                   6287: 
1.150     moko     6288: fi
1.94      misha    6289: 
                   6290: 
1.62      paf      6291: 
1.17      paf      6292: 
1.150     moko     6293: # Check whether --with-gc was given.
1.237     moko     6294: if test ${with_gc+y}
                   6295: then :
1.150     moko     6296:   withval=$with_gc;
1.17      paf      6297: 
1.142     moko     6298:        GC=$withval
                   6299:        GC_LIBS="$GC/libgc.la"
                   6300: 
                   6301:        if test -f $GC_LIBS; then
                   6302:                GC_OK="yes"
                   6303:        else
                   6304:                GC_LIBS="-L$GC -lgc"
                   6305:        fi
1.62      paf      6306: 
1.151     moko     6307:        if test "$GC" = "yes"; then
                   6308:                GC=""
                   6309:                GC_LIBS="-lgc"
1.237     moko     6310:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc value was not specified, hoping linker would find it" >&5
                   6311: printf "%s\n" "$as_me: WARNING: --with-gc value was not specified, hoping linker would find it" >&2;}
1.151     moko     6312:        fi
                   6313: 
1.237     moko     6314: else case e in #(
                   6315:   e)
1.142     moko     6316:        GC_LIBS="-lgc"
1.237     moko     6317:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   6318: printf "%s\n" "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
                   6319:  ;;
                   6320: esac
1.150     moko     6321: fi
1.17      paf      6322: 
                   6323: 
1.142     moko     6324: if test -z "$GC_OK"; then
1.237     moko     6325:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libgc" >&5
                   6326: printf %s "checking for libgc... " >&6; }
1.138     moko     6327:        SAVE_LIBS=$LIBS
                   6328:        LIBS="$LIBS $GC_LIBS"
1.128     moko     6329: 
1.229     moko     6330: 
                   6331:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      6332: /* end confdefs.h.  */
1.142     moko     6333:  extern int GC_dont_gc;
1.67      paf      6334: int
1.237     moko     6335: main (void)
1.67      paf      6336: {
1.142     moko     6337:  GC_dont_gc=0;
1.67      paf      6338:   ;
                   6339:   return 0;
                   6340: }
                   6341: _ACEOF
1.237     moko     6342: if ac_fn_c_try_link "$LINENO"
                   6343: then :
                   6344:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6345: printf "%s\n" "yes" >&6; }
                   6346: 
                   6347: else case e in #(
                   6348:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6349: printf "%s\n" "no" >&6; }
1.142     moko     6350:                if test -z "$GC"; then
1.201     moko     6351:                        as_fn_error $? "please specify path to libgc: --with-gc=DIR" "$LINENO" 5
1.142     moko     6352:                else
1.150     moko     6353:                        as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5
1.142     moko     6354:                fi
1.67      paf      6355: 
1.237     moko     6356:    ;;
                   6357: esac
1.67      paf      6358: fi
1.237     moko     6359: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     6360:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     6361: 
1.138     moko     6362:        LIBS=$SAVE_LIBS
                   6363: fi
1.67      paf      6364: 
                   6365: 
1.1       paf      6366: 
1.15      paf      6367: 
1.142     moko     6368: 
1.150     moko     6369: # Check whether --with-pcre was given.
1.237     moko     6370: if test ${with_pcre+y}
                   6371: then :
1.150     moko     6372:   withval=$with_pcre;
1.100     misha    6373:        PCRE=$withval
                   6374: 
1.151     moko     6375:        if test "$PCRE" = "yes"; then
                   6376:                PCRE=""
1.237     moko     6377:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5
                   6378: printf "%s\n" "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}
1.218     moko     6379:        else
                   6380:                PCRE_INCLUDES="-I$PCRE/include"
                   6381: 
                   6382:                if test -f $PCRE/include/pcre.h -a -f $PCRE/lib/libpcre.la; then
                   6383:                        PCRE_OK="yes"
                   6384:                        PCRE_LIBS="$PCRE/lib/libpcre.la"
                   6385:                else
                   6386:                        if test -f $PCRE/include/pcre2.h -a -f $PCRE/lib/libpcre2-8.la; then
                   6387:                                PCRE_OK="yes"
                   6388:                                PCRE_LIBS="$PCRE/lib/libpcre2-8.la"
                   6389: 
1.237     moko     6390: printf "%s\n" "#define HAVE_PCRE2 /**/" >>confdefs.h
1.218     moko     6391: 
                   6392:                        else
                   6393:                                PCRE_LIBS="-L$PCRE/lib"
                   6394:                        fi
                   6395:                fi
1.151     moko     6396:        fi
1.142     moko     6397: 
1.237     moko     6398: else case e in #(
                   6399:   e)
                   6400:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   6401: printf "%s\n" "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
                   6402:  ;;
                   6403: esac
1.150     moko     6404: fi
1.100     misha    6405: 
                   6406: 
1.142     moko     6407: if test -z "$PCRE_OK"; then
1.237     moko     6408:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcre2" >&5
                   6409: printf %s "checking for pcre2... " >&6; }
1.218     moko     6410:        SAVE_LIBS=$LIBS
                   6411:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES -lpcre2-8"
1.229     moko     6412: 
                   6413:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.218     moko     6414: /* end confdefs.h.  */
                   6415:  #define PCRE2_CODE_UNIT_WIDTH 8
                   6416: #include <pcre2.h>
                   6417: int
1.237     moko     6418: main (void)
1.218     moko     6419: {
                   6420:  void *v=pcre2_general_context_create(0,0,0);
                   6421:   ;
                   6422:   return 0;
                   6423: }
                   6424: _ACEOF
1.237     moko     6425: if ac_fn_c_try_link "$LINENO"
                   6426: then :
                   6427:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6428: printf "%s\n" "yes" >&6; }
1.218     moko     6429:                PCRE_LIBS="$PCRE_LIBS -lpcre2-8"
                   6430: 
1.237     moko     6431: printf "%s\n" "#define HAVE_PCRE2 /**/" >>confdefs.h
1.218     moko     6432: 
                   6433:                PCRE_OK="yes"
                   6434: 
1.237     moko     6435: else case e in #(
                   6436:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6437: printf "%s\n" "no" >&6; }
1.229     moko     6438: 
1.237     moko     6439:    ;;
                   6440: esac
1.218     moko     6441: fi
1.237     moko     6442: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.218     moko     6443:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     6444: 
1.218     moko     6445:        LIBS=$SAVE_LIBS
                   6446: fi
                   6447: 
                   6448: if test -z "$PCRE_OK"; then
1.237     moko     6449:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcre" >&5
                   6450: printf %s "checking for pcre... " >&6; }
1.218     moko     6451:        PCRE_LIBS="$PCRE_LIBS -lpcre"
1.142     moko     6452:        SAVE_LIBS=$LIBS
                   6453:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
1.229     moko     6454: 
                   6455:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     6456: /* end confdefs.h.  */
                   6457:  #include <pcre.h>
                   6458: int
1.237     moko     6459: main (void)
1.142     moko     6460: {
                   6461:  const char *v=pcre_version();
                   6462:   ;
                   6463:   return 0;
                   6464: }
                   6465: _ACEOF
1.237     moko     6466: if ac_fn_c_try_link "$LINENO"
                   6467: then :
                   6468:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6469: printf "%s\n" "yes" >&6; }
                   6470: 
                   6471: else case e in #(
                   6472:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6473: printf "%s\n" "no" >&6; }
1.142     moko     6474:                if test -z "$PCRE"; then
1.201     moko     6475:                        as_fn_error $? "please specify path to PCRE: --with-pcre=DIR" "$LINENO" 5
1.142     moko     6476:                else
1.150     moko     6477:                        as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5
1.142     moko     6478:                fi
                   6479: 
1.237     moko     6480:    ;;
                   6481: esac
1.142     moko     6482: fi
1.237     moko     6483: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     6484:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     6485: 
1.142     moko     6486:        LIBS=$SAVE_LIBS
                   6487: fi
1.100     misha    6488: 
                   6489: 
                   6490: 
                   6491: 
1.66      paf      6492: 
                   6493: 
1.150     moko     6494: # Check whether --with-xml was given.
1.237     moko     6495: if test ${with_xml+y}
                   6496: then :
1.150     moko     6497:   withval=$with_xml;
1.66      paf      6498: 
1.142     moko     6499:        XML=$withval
                   6500:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   6501: 
                   6502:        if test -z "$XML" -o "$XML" = "yes"; then
                   6503:                XML=""
                   6504:                XML_INCLUDES="-I/usr/include/libxml2"
1.237     moko     6505:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   6506: printf "%s\n" "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
1.142     moko     6507:        else
                   6508:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.193     moko     6509:                XML_LIBS="-L$XML/lib $XML_LIBS"
1.67      paf      6510: 
1.142     moko     6511:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   6512:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   6513:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   6514:                        XML_OK="yes"
                   6515:                fi
1.67      paf      6516:        fi
1.66      paf      6517: 
1.142     moko     6518:        if test -z "$XML_OK"; then
1.237     moko     6519:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
                   6520: printf %s "checking for xml... " >&6; }
1.142     moko     6521:                SAVE_LIBS=$LIBS
                   6522:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
1.229     moko     6523: 
                   6524:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     6525: /* end confdefs.h.  */
                   6526:  #include <libxslt/xslt.h>
                   6527: int
1.237     moko     6528: main (void)
1.142     moko     6529: {
                   6530:  const char *v=xsltEngineVersion;
                   6531:   ;
                   6532:   return 0;
                   6533: }
                   6534: _ACEOF
1.237     moko     6535: if ac_fn_c_try_link "$LINENO"
                   6536: then :
                   6537:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6538: printf "%s\n" "yes" >&6; }
                   6539: 
                   6540: else case e in #(
                   6541:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6542: printf "%s\n" "no" >&6; }
1.142     moko     6543:                        if test -z "$XML"; then
1.201     moko     6544:                                as_fn_error $? "please specify path to Gnome XML libraries: --with-xml=DIR" "$LINENO" 5
1.142     moko     6545:                        else
1.150     moko     6546:                                as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5
1.142     moko     6547:                        fi
                   6548: 
1.237     moko     6549:    ;;
                   6550: esac
1.142     moko     6551: fi
1.237     moko     6552: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     6553:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     6554: 
1.142     moko     6555:                LIBS=$SAVE_LIBS
1.67      paf      6556:        fi
1.66      paf      6557: 
1.237     moko     6558: printf "%s\n" "#define XML /**/" >>confdefs.h
1.150     moko     6559: 
1.66      paf      6560: 
1.150     moko     6561: fi
1.66      paf      6562: 
1.90      paf      6563: 
1.66      paf      6564: 
                   6565: 
                   6566: 
                   6567: 
1.90      paf      6568: 
1.154     moko     6569: # Check whether --with-mailreceive was given.
1.237     moko     6570: if test ${with_mailreceive+y}
                   6571: then :
1.154     moko     6572:   withval=$with_mailreceive;
                   6573:        MIME=$withval
1.155     moko     6574:        GLIB="glib-2.0"
1.154     moko     6575:        GMIME="gmime-2.4"
                   6576: 
                   6577:        if test -z "$MIME" -o "$MIME" = "yes"; then
                   6578:                MIME=""
                   6579:                MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   6580:                MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
1.194     moko     6581:                if test -z "$MIME_LIBS"; then
                   6582:                        GMIME="gmime-3.0"
                   6583:                        MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   6584:                        MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
                   6585:                fi
1.237     moko     6586:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&5
                   6587: printf "%s\n" "$as_me: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&2;}
1.154     moko     6588:        else
1.155     moko     6589:                MIME_INCLUDES="-I$MIME/include/$GMIME"
1.154     moko     6590:                MIME_LIBS="-l$GMIME"
                   6591:                if test -f $MIME/include/$GMIME/gmime/gmime.h -a -f $MIME/lib/lib$GMIME.la; then
                   6592:                        MIME_LIBS="$MIME/lib/lib$GMIME.la"
1.155     moko     6593:                        if test -f $MIME/lib/lib$GLIB.la; then
                   6594:                                MIME_INCLUDES="$MIME_INCLUDES -I$MIME/include/$GLIB -I$MIME/lib/$GLIB/include"
                   6595:                        else
                   6596:                                GLIB_INCLUDES=`pkg-config --cflags $GLIB 2>/dev/null`
                   6597:                                MIME_INCLUDES="$MIME_INCLUDES $GLIB_INCLUDES"
                   6598:                        fi
1.154     moko     6599:                        MIME_OK="yes"
                   6600:                fi
1.67      paf      6601:        fi
1.66      paf      6602: 
1.154     moko     6603:        if test -z "$MIME_OK"; then
1.237     moko     6604:                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mime" >&5
                   6605: printf %s "checking for mime... " >&6; }
1.154     moko     6606:                SAVE_LIBS=$LIBS
                   6607:                LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES"
1.229     moko     6608: 
                   6609:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.154     moko     6610: /* end confdefs.h.  */
                   6611:  #include <gmime/gmime.h>
                   6612: int
1.237     moko     6613: main (void)
1.154     moko     6614: {
                   6615:  guint v=gmime_major_version;
                   6616:   ;
                   6617:   return 0;
                   6618: }
                   6619: _ACEOF
1.237     moko     6620: if ac_fn_c_try_link "$LINENO"
                   6621: then :
                   6622:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6623: printf "%s\n" "yes" >&6; }
                   6624: 
                   6625: else case e in #(
                   6626:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6627: printf "%s\n" "no" >&6; }
1.154     moko     6628:                        if test -z "$MIME"; then
1.201     moko     6629:                                as_fn_error $? "please specify path to Gnome MIME library: --with-mailreceive=DIR" "$LINENO" 5
1.154     moko     6630:                        else
                   6631:                                as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5
1.90      paf      6632:                        fi
1.66      paf      6633: 
1.237     moko     6634:    ;;
                   6635: esac
1.150     moko     6636: fi
1.237     moko     6637: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.154     moko     6638:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     6639: 
1.154     moko     6640:                LIBS=$SAVE_LIBS
1.67      paf      6641:        fi
1.66      paf      6642: 
1.237     moko     6643: printf "%s\n" "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      6644: 
                   6645: 
1.154     moko     6646: fi
1.66      paf      6647: 
                   6648: 
                   6649: 
                   6650: 
                   6651: 
                   6652: 
1.241   ! moko     6653: ac_header= ac_cache=
        !          6654: for ac_item in $ac_header_c_list
        !          6655: do
        !          6656:   if test $ac_cache; then
        !          6657:     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
        !          6658:     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
        !          6659:       printf "%s\n" "#define $ac_item 1" >> confdefs.h
        !          6660:     fi
        !          6661:     ac_header= ac_cache=
        !          6662:   elif test $ac_header; then
        !          6663:     ac_cache=$ac_item
        !          6664:   else
        !          6665:     ac_header=$ac_item
        !          6666:   fi
        !          6667: done
        !          6668: 
        !          6669: 
        !          6670: 
        !          6671: 
        !          6672: 
        !          6673: 
        !          6674: 
        !          6675: 
        !          6676: if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
        !          6677: then :
        !          6678: 
        !          6679: printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
        !          6680: 
        !          6681: fi
1.66      paf      6682: 
1.232     moko     6683: # Check whether --with-amqp was given.
1.237     moko     6684: if test ${with_amqp+y}
                   6685: then :
1.232     moko     6686:   withval=$with_amqp;
                   6687:     AMQP=$withval
                   6688: 
                   6689:     if test -z "$AMQP" -o "$AMQP" = "yes"; then
                   6690:         AMQP_INCLUDES=""
                   6691:         AMQP_LIBS="-lrabbitmq"
1.237     moko     6692:         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-amqp value was not specified, hoping linker would find it" >&5
                   6693: printf "%s\n" "$as_me: WARNING: --with-amqp value was not specified, hoping linker would find it" >&2;}
1.232     moko     6694:     else
                   6695:         AMQP_INCLUDES="-I$AMQP/include"
                   6696:         if test -f $AMQP/lib/librabbitmq.la; then
                   6697:             AMQP_LIBS="$AMQP/lib/librabbitmq.la"
                   6698:         else
                   6699:             AMQP_LIBS="-L$AMQP/lib -lrabbitmq"
                   6700:         fi
                   6701:     fi
                   6702: 
1.237     moko     6703:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for librabbitmq" >&5
                   6704: printf %s "checking for librabbitmq... " >&6; }
1.232     moko     6705:     SAVE_LIBS=$LIBS
                   6706:     LIBS="$LIBS $AMQP_LIBS $AMQP_INCLUDES"
                   6707: 
                   6708:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6709: /* end confdefs.h.  */
                   6710:  #include <amqp.h>
                   6711: int
1.237     moko     6712: main (void)
1.232     moko     6713: {
                   6714:  amqp_connection_state_t c = 0;
                   6715:   ;
                   6716:   return 0;
                   6717: }
                   6718: _ACEOF
1.237     moko     6719: if ac_fn_c_try_link "$LINENO"
                   6720: then :
                   6721:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6722: printf "%s\n" "yes" >&6; }
                   6723: 
                   6724: else case e in #(
                   6725:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6726: printf "%s\n" "no" >&6; }
1.232     moko     6727:         if test -z "$AMQP"; then
                   6728:             as_fn_error $? "please specify path to librabbitmq: --with-amqp=DIR" "$LINENO" 5
                   6729:         else
                   6730:             as_fn_error $? "$AMQP does not seem to be valid librabbitmq installation directory" "$LINENO" 5
                   6731:         fi
                   6732: 
1.237     moko     6733:    ;;
                   6734: esac
1.232     moko     6735: fi
1.237     moko     6736: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.232     moko     6737:     conftest$ac_exeext conftest.$ac_ext
                   6738: 
                   6739:     LIBS=$SAVE_LIBS
                   6740: 
1.241   ! moko     6741:     SAVE_CPPFLAGS=$CPPFLAGS
        !          6742:     CPPFLAGS="$CPPFLAGS $AMQP_INCLUDES"
        !          6743:     ac_fn_c_check_header_compile "$LINENO" "amqp_ssl_socket.h" "ac_cv_header_amqp_ssl_socket_h" "$ac_includes_default"
        !          6744: if test "x$ac_cv_header_amqp_ssl_socket_h" = xyes
        !          6745: then :
        !          6746: 
        !          6747: else case e in #(
        !          6748:   e)
        !          6749: printf "%s\n" "#define WITHOUT_AMQP_SSL /**/" >>confdefs.h
        !          6750:  ;;
        !          6751: esac
        !          6752: fi
        !          6753: 
        !          6754:     CPPFLAGS=$SAVE_CPPFLAGS
        !          6755: 
        !          6756: 
1.237     moko     6757: printf "%s\n" "#define WITH_AMQP /**/" >>confdefs.h
1.232     moko     6758: 
                   6759: 
                   6760: fi
                   6761: 
                   6762: 
                   6763: 
                   6764: 
                   6765: 
                   6766: 
1.239     moko     6767: 
                   6768: # Check whether --with-redis was given.
                   6769: if test ${with_redis+y}
                   6770: then :
                   6771:   withval=$with_redis;
                   6772:     REDIS=$withval
                   6773: 
                   6774:     if test -z "$REDIS" -o "$REDIS" = "yes"; then
                   6775:         REDIS_INCLUDES=""
                   6776:         REDIS_LIBS="-lhiredis"
                   6777:         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-redis value was not specified, hoping linker would find it" >&5
                   6778: printf "%s\n" "$as_me: WARNING: --with-redis value was not specified, hoping linker would find it" >&2;}
                   6779:     else
                   6780:         REDIS_INCLUDES="-I$REDIS/include"
                   6781:         if test -f $REDIS/lib/libhiredis.la; then
                   6782:             REDIS_LIBS="$REDIS/lib/libhiredis.la"
                   6783:         else
                   6784:             REDIS_LIBS="-L$REDIS/lib -lhiredis"
                   6785:         fi
                   6786:     fi
                   6787: 
                   6788:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hiredis" >&5
                   6789: printf %s "checking for hiredis... " >&6; }
                   6790:     SAVE_LIBS=$LIBS
                   6791:     LIBS="$LIBS $REDIS_LIBS $REDIS_INCLUDES"
                   6792: 
                   6793:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6794: /* end confdefs.h.  */
                   6795:  #include <hiredis/hiredis.h>
                   6796: int
                   6797: main (void)
                   6798: {
                   6799:  redisContext *c = redisConnect("", 0);
                   6800:   ;
                   6801:   return 0;
                   6802: }
                   6803: _ACEOF
                   6804: if ac_fn_c_try_link "$LINENO"
                   6805: then :
                   6806:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6807: printf "%s\n" "yes" >&6; }
                   6808: 
                   6809: else case e in #(
                   6810:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6811: printf "%s\n" "no" >&6; }
                   6812:         if test -z "$REDIS"; then
                   6813:             as_fn_error $? "please specify path to hiredis: --with-redis=DIR" "$LINENO" 5
                   6814:         else
                   6815:             as_fn_error $? "$REDIS does not seem to be valid hiredis installation directory" "$LINENO" 5
                   6816:         fi
                   6817: 
                   6818:    ;;
                   6819: esac
                   6820: fi
                   6821: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   6822:     conftest$ac_exeext conftest.$ac_ext
                   6823: 
                   6824:     LIBS=$SAVE_LIBS
                   6825: 
                   6826: printf "%s\n" "#define WITH_REDIS /**/" >>confdefs.h
                   6827: 
                   6828: 
                   6829: fi
                   6830: 
                   6831: 
                   6832: 
                   6833: 
                   6834: 
                   6835: 
1.150     moko     6836: # Check whether --with-sendmail was given.
1.237     moko     6837: if test ${with_sendmail+y}
                   6838: then :
1.150     moko     6839:   withval=$with_sendmail;
1.237     moko     6840: printf "%s\n" "#define PA_FORCED_SENDMAIL \"$withval\"" >>confdefs.h
1.66      paf      6841: 
                   6842: 
1.150     moko     6843: fi
1.66      paf      6844: 
                   6845: 
                   6846: 
1.122     moko     6847: 
1.150     moko     6848: # Check whether --with-apache was given.
1.237     moko     6849: if test ${with_apache+y}
                   6850: then :
1.150     moko     6851:   withval=$with_apache;
1.122     moko     6852:        APXS=$withval
                   6853: 
                   6854:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   6855:                APXS=`which apxs 2>/dev/null`
1.142     moko     6856:                if test -z "$APXS"; then
                   6857:                        APXS=`which apxs2 2>/dev/null`
                   6858:                fi
                   6859:        fi
1.122     moko     6860: 
                   6861:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   6862: 
                   6863:        if test -z "$APACHE"; then
1.150     moko     6864:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
1.67      paf      6865:        fi
1.7       paf      6866: 
1.122     moko     6867:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   6868:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   6869:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   6870:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   6871: 
1.150     moko     6872: fi
1.7       paf      6873: 
                   6874: 
1.62      paf      6875: 
1.122     moko     6876: 
1.150     moko     6877:  if test -n "$APACHE"; then
1.122     moko     6878:   COMPILE_APACHE_MODULE_TRUE=
                   6879:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      6880: else
1.122     moko     6881:   COMPILE_APACHE_MODULE_TRUE='#'
                   6882:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      6883: fi
1.1       paf      6884: 
                   6885: 
                   6886: 
1.62      paf      6887: 
                   6888: 
1.7       paf      6889: 
1.1       paf      6890: 
                   6891: 
                   6892: 
1.62      paf      6893: 
1.128     moko     6894: case `pwd` in
                   6895:   *\ * | *\    *)
1.237     moko     6896:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   6897: printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.128     moko     6898: esac
                   6899: 
                   6900: 
                   6901: 
1.237     moko     6902: macro_version='2.5.4'
                   6903: macro_revision='2.5.4'
                   6904: 
1.128     moko     6905: 
                   6906: 
                   6907: 
                   6908: 
                   6909: 
                   6910: 
                   6911: 
                   6912: 
                   6913: 
                   6914: 
                   6915: 
                   6916: 
                   6917: 
1.237     moko     6918: ltmain=$ac_aux_dir/ltmain.sh
1.128     moko     6919: 
                   6920: # Backslashify metacharacters that are still active within
                   6921: # double-quoted strings.
                   6922: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      6923: 
1.128     moko     6924: # Same as above, but do not quote variable references.
                   6925: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      6926: 
1.128     moko     6927: # Sed substitution to delay expansion of an escaped shell variable in a
                   6928: # double_quote_subst'ed string.
                   6929: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      6930: 
1.128     moko     6931: # Sed substitution to delay expansion of an escaped single quote.
                   6932: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      6933: 
1.128     moko     6934: # Sed substitution to avoid accidental globbing in evaled expressions
                   6935: no_glob_subst='s/\*/\\\*/g'
1.86      paf      6936: 
1.128     moko     6937: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   6938: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   6939: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      6940: 
1.237     moko     6941: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   6942: printf %s "checking how to print strings... " >&6; }
1.128     moko     6943: # Test print first, because it will be a builtin if present.
                   6944: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   6945:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   6946:   ECHO='print -r --'
                   6947: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   6948:   ECHO='printf %s\n'
                   6949: else
                   6950:   # Use this function as a fallback that always works.
                   6951:   func_fallback_echo ()
                   6952:   {
                   6953:     eval 'cat <<_LTECHO_EOF
                   6954: $1
                   6955: _LTECHO_EOF'
                   6956:   }
                   6957:   ECHO='func_fallback_echo'
                   6958: fi
1.86      paf      6959: 
1.128     moko     6960: # func_echo_all arg...
                   6961: # Invoke $ECHO with all args, space-separated.
                   6962: func_echo_all ()
1.66      paf      6963: {
1.128     moko     6964:     $ECHO ""
1.66      paf      6965: }
1.10      paf      6966: 
1.237     moko     6967: case $ECHO in
                   6968:   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   6969: printf "%s\n" "printf" >&6; } ;;
                   6970:   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   6971: printf "%s\n" "print -r" >&6; } ;;
                   6972:   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   6973: printf "%s\n" "cat" >&6; } ;;
1.128     moko     6974: esac
                   6975: 
                   6976: 
                   6977: 
                   6978: 
                   6979: 
                   6980: 
                   6981: 
                   6982: 
                   6983: 
                   6984: 
                   6985: 
                   6986: 
                   6987: 
                   6988: 
1.237     moko     6989: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   6990: printf %s "checking for a sed that does not truncate output... " >&6; }
                   6991: if test ${ac_cv_path_SED+y}
                   6992: then :
                   6993:   printf %s "(cached) " >&6
                   6994: else case e in #(
                   6995:   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
1.150     moko     6996:      for ac_i in 1 2 3 4 5 6 7; do
                   6997:        ac_script="$ac_script$as_nl$ac_script"
                   6998:      done
                   6999:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   7000:      { ac_script=; unset ac_script;}
                   7001:      if test -z "$SED"; then
                   7002:   ac_path_SED_found=false
                   7003:   # Loop through the user's path and test for each of PROGNAME-LIST
                   7004:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     7005: for as_dir in $PATH
                   7006: do
                   7007:   IFS=$as_save_IFS
1.237     moko     7008:   case $as_dir in #(((
                   7009:     '') as_dir=./ ;;
                   7010:     */) ;;
                   7011:     *) as_dir=$as_dir/ ;;
                   7012:   esac
                   7013:     for ac_prog in sed gsed
                   7014:    do
1.128     moko     7015:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     7016:       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
1.166     moko     7017:       as_fn_executable_p "$ac_path_SED" || continue
1.150     moko     7018: # Check for GNU ac_path_SED and select it if it is found.
                   7019:   # Check for GNU $ac_path_SED
1.237     moko     7020: case `"$ac_path_SED" --version 2>&1` in #(
1.150     moko     7021: *GNU*)
                   7022:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
1.237     moko     7023: #(
1.150     moko     7024: *)
                   7025:   ac_count=0
1.237     moko     7026:   printf %s 0123456789 >"conftest.in"
1.150     moko     7027:   while :
                   7028:   do
                   7029:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   7030:     mv "conftest.tmp" "conftest.in"
                   7031:     cp "conftest.in" "conftest.nl"
1.237     moko     7032:     printf "%s\n" '' >> "conftest.nl"
1.150     moko     7033:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   7034:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   7035:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   7036:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   7037:       # Best one so far, save it but keep looking for a better one
                   7038:       ac_cv_path_SED="$ac_path_SED"
                   7039:       ac_path_SED_max=$ac_count
                   7040:     fi
                   7041:     # 10*(2^10) chars as input seems more than enough
                   7042:     test $ac_count -gt 10 && break
                   7043:   done
                   7044:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   7045: esac
                   7046: 
                   7047:       $ac_path_SED_found && break 3
1.128     moko     7048:     done
                   7049:   done
1.150     moko     7050:   done
1.128     moko     7051: IFS=$as_save_IFS
1.150     moko     7052:   if test -z "$ac_cv_path_SED"; then
                   7053:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.128     moko     7054:   fi
1.150     moko     7055: else
                   7056:   ac_cv_path_SED=$SED
                   7057: fi
1.237     moko     7058:  ;;
                   7059: esac
1.66      paf      7060: fi
1.237     moko     7061: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   7062: printf "%s\n" "$ac_cv_path_SED" >&6; }
1.150     moko     7063:  SED="$ac_cv_path_SED"
                   7064:   rm -f conftest.sed
1.128     moko     7065: 
                   7066: test -z "$SED" && SED=sed
                   7067: Xsed="$SED -e 1s/^X//"
1.10      paf      7068: 
1.128     moko     7069: 
                   7070: 
                   7071: 
                   7072: 
                   7073: 
                   7074: 
                   7075: 
                   7076: 
                   7077: 
                   7078: 
1.237     moko     7079: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   7080: printf %s "checking for grep that handles long lines and -e... " >&6; }
                   7081: if test ${ac_cv_path_GREP+y}
                   7082: then :
                   7083:   printf %s "(cached) " >&6
                   7084: else case e in #(
                   7085:   e) if test -z "$GREP"; then
1.150     moko     7086:   ac_path_GREP_found=false
                   7087:   # Loop through the user's path and test for each of PROGNAME-LIST
                   7088:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7089: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   7090: do
                   7091:   IFS=$as_save_IFS
1.237     moko     7092:   case $as_dir in #(((
                   7093:     '') as_dir=./ ;;
                   7094:     */) ;;
                   7095:     *) as_dir=$as_dir/ ;;
                   7096:   esac
                   7097:     for ac_prog in grep ggrep
                   7098:    do
1.150     moko     7099:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     7100:       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
1.166     moko     7101:       as_fn_executable_p "$ac_path_GREP" || continue
1.150     moko     7102: # Check for GNU ac_path_GREP and select it if it is found.
                   7103:   # Check for GNU $ac_path_GREP
1.237     moko     7104: case `"$ac_path_GREP" --version 2>&1` in #(
1.150     moko     7105: *GNU*)
                   7106:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
1.237     moko     7107: #(
1.150     moko     7108: *)
                   7109:   ac_count=0
1.237     moko     7110:   printf %s 0123456789 >"conftest.in"
1.150     moko     7111:   while :
                   7112:   do
                   7113:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   7114:     mv "conftest.tmp" "conftest.in"
                   7115:     cp "conftest.in" "conftest.nl"
1.237     moko     7116:     printf "%s\n" 'GREP' >> "conftest.nl"
1.150     moko     7117:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   7118:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   7119:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   7120:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   7121:       # Best one so far, save it but keep looking for a better one
                   7122:       ac_cv_path_GREP="$ac_path_GREP"
                   7123:       ac_path_GREP_max=$ac_count
1.128     moko     7124:     fi
1.150     moko     7125:     # 10*(2^10) chars as input seems more than enough
                   7126:     test $ac_count -gt 10 && break
                   7127:   done
                   7128:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   7129: esac
                   7130: 
                   7131:       $ac_path_GREP_found && break 3
                   7132:     done
                   7133:   done
                   7134:   done
                   7135: IFS=$as_save_IFS
                   7136:   if test -z "$ac_cv_path_GREP"; then
                   7137:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   7138:   fi
                   7139: else
                   7140:   ac_cv_path_GREP=$GREP
                   7141: fi
1.237     moko     7142:  ;;
                   7143: esac
1.128     moko     7144: fi
1.237     moko     7145: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   7146: printf "%s\n" "$ac_cv_path_GREP" >&6; }
1.150     moko     7147:  GREP="$ac_cv_path_GREP"
                   7148: 
                   7149: 
1.237     moko     7150: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   7151: printf %s "checking for egrep... " >&6; }
                   7152: if test ${ac_cv_path_EGREP+y}
                   7153: then :
                   7154:   printf %s "(cached) " >&6
                   7155: else case e in #(
                   7156:   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
1.150     moko     7157:    then ac_cv_path_EGREP="$GREP -E"
                   7158:    else
                   7159:      if test -z "$EGREP"; then
                   7160:   ac_path_EGREP_found=false
                   7161:   # Loop through the user's path and test for each of PROGNAME-LIST
                   7162:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7163: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   7164: do
                   7165:   IFS=$as_save_IFS
1.237     moko     7166:   case $as_dir in #(((
                   7167:     '') as_dir=./ ;;
                   7168:     */) ;;
                   7169:     *) as_dir=$as_dir/ ;;
                   7170:   esac
                   7171:     for ac_prog in egrep
                   7172:    do
1.150     moko     7173:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     7174:       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
1.166     moko     7175:       as_fn_executable_p "$ac_path_EGREP" || continue
1.150     moko     7176: # Check for GNU ac_path_EGREP and select it if it is found.
                   7177:   # Check for GNU $ac_path_EGREP
1.237     moko     7178: case `"$ac_path_EGREP" --version 2>&1` in #(
1.150     moko     7179: *GNU*)
                   7180:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
1.237     moko     7181: #(
1.150     moko     7182: *)
                   7183:   ac_count=0
1.237     moko     7184:   printf %s 0123456789 >"conftest.in"
1.150     moko     7185:   while :
                   7186:   do
                   7187:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   7188:     mv "conftest.tmp" "conftest.in"
                   7189:     cp "conftest.in" "conftest.nl"
1.237     moko     7190:     printf "%s\n" 'EGREP' >> "conftest.nl"
1.150     moko     7191:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   7192:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   7193:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   7194:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   7195:       # Best one so far, save it but keep looking for a better one
                   7196:       ac_cv_path_EGREP="$ac_path_EGREP"
                   7197:       ac_path_EGREP_max=$ac_count
                   7198:     fi
                   7199:     # 10*(2^10) chars as input seems more than enough
                   7200:     test $ac_count -gt 10 && break
                   7201:   done
                   7202:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   7203: esac
1.128     moko     7204: 
1.150     moko     7205:       $ac_path_EGREP_found && break 3
                   7206:     done
                   7207:   done
                   7208:   done
                   7209: IFS=$as_save_IFS
                   7210:   if test -z "$ac_cv_path_EGREP"; then
                   7211:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   7212:   fi
                   7213: else
                   7214:   ac_cv_path_EGREP=$EGREP
                   7215: fi
1.128     moko     7216: 
1.237     moko     7217:    fi ;;
                   7218: esac
1.150     moko     7219: fi
1.237     moko     7220: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   7221: printf "%s\n" "$ac_cv_path_EGREP" >&6; }
1.150     moko     7222:  EGREP="$ac_cv_path_EGREP"
                   7223: 
1.237     moko     7224:          EGREP_TRADITIONAL=$EGREP
                   7225:  ac_cv_path_EGREP_TRADITIONAL=$EGREP
1.150     moko     7226: 
1.237     moko     7227: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   7228: printf %s "checking for fgrep... " >&6; }
                   7229: if test ${ac_cv_path_FGREP+y}
                   7230: then :
                   7231:   printf %s "(cached) " >&6
                   7232: else case e in #(
                   7233:   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
1.150     moko     7234:    then ac_cv_path_FGREP="$GREP -F"
                   7235:    else
                   7236:      if test -z "$FGREP"; then
                   7237:   ac_path_FGREP_found=false
                   7238:   # Loop through the user's path and test for each of PROGNAME-LIST
                   7239:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7240: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   7241: do
                   7242:   IFS=$as_save_IFS
1.237     moko     7243:   case $as_dir in #(((
                   7244:     '') as_dir=./ ;;
                   7245:     */) ;;
                   7246:     *) as_dir=$as_dir/ ;;
                   7247:   esac
                   7248:     for ac_prog in fgrep
                   7249:    do
1.150     moko     7250:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     7251:       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
1.166     moko     7252:       as_fn_executable_p "$ac_path_FGREP" || continue
1.150     moko     7253: # Check for GNU ac_path_FGREP and select it if it is found.
                   7254:   # Check for GNU $ac_path_FGREP
1.237     moko     7255: case `"$ac_path_FGREP" --version 2>&1` in #(
1.150     moko     7256: *GNU*)
                   7257:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
1.237     moko     7258: #(
1.150     moko     7259: *)
                   7260:   ac_count=0
1.237     moko     7261:   printf %s 0123456789 >"conftest.in"
1.150     moko     7262:   while :
                   7263:   do
                   7264:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   7265:     mv "conftest.tmp" "conftest.in"
                   7266:     cp "conftest.in" "conftest.nl"
1.237     moko     7267:     printf "%s\n" 'FGREP' >> "conftest.nl"
1.150     moko     7268:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   7269:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   7270:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   7271:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   7272:       # Best one so far, save it but keep looking for a better one
                   7273:       ac_cv_path_FGREP="$ac_path_FGREP"
                   7274:       ac_path_FGREP_max=$ac_count
1.128     moko     7275:     fi
1.150     moko     7276:     # 10*(2^10) chars as input seems more than enough
                   7277:     test $ac_count -gt 10 && break
                   7278:   done
                   7279:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   7280: esac
                   7281: 
                   7282:       $ac_path_FGREP_found && break 3
                   7283:     done
                   7284:   done
                   7285:   done
                   7286: IFS=$as_save_IFS
                   7287:   if test -z "$ac_cv_path_FGREP"; then
                   7288:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   7289:   fi
                   7290: else
                   7291:   ac_cv_path_FGREP=$FGREP
                   7292: fi
                   7293: 
1.237     moko     7294:    fi ;;
                   7295: esac
1.128     moko     7296: fi
1.237     moko     7297: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   7298: printf "%s\n" "$ac_cv_path_FGREP" >&6; }
1.150     moko     7299:  FGREP="$ac_cv_path_FGREP"
1.128     moko     7300: 
                   7301: 
                   7302: test -z "$GREP" && GREP=grep
                   7303: 
                   7304: 
                   7305: 
                   7306: 
                   7307: 
                   7308: 
                   7309: 
                   7310: 
                   7311: 
                   7312: 
                   7313: 
                   7314: 
                   7315: 
                   7316: 
                   7317: 
                   7318: 
                   7319: 
                   7320: 
                   7321: 
1.150     moko     7322: # Check whether --with-gnu-ld was given.
1.237     moko     7323: if test ${with_gnu_ld+y}
                   7324: then :
                   7325:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
                   7326: else case e in #(
                   7327:   e) with_gnu_ld=no ;;
                   7328: esac
1.150     moko     7329: fi
                   7330: 
1.128     moko     7331: ac_prog=ld
1.237     moko     7332: if test yes = "$GCC"; then
1.128     moko     7333:   # Check if gcc -print-prog-name=ld gives a path.
1.237     moko     7334:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   7335: printf %s "checking for ld used by $CC... " >&6; }
1.128     moko     7336:   case $host in
1.237     moko     7337:   *-*-mingw* | *-*-windows*)
                   7338:     # gcc leaves a trailing carriage return, which upsets mingw
1.128     moko     7339:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   7340:   *)
                   7341:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   7342:   esac
                   7343:   case $ac_prog in
                   7344:     # Accept absolute paths.
                   7345:     [\\/]* | ?:[\\/]*)
                   7346:       re_direlt='/[^/][^/]*/\.\./'
                   7347:       # Canonicalize the pathname of ld
                   7348:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   7349:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   7350:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   7351:       done
1.237     moko     7352:       test -z "$LD" && LD=$ac_prog
1.128     moko     7353:       ;;
                   7354:   "")
                   7355:     # If it fails, then pretend we aren't using GCC.
                   7356:     ac_prog=ld
                   7357:     ;;
                   7358:   *)
                   7359:     # If it is relative, then search for the first ld in PATH.
                   7360:     with_gnu_ld=unknown
                   7361:     ;;
                   7362:   esac
1.237     moko     7363: elif test yes = "$with_gnu_ld"; then
                   7364:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   7365: printf %s "checking for GNU ld... " >&6; }
                   7366: else
                   7367:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   7368: printf %s "checking for non-GNU ld... " >&6; }
                   7369: fi
                   7370: if test ${lt_cv_path_LD+y}
                   7371: then :
                   7372:   printf %s "(cached) " >&6
                   7373: else case e in #(
                   7374:   e) if test -z "$LD"; then
                   7375:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     7376:   for ac_dir in $PATH; do
1.237     moko     7377:     IFS=$lt_save_ifs
1.128     moko     7378:     test -z "$ac_dir" && ac_dir=.
                   7379:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.237     moko     7380:       lt_cv_path_LD=$ac_dir/$ac_prog
1.128     moko     7381:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   7382:       # but apparently some variants of GNU ld only accept -v.
                   7383:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   7384:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   7385:       *GNU* | *'with BFD'*)
1.237     moko     7386:        test no != "$with_gnu_ld" && break
1.128     moko     7387:        ;;
                   7388:       *)
1.237     moko     7389:        test yes != "$with_gnu_ld" && break
1.128     moko     7390:        ;;
                   7391:       esac
                   7392:     fi
                   7393:   done
1.237     moko     7394:   IFS=$lt_save_ifs
1.128     moko     7395: else
1.237     moko     7396:   lt_cv_path_LD=$LD # Let the user override the test with a path.
                   7397: fi ;;
                   7398: esac
1.128     moko     7399: fi
                   7400: 
1.237     moko     7401: LD=$lt_cv_path_LD
1.128     moko     7402: if test -n "$LD"; then
1.237     moko     7403:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   7404: printf "%s\n" "$LD" >&6; }
1.128     moko     7405: else
1.237     moko     7406:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7407: printf "%s\n" "no" >&6; }
1.128     moko     7408: fi
1.150     moko     7409: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
1.237     moko     7410: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   7411: printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
                   7412: if test ${lt_cv_prog_gnu_ld+y}
                   7413: then :
                   7414:   printf %s "(cached) " >&6
                   7415: else case e in #(
                   7416:   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
1.128     moko     7417: case `$LD -v 2>&1 </dev/null` in
                   7418: *GNU* | *'with BFD'*)
                   7419:   lt_cv_prog_gnu_ld=yes
                   7420:   ;;
                   7421: *)
                   7422:   lt_cv_prog_gnu_ld=no
                   7423:   ;;
1.237     moko     7424: esac ;;
1.128     moko     7425: esac
                   7426: fi
1.237     moko     7427: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   7428: printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     7429: with_gnu_ld=$lt_cv_prog_gnu_ld
                   7430: 
                   7431: 
                   7432: 
                   7433: 
                   7434: 
                   7435: 
                   7436: 
                   7437: 
                   7438: 
1.237     moko     7439: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   7440: printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   7441: if test ${lt_cv_path_NM+y}
                   7442: then :
                   7443:   printf %s "(cached) " >&6
                   7444: else case e in #(
                   7445:   e) if test -n "$NM"; then
1.128     moko     7446:   # Let the user override the test.
1.237     moko     7447:   lt_cv_path_NM=$NM
1.128     moko     7448: else
1.237     moko     7449:   lt_nm_to_check=${ac_tool_prefix}nm
1.128     moko     7450:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   7451:     lt_nm_to_check="$lt_nm_to_check nm"
                   7452:   fi
                   7453:   for lt_tmp_nm in $lt_nm_to_check; do
1.237     moko     7454:     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     7455:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
1.237     moko     7456:       IFS=$lt_save_ifs
1.128     moko     7457:       test -z "$ac_dir" && ac_dir=.
1.237     moko     7458:       tmp_nm=$ac_dir/$lt_tmp_nm
                   7459:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
1.128     moko     7460:        # Check to see if the nm accepts a BSD-compat flag.
1.237     moko     7461:        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
1.128     moko     7462:        #   nm: unknown option "B" ignored
                   7463:        # Tru64's nm complains that /dev/null is an invalid object file
1.237     moko     7464:        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
                   7465:        case $build_os in
                   7466:        mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
                   7467:        *) lt_bad_file=/dev/null ;;
                   7468:        esac
                   7469:        case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
                   7470:        *$lt_bad_file* | *'Invalid file or object type'*)
1.128     moko     7471:          lt_cv_path_NM="$tmp_nm -B"
1.237     moko     7472:          break 2
1.128     moko     7473:          ;;
                   7474:        *)
1.237     moko     7475:          case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
1.128     moko     7476:          */dev/null*)
                   7477:            lt_cv_path_NM="$tmp_nm -p"
1.237     moko     7478:            break 2
1.128     moko     7479:            ;;
                   7480:          *)
                   7481:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   7482:            continue # so that we can try to find one that supports BSD flags
                   7483:            ;;
                   7484:          esac
                   7485:          ;;
                   7486:        esac
                   7487:       fi
                   7488:     done
1.237     moko     7489:     IFS=$lt_save_ifs
1.128     moko     7490:   done
                   7491:   : ${lt_cv_path_NM=no}
1.237     moko     7492: fi ;;
                   7493: esac
1.128     moko     7494: fi
1.237     moko     7495: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   7496: printf "%s\n" "$lt_cv_path_NM" >&6; }
                   7497: if test no != "$lt_cv_path_NM"; then
                   7498:   NM=$lt_cv_path_NM
1.128     moko     7499: else
                   7500:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   7501:   if test -n "$DUMPBIN"; then :
                   7502:     # Let the user override the test.
                   7503:   else
                   7504:     if test -n "$ac_tool_prefix"; then
                   7505:   for ac_prog in dumpbin "link -dump"
                   7506:   do
                   7507:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   7508: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.237     moko     7509: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7510: printf %s "checking for $ac_word... " >&6; }
                   7511: if test ${ac_cv_prog_DUMPBIN+y}
                   7512: then :
                   7513:   printf %s "(cached) " >&6
                   7514: else case e in #(
                   7515:   e) if test -n "$DUMPBIN"; then
1.128     moko     7516:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   7517: else
                   7518: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7519: for as_dir in $PATH
                   7520: do
                   7521:   IFS=$as_save_IFS
1.237     moko     7522:   case $as_dir in #(((
                   7523:     '') as_dir=./ ;;
                   7524:     */) ;;
                   7525:     *) as_dir=$as_dir/ ;;
                   7526:   esac
1.150     moko     7527:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     7528:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     7529:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.237     moko     7530:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     7531:     break 2
                   7532:   fi
                   7533: done
1.150     moko     7534:   done
                   7535: IFS=$as_save_IFS
1.128     moko     7536: 
1.237     moko     7537: fi ;;
                   7538: esac
1.128     moko     7539: fi
                   7540: DUMPBIN=$ac_cv_prog_DUMPBIN
                   7541: if test -n "$DUMPBIN"; then
1.237     moko     7542:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   7543: printf "%s\n" "$DUMPBIN" >&6; }
1.128     moko     7544: else
1.237     moko     7545:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7546: printf "%s\n" "no" >&6; }
1.128     moko     7547: fi
                   7548: 
1.150     moko     7549: 
1.128     moko     7550:     test -n "$DUMPBIN" && break
                   7551:   done
                   7552: fi
                   7553: if test -z "$DUMPBIN"; then
                   7554:   ac_ct_DUMPBIN=$DUMPBIN
                   7555:   for ac_prog in dumpbin "link -dump"
                   7556: do
                   7557:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   7558: set dummy $ac_prog; ac_word=$2
1.237     moko     7559: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7560: printf %s "checking for $ac_word... " >&6; }
                   7561: if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
                   7562: then :
                   7563:   printf %s "(cached) " >&6
                   7564: else case e in #(
                   7565:   e) if test -n "$ac_ct_DUMPBIN"; then
1.128     moko     7566:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   7567: else
                   7568: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7569: for as_dir in $PATH
                   7570: do
                   7571:   IFS=$as_save_IFS
1.237     moko     7572:   case $as_dir in #(((
                   7573:     '') as_dir=./ ;;
                   7574:     */) ;;
                   7575:     *) as_dir=$as_dir/ ;;
                   7576:   esac
1.150     moko     7577:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     7578:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     7579:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.237     moko     7580:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     7581:     break 2
                   7582:   fi
                   7583: done
1.150     moko     7584:   done
                   7585: IFS=$as_save_IFS
1.128     moko     7586: 
1.237     moko     7587: fi ;;
                   7588: esac
1.128     moko     7589: fi
                   7590: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   7591: if test -n "$ac_ct_DUMPBIN"; then
1.237     moko     7592:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   7593: printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
1.128     moko     7594: else
1.237     moko     7595:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7596: printf "%s\n" "no" >&6; }
1.128     moko     7597: fi
                   7598: 
1.150     moko     7599: 
1.128     moko     7600:   test -n "$ac_ct_DUMPBIN" && break
                   7601: done
                   7602: 
1.150     moko     7603:   if test "x$ac_ct_DUMPBIN" = x; then
                   7604:     DUMPBIN=":"
                   7605:   else
                   7606:     case $cross_compiling:$ac_tool_warned in
                   7607: yes:)
1.237     moko     7608: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7609: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     7610: ac_tool_warned=yes ;;
                   7611: esac
                   7612:     DUMPBIN=$ac_ct_DUMPBIN
                   7613:   fi
1.128     moko     7614: fi
                   7615: 
1.237     moko     7616:     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
1.128     moko     7617:     *COFF*)
1.237     moko     7618:       DUMPBIN="$DUMPBIN -symbols -headers"
1.128     moko     7619:       ;;
                   7620:     *)
                   7621:       DUMPBIN=:
                   7622:       ;;
                   7623:     esac
                   7624:   fi
                   7625: 
1.237     moko     7626:   if test : != "$DUMPBIN"; then
                   7627:     NM=$DUMPBIN
1.128     moko     7628:   fi
                   7629: fi
                   7630: test -z "$NM" && NM=nm
                   7631: 
                   7632: 
                   7633: 
                   7634: 
                   7635: 
                   7636: 
1.237     moko     7637: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   7638: printf %s "checking the name lister ($NM) interface... " >&6; }
                   7639: if test ${lt_cv_nm_interface+y}
                   7640: then :
                   7641:   printf %s "(cached) " >&6
                   7642: else case e in #(
                   7643:   e) lt_cv_nm_interface="BSD nm"
1.128     moko     7644:   echo "int some_variable = 0;" > conftest.$ac_ext
                   7645:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   7646:   (eval "$ac_compile" 2>conftest.err)
                   7647:   cat conftest.err >&5
                   7648:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   7649:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   7650:   cat conftest.err >&5
                   7651:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   7652:   cat conftest.out >&5
                   7653:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   7654:     lt_cv_nm_interface="MS dumpbin"
                   7655:   fi
1.237     moko     7656:   rm -f conftest* ;;
                   7657: esac
1.128     moko     7658: fi
1.237     moko     7659: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   7660: printf "%s\n" "$lt_cv_nm_interface" >&6; }
1.128     moko     7661: 
1.237     moko     7662: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   7663: printf %s "checking whether ln -s works... " >&6; }
1.128     moko     7664: LN_S=$as_ln_s
                   7665: if test "$LN_S" = "ln -s"; then
1.237     moko     7666:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7667: printf "%s\n" "yes" >&6; }
1.128     moko     7668: else
1.237     moko     7669:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   7670: printf "%s\n" "no, using $LN_S" >&6; }
1.128     moko     7671: fi
                   7672: 
                   7673: # find the maximum length of command line arguments
1.237     moko     7674: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   7675: printf %s "checking the maximum length of command line arguments... " >&6; }
                   7676: if test ${lt_cv_sys_max_cmd_len+y}
                   7677: then :
                   7678:   printf %s "(cached) " >&6
                   7679: else case e in #(
                   7680:   e)   i=0
                   7681:   teststring=ABCD
1.128     moko     7682: 
                   7683:   case $build_os in
                   7684:   msdosdjgpp*)
                   7685:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   7686:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   7687:     # during glob expansion).  Even if it were fixed, the result of this
                   7688:     # check would be larger than it should be.
                   7689:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   7690:     ;;
                   7691: 
1.237     moko     7692:   gnu* | ironclad*)
                   7693:     # Under GNU Hurd and Ironclad, this test is not required because there
                   7694:     # is no limit to the length of command line arguments.
1.128     moko     7695:     # Libtool will interpret -1 as no limit whatsoever
                   7696:     lt_cv_sys_max_cmd_len=-1;
                   7697:     ;;
                   7698: 
1.237     moko     7699:   cygwin* | mingw* | windows* | cegcc*)
1.128     moko     7700:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   7701:     # about 5 minutes as the teststring grows exponentially.
                   7702:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   7703:     # you end up with a "frozen" computer, even though with patience
                   7704:     # the test eventually succeeds (with a max line length of 256k).
                   7705:     # Instead, let's just punt: use the minimum linelength reported by
                   7706:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   7707:     lt_cv_sys_max_cmd_len=8192;
                   7708:     ;;
                   7709: 
                   7710:   mint*)
                   7711:     # On MiNT this can take a long time and run out of memory.
                   7712:     lt_cv_sys_max_cmd_len=8192;
                   7713:     ;;
                   7714: 
                   7715:   amigaos*)
                   7716:     # On AmigaOS with pdksh, this test takes hours, literally.
                   7717:     # So we just punt and use a minimum line length of 8192.
                   7718:     lt_cv_sys_max_cmd_len=8192;
                   7719:     ;;
                   7720: 
1.237     moko     7721:   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
1.128     moko     7722:     # This has been around since 386BSD, at least.  Likely further.
                   7723:     if test -x /sbin/sysctl; then
                   7724:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   7725:     elif test -x /usr/sbin/sysctl; then
                   7726:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   7727:     else
                   7728:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   7729:     fi
                   7730:     # And add a safety zone
                   7731:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   7732:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   7733:     ;;
                   7734: 
                   7735:   interix*)
                   7736:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   7737:     lt_cv_sys_max_cmd_len=196608
                   7738:     ;;
                   7739: 
                   7740:   os2*)
                   7741:     # The test takes a long time on OS/2.
                   7742:     lt_cv_sys_max_cmd_len=8192
                   7743:     ;;
                   7744: 
                   7745:   osf*)
                   7746:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   7747:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   7748:     # nice to cause kernel panics so lets avoid the loop below.
                   7749:     # First set a reasonable default.
                   7750:     lt_cv_sys_max_cmd_len=16384
                   7751:     #
                   7752:     if test -x /sbin/sysconfig; then
                   7753:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   7754:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   7755:       esac
                   7756:     fi
                   7757:     ;;
                   7758:   sco3.2v5*)
                   7759:     lt_cv_sys_max_cmd_len=102400
                   7760:     ;;
                   7761:   sysv5* | sco5v6* | sysv4.2uw2*)
                   7762:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   7763:     if test -n "$kargmax"; then
1.237     moko     7764:       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[        ]//'`
1.128     moko     7765:     else
                   7766:       lt_cv_sys_max_cmd_len=32768
                   7767:     fi
                   7768:     ;;
                   7769:   *)
                   7770:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
1.237     moko     7771:     if test -n "$lt_cv_sys_max_cmd_len" && \
                   7772:        test undefined != "$lt_cv_sys_max_cmd_len"; then
1.128     moko     7773:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   7774:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   7775:     else
                   7776:       # Make teststring a little bigger before we do anything with it.
                   7777:       # a 1K string should be a reasonable start.
1.237     moko     7778:       for i in 1 2 3 4 5 6 7 8; do
1.128     moko     7779:         teststring=$teststring$teststring
                   7780:       done
                   7781:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   7782:       # If test is not a shell built-in, we'll probably end up computing a
                   7783:       # maximum length that is only half of the actual maximum length, but
                   7784:       # we can't tell.
1.237     moko     7785:       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
1.128     moko     7786:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1.237     moko     7787:              test 17 != "$i" # 1/2 MB should be enough
1.128     moko     7788:       do
                   7789:         i=`expr $i + 1`
                   7790:         teststring=$teststring$teststring
                   7791:       done
                   7792:       # Only check the string length outside the loop.
                   7793:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   7794:       teststring=
                   7795:       # Add a significant safety factor because C++ compilers can tack on
                   7796:       # massive amounts of additional arguments before passing them to the
                   7797:       # linker.  It appears as though 1/2 is a usable value.
                   7798:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   7799:     fi
                   7800:     ;;
                   7801:   esac
1.237     moko     7802:  ;;
                   7803: esac
1.128     moko     7804: fi
                   7805: 
1.237     moko     7806: if test -n "$lt_cv_sys_max_cmd_len"; then
                   7807:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   7808: printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
1.128     moko     7809: else
1.237     moko     7810:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   7811: printf "%s\n" "none" >&6; }
1.128     moko     7812: fi
                   7813: max_cmd_len=$lt_cv_sys_max_cmd_len
                   7814: 
                   7815: 
                   7816: 
                   7817: 
                   7818: 
                   7819: 
                   7820: : ${CP="cp -f"}
                   7821: : ${MV="mv -f"}
                   7822: : ${RM="rm -f"}
                   7823: 
                   7824: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   7825:   lt_unset=unset
                   7826: else
                   7827:   lt_unset=false
                   7828: fi
                   7829: 
                   7830: 
                   7831: 
                   7832: 
                   7833: 
                   7834: # test EBCDIC or ASCII
                   7835: case `echo X|tr X '\101'` in
                   7836:  A) # ASCII based system
                   7837:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   7838:   lt_SP2NL='tr \040 \012'
                   7839:   lt_NL2SP='tr \015\012 \040\040'
                   7840:   ;;
                   7841:  *) # EBCDIC based system
                   7842:   lt_SP2NL='tr \100 \n'
                   7843:   lt_NL2SP='tr \r\n \100\100'
                   7844:   ;;
                   7845: esac
                   7846: 
                   7847: 
                   7848: 
                   7849: 
                   7850: 
                   7851: 
                   7852: 
                   7853: 
                   7854: 
1.237     moko     7855: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   7856: printf %s "checking how to convert $build file names to $host format... " >&6; }
                   7857: if test ${lt_cv_to_host_file_cmd+y}
                   7858: then :
                   7859:   printf %s "(cached) " >&6
                   7860: else case e in #(
                   7861:   e) case $host in
1.128     moko     7862:   *-*-mingw* )
                   7863:     case $build in
1.237     moko     7864:       *-*-mingw* | *-*-windows* ) # actually msys
1.128     moko     7865:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   7866:         ;;
                   7867:       *-*-cygwin* )
                   7868:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   7869:         ;;
                   7870:       * ) # otherwise, assume *nix
                   7871:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   7872:         ;;
                   7873:     esac
                   7874:     ;;
                   7875:   *-*-cygwin* )
                   7876:     case $build in
1.237     moko     7877:       *-*-mingw* | *-*-windows* ) # actually msys
1.128     moko     7878:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   7879:         ;;
                   7880:       *-*-cygwin* )
                   7881:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   7882:         ;;
                   7883:       * ) # otherwise, assume *nix
                   7884:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   7885:         ;;
                   7886:     esac
                   7887:     ;;
                   7888:   * ) # unhandled hosts (and "normal" native builds)
                   7889:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   7890:     ;;
                   7891: esac
1.237     moko     7892:  ;;
                   7893: esac
1.128     moko     7894: fi
                   7895: 
                   7896: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.237     moko     7897: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   7898: printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     7899: 
                   7900: 
                   7901: 
                   7902: 
                   7903: 
1.237     moko     7904: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   7905: printf %s "checking how to convert $build file names to toolchain format... " >&6; }
                   7906: if test ${lt_cv_to_tool_file_cmd+y}
                   7907: then :
                   7908:   printf %s "(cached) " >&6
                   7909: else case e in #(
                   7910:   e) #assume ordinary cross tools, or native build.
1.128     moko     7911: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   7912: case $host in
1.237     moko     7913:   *-*-mingw* | *-*-windows* )
1.128     moko     7914:     case $build in
1.237     moko     7915:       *-*-mingw* | *-*-windows* ) # actually msys
1.128     moko     7916:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   7917:         ;;
                   7918:     esac
                   7919:     ;;
                   7920: esac
1.237     moko     7921:  ;;
                   7922: esac
1.128     moko     7923: fi
                   7924: 
                   7925: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.237     moko     7926: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   7927: printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     7928: 
                   7929: 
                   7930: 
                   7931: 
                   7932: 
1.237     moko     7933: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   7934: printf %s "checking for $LD option to reload object files... " >&6; }
                   7935: if test ${lt_cv_ld_reload_flag+y}
                   7936: then :
                   7937:   printf %s "(cached) " >&6
                   7938: else case e in #(
                   7939:   e) lt_cv_ld_reload_flag='-r' ;;
                   7940: esac
1.128     moko     7941: fi
1.237     moko     7942: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   7943: printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
1.128     moko     7944: reload_flag=$lt_cv_ld_reload_flag
                   7945: case $reload_flag in
                   7946: "" | " "*) ;;
                   7947: *) reload_flag=" $reload_flag" ;;
                   7948: esac
                   7949: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   7950: case $host_os in
1.237     moko     7951:   cygwin* | mingw* | windows* | pw32* | cegcc*)
                   7952:     if test yes != "$GCC"; then
1.128     moko     7953:       reload_cmds=false
                   7954:     fi
                   7955:     ;;
                   7956:   darwin*)
1.237     moko     7957:     if test yes = "$GCC"; then
                   7958:       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
1.128     moko     7959:     else
                   7960:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   7961:     fi
                   7962:     ;;
                   7963: esac
                   7964: 
                   7965: 
                   7966: 
                   7967: 
                   7968: 
                   7969: 
                   7970: 
                   7971: 
                   7972: 
1.237     moko     7973: # Extract the first word of "file", so it can be a program name with args.
                   7974: set dummy file; ac_word=$2
                   7975: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7976: printf %s "checking for $ac_word... " >&6; }
                   7977: if test ${ac_cv_prog_FILECMD+y}
                   7978: then :
                   7979:   printf %s "(cached) " >&6
                   7980: else case e in #(
                   7981:   e) if test -n "$FILECMD"; then
                   7982:   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
1.128     moko     7983: else
                   7984: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7985: for as_dir in $PATH
                   7986: do
                   7987:   IFS=$as_save_IFS
1.237     moko     7988:   case $as_dir in #(((
                   7989:     '') as_dir=./ ;;
                   7990:     */) ;;
                   7991:     *) as_dir=$as_dir/ ;;
                   7992:   esac
1.150     moko     7993:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     7994:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   7995:     ac_cv_prog_FILECMD="file"
                   7996:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     7997:     break 2
                   7998:   fi
                   7999: done
1.150     moko     8000:   done
                   8001: IFS=$as_save_IFS
1.128     moko     8002: 
1.237     moko     8003:   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
                   8004: fi ;;
                   8005: esac
                   8006: fi
                   8007: FILECMD=$ac_cv_prog_FILECMD
                   8008: if test -n "$FILECMD"; then
                   8009:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
                   8010: printf "%s\n" "$FILECMD" >&6; }
                   8011: else
                   8012:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8013: printf "%s\n" "no" >&6; }
1.128     moko     8014: fi
1.237     moko     8015: 
                   8016: 
                   8017: 
                   8018: 
                   8019: 
                   8020: 
                   8021: 
                   8022: 
                   8023: if test -n "$ac_tool_prefix"; then
                   8024:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   8025: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   8026: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8027: printf %s "checking for $ac_word... " >&6; }
                   8028: if test ${ac_cv_prog_OBJDUMP+y}
                   8029: then :
                   8030:   printf %s "(cached) " >&6
                   8031: else case e in #(
                   8032:   e) if test -n "$OBJDUMP"; then
                   8033:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   8034: else
                   8035: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8036: for as_dir in $PATH
                   8037: do
                   8038:   IFS=$as_save_IFS
                   8039:   case $as_dir in #(((
                   8040:     '') as_dir=./ ;;
                   8041:     */) ;;
                   8042:     *) as_dir=$as_dir/ ;;
                   8043:   esac
                   8044:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8045:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   8046:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   8047:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   8048:     break 2
                   8049:   fi
                   8050: done
                   8051:   done
                   8052: IFS=$as_save_IFS
                   8053: 
                   8054: fi ;;
                   8055: esac
1.128     moko     8056: fi
                   8057: OBJDUMP=$ac_cv_prog_OBJDUMP
                   8058: if test -n "$OBJDUMP"; then
1.237     moko     8059:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   8060: printf "%s\n" "$OBJDUMP" >&6; }
1.128     moko     8061: else
1.237     moko     8062:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8063: printf "%s\n" "no" >&6; }
1.128     moko     8064: fi
                   8065: 
1.150     moko     8066: 
1.128     moko     8067: fi
                   8068: if test -z "$ac_cv_prog_OBJDUMP"; then
                   8069:   ac_ct_OBJDUMP=$OBJDUMP
                   8070:   # Extract the first word of "objdump", so it can be a program name with args.
                   8071: set dummy objdump; ac_word=$2
1.237     moko     8072: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8073: printf %s "checking for $ac_word... " >&6; }
                   8074: if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
                   8075: then :
                   8076:   printf %s "(cached) " >&6
                   8077: else case e in #(
                   8078:   e) if test -n "$ac_ct_OBJDUMP"; then
1.128     moko     8079:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   8080: else
                   8081: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8082: for as_dir in $PATH
                   8083: do
                   8084:   IFS=$as_save_IFS
1.237     moko     8085:   case $as_dir in #(((
                   8086:     '') as_dir=./ ;;
                   8087:     */) ;;
                   8088:     *) as_dir=$as_dir/ ;;
                   8089:   esac
1.150     moko     8090:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     8091:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     8092:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.237     moko     8093:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     8094:     break 2
                   8095:   fi
                   8096: done
1.150     moko     8097:   done
                   8098: IFS=$as_save_IFS
1.128     moko     8099: 
1.237     moko     8100: fi ;;
                   8101: esac
1.128     moko     8102: fi
                   8103: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8104: if test -n "$ac_ct_OBJDUMP"; then
1.237     moko     8105:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   8106: printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
1.128     moko     8107: else
1.237     moko     8108:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8109: printf "%s\n" "no" >&6; }
1.128     moko     8110: fi
                   8111: 
1.150     moko     8112:   if test "x$ac_ct_OBJDUMP" = x; then
                   8113:     OBJDUMP="false"
                   8114:   else
                   8115:     case $cross_compiling:$ac_tool_warned in
                   8116: yes:)
1.237     moko     8117: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8118: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     8119: ac_tool_warned=yes ;;
                   8120: esac
                   8121:     OBJDUMP=$ac_ct_OBJDUMP
                   8122:   fi
1.128     moko     8123: else
                   8124:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   8125: fi
                   8126: 
                   8127: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8128: 
                   8129: 
                   8130: 
                   8131: 
                   8132: 
                   8133: 
1.237     moko     8134: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   8135: printf %s "checking how to recognize dependent libraries... " >&6; }
                   8136: if test ${lt_cv_deplibs_check_method+y}
                   8137: then :
                   8138:   printf %s "(cached) " >&6
                   8139: else case e in #(
                   8140:   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
1.128     moko     8141: lt_cv_file_magic_test_file=
                   8142: lt_cv_deplibs_check_method='unknown'
                   8143: # Need to set the preceding variable on all platforms that support
                   8144: # interlibrary dependencies.
                   8145: # 'none' -- dependencies not supported.
1.237     moko     8146: # 'unknown' -- same as none, but documents that we really don't know.
1.128     moko     8147: # 'pass_all' -- all dependencies passed with no checks.
                   8148: # 'file_magic [[regex]]' -- check by looking for files in library path
1.237     moko     8149: # that responds to the $file_magic_cmd with a given extended regex.
                   8150: # If you have 'file' or equivalent on your system and you're not sure
                   8151: # whether 'pass_all' will *always* work, you probably want this one.
1.128     moko     8152: 
                   8153: case $host_os in
                   8154: aix[4-9]*)
                   8155:   lt_cv_deplibs_check_method=pass_all
                   8156:   ;;
                   8157: 
                   8158: beos*)
                   8159:   lt_cv_deplibs_check_method=pass_all
                   8160:   ;;
                   8161: 
                   8162: bsdi[45]*)
                   8163:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1.237     moko     8164:   lt_cv_file_magic_cmd='$FILECMD -L'
1.128     moko     8165:   lt_cv_file_magic_test_file=/shlib/libc.so
                   8166:   ;;
                   8167: 
                   8168: cygwin*)
                   8169:   # func_win32_libid is a shell function defined in ltmain.sh
                   8170:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   8171:   lt_cv_file_magic_cmd='func_win32_libid'
                   8172:   ;;
                   8173: 
1.237     moko     8174: mingw* | windows* | pw32*)
1.128     moko     8175:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   8176:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   8177:   # unless we find 'file', for example because we are cross-compiling.
1.237     moko     8178:   if ( file / ) >/dev/null 2>&1; then
1.128     moko     8179:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   8180:     lt_cv_file_magic_cmd='func_win32_libid'
                   8181:   else
                   8182:     # Keep this pattern in sync with the one in func_win32_libid.
1.237     moko     8183:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
1.128     moko     8184:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   8185:   fi
                   8186:   ;;
                   8187: 
                   8188: cegcc*)
                   8189:   # use the weaker test based on 'objdump'. See mingw*.
                   8190:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   8191:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   8192:   ;;
                   8193: 
                   8194: darwin* | rhapsody*)
                   8195:   lt_cv_deplibs_check_method=pass_all
                   8196:   ;;
                   8197: 
1.237     moko     8198: freebsd* | dragonfly* | midnightbsd*)
1.128     moko     8199:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   8200:     case $host_cpu in
                   8201:     i*86 )
                   8202:       # Not sure whether the presence of OpenBSD here was a mistake.
                   8203:       # Let's accept both of them until this is cleared up.
                   8204:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
1.237     moko     8205:       lt_cv_file_magic_cmd=$FILECMD
1.128     moko     8206:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   8207:       ;;
                   8208:     esac
                   8209:   else
                   8210:     lt_cv_deplibs_check_method=pass_all
                   8211:   fi
                   8212:   ;;
                   8213: 
                   8214: haiku*)
                   8215:   lt_cv_deplibs_check_method=pass_all
                   8216:   ;;
                   8217: 
                   8218: hpux10.20* | hpux11*)
1.237     moko     8219:   lt_cv_file_magic_cmd=$FILECMD
1.128     moko     8220:   case $host_cpu in
                   8221:   ia64*)
                   8222:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   8223:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   8224:     ;;
                   8225:   hppa*64*)
                   8226:     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]'
                   8227:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   8228:     ;;
                   8229:   *)
                   8230:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   8231:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   8232:     ;;
                   8233:   esac
                   8234:   ;;
                   8235: 
                   8236: interix[3-9]*)
                   8237:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   8238:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   8239:   ;;
                   8240: 
                   8241: irix5* | irix6* | nonstopux*)
                   8242:   case $LD in
                   8243:   *-32|*"-32 ") libmagic=32-bit;;
                   8244:   *-n32|*"-n32 ") libmagic=N32;;
                   8245:   *-64|*"-64 ") libmagic=64-bit;;
                   8246:   *) libmagic=never-match;;
                   8247:   esac
                   8248:   lt_cv_deplibs_check_method=pass_all
                   8249:   ;;
                   8250: 
                   8251: # This must be glibc/ELF.
1.237     moko     8252: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
                   8253:   lt_cv_deplibs_check_method=pass_all
                   8254:   ;;
                   8255: 
                   8256: *-mlibc)
1.128     moko     8257:   lt_cv_deplibs_check_method=pass_all
                   8258:   ;;
                   8259: 
1.237     moko     8260: netbsd* | netbsdelf*-gnu)
1.128     moko     8261:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   8262:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   8263:   else
                   8264:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   8265:   fi
                   8266:   ;;
                   8267: 
                   8268: newos6*)
                   8269:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1.237     moko     8270:   lt_cv_file_magic_cmd=$FILECMD
1.128     moko     8271:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   8272:   ;;
                   8273: 
                   8274: *nto* | *qnx*)
                   8275:   lt_cv_deplibs_check_method=pass_all
                   8276:   ;;
                   8277: 
                   8278: openbsd*)
1.237     moko     8279:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
1.128     moko     8280:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   8281:   else
                   8282:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   8283:   fi
                   8284:   ;;
                   8285: 
                   8286: osf3* | osf4* | osf5*)
                   8287:   lt_cv_deplibs_check_method=pass_all
                   8288:   ;;
                   8289: 
                   8290: rdos*)
                   8291:   lt_cv_deplibs_check_method=pass_all
                   8292:   ;;
                   8293: 
1.237     moko     8294: serenity*)
                   8295:   lt_cv_deplibs_check_method=pass_all
                   8296:   ;;
                   8297: 
1.128     moko     8298: solaris*)
                   8299:   lt_cv_deplibs_check_method=pass_all
                   8300:   ;;
                   8301: 
                   8302: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   8303:   lt_cv_deplibs_check_method=pass_all
                   8304:   ;;
                   8305: 
                   8306: sysv4 | sysv4.3*)
                   8307:   case $host_vendor in
                   8308:   motorola)
                   8309:     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]'
                   8310:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   8311:     ;;
                   8312:   ncr)
                   8313:     lt_cv_deplibs_check_method=pass_all
                   8314:     ;;
                   8315:   sequent)
                   8316:     lt_cv_file_magic_cmd='/bin/file'
                   8317:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   8318:     ;;
                   8319:   sni)
                   8320:     lt_cv_file_magic_cmd='/bin/file'
                   8321:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   8322:     lt_cv_file_magic_test_file=/lib/libc.so
                   8323:     ;;
                   8324:   siemens)
                   8325:     lt_cv_deplibs_check_method=pass_all
                   8326:     ;;
                   8327:   pc)
                   8328:     lt_cv_deplibs_check_method=pass_all
                   8329:     ;;
                   8330:   esac
                   8331:   ;;
                   8332: 
                   8333: tpf*)
                   8334:   lt_cv_deplibs_check_method=pass_all
                   8335:   ;;
1.237     moko     8336: os2*)
                   8337:   lt_cv_deplibs_check_method=pass_all
                   8338:   ;;
                   8339: esac
                   8340:  ;;
1.128     moko     8341: esac
                   8342: fi
1.237     moko     8343: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   8344: printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
1.128     moko     8345: 
                   8346: file_magic_glob=
                   8347: want_nocaseglob=no
                   8348: if test "$build" = "$host"; then
                   8349:   case $host_os in
1.237     moko     8350:   mingw* | windows* | pw32*)
1.128     moko     8351:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   8352:       want_nocaseglob=yes
                   8353:     else
                   8354:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   8355:     fi
                   8356:     ;;
                   8357:   esac
                   8358: fi
                   8359: 
                   8360: file_magic_cmd=$lt_cv_file_magic_cmd
                   8361: deplibs_check_method=$lt_cv_deplibs_check_method
                   8362: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   8363: 
                   8364: 
                   8365: 
                   8366: 
                   8367: 
                   8368: 
                   8369: 
                   8370: 
                   8371: 
                   8372: 
                   8373: 
                   8374: 
                   8375: 
                   8376: 
                   8377: 
                   8378: 
                   8379: 
                   8380: 
                   8381: 
                   8382: 
                   8383: 
                   8384: 
                   8385: if test -n "$ac_tool_prefix"; then
                   8386:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   8387: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.237     moko     8388: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8389: printf %s "checking for $ac_word... " >&6; }
                   8390: if test ${ac_cv_prog_DLLTOOL+y}
                   8391: then :
                   8392:   printf %s "(cached) " >&6
                   8393: else case e in #(
                   8394:   e) if test -n "$DLLTOOL"; then
1.128     moko     8395:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   8396: else
                   8397: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8398: for as_dir in $PATH
                   8399: do
                   8400:   IFS=$as_save_IFS
1.237     moko     8401:   case $as_dir in #(((
                   8402:     '') as_dir=./ ;;
                   8403:     */) ;;
                   8404:     *) as_dir=$as_dir/ ;;
                   8405:   esac
1.150     moko     8406:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     8407:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     8408:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.237     moko     8409:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     8410:     break 2
                   8411:   fi
                   8412: done
1.150     moko     8413:   done
                   8414: IFS=$as_save_IFS
1.128     moko     8415: 
1.237     moko     8416: fi ;;
                   8417: esac
1.128     moko     8418: fi
                   8419: DLLTOOL=$ac_cv_prog_DLLTOOL
                   8420: if test -n "$DLLTOOL"; then
1.237     moko     8421:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   8422: printf "%s\n" "$DLLTOOL" >&6; }
1.128     moko     8423: else
1.237     moko     8424:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8425: printf "%s\n" "no" >&6; }
1.128     moko     8426: fi
                   8427: 
1.150     moko     8428: 
1.128     moko     8429: fi
                   8430: if test -z "$ac_cv_prog_DLLTOOL"; then
                   8431:   ac_ct_DLLTOOL=$DLLTOOL
                   8432:   # Extract the first word of "dlltool", so it can be a program name with args.
                   8433: set dummy dlltool; ac_word=$2
1.237     moko     8434: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8435: printf %s "checking for $ac_word... " >&6; }
                   8436: if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
                   8437: then :
                   8438:   printf %s "(cached) " >&6
                   8439: else case e in #(
                   8440:   e) if test -n "$ac_ct_DLLTOOL"; then
1.128     moko     8441:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   8442: else
                   8443: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8444: for as_dir in $PATH
                   8445: do
                   8446:   IFS=$as_save_IFS
1.237     moko     8447:   case $as_dir in #(((
                   8448:     '') as_dir=./ ;;
                   8449:     */) ;;
                   8450:     *) as_dir=$as_dir/ ;;
                   8451:   esac
1.150     moko     8452:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     8453:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     8454:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.237     moko     8455:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     8456:     break 2
                   8457:   fi
                   8458: done
1.150     moko     8459:   done
                   8460: IFS=$as_save_IFS
1.128     moko     8461: 
1.237     moko     8462: fi ;;
                   8463: esac
1.128     moko     8464: fi
                   8465: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   8466: if test -n "$ac_ct_DLLTOOL"; then
1.237     moko     8467:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   8468: printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
1.128     moko     8469: else
1.237     moko     8470:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8471: printf "%s\n" "no" >&6; }
1.128     moko     8472: fi
                   8473: 
1.150     moko     8474:   if test "x$ac_ct_DLLTOOL" = x; then
                   8475:     DLLTOOL="false"
                   8476:   else
                   8477:     case $cross_compiling:$ac_tool_warned in
                   8478: yes:)
1.237     moko     8479: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8480: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     8481: ac_tool_warned=yes ;;
                   8482: esac
                   8483:     DLLTOOL=$ac_ct_DLLTOOL
                   8484:   fi
1.128     moko     8485: else
                   8486:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   8487: fi
                   8488: 
                   8489: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8490: 
                   8491: 
                   8492: 
                   8493: 
                   8494: 
                   8495: 
                   8496: 
1.237     moko     8497: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   8498: printf %s "checking how to associate runtime and link libraries... " >&6; }
                   8499: if test ${lt_cv_sharedlib_from_linklib_cmd+y}
                   8500: then :
                   8501:   printf %s "(cached) " >&6
                   8502: else case e in #(
                   8503:   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
1.128     moko     8504: 
                   8505: case $host_os in
1.237     moko     8506: cygwin* | mingw* | windows* | pw32* | cegcc*)
                   8507:   # two different shell functions defined in ltmain.sh;
                   8508:   # decide which one to use based on capabilities of $DLLTOOL
1.128     moko     8509:   case `$DLLTOOL --help 2>&1` in
                   8510:   *--identify-strict*)
                   8511:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   8512:     ;;
                   8513:   *)
                   8514:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   8515:     ;;
                   8516:   esac
                   8517:   ;;
                   8518: *)
                   8519:   # fallback: assume linklib IS sharedlib
1.237     moko     8520:   lt_cv_sharedlib_from_linklib_cmd=$ECHO
1.128     moko     8521:   ;;
                   8522: esac
1.237     moko     8523:  ;;
                   8524: esac
1.128     moko     8525: fi
1.237     moko     8526: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   8527: printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.128     moko     8528: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   8529: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   8530: 
                   8531: 
                   8532: 
                   8533: 
                   8534: 
                   8535: 
                   8536: 
                   8537: if test -n "$ac_tool_prefix"; then
1.237     moko     8538:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   8539: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   8540: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8541: printf %s "checking for $ac_word... " >&6; }
                   8542: if test ${ac_cv_prog_RANLIB+y}
                   8543: then :
                   8544:   printf %s "(cached) " >&6
                   8545: else case e in #(
                   8546:   e) if test -n "$RANLIB"; then
                   8547:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   8548: else
                   8549: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8550: for as_dir in $PATH
                   8551: do
                   8552:   IFS=$as_save_IFS
                   8553:   case $as_dir in #(((
                   8554:     '') as_dir=./ ;;
                   8555:     */) ;;
                   8556:     *) as_dir=$as_dir/ ;;
                   8557:   esac
                   8558:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8559:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   8560:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   8561:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   8562:     break 2
                   8563:   fi
                   8564: done
                   8565:   done
                   8566: IFS=$as_save_IFS
                   8567: 
                   8568: fi ;;
                   8569: esac
                   8570: fi
                   8571: RANLIB=$ac_cv_prog_RANLIB
                   8572: if test -n "$RANLIB"; then
                   8573:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   8574: printf "%s\n" "$RANLIB" >&6; }
                   8575: else
                   8576:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8577: printf "%s\n" "no" >&6; }
                   8578: fi
                   8579: 
                   8580: 
                   8581: fi
                   8582: if test -z "$ac_cv_prog_RANLIB"; then
                   8583:   ac_ct_RANLIB=$RANLIB
                   8584:   # Extract the first word of "ranlib", so it can be a program name with args.
                   8585: set dummy ranlib; ac_word=$2
                   8586: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8587: printf %s "checking for $ac_word... " >&6; }
                   8588: if test ${ac_cv_prog_ac_ct_RANLIB+y}
                   8589: then :
                   8590:   printf %s "(cached) " >&6
                   8591: else case e in #(
                   8592:   e) if test -n "$ac_ct_RANLIB"; then
                   8593:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   8594: else
                   8595: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8596: for as_dir in $PATH
                   8597: do
                   8598:   IFS=$as_save_IFS
                   8599:   case $as_dir in #(((
                   8600:     '') as_dir=./ ;;
                   8601:     */) ;;
                   8602:     *) as_dir=$as_dir/ ;;
                   8603:   esac
                   8604:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8605:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
                   8606:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   8607:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
                   8608:     break 2
                   8609:   fi
                   8610: done
                   8611:   done
                   8612: IFS=$as_save_IFS
                   8613: 
                   8614: fi ;;
                   8615: esac
                   8616: fi
                   8617: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   8618: if test -n "$ac_ct_RANLIB"; then
                   8619:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   8620: printf "%s\n" "$ac_ct_RANLIB" >&6; }
                   8621: else
                   8622:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8623: printf "%s\n" "no" >&6; }
                   8624: fi
                   8625: 
                   8626:   if test "x$ac_ct_RANLIB" = x; then
                   8627:     RANLIB=":"
                   8628:   else
                   8629:     case $cross_compiling:$ac_tool_warned in
                   8630: yes:)
                   8631: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8632: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8633: ac_tool_warned=yes ;;
                   8634: esac
                   8635:     RANLIB=$ac_ct_RANLIB
                   8636:   fi
                   8637: else
                   8638:   RANLIB="$ac_cv_prog_RANLIB"
                   8639: fi
                   8640: 
                   8641: if test -n "$ac_tool_prefix"; then
1.128     moko     8642:   for ac_prog in ar
                   8643:   do
                   8644:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   8645: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.237     moko     8646: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8647: printf %s "checking for $ac_word... " >&6; }
                   8648: if test ${ac_cv_prog_AR+y}
                   8649: then :
                   8650:   printf %s "(cached) " >&6
                   8651: else case e in #(
                   8652:   e) if test -n "$AR"; then
1.128     moko     8653:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   8654: else
                   8655: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8656: for as_dir in $PATH
                   8657: do
                   8658:   IFS=$as_save_IFS
1.237     moko     8659:   case $as_dir in #(((
                   8660:     '') as_dir=./ ;;
                   8661:     */) ;;
                   8662:     *) as_dir=$as_dir/ ;;
                   8663:   esac
1.150     moko     8664:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     8665:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     8666:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.237     moko     8667:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     8668:     break 2
                   8669:   fi
                   8670: done
1.150     moko     8671:   done
                   8672: IFS=$as_save_IFS
1.128     moko     8673: 
1.237     moko     8674: fi ;;
                   8675: esac
1.128     moko     8676: fi
                   8677: AR=$ac_cv_prog_AR
                   8678: if test -n "$AR"; then
1.237     moko     8679:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   8680: printf "%s\n" "$AR" >&6; }
1.128     moko     8681: else
1.237     moko     8682:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8683: printf "%s\n" "no" >&6; }
1.128     moko     8684: fi
                   8685: 
1.150     moko     8686: 
1.128     moko     8687:     test -n "$AR" && break
                   8688:   done
                   8689: fi
                   8690: if test -z "$AR"; then
                   8691:   ac_ct_AR=$AR
                   8692:   for ac_prog in ar
                   8693: do
                   8694:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   8695: set dummy $ac_prog; ac_word=$2
1.237     moko     8696: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8697: printf %s "checking for $ac_word... " >&6; }
                   8698: if test ${ac_cv_prog_ac_ct_AR+y}
                   8699: then :
                   8700:   printf %s "(cached) " >&6
                   8701: else case e in #(
                   8702:   e) if test -n "$ac_ct_AR"; then
1.128     moko     8703:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   8704: else
                   8705: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8706: for as_dir in $PATH
                   8707: do
                   8708:   IFS=$as_save_IFS
1.237     moko     8709:   case $as_dir in #(((
                   8710:     '') as_dir=./ ;;
                   8711:     */) ;;
                   8712:     *) as_dir=$as_dir/ ;;
                   8713:   esac
1.150     moko     8714:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     8715:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     8716:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.237     moko     8717:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     8718:     break 2
                   8719:   fi
                   8720: done
1.150     moko     8721:   done
                   8722: IFS=$as_save_IFS
1.128     moko     8723: 
1.237     moko     8724: fi ;;
                   8725: esac
1.128     moko     8726: fi
                   8727: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   8728: if test -n "$ac_ct_AR"; then
1.237     moko     8729:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   8730: printf "%s\n" "$ac_ct_AR" >&6; }
1.128     moko     8731: else
1.237     moko     8732:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8733: printf "%s\n" "no" >&6; }
1.128     moko     8734: fi
                   8735: 
1.150     moko     8736: 
1.128     moko     8737:   test -n "$ac_ct_AR" && break
                   8738: done
                   8739: 
1.150     moko     8740:   if test "x$ac_ct_AR" = x; then
                   8741:     AR="false"
                   8742:   else
                   8743:     case $cross_compiling:$ac_tool_warned in
                   8744: yes:)
1.237     moko     8745: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8746: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     8747: ac_tool_warned=yes ;;
                   8748: esac
                   8749:     AR=$ac_ct_AR
                   8750:   fi
1.128     moko     8751: fi
                   8752: 
                   8753: : ${AR=ar}
                   8754: 
                   8755: 
                   8756: 
                   8757: 
                   8758: 
                   8759: 
1.237     moko     8760: # Use ARFLAGS variable as AR's operation code to sync the variable naming with
                   8761: # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
                   8762: # higher priority because that's what people were doing historically (setting
                   8763: # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
                   8764: # variable obsoleted/removed.
                   8765: 
                   8766: test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
                   8767: lt_ar_flags=$AR_FLAGS
                   8768: 
                   8769: 
                   8770: 
                   8771: 
                   8772: 
                   8773: 
                   8774: # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
                   8775: # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
1.128     moko     8776: 
                   8777: 
                   8778: 
                   8779: 
                   8780: 
1.237     moko     8781: 
                   8782: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   8783: printf %s "checking for archiver @FILE support... " >&6; }
                   8784: if test ${lt_cv_ar_at_file+y}
                   8785: then :
                   8786:   printf %s "(cached) " >&6
                   8787: else case e in #(
                   8788:   e) lt_cv_ar_at_file=no
1.150     moko     8789:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8790: /* end confdefs.h.  */
                   8791: 
                   8792: int
1.237     moko     8793: main (void)
1.128     moko     8794: {
                   8795: 
                   8796:   ;
                   8797:   return 0;
                   8798: }
                   8799: _ACEOF
1.237     moko     8800: if ac_fn_c_try_compile "$LINENO"
                   8801: then :
1.128     moko     8802:   echo conftest.$ac_objext > conftest.lst
                   8803:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.150     moko     8804:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     8805:   (eval $lt_ar_try) 2>&5
                   8806:   ac_status=$?
1.237     moko     8807:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     8808:   test $ac_status = 0; }
1.237     moko     8809:       if test 0 -eq "$ac_status"; then
1.128     moko     8810:        # Ensure the archiver fails upon bogus file names.
                   8811:        rm -f conftest.$ac_objext libconftest.a
1.150     moko     8812:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     8813:   (eval $lt_ar_try) 2>&5
                   8814:   ac_status=$?
1.237     moko     8815:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     8816:   test $ac_status = 0; }
1.237     moko     8817:        if test 0 -ne "$ac_status"; then
1.128     moko     8818:           lt_cv_ar_at_file=@
                   8819:         fi
                   8820:       fi
                   8821:       rm -f conftest.* libconftest.a
                   8822: 
                   8823: fi
1.237     moko     8824: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8825:    ;;
                   8826: esac
1.128     moko     8827: fi
1.237     moko     8828: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   8829: printf "%s\n" "$lt_cv_ar_at_file" >&6; }
1.128     moko     8830: 
1.237     moko     8831: if test no = "$lt_cv_ar_at_file"; then
1.128     moko     8832:   archiver_list_spec=
                   8833: else
                   8834:   archiver_list_spec=$lt_cv_ar_at_file
                   8835: fi
                   8836: 
                   8837: 
                   8838: 
                   8839: 
                   8840: 
                   8841: 
                   8842: 
                   8843: if test -n "$ac_tool_prefix"; then
                   8844:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   8845: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.237     moko     8846: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8847: printf %s "checking for $ac_word... " >&6; }
                   8848: if test ${ac_cv_prog_STRIP+y}
                   8849: then :
                   8850:   printf %s "(cached) " >&6
                   8851: else case e in #(
                   8852:   e) if test -n "$STRIP"; then
1.128     moko     8853:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   8854: else
                   8855: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8856: for as_dir in $PATH
                   8857: do
                   8858:   IFS=$as_save_IFS
1.237     moko     8859:   case $as_dir in #(((
                   8860:     '') as_dir=./ ;;
                   8861:     */) ;;
                   8862:     *) as_dir=$as_dir/ ;;
                   8863:   esac
1.150     moko     8864:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     8865:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     8866:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.237     moko     8867:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     8868:     break 2
                   8869:   fi
                   8870: done
1.150     moko     8871:   done
                   8872: IFS=$as_save_IFS
1.128     moko     8873: 
1.237     moko     8874: fi ;;
                   8875: esac
1.128     moko     8876: fi
                   8877: STRIP=$ac_cv_prog_STRIP
                   8878: if test -n "$STRIP"; then
1.237     moko     8879:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   8880: printf "%s\n" "$STRIP" >&6; }
1.128     moko     8881: else
1.237     moko     8882:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8883: printf "%s\n" "no" >&6; }
1.128     moko     8884: fi
                   8885: 
1.150     moko     8886: 
1.128     moko     8887: fi
                   8888: if test -z "$ac_cv_prog_STRIP"; then
                   8889:   ac_ct_STRIP=$STRIP
                   8890:   # Extract the first word of "strip", so it can be a program name with args.
                   8891: set dummy strip; ac_word=$2
1.237     moko     8892: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8893: printf %s "checking for $ac_word... " >&6; }
                   8894: if test ${ac_cv_prog_ac_ct_STRIP+y}
                   8895: then :
                   8896:   printf %s "(cached) " >&6
                   8897: else case e in #(
                   8898:   e) if test -n "$ac_ct_STRIP"; then
1.128     moko     8899:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   8900: else
                   8901: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8902: for as_dir in $PATH
                   8903: do
                   8904:   IFS=$as_save_IFS
1.237     moko     8905:   case $as_dir in #(((
                   8906:     '') as_dir=./ ;;
                   8907:     */) ;;
                   8908:     *) as_dir=$as_dir/ ;;
                   8909:   esac
1.150     moko     8910:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     8911:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     8912:     ac_cv_prog_ac_ct_STRIP="strip"
1.237     moko     8913:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     8914:     break 2
                   8915:   fi
                   8916: done
1.150     moko     8917:   done
                   8918: IFS=$as_save_IFS
1.128     moko     8919: 
1.237     moko     8920: fi ;;
                   8921: esac
1.128     moko     8922: fi
                   8923: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   8924: if test -n "$ac_ct_STRIP"; then
1.237     moko     8925:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   8926: printf "%s\n" "$ac_ct_STRIP" >&6; }
1.128     moko     8927: else
1.237     moko     8928:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8929: printf "%s\n" "no" >&6; }
1.128     moko     8930: fi
                   8931: 
1.150     moko     8932:   if test "x$ac_ct_STRIP" = x; then
                   8933:     STRIP=":"
                   8934:   else
                   8935:     case $cross_compiling:$ac_tool_warned in
                   8936: yes:)
1.237     moko     8937: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8938: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     8939: ac_tool_warned=yes ;;
                   8940: esac
                   8941:     STRIP=$ac_ct_STRIP
                   8942:   fi
1.128     moko     8943: else
                   8944:   STRIP="$ac_cv_prog_STRIP"
                   8945: fi
                   8946: 
                   8947: test -z "$STRIP" && STRIP=:
                   8948: 
                   8949: 
                   8950: 
                   8951: 
                   8952: 
                   8953: 
                   8954: 
                   8955: test -z "$RANLIB" && RANLIB=:
                   8956: 
                   8957: 
                   8958: 
                   8959: 
                   8960: 
                   8961: 
                   8962: # Determine commands to create old-style static archives.
                   8963: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   8964: old_postinstall_cmds='chmod 644 $oldlib'
                   8965: old_postuninstall_cmds=
                   8966: 
                   8967: if test -n "$RANLIB"; then
                   8968:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.237     moko     8969:   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.128     moko     8970: fi
                   8971: 
                   8972: case $host_os in
                   8973:   darwin*)
                   8974:     lock_old_archive_extraction=yes ;;
                   8975:   *)
                   8976:     lock_old_archive_extraction=no ;;
                   8977: esac
                   8978: 
                   8979: 
                   8980: 
                   8981: 
                   8982: 
                   8983: 
                   8984: 
                   8985: 
                   8986: 
                   8987: 
                   8988: 
                   8989: 
                   8990: 
                   8991: 
                   8992: 
                   8993: 
                   8994: 
                   8995: 
                   8996: 
                   8997: 
                   8998: 
                   8999: 
                   9000: 
                   9001: 
                   9002: 
                   9003: 
                   9004: 
                   9005: 
                   9006: 
                   9007: 
                   9008: 
                   9009: 
                   9010: 
                   9011: 
                   9012: 
                   9013: 
                   9014: 
                   9015: 
                   9016: 
                   9017: # If no C compiler was specified, use CC.
                   9018: LTCC=${LTCC-"$CC"}
                   9019: 
                   9020: # If no C compiler flags were specified, use CFLAGS.
                   9021: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9022: 
                   9023: # Allow CC to be a program name with arguments.
                   9024: compiler=$CC
                   9025: 
                   9026: 
                   9027: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.237     moko     9028: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   9029: printf %s "checking command to parse $NM output from $compiler object... " >&6; }
                   9030: if test ${lt_cv_sys_global_symbol_pipe+y}
                   9031: then :
                   9032:   printf %s "(cached) " >&6
                   9033: else case e in #(
                   9034:   e)
1.128     moko     9035: # These are sane defaults that work on at least a few old systems.
                   9036: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   9037: 
                   9038: # Character class describing NM global symbol codes.
                   9039: symcode='[BCDEGRST]'
                   9040: 
                   9041: # Regexp to match symbols that can be accessed directly from C.
                   9042: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   9043: 
                   9044: # Define system-specific variables.
                   9045: case $host_os in
                   9046: aix*)
                   9047:   symcode='[BCDT]'
                   9048:   ;;
1.237     moko     9049: cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     9050:   symcode='[ABCDGISTW]'
                   9051:   ;;
                   9052: hpux*)
1.237     moko     9053:   if test ia64 = "$host_cpu"; then
1.128     moko     9054:     symcode='[ABCDEGRST]'
                   9055:   fi
                   9056:   ;;
                   9057: irix* | nonstopux*)
                   9058:   symcode='[BCDEGRST]'
                   9059:   ;;
                   9060: osf*)
                   9061:   symcode='[BCDEGQRST]'
                   9062:   ;;
                   9063: solaris*)
1.237     moko     9064:   symcode='[BCDRT]'
1.128     moko     9065:   ;;
                   9066: sco3.2v5*)
                   9067:   symcode='[DT]'
                   9068:   ;;
                   9069: sysv4.2uw2*)
                   9070:   symcode='[DT]'
                   9071:   ;;
                   9072: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   9073:   symcode='[ABDT]'
                   9074:   ;;
                   9075: sysv4)
                   9076:   symcode='[DFNSTU]'
                   9077:   ;;
                   9078: esac
                   9079: 
                   9080: # If we're using GNU nm, then use its standard symbol codes.
                   9081: case `$NM -V 2>&1` in
                   9082: *GNU* | *'with BFD'*)
                   9083:   symcode='[ABCDGIRSTW]' ;;
                   9084: esac
                   9085: 
1.237     moko     9086: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   9087:   # Gets list of data symbols to import.
                   9088:   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
                   9089:   # Adjust the below global symbol transforms to fixup imported variables.
                   9090:   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
                   9091:   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
                   9092:   lt_c_name_lib_hook="\
                   9093:   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
                   9094:   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
                   9095: else
                   9096:   # Disable hooks by default.
                   9097:   lt_cv_sys_global_symbol_to_import=
                   9098:   lt_cdecl_hook=
                   9099:   lt_c_name_hook=
                   9100:   lt_c_name_lib_hook=
                   9101: fi
                   9102: 
1.128     moko     9103: # Transform an extracted symbol line into a proper C declaration.
                   9104: # Some systems (esp. on ia64) link data and code symbols differently,
                   9105: # so use this general approach.
1.237     moko     9106: lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
                   9107: $lt_cdecl_hook\
                   9108: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
                   9109: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
1.128     moko     9110: 
                   9111: # Transform an extracted symbol line into symbol name and symbol address
1.237     moko     9112: lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
                   9113: $lt_c_name_hook\
                   9114: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
                   9115: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
                   9116: 
                   9117: # Transform an extracted symbol line into symbol name with lib prefix and
                   9118: # symbol address.
                   9119: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
                   9120: $lt_c_name_lib_hook\
                   9121: " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
                   9122: " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
                   9123: " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
1.128     moko     9124: 
                   9125: # Handle CRLF in mingw tool chain
                   9126: opt_cr=
                   9127: case $build_os in
1.237     moko     9128: mingw* | windows*)
1.128     moko     9129:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   9130:   ;;
                   9131: esac
                   9132: 
                   9133: # Try without a prefix underscore, then with it.
                   9134: for ac_symprfx in "" "_"; do
                   9135: 
                   9136:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   9137:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   9138: 
                   9139:   # Write the raw and C identifiers.
                   9140:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
1.237     moko     9141:     # Fake it for dumpbin and say T for any non-static function,
                   9142:     # D for any global variable and I for any imported variable.
                   9143:     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
1.128     moko     9144:     # which start with @ or ?.
                   9145:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   9146: "     {last_section=section; section=\$ 3};"\
                   9147: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   9148: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
1.237     moko     9149: "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
                   9150: "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
                   9151: "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
1.128     moko     9152: "     \$ 0!~/External *\|/{next};"\
                   9153: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   9154: "     {if(hide[section]) next};"\
1.237     moko     9155: "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
                   9156: "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
                   9157: "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
                   9158: "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
1.128     moko     9159: "     ' prfx=^$ac_symprfx"
                   9160:   else
1.237     moko     9161:     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[    ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
1.128     moko     9162:   fi
1.237     moko     9163:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
1.128     moko     9164: 
                   9165:   # Check to see that the pipe works correctly.
                   9166:   pipe_works=no
                   9167: 
                   9168:   rm -f conftest*
                   9169:   cat > conftest.$ac_ext <<_LT_EOF
                   9170: #ifdef __cplusplus
                   9171: extern "C" {
                   9172: #endif
                   9173: char nm_test_var;
                   9174: void nm_test_func(void);
                   9175: void nm_test_func(void){}
                   9176: #ifdef __cplusplus
                   9177: }
                   9178: #endif
1.237     moko     9179: int main(void){nm_test_var='a';nm_test_func();return(0);}
1.128     moko     9180: _LT_EOF
                   9181: 
1.150     moko     9182:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     9183:   (eval $ac_compile) 2>&5
                   9184:   ac_status=$?
1.237     moko     9185:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     9186:   test $ac_status = 0; }; then
1.128     moko     9187:     # Now try to grab the symbols.
                   9188:     nlist=conftest.nm
1.237     moko     9189:     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
                   9190:     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
1.128     moko     9191:       # Try sorting and uniquifying the output.
                   9192:       if sort "$nlist" | uniq > "$nlist"T; then
                   9193:        mv -f "$nlist"T "$nlist"
                   9194:       else
                   9195:        rm -f "$nlist"T
                   9196:       fi
                   9197: 
                   9198:       # Make sure that we snagged all the symbols we need.
                   9199:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   9200:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   9201:          cat <<_LT_EOF > conftest.$ac_ext
                   9202: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
1.237     moko     9203: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
                   9204: /* DATA imports from DLLs on WIN32 can't be const, because runtime
1.128     moko     9205:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   9206: # define LT_DLSYM_CONST
1.237     moko     9207: #elif defined __osf__
1.128     moko     9208: /* This system does not cope well with relocations in const data.  */
                   9209: # define LT_DLSYM_CONST
                   9210: #else
                   9211: # define LT_DLSYM_CONST const
                   9212: #endif
                   9213: 
                   9214: #ifdef __cplusplus
                   9215: extern "C" {
                   9216: #endif
                   9217: 
                   9218: _LT_EOF
                   9219:          # Now generate the symbol file.
                   9220:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   9221: 
                   9222:          cat <<_LT_EOF >> conftest.$ac_ext
                   9223: 
                   9224: /* The mapping between symbol names and symbols.  */
                   9225: LT_DLSYM_CONST struct {
                   9226:   const char *name;
                   9227:   void       *address;
                   9228: }
                   9229: lt__PROGRAM__LTX_preloaded_symbols[] =
                   9230: {
                   9231:   { "@PROGRAM@", (void *) 0 },
                   9232: _LT_EOF
1.237     moko     9233:          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
1.128     moko     9234:          cat <<\_LT_EOF >> conftest.$ac_ext
                   9235:   {0, (void *) 0}
                   9236: };
                   9237: 
                   9238: /* This works around a problem in FreeBSD linker */
                   9239: #ifdef FREEBSD_WORKAROUND
                   9240: static const void *lt_preloaded_setup() {
                   9241:   return lt__PROGRAM__LTX_preloaded_symbols;
                   9242: }
                   9243: #endif
                   9244: 
                   9245: #ifdef __cplusplus
                   9246: }
                   9247: #endif
                   9248: _LT_EOF
                   9249:          # Now try linking the two files.
                   9250:          mv conftest.$ac_objext conftstm.$ac_objext
                   9251:          lt_globsym_save_LIBS=$LIBS
                   9252:          lt_globsym_save_CFLAGS=$CFLAGS
1.237     moko     9253:          LIBS=conftstm.$ac_objext
1.128     moko     9254:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150     moko     9255:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     9256:   (eval $ac_link) 2>&5
                   9257:   ac_status=$?
1.237     moko     9258:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9259:   test $ac_status = 0; } && test -s conftest$ac_exeext; then
1.128     moko     9260:            pipe_works=yes
                   9261:          fi
                   9262:          LIBS=$lt_globsym_save_LIBS
                   9263:          CFLAGS=$lt_globsym_save_CFLAGS
                   9264:        else
                   9265:          echo "cannot find nm_test_func in $nlist" >&5
                   9266:        fi
                   9267:       else
                   9268:        echo "cannot find nm_test_var in $nlist" >&5
                   9269:       fi
                   9270:     else
                   9271:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   9272:     fi
                   9273:   else
                   9274:     echo "$progname: failed program was:" >&5
                   9275:     cat conftest.$ac_ext >&5
                   9276:   fi
                   9277:   rm -rf conftest* conftst*
                   9278: 
                   9279:   # Do not use the global_symbol_pipe unless it works.
1.237     moko     9280:   if test yes = "$pipe_works"; then
1.128     moko     9281:     break
                   9282:   else
                   9283:     lt_cv_sys_global_symbol_pipe=
                   9284:   fi
                   9285: done
1.237     moko     9286:  ;;
                   9287: esac
1.128     moko     9288: fi
                   9289: 
                   9290: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   9291:   lt_cv_sys_global_symbol_to_cdecl=
                   9292: fi
                   9293: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.237     moko     9294:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   9295: printf "%s\n" "failed" >&6; }
1.128     moko     9296: else
1.237     moko     9297:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   9298: printf "%s\n" "ok" >&6; }
1.128     moko     9299: fi
                   9300: 
                   9301: # Response file support.
                   9302: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   9303:   nm_file_list_spec='@'
                   9304: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   9305:   nm_file_list_spec='@'
                   9306: fi
                   9307: 
                   9308: 
                   9309: 
                   9310: 
                   9311: 
                   9312: 
                   9313: 
                   9314: 
                   9315: 
                   9316: 
                   9317: 
                   9318: 
                   9319: 
                   9320: 
                   9321: 
                   9322: 
                   9323: 
                   9324: 
                   9325: 
                   9326: 
                   9327: 
                   9328: 
                   9329: 
                   9330: 
                   9331: 
                   9332: 
                   9333: 
1.237     moko     9334: 
                   9335: 
                   9336: 
                   9337: 
                   9338: 
                   9339: 
                   9340: 
                   9341: 
                   9342: 
                   9343: 
                   9344: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   9345: printf %s "checking for sysroot... " >&6; }
1.128     moko     9346: 
1.150     moko     9347: # Check whether --with-sysroot was given.
1.237     moko     9348: if test ${with_sysroot+y}
                   9349: then :
1.150     moko     9350:   withval=$with_sysroot;
1.237     moko     9351: else case e in #(
                   9352:   e) with_sysroot=no ;;
                   9353: esac
1.150     moko     9354: fi
                   9355: 
1.128     moko     9356: 
                   9357: lt_sysroot=
1.237     moko     9358: case $with_sysroot in #(
1.128     moko     9359:  yes)
1.237     moko     9360:    if test yes = "$GCC"; then
                   9361:      # Trim trailing / since we'll always append absolute paths and we want
                   9362:      # to avoid //, if only for less confusing output for the user.
                   9363:      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
1.128     moko     9364:    fi
                   9365:    ;; #(
                   9366:  /*)
1.237     moko     9367:    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
1.128     moko     9368:    ;; #(
                   9369:  no|'')
                   9370:    ;; #(
                   9371:  *)
1.237     moko     9372:    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
                   9373: printf "%s\n" "$with_sysroot" >&6; }
1.150     moko     9374:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     9375:    ;;
                   9376: esac
                   9377: 
1.237     moko     9378:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   9379: printf "%s\n" "${lt_sysroot:-no}" >&6; }
1.128     moko     9380: 
                   9381: 
                   9382: 
                   9383: 
                   9384: 
1.237     moko     9385: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
                   9386: printf %s "checking for a working dd... " >&6; }
                   9387: if test ${ac_cv_path_lt_DD+y}
                   9388: then :
                   9389:   printf %s "(cached) " >&6
                   9390: else case e in #(
                   9391:   e) printf 0123456789abcdef0123456789abcdef >conftest.i
                   9392: cat conftest.i conftest.i >conftest2.i
                   9393: : ${lt_DD:=$DD}
                   9394: if test -z "$lt_DD"; then
                   9395:   ac_path_lt_DD_found=false
                   9396:   # Loop through the user's path and test for each of PROGNAME-LIST
                   9397:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9398: for as_dir in $PATH
                   9399: do
                   9400:   IFS=$as_save_IFS
                   9401:   case $as_dir in #(((
                   9402:     '') as_dir=./ ;;
                   9403:     */) ;;
                   9404:     *) as_dir=$as_dir/ ;;
                   9405:   esac
                   9406:     for ac_prog in dd
                   9407:    do
                   9408:     for ac_exec_ext in '' $ac_executable_extensions; do
                   9409:       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
                   9410:       as_fn_executable_p "$ac_path_lt_DD" || continue
                   9411: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
                   9412:   cmp -s conftest.i conftest.out \
                   9413:   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
                   9414: fi
                   9415:       $ac_path_lt_DD_found && break 3
                   9416:     done
                   9417:   done
                   9418:   done
                   9419: IFS=$as_save_IFS
                   9420:   if test -z "$ac_cv_path_lt_DD"; then
                   9421:     :
                   9422:   fi
                   9423: else
                   9424:   ac_cv_path_lt_DD=$lt_DD
                   9425: fi
                   9426: 
                   9427: rm -f conftest.i conftest2.i conftest.out ;;
                   9428: esac
                   9429: fi
                   9430: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
                   9431: printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
                   9432: 
                   9433: 
                   9434: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
                   9435: printf %s "checking how to truncate binary pipes... " >&6; }
                   9436: if test ${lt_cv_truncate_bin+y}
                   9437: then :
                   9438:   printf %s "(cached) " >&6
                   9439: else case e in #(
                   9440:   e) printf 0123456789abcdef0123456789abcdef >conftest.i
                   9441: cat conftest.i conftest.i >conftest2.i
                   9442: lt_cv_truncate_bin=
                   9443: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
                   9444:   cmp -s conftest.i conftest.out \
                   9445:   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
                   9446: fi
                   9447: rm -f conftest.i conftest2.i conftest.out
                   9448: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
                   9449: esac
                   9450: fi
                   9451: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
                   9452: printf "%s\n" "$lt_cv_truncate_bin" >&6; }
                   9453: 
                   9454: 
                   9455: 
                   9456: 
                   9457: 
                   9458: 
                   9459: 
                   9460: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
                   9461: func_cc_basename ()
                   9462: {
                   9463:     for cc_temp in $*""; do
                   9464:       case $cc_temp in
                   9465:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9466:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9467:         \-*) ;;
                   9468:         *) break;;
                   9469:       esac
                   9470:     done
                   9471:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9472: }
                   9473: 
1.150     moko     9474: # Check whether --enable-libtool-lock was given.
1.237     moko     9475: if test ${enable_libtool_lock+y}
                   9476: then :
1.150     moko     9477:   enableval=$enable_libtool_lock;
                   9478: fi
1.128     moko     9479: 
1.237     moko     9480: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
1.128     moko     9481: 
                   9482: # Some flags need to be propagated to the compiler or linker for good
                   9483: # libtool support.
                   9484: case $host in
                   9485: ia64-*-hpux*)
1.237     moko     9486:   # Find out what ABI is being produced by ac_compile, and set mode
                   9487:   # options accordingly.
1.128     moko     9488:   echo 'int i;' > conftest.$ac_ext
1.150     moko     9489:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     9490:   (eval $ac_compile) 2>&5
                   9491:   ac_status=$?
1.237     moko     9492:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     9493:   test $ac_status = 0; }; then
1.237     moko     9494:     case `$FILECMD conftest.$ac_objext` in
1.128     moko     9495:       *ELF-32*)
1.237     moko     9496:        HPUX_IA64_MODE=32
1.128     moko     9497:        ;;
                   9498:       *ELF-64*)
1.237     moko     9499:        HPUX_IA64_MODE=64
1.128     moko     9500:        ;;
                   9501:     esac
                   9502:   fi
                   9503:   rm -rf conftest*
                   9504:   ;;
                   9505: *-*-irix6*)
1.237     moko     9506:   # Find out what ABI is being produced by ac_compile, and set linker
                   9507:   # options accordingly.
1.128     moko     9508:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150     moko     9509:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     9510:   (eval $ac_compile) 2>&5
                   9511:   ac_status=$?
1.237     moko     9512:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     9513:   test $ac_status = 0; }; then
1.237     moko     9514:     if test yes = "$lt_cv_prog_gnu_ld"; then
                   9515:       case `$FILECMD conftest.$ac_objext` in
1.128     moko     9516:        *32-bit*)
                   9517:          LD="${LD-ld} -melf32bsmip"
                   9518:          ;;
                   9519:        *N32*)
                   9520:          LD="${LD-ld} -melf32bmipn32"
                   9521:          ;;
                   9522:        *64-bit*)
                   9523:          LD="${LD-ld} -melf64bmip"
                   9524:        ;;
                   9525:       esac
                   9526:     else
1.237     moko     9527:       case `$FILECMD conftest.$ac_objext` in
1.128     moko     9528:        *32-bit*)
                   9529:          LD="${LD-ld} -32"
                   9530:          ;;
                   9531:        *N32*)
                   9532:          LD="${LD-ld} -n32"
                   9533:          ;;
                   9534:        *64-bit*)
                   9535:          LD="${LD-ld} -64"
                   9536:          ;;
                   9537:       esac
                   9538:     fi
                   9539:   fi
                   9540:   rm -rf conftest*
                   9541:   ;;
                   9542: 
1.237     moko     9543: mips64*-*linux*)
                   9544:   # Find out what ABI is being produced by ac_compile, and set linker
                   9545:   # options accordingly.
                   9546:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   9547:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   9548:   (eval $ac_compile) 2>&5
                   9549:   ac_status=$?
                   9550:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9551:   test $ac_status = 0; }; then
                   9552:     emul=elf
                   9553:     case `$FILECMD conftest.$ac_objext` in
                   9554:       *32-bit*)
                   9555:        emul="${emul}32"
                   9556:        ;;
                   9557:       *64-bit*)
                   9558:        emul="${emul}64"
                   9559:        ;;
                   9560:     esac
                   9561:     case `$FILECMD conftest.$ac_objext` in
                   9562:       *MSB*)
                   9563:        emul="${emul}btsmip"
                   9564:        ;;
                   9565:       *LSB*)
                   9566:        emul="${emul}ltsmip"
                   9567:        ;;
                   9568:     esac
                   9569:     case `$FILECMD conftest.$ac_objext` in
                   9570:       *N32*)
                   9571:        emul="${emul}n32"
                   9572:        ;;
                   9573:     esac
                   9574:     LD="${LD-ld} -m $emul"
                   9575:   fi
                   9576:   rm -rf conftest*
                   9577:   ;;
                   9578: 
                   9579: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
                   9580: s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
                   9581:   # Find out what ABI is being produced by ac_compile, and set linker
                   9582:   # options accordingly.  Note that the listed cases only cover the
                   9583:   # situations where additional linker options are needed (such as when
                   9584:   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
                   9585:   # vice versa); the common cases where no linker options are needed do
                   9586:   # not appear in the list.
1.128     moko     9587:   echo 'int i;' > conftest.$ac_ext
1.150     moko     9588:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     9589:   (eval $ac_compile) 2>&5
                   9590:   ac_status=$?
1.237     moko     9591:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     9592:   test $ac_status = 0; }; then
1.237     moko     9593:     case `$FILECMD conftest.o` in
1.128     moko     9594:       *32-bit*)
                   9595:        case $host in
                   9596:          x86_64-*kfreebsd*-gnu)
                   9597:            LD="${LD-ld} -m elf_i386_fbsd"
                   9598:            ;;
1.237     moko     9599:          x86_64-*linux*|x86_64-gnu*)
                   9600:            case `$FILECMD conftest.o` in
                   9601:              *x86-64*)
                   9602:                LD="${LD-ld} -m elf32_x86_64"
                   9603:                ;;
                   9604:              *)
                   9605:                LD="${LD-ld} -m elf_i386"
                   9606:                ;;
                   9607:            esac
1.128     moko     9608:            ;;
1.237     moko     9609:          powerpc64le-*linux*)
                   9610:            LD="${LD-ld} -m elf32lppclinux"
                   9611:            ;;
                   9612:          powerpc64-*linux*)
1.128     moko     9613:            LD="${LD-ld} -m elf32ppclinux"
                   9614:            ;;
                   9615:          s390x-*linux*)
                   9616:            LD="${LD-ld} -m elf_s390"
                   9617:            ;;
                   9618:          sparc64-*linux*)
                   9619:            LD="${LD-ld} -m elf32_sparc"
                   9620:            ;;
                   9621:        esac
                   9622:        ;;
                   9623:       *64-bit*)
                   9624:        case $host in
                   9625:          x86_64-*kfreebsd*-gnu)
                   9626:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   9627:            ;;
1.237     moko     9628:          x86_64-*linux*|x86_64-gnu*)
1.128     moko     9629:            LD="${LD-ld} -m elf_x86_64"
                   9630:            ;;
1.237     moko     9631:          powerpcle-*linux*)
                   9632:            LD="${LD-ld} -m elf64lppc"
                   9633:            ;;
                   9634:          powerpc-*linux*)
1.128     moko     9635:            LD="${LD-ld} -m elf64ppc"
                   9636:            ;;
                   9637:          s390*-*linux*|s390*-*tpf*)
                   9638:            LD="${LD-ld} -m elf64_s390"
                   9639:            ;;
                   9640:          sparc*-*linux*)
                   9641:            LD="${LD-ld} -m elf64_sparc"
                   9642:            ;;
                   9643:        esac
                   9644:        ;;
                   9645:     esac
                   9646:   fi
                   9647:   rm -rf conftest*
                   9648:   ;;
                   9649: 
                   9650: *-*-sco3.2v5*)
                   9651:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1.237     moko     9652:   SAVE_CFLAGS=$CFLAGS
1.128     moko     9653:   CFLAGS="$CFLAGS -belf"
1.237     moko     9654:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   9655: printf %s "checking whether the C compiler needs -belf... " >&6; }
                   9656: if test ${lt_cv_cc_needs_belf+y}
                   9657: then :
                   9658:   printf %s "(cached) " >&6
                   9659: else case e in #(
                   9660:   e) ac_ext=c
1.128     moko     9661: ac_cpp='$CPP $CPPFLAGS'
                   9662: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9663: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9664: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9665: 
1.150     moko     9666:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     9667: /* end confdefs.h.  */
                   9668: 
                   9669: int
1.237     moko     9670: main (void)
1.128     moko     9671: {
                   9672: 
                   9673:   ;
                   9674:   return 0;
                   9675: }
                   9676: _ACEOF
1.237     moko     9677: if ac_fn_c_try_link "$LINENO"
                   9678: then :
1.128     moko     9679:   lt_cv_cc_needs_belf=yes
1.237     moko     9680: else case e in #(
                   9681:   e) lt_cv_cc_needs_belf=no ;;
                   9682: esac
1.128     moko     9683: fi
1.237     moko     9684: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     9685:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     9686:      ac_ext=c
                   9687: ac_cpp='$CPP $CPPFLAGS'
                   9688: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9689: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9690: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.237     moko     9691:  ;;
                   9692: esac
1.128     moko     9693: fi
1.237     moko     9694: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   9695: printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
                   9696:   if test yes != "$lt_cv_cc_needs_belf"; then
1.128     moko     9697:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1.237     moko     9698:     CFLAGS=$SAVE_CFLAGS
1.128     moko     9699:   fi
                   9700:   ;;
                   9701: *-*solaris*)
1.237     moko     9702:   # Find out what ABI is being produced by ac_compile, and set linker
                   9703:   # options accordingly.
1.128     moko     9704:   echo 'int i;' > conftest.$ac_ext
1.150     moko     9705:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     9706:   (eval $ac_compile) 2>&5
                   9707:   ac_status=$?
1.237     moko     9708:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     9709:   test $ac_status = 0; }; then
1.237     moko     9710:     case `$FILECMD conftest.o` in
1.128     moko     9711:     *64-bit*)
                   9712:       case $lt_cv_prog_gnu_ld in
                   9713:       yes*)
                   9714:         case $host in
1.237     moko     9715:         i?86-*-solaris*|x86_64-*-solaris*)
1.128     moko     9716:           LD="${LD-ld} -m elf_x86_64"
                   9717:           ;;
                   9718:         sparc*-*-solaris*)
                   9719:           LD="${LD-ld} -m elf64_sparc"
                   9720:           ;;
                   9721:         esac
                   9722:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   9723:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1.237     moko     9724:           LD=${LD-ld}_sol2
1.128     moko     9725:         fi
                   9726:         ;;
                   9727:       *)
                   9728:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   9729:          LD="${LD-ld} -64"
                   9730:        fi
                   9731:        ;;
                   9732:       esac
                   9733:       ;;
                   9734:     esac
                   9735:   fi
                   9736:   rm -rf conftest*
                   9737:   ;;
                   9738: esac
                   9739: 
1.237     moko     9740: need_locks=$enable_libtool_lock
1.128     moko     9741: 
                   9742: if test -n "$ac_tool_prefix"; then
                   9743:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   9744: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.237     moko     9745: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9746: printf %s "checking for $ac_word... " >&6; }
                   9747: if test ${ac_cv_prog_MANIFEST_TOOL+y}
                   9748: then :
                   9749:   printf %s "(cached) " >&6
                   9750: else case e in #(
                   9751:   e) if test -n "$MANIFEST_TOOL"; then
1.128     moko     9752:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   9753: else
                   9754: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9755: for as_dir in $PATH
                   9756: do
                   9757:   IFS=$as_save_IFS
1.237     moko     9758:   case $as_dir in #(((
                   9759:     '') as_dir=./ ;;
                   9760:     */) ;;
                   9761:     *) as_dir=$as_dir/ ;;
                   9762:   esac
1.150     moko     9763:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     9764:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     9765:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.237     moko     9766:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     9767:     break 2
                   9768:   fi
                   9769: done
1.150     moko     9770:   done
                   9771: IFS=$as_save_IFS
1.128     moko     9772: 
1.237     moko     9773: fi ;;
                   9774: esac
1.128     moko     9775: fi
                   9776: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   9777: if test -n "$MANIFEST_TOOL"; then
1.237     moko     9778:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   9779: printf "%s\n" "$MANIFEST_TOOL" >&6; }
1.128     moko     9780: else
1.237     moko     9781:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9782: printf "%s\n" "no" >&6; }
1.128     moko     9783: fi
                   9784: 
1.150     moko     9785: 
1.128     moko     9786: fi
                   9787: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   9788:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   9789:   # Extract the first word of "mt", so it can be a program name with args.
                   9790: set dummy mt; ac_word=$2
1.237     moko     9791: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9792: printf %s "checking for $ac_word... " >&6; }
                   9793: if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
                   9794: then :
                   9795:   printf %s "(cached) " >&6
                   9796: else case e in #(
                   9797:   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
1.128     moko     9798:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   9799: else
                   9800: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9801: for as_dir in $PATH
                   9802: do
                   9803:   IFS=$as_save_IFS
1.237     moko     9804:   case $as_dir in #(((
                   9805:     '') as_dir=./ ;;
                   9806:     */) ;;
                   9807:     *) as_dir=$as_dir/ ;;
                   9808:   esac
1.150     moko     9809:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     9810:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     9811:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.237     moko     9812:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     9813:     break 2
                   9814:   fi
                   9815: done
1.150     moko     9816:   done
                   9817: IFS=$as_save_IFS
1.128     moko     9818: 
1.237     moko     9819: fi ;;
                   9820: esac
1.128     moko     9821: fi
                   9822: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   9823: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.237     moko     9824:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   9825: printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     9826: else
1.237     moko     9827:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9828: printf "%s\n" "no" >&6; }
1.128     moko     9829: fi
                   9830: 
1.150     moko     9831:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   9832:     MANIFEST_TOOL=":"
                   9833:   else
                   9834:     case $cross_compiling:$ac_tool_warned in
                   9835: yes:)
1.237     moko     9836: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9837: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     9838: ac_tool_warned=yes ;;
                   9839: esac
                   9840:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   9841:   fi
1.128     moko     9842: else
                   9843:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   9844: fi
                   9845: 
                   9846: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.237     moko     9847: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   9848: printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   9849: if test ${lt_cv_path_manifest_tool+y}
                   9850: then :
                   9851:   printf %s "(cached) " >&6
                   9852: else case e in #(
                   9853:   e) lt_cv_path_manifest_tool=no
1.128     moko     9854:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   9855:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   9856:   cat conftest.err >&5
                   9857:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
1.237     moko     9858:     lt_cv_path_manifest_tool=yes
1.128     moko     9859:   fi
1.237     moko     9860:   rm -f conftest* ;;
                   9861: esac
1.128     moko     9862: fi
1.237     moko     9863: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
                   9864: printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
                   9865: if test yes != "$lt_cv_path_manifest_tool"; then
1.128     moko     9866:   MANIFEST_TOOL=:
                   9867: fi
                   9868: 
                   9869: 
                   9870: 
                   9871: 
                   9872: 
                   9873: 
                   9874:   case $host_os in
                   9875:     rhapsody* | darwin*)
                   9876:     if test -n "$ac_tool_prefix"; then
                   9877:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   9878: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.237     moko     9879: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9880: printf %s "checking for $ac_word... " >&6; }
                   9881: if test ${ac_cv_prog_DSYMUTIL+y}
                   9882: then :
                   9883:   printf %s "(cached) " >&6
                   9884: else case e in #(
                   9885:   e) if test -n "$DSYMUTIL"; then
1.128     moko     9886:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   9887: else
                   9888: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9889: for as_dir in $PATH
                   9890: do
                   9891:   IFS=$as_save_IFS
1.237     moko     9892:   case $as_dir in #(((
                   9893:     '') as_dir=./ ;;
                   9894:     */) ;;
                   9895:     *) as_dir=$as_dir/ ;;
                   9896:   esac
1.150     moko     9897:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     9898:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     9899:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.237     moko     9900:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     9901:     break 2
                   9902:   fi
                   9903: done
1.150     moko     9904:   done
                   9905: IFS=$as_save_IFS
1.128     moko     9906: 
1.237     moko     9907: fi ;;
                   9908: esac
1.128     moko     9909: fi
                   9910: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   9911: if test -n "$DSYMUTIL"; then
1.237     moko     9912:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   9913: printf "%s\n" "$DSYMUTIL" >&6; }
1.128     moko     9914: else
1.237     moko     9915:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9916: printf "%s\n" "no" >&6; }
1.128     moko     9917: fi
                   9918: 
1.150     moko     9919: 
1.128     moko     9920: fi
                   9921: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   9922:   ac_ct_DSYMUTIL=$DSYMUTIL
                   9923:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   9924: set dummy dsymutil; ac_word=$2
1.237     moko     9925: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9926: printf %s "checking for $ac_word... " >&6; }
                   9927: if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
                   9928: then :
                   9929:   printf %s "(cached) " >&6
                   9930: else case e in #(
                   9931:   e) if test -n "$ac_ct_DSYMUTIL"; then
1.128     moko     9932:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   9933: else
                   9934: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9935: for as_dir in $PATH
                   9936: do
                   9937:   IFS=$as_save_IFS
1.237     moko     9938:   case $as_dir in #(((
                   9939:     '') as_dir=./ ;;
                   9940:     */) ;;
                   9941:     *) as_dir=$as_dir/ ;;
                   9942:   esac
1.150     moko     9943:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     9944:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     9945:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.237     moko     9946:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     9947:     break 2
                   9948:   fi
                   9949: done
1.150     moko     9950:   done
                   9951: IFS=$as_save_IFS
1.128     moko     9952: 
1.237     moko     9953: fi ;;
                   9954: esac
1.128     moko     9955: fi
                   9956: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   9957: if test -n "$ac_ct_DSYMUTIL"; then
1.237     moko     9958:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   9959: printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     9960: else
1.237     moko     9961:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9962: printf "%s\n" "no" >&6; }
1.128     moko     9963: fi
                   9964: 
1.150     moko     9965:   if test "x$ac_ct_DSYMUTIL" = x; then
                   9966:     DSYMUTIL=":"
                   9967:   else
                   9968:     case $cross_compiling:$ac_tool_warned in
                   9969: yes:)
1.237     moko     9970: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9971: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     9972: ac_tool_warned=yes ;;
                   9973: esac
                   9974:     DSYMUTIL=$ac_ct_DSYMUTIL
                   9975:   fi
1.128     moko     9976: else
                   9977:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   9978: fi
                   9979: 
                   9980:     if test -n "$ac_tool_prefix"; then
                   9981:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   9982: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.237     moko     9983: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9984: printf %s "checking for $ac_word... " >&6; }
                   9985: if test ${ac_cv_prog_NMEDIT+y}
                   9986: then :
                   9987:   printf %s "(cached) " >&6
                   9988: else case e in #(
                   9989:   e) if test -n "$NMEDIT"; then
1.128     moko     9990:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   9991: else
                   9992: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9993: for as_dir in $PATH
                   9994: do
                   9995:   IFS=$as_save_IFS
1.237     moko     9996:   case $as_dir in #(((
                   9997:     '') as_dir=./ ;;
                   9998:     */) ;;
                   9999:     *) as_dir=$as_dir/ ;;
                   10000:   esac
1.150     moko     10001:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10002:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10003:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.237     moko     10004:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10005:     break 2
                   10006:   fi
                   10007: done
1.150     moko     10008:   done
                   10009: IFS=$as_save_IFS
1.128     moko     10010: 
1.237     moko     10011: fi ;;
                   10012: esac
1.128     moko     10013: fi
                   10014: NMEDIT=$ac_cv_prog_NMEDIT
                   10015: if test -n "$NMEDIT"; then
1.237     moko     10016:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   10017: printf "%s\n" "$NMEDIT" >&6; }
1.128     moko     10018: else
1.237     moko     10019:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10020: printf "%s\n" "no" >&6; }
1.128     moko     10021: fi
                   10022: 
1.150     moko     10023: 
1.128     moko     10024: fi
                   10025: if test -z "$ac_cv_prog_NMEDIT"; then
                   10026:   ac_ct_NMEDIT=$NMEDIT
                   10027:   # Extract the first word of "nmedit", so it can be a program name with args.
                   10028: set dummy nmedit; ac_word=$2
1.237     moko     10029: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10030: printf %s "checking for $ac_word... " >&6; }
                   10031: if test ${ac_cv_prog_ac_ct_NMEDIT+y}
                   10032: then :
                   10033:   printf %s "(cached) " >&6
                   10034: else case e in #(
                   10035:   e) if test -n "$ac_ct_NMEDIT"; then
1.128     moko     10036:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   10037: else
                   10038: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10039: for as_dir in $PATH
                   10040: do
                   10041:   IFS=$as_save_IFS
1.237     moko     10042:   case $as_dir in #(((
                   10043:     '') as_dir=./ ;;
                   10044:     */) ;;
                   10045:     *) as_dir=$as_dir/ ;;
                   10046:   esac
1.150     moko     10047:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10048:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10049:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.237     moko     10050:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10051:     break 2
                   10052:   fi
                   10053: done
1.150     moko     10054:   done
                   10055: IFS=$as_save_IFS
1.128     moko     10056: 
1.237     moko     10057: fi ;;
                   10058: esac
1.128     moko     10059: fi
                   10060: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   10061: if test -n "$ac_ct_NMEDIT"; then
1.237     moko     10062:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   10063: printf "%s\n" "$ac_ct_NMEDIT" >&6; }
1.128     moko     10064: else
1.237     moko     10065:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10066: printf "%s\n" "no" >&6; }
1.128     moko     10067: fi
                   10068: 
1.150     moko     10069:   if test "x$ac_ct_NMEDIT" = x; then
                   10070:     NMEDIT=":"
                   10071:   else
                   10072:     case $cross_compiling:$ac_tool_warned in
                   10073: yes:)
1.237     moko     10074: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10075: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10076: ac_tool_warned=yes ;;
                   10077: esac
                   10078:     NMEDIT=$ac_ct_NMEDIT
                   10079:   fi
1.128     moko     10080: else
                   10081:   NMEDIT="$ac_cv_prog_NMEDIT"
                   10082: fi
                   10083: 
                   10084:     if test -n "$ac_tool_prefix"; then
                   10085:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   10086: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.237     moko     10087: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10088: printf %s "checking for $ac_word... " >&6; }
                   10089: if test ${ac_cv_prog_LIPO+y}
                   10090: then :
                   10091:   printf %s "(cached) " >&6
                   10092: else case e in #(
                   10093:   e) if test -n "$LIPO"; then
1.128     moko     10094:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   10095: else
                   10096: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10097: for as_dir in $PATH
                   10098: do
                   10099:   IFS=$as_save_IFS
1.237     moko     10100:   case $as_dir in #(((
                   10101:     '') as_dir=./ ;;
                   10102:     */) ;;
                   10103:     *) as_dir=$as_dir/ ;;
                   10104:   esac
1.150     moko     10105:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10106:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10107:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.237     moko     10108:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10109:     break 2
                   10110:   fi
                   10111: done
1.150     moko     10112:   done
                   10113: IFS=$as_save_IFS
1.128     moko     10114: 
1.237     moko     10115: fi ;;
                   10116: esac
1.128     moko     10117: fi
                   10118: LIPO=$ac_cv_prog_LIPO
                   10119: if test -n "$LIPO"; then
1.237     moko     10120:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   10121: printf "%s\n" "$LIPO" >&6; }
1.128     moko     10122: else
1.237     moko     10123:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10124: printf "%s\n" "no" >&6; }
1.128     moko     10125: fi
                   10126: 
1.150     moko     10127: 
1.128     moko     10128: fi
                   10129: if test -z "$ac_cv_prog_LIPO"; then
                   10130:   ac_ct_LIPO=$LIPO
                   10131:   # Extract the first word of "lipo", so it can be a program name with args.
                   10132: set dummy lipo; ac_word=$2
1.237     moko     10133: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10134: printf %s "checking for $ac_word... " >&6; }
                   10135: if test ${ac_cv_prog_ac_ct_LIPO+y}
                   10136: then :
                   10137:   printf %s "(cached) " >&6
                   10138: else case e in #(
                   10139:   e) if test -n "$ac_ct_LIPO"; then
1.128     moko     10140:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   10141: else
                   10142: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10143: for as_dir in $PATH
                   10144: do
                   10145:   IFS=$as_save_IFS
1.237     moko     10146:   case $as_dir in #(((
                   10147:     '') as_dir=./ ;;
                   10148:     */) ;;
                   10149:     *) as_dir=$as_dir/ ;;
                   10150:   esac
1.150     moko     10151:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10152:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10153:     ac_cv_prog_ac_ct_LIPO="lipo"
1.237     moko     10154:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10155:     break 2
                   10156:   fi
                   10157: done
1.150     moko     10158:   done
                   10159: IFS=$as_save_IFS
1.128     moko     10160: 
1.237     moko     10161: fi ;;
                   10162: esac
1.128     moko     10163: fi
                   10164: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   10165: if test -n "$ac_ct_LIPO"; then
1.237     moko     10166:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   10167: printf "%s\n" "$ac_ct_LIPO" >&6; }
1.128     moko     10168: else
1.237     moko     10169:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10170: printf "%s\n" "no" >&6; }
1.128     moko     10171: fi
                   10172: 
1.150     moko     10173:   if test "x$ac_ct_LIPO" = x; then
                   10174:     LIPO=":"
                   10175:   else
                   10176:     case $cross_compiling:$ac_tool_warned in
                   10177: yes:)
1.237     moko     10178: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10179: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10180: ac_tool_warned=yes ;;
                   10181: esac
                   10182:     LIPO=$ac_ct_LIPO
                   10183:   fi
1.128     moko     10184: else
                   10185:   LIPO="$ac_cv_prog_LIPO"
                   10186: fi
                   10187: 
                   10188:     if test -n "$ac_tool_prefix"; then
                   10189:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   10190: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.237     moko     10191: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10192: printf %s "checking for $ac_word... " >&6; }
                   10193: if test ${ac_cv_prog_OTOOL+y}
                   10194: then :
                   10195:   printf %s "(cached) " >&6
                   10196: else case e in #(
                   10197:   e) if test -n "$OTOOL"; then
1.128     moko     10198:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   10199: else
                   10200: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10201: for as_dir in $PATH
                   10202: do
                   10203:   IFS=$as_save_IFS
1.237     moko     10204:   case $as_dir in #(((
                   10205:     '') as_dir=./ ;;
                   10206:     */) ;;
                   10207:     *) as_dir=$as_dir/ ;;
                   10208:   esac
1.150     moko     10209:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10210:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10211:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.237     moko     10212:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10213:     break 2
                   10214:   fi
                   10215: done
1.150     moko     10216:   done
                   10217: IFS=$as_save_IFS
1.128     moko     10218: 
1.237     moko     10219: fi ;;
                   10220: esac
1.128     moko     10221: fi
                   10222: OTOOL=$ac_cv_prog_OTOOL
                   10223: if test -n "$OTOOL"; then
1.237     moko     10224:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   10225: printf "%s\n" "$OTOOL" >&6; }
1.128     moko     10226: else
1.237     moko     10227:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10228: printf "%s\n" "no" >&6; }
1.128     moko     10229: fi
                   10230: 
1.150     moko     10231: 
1.128     moko     10232: fi
                   10233: if test -z "$ac_cv_prog_OTOOL"; then
                   10234:   ac_ct_OTOOL=$OTOOL
                   10235:   # Extract the first word of "otool", so it can be a program name with args.
                   10236: set dummy otool; ac_word=$2
1.237     moko     10237: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10238: printf %s "checking for $ac_word... " >&6; }
                   10239: if test ${ac_cv_prog_ac_ct_OTOOL+y}
                   10240: then :
                   10241:   printf %s "(cached) " >&6
                   10242: else case e in #(
                   10243:   e) if test -n "$ac_ct_OTOOL"; then
1.128     moko     10244:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   10245: else
                   10246: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10247: for as_dir in $PATH
                   10248: do
                   10249:   IFS=$as_save_IFS
1.237     moko     10250:   case $as_dir in #(((
                   10251:     '') as_dir=./ ;;
                   10252:     */) ;;
                   10253:     *) as_dir=$as_dir/ ;;
                   10254:   esac
1.150     moko     10255:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10256:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10257:     ac_cv_prog_ac_ct_OTOOL="otool"
1.237     moko     10258:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10259:     break 2
                   10260:   fi
                   10261: done
1.150     moko     10262:   done
                   10263: IFS=$as_save_IFS
1.128     moko     10264: 
1.237     moko     10265: fi ;;
                   10266: esac
1.128     moko     10267: fi
                   10268: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   10269: if test -n "$ac_ct_OTOOL"; then
1.237     moko     10270:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   10271: printf "%s\n" "$ac_ct_OTOOL" >&6; }
1.128     moko     10272: else
1.237     moko     10273:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10274: printf "%s\n" "no" >&6; }
1.128     moko     10275: fi
                   10276: 
1.150     moko     10277:   if test "x$ac_ct_OTOOL" = x; then
                   10278:     OTOOL=":"
                   10279:   else
                   10280:     case $cross_compiling:$ac_tool_warned in
                   10281: yes:)
1.237     moko     10282: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10283: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10284: ac_tool_warned=yes ;;
                   10285: esac
                   10286:     OTOOL=$ac_ct_OTOOL
                   10287:   fi
1.128     moko     10288: else
                   10289:   OTOOL="$ac_cv_prog_OTOOL"
                   10290: fi
                   10291: 
                   10292:     if test -n "$ac_tool_prefix"; then
                   10293:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   10294: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.237     moko     10295: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10296: printf %s "checking for $ac_word... " >&6; }
                   10297: if test ${ac_cv_prog_OTOOL64+y}
                   10298: then :
                   10299:   printf %s "(cached) " >&6
                   10300: else case e in #(
                   10301:   e) if test -n "$OTOOL64"; then
1.128     moko     10302:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   10303: else
                   10304: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10305: for as_dir in $PATH
                   10306: do
                   10307:   IFS=$as_save_IFS
1.237     moko     10308:   case $as_dir in #(((
                   10309:     '') as_dir=./ ;;
                   10310:     */) ;;
                   10311:     *) as_dir=$as_dir/ ;;
                   10312:   esac
1.150     moko     10313:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10314:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10315:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.237     moko     10316:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10317:     break 2
                   10318:   fi
                   10319: done
1.150     moko     10320:   done
                   10321: IFS=$as_save_IFS
1.128     moko     10322: 
1.237     moko     10323: fi ;;
                   10324: esac
1.128     moko     10325: fi
                   10326: OTOOL64=$ac_cv_prog_OTOOL64
                   10327: if test -n "$OTOOL64"; then
1.237     moko     10328:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   10329: printf "%s\n" "$OTOOL64" >&6; }
1.128     moko     10330: else
1.237     moko     10331:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10332: printf "%s\n" "no" >&6; }
1.128     moko     10333: fi
                   10334: 
1.150     moko     10335: 
1.128     moko     10336: fi
                   10337: if test -z "$ac_cv_prog_OTOOL64"; then
                   10338:   ac_ct_OTOOL64=$OTOOL64
                   10339:   # Extract the first word of "otool64", so it can be a program name with args.
                   10340: set dummy otool64; ac_word=$2
1.237     moko     10341: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10342: printf %s "checking for $ac_word... " >&6; }
                   10343: if test ${ac_cv_prog_ac_ct_OTOOL64+y}
                   10344: then :
                   10345:   printf %s "(cached) " >&6
                   10346: else case e in #(
                   10347:   e) if test -n "$ac_ct_OTOOL64"; then
1.128     moko     10348:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   10349: else
                   10350: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10351: for as_dir in $PATH
                   10352: do
                   10353:   IFS=$as_save_IFS
1.237     moko     10354:   case $as_dir in #(((
                   10355:     '') as_dir=./ ;;
                   10356:     */) ;;
                   10357:     *) as_dir=$as_dir/ ;;
                   10358:   esac
1.150     moko     10359:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10360:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10361:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.237     moko     10362:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10363:     break 2
                   10364:   fi
                   10365: done
1.150     moko     10366:   done
                   10367: IFS=$as_save_IFS
1.128     moko     10368: 
1.237     moko     10369: fi ;;
                   10370: esac
1.128     moko     10371: fi
                   10372: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   10373: if test -n "$ac_ct_OTOOL64"; then
1.237     moko     10374:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   10375: printf "%s\n" "$ac_ct_OTOOL64" >&6; }
1.128     moko     10376: else
1.237     moko     10377:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10378: printf "%s\n" "no" >&6; }
1.128     moko     10379: fi
                   10380: 
1.150     moko     10381:   if test "x$ac_ct_OTOOL64" = x; then
                   10382:     OTOOL64=":"
                   10383:   else
                   10384:     case $cross_compiling:$ac_tool_warned in
                   10385: yes:)
1.237     moko     10386: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10387: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10388: ac_tool_warned=yes ;;
                   10389: esac
                   10390:     OTOOL64=$ac_ct_OTOOL64
                   10391:   fi
1.128     moko     10392: else
                   10393:   OTOOL64="$ac_cv_prog_OTOOL64"
                   10394: fi
                   10395: 
                   10396: 
                   10397: 
                   10398: 
                   10399: 
                   10400: 
                   10401: 
                   10402: 
                   10403: 
                   10404: 
                   10405: 
                   10406: 
                   10407: 
                   10408: 
                   10409: 
                   10410: 
                   10411: 
                   10412: 
                   10413: 
                   10414: 
                   10415: 
                   10416: 
                   10417: 
                   10418: 
                   10419: 
                   10420: 
                   10421: 
1.237     moko     10422:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   10423: printf %s "checking for -single_module linker flag... " >&6; }
                   10424: if test ${lt_cv_apple_cc_single_mod+y}
                   10425: then :
                   10426:   printf %s "(cached) " >&6
                   10427: else case e in #(
                   10428:   e) lt_cv_apple_cc_single_mod=no
                   10429:       if test -z "$LT_MULTI_MODULE"; then
1.128     moko     10430:        # By default we will add the -single_module flag. You can override
                   10431:        # by either setting the environment variable LT_MULTI_MODULE
                   10432:        # non-empty at configure time, or by adding -multi_module to the
                   10433:        # link flags.
                   10434:        rm -rf libconftest.dylib*
                   10435:        echo "int foo(void){return 1;}" > conftest.c
                   10436:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   10437: -dynamiclib -Wl,-single_module conftest.c" >&5
                   10438:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   10439:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   10440:         _lt_result=$?
                   10441:        # If there is a non-empty error log, and "single_module"
                   10442:        # appears in it, assume the flag caused a linker warning
                   10443:         if test -s conftest.err && $GREP single_module conftest.err; then
                   10444:          cat conftest.err >&5
                   10445:        # Otherwise, if the output was created with a 0 exit code from
                   10446:        # the compiler, it worked.
1.237     moko     10447:        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1.128     moko     10448:          lt_cv_apple_cc_single_mod=yes
                   10449:        else
                   10450:          cat conftest.err >&5
                   10451:        fi
                   10452:        rm -rf libconftest.dylib*
                   10453:        rm -f conftest.*
1.237     moko     10454:       fi ;;
                   10455: esac
                   10456: fi
                   10457: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   10458: printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
                   10459: 
                   10460:     # Feature test to disable chained fixups since it is not
                   10461:     # compatible with '-undefined dynamic_lookup'
                   10462:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
                   10463: printf %s "checking for -no_fixup_chains linker flag... " >&6; }
                   10464: if test ${lt_cv_support_no_fixup_chains+y}
                   10465: then :
                   10466:   printf %s "(cached) " >&6
                   10467: else case e in #(
                   10468:   e)  save_LDFLAGS=$LDFLAGS
                   10469:         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
                   10470:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10471: /* end confdefs.h.  */
                   10472: 
                   10473: int
                   10474: main (void)
                   10475: {
                   10476: 
                   10477:   ;
                   10478:   return 0;
                   10479: }
                   10480: _ACEOF
                   10481: if ac_fn_c_try_link "$LINENO"
                   10482: then :
                   10483:   lt_cv_support_no_fixup_chains=yes
                   10484: else case e in #(
                   10485:   e) lt_cv_support_no_fixup_chains=no
                   10486:          ;;
                   10487: esac
                   10488: fi
                   10489: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   10490:     conftest$ac_exeext conftest.$ac_ext
                   10491:         LDFLAGS=$save_LDFLAGS
                   10492: 
                   10493:      ;;
                   10494: esac
1.128     moko     10495: fi
1.237     moko     10496: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
                   10497: printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
1.128     moko     10498: 
1.237     moko     10499:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   10500: printf %s "checking for -exported_symbols_list linker flag... " >&6; }
                   10501: if test ${lt_cv_ld_exported_symbols_list+y}
                   10502: then :
                   10503:   printf %s "(cached) " >&6
                   10504: else case e in #(
                   10505:   e) lt_cv_ld_exported_symbols_list=no
1.128     moko     10506:       save_LDFLAGS=$LDFLAGS
                   10507:       echo "_main" > conftest.sym
                   10508:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150     moko     10509:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10510: /* end confdefs.h.  */
                   10511: 
                   10512: int
1.237     moko     10513: main (void)
1.128     moko     10514: {
                   10515: 
                   10516:   ;
                   10517:   return 0;
                   10518: }
                   10519: _ACEOF
1.237     moko     10520: if ac_fn_c_try_link "$LINENO"
                   10521: then :
1.128     moko     10522:   lt_cv_ld_exported_symbols_list=yes
1.237     moko     10523: else case e in #(
                   10524:   e) lt_cv_ld_exported_symbols_list=no ;;
                   10525: esac
1.128     moko     10526: fi
1.237     moko     10527: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     10528:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     10529:        LDFLAGS=$save_LDFLAGS
                   10530:      ;;
                   10531: esac
1.128     moko     10532: fi
1.237     moko     10533: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   10534: printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     10535: 
1.237     moko     10536:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   10537: printf %s "checking for -force_load linker flag... " >&6; }
                   10538: if test ${lt_cv_ld_force_load+y}
                   10539: then :
                   10540:   printf %s "(cached) " >&6
                   10541: else case e in #(
                   10542:   e) lt_cv_ld_force_load=no
1.128     moko     10543:       cat > conftest.c << _LT_EOF
                   10544: int forced_loaded() { return 2;}
                   10545: _LT_EOF
                   10546:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   10547:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
1.237     moko     10548:       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
                   10549:       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
1.128     moko     10550:       echo "$RANLIB libconftest.a" >&5
                   10551:       $RANLIB libconftest.a 2>&5
                   10552:       cat > conftest.c << _LT_EOF
1.237     moko     10553: int main(void) { return 0;}
1.128     moko     10554: _LT_EOF
                   10555:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   10556:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   10557:       _lt_result=$?
                   10558:       if test -s conftest.err && $GREP force_load conftest.err; then
                   10559:        cat conftest.err >&5
1.237     moko     10560:       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1.128     moko     10561:        lt_cv_ld_force_load=yes
                   10562:       else
                   10563:        cat conftest.err >&5
                   10564:       fi
                   10565:         rm -f conftest.err libconftest.a conftest conftest.c
                   10566:         rm -rf conftest.dSYM
1.237     moko     10567:      ;;
                   10568: esac
1.128     moko     10569: fi
1.237     moko     10570: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   10571: printf "%s\n" "$lt_cv_ld_force_load" >&6; }
1.128     moko     10572:     case $host_os in
                   10573:     rhapsody* | darwin1.[012])
1.237     moko     10574:       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1.128     moko     10575:     darwin1.*)
1.237     moko     10576:       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
                   10577:     darwin*)
                   10578:       case $MACOSX_DEPLOYMENT_TARGET,$host in
                   10579:         10.[012],*|,*powerpc*-darwin[5-8]*)
                   10580:           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
                   10581:         *)
                   10582:           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
                   10583:           if test yes = "$lt_cv_support_no_fixup_chains"; then
                   10584:             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
                   10585:           fi
                   10586:         ;;
1.128     moko     10587:       esac
                   10588:     ;;
                   10589:   esac
1.237     moko     10590:     if test yes = "$lt_cv_apple_cc_single_mod"; then
1.128     moko     10591:       _lt_dar_single_mod='$single_module'
                   10592:     fi
1.237     moko     10593:     _lt_dar_needs_single_mod=no
                   10594:     case $host_os in
                   10595:     rhapsody* | darwin1.*)
                   10596:       _lt_dar_needs_single_mod=yes ;;
                   10597:     darwin*)
                   10598:       # When targeting Mac OS X 10.4 (darwin 8) or later,
                   10599:       # -single_module is the default and -multi_module is unsupported.
                   10600:       # The toolchain on macOS 10.14 (darwin 18) and later cannot
                   10601:       # target any OS version that needs -single_module.
                   10602:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   10603:       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
                   10604:         _lt_dar_needs_single_mod=yes ;;
                   10605:       esac
                   10606:     ;;
                   10607:     esac
                   10608:     if test yes = "$lt_cv_ld_exported_symbols_list"; then
                   10609:       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1.128     moko     10610:     else
1.237     moko     10611:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1.128     moko     10612:     fi
1.237     moko     10613:     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
1.128     moko     10614:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   10615:     else
                   10616:       _lt_dsymutil=
                   10617:     fi
                   10618:     ;;
                   10619:   esac
                   10620: 
1.237     moko     10621: # func_munge_path_list VARIABLE PATH
                   10622: # -----------------------------------
                   10623: # VARIABLE is name of variable containing _space_ separated list of
                   10624: # directories to be munged by the contents of PATH, which is string
                   10625: # having a format:
                   10626: # "DIR[:DIR]:"
                   10627: #       string "DIR[ DIR]" will be prepended to VARIABLE
                   10628: # ":DIR[:DIR]"
                   10629: #       string "DIR[ DIR]" will be appended to VARIABLE
                   10630: # "DIRP[:DIRP]::[DIRA:]DIRA"
                   10631: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
                   10632: #       "DIRA[ DIRA]" will be appended to VARIABLE
                   10633: # "DIR[:DIR]"
                   10634: #       VARIABLE will be replaced by "DIR[ DIR]"
                   10635: func_munge_path_list ()
                   10636: {
                   10637:     case x$2 in
                   10638:     x)
                   10639:         ;;
                   10640:     *:)
                   10641:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
                   10642:         ;;
                   10643:     x:*)
                   10644:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
                   10645:         ;;
                   10646:     *::*)
                   10647:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
                   10648:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
                   10649:         ;;
                   10650:     *)
                   10651:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
                   10652:         ;;
                   10653:     esac
                   10654: }
                   10655: 
                   10656: ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   10657: "
                   10658: if test "x$ac_cv_header_dlfcn_h" = xyes
                   10659: then :
                   10660:   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
1.150     moko     10661: 
1.128     moko     10662: fi
                   10663: 
                   10664: 
                   10665: 
                   10666: 
1.237     moko     10667: func_stripname_cnf ()
1.128     moko     10668: {
1.237     moko     10669:   case $2 in
                   10670:   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
                   10671:   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
1.150     moko     10672:   esac
                   10673: } # func_stripname_cnf
1.128     moko     10674: 
                   10675: 
                   10676: 
                   10677: 
                   10678: 
                   10679: # Set options
                   10680: enable_dlopen=yes
                   10681: enable_win32_dll=yes
                   10682: 
                   10683: case $host in
1.237     moko     10684: *-*-cygwin* | *-*-mingw* | *-*-windows* | *-*-pw32* | *-*-cegcc*)
1.128     moko     10685:   if test -n "$ac_tool_prefix"; then
                   10686:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   10687: set dummy ${ac_tool_prefix}as; ac_word=$2
1.237     moko     10688: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10689: printf %s "checking for $ac_word... " >&6; }
                   10690: if test ${ac_cv_prog_AS+y}
                   10691: then :
                   10692:   printf %s "(cached) " >&6
                   10693: else case e in #(
                   10694:   e) if test -n "$AS"; then
1.128     moko     10695:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   10696: else
                   10697: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10698: for as_dir in $PATH
                   10699: do
                   10700:   IFS=$as_save_IFS
1.237     moko     10701:   case $as_dir in #(((
                   10702:     '') as_dir=./ ;;
                   10703:     */) ;;
                   10704:     *) as_dir=$as_dir/ ;;
                   10705:   esac
1.150     moko     10706:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10707:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10708:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.237     moko     10709:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10710:     break 2
                   10711:   fi
                   10712: done
1.150     moko     10713:   done
                   10714: IFS=$as_save_IFS
1.128     moko     10715: 
1.237     moko     10716: fi ;;
                   10717: esac
1.128     moko     10718: fi
                   10719: AS=$ac_cv_prog_AS
                   10720: if test -n "$AS"; then
1.237     moko     10721:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   10722: printf "%s\n" "$AS" >&6; }
1.128     moko     10723: else
1.237     moko     10724:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10725: printf "%s\n" "no" >&6; }
1.128     moko     10726: fi
                   10727: 
1.150     moko     10728: 
1.128     moko     10729: fi
                   10730: if test -z "$ac_cv_prog_AS"; then
                   10731:   ac_ct_AS=$AS
                   10732:   # Extract the first word of "as", so it can be a program name with args.
                   10733: set dummy as; ac_word=$2
1.237     moko     10734: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10735: printf %s "checking for $ac_word... " >&6; }
                   10736: if test ${ac_cv_prog_ac_ct_AS+y}
                   10737: then :
                   10738:   printf %s "(cached) " >&6
                   10739: else case e in #(
                   10740:   e) if test -n "$ac_ct_AS"; then
1.128     moko     10741:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   10742: else
                   10743: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10744: for as_dir in $PATH
                   10745: do
                   10746:   IFS=$as_save_IFS
1.237     moko     10747:   case $as_dir in #(((
                   10748:     '') as_dir=./ ;;
                   10749:     */) ;;
                   10750:     *) as_dir=$as_dir/ ;;
                   10751:   esac
1.150     moko     10752:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10753:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10754:     ac_cv_prog_ac_ct_AS="as"
1.237     moko     10755:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10756:     break 2
                   10757:   fi
                   10758: done
1.150     moko     10759:   done
                   10760: IFS=$as_save_IFS
1.128     moko     10761: 
1.237     moko     10762: fi ;;
                   10763: esac
1.128     moko     10764: fi
                   10765: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   10766: if test -n "$ac_ct_AS"; then
1.237     moko     10767:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   10768: printf "%s\n" "$ac_ct_AS" >&6; }
1.128     moko     10769: else
1.237     moko     10770:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10771: printf "%s\n" "no" >&6; }
1.128     moko     10772: fi
                   10773: 
1.150     moko     10774:   if test "x$ac_ct_AS" = x; then
                   10775:     AS="false"
                   10776:   else
                   10777:     case $cross_compiling:$ac_tool_warned in
                   10778: yes:)
1.237     moko     10779: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10780: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10781: ac_tool_warned=yes ;;
                   10782: esac
                   10783:     AS=$ac_ct_AS
                   10784:   fi
1.128     moko     10785: else
                   10786:   AS="$ac_cv_prog_AS"
                   10787: fi
                   10788: 
                   10789:   if test -n "$ac_tool_prefix"; then
                   10790:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   10791: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.237     moko     10792: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10793: printf %s "checking for $ac_word... " >&6; }
                   10794: if test ${ac_cv_prog_DLLTOOL+y}
                   10795: then :
                   10796:   printf %s "(cached) " >&6
                   10797: else case e in #(
                   10798:   e) if test -n "$DLLTOOL"; then
1.128     moko     10799:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   10800: else
                   10801: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10802: for as_dir in $PATH
                   10803: do
                   10804:   IFS=$as_save_IFS
1.237     moko     10805:   case $as_dir in #(((
                   10806:     '') as_dir=./ ;;
                   10807:     */) ;;
                   10808:     *) as_dir=$as_dir/ ;;
                   10809:   esac
1.150     moko     10810:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10811:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10812:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.237     moko     10813:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10814:     break 2
                   10815:   fi
                   10816: done
1.150     moko     10817:   done
                   10818: IFS=$as_save_IFS
1.128     moko     10819: 
1.237     moko     10820: fi ;;
                   10821: esac
1.128     moko     10822: fi
                   10823: DLLTOOL=$ac_cv_prog_DLLTOOL
                   10824: if test -n "$DLLTOOL"; then
1.237     moko     10825:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   10826: printf "%s\n" "$DLLTOOL" >&6; }
1.128     moko     10827: else
1.237     moko     10828:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10829: printf "%s\n" "no" >&6; }
1.128     moko     10830: fi
                   10831: 
1.150     moko     10832: 
1.128     moko     10833: fi
                   10834: if test -z "$ac_cv_prog_DLLTOOL"; then
                   10835:   ac_ct_DLLTOOL=$DLLTOOL
                   10836:   # Extract the first word of "dlltool", so it can be a program name with args.
                   10837: set dummy dlltool; ac_word=$2
1.237     moko     10838: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10839: printf %s "checking for $ac_word... " >&6; }
                   10840: if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
                   10841: then :
                   10842:   printf %s "(cached) " >&6
                   10843: else case e in #(
                   10844:   e) if test -n "$ac_ct_DLLTOOL"; then
1.128     moko     10845:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   10846: else
                   10847: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10848: for as_dir in $PATH
                   10849: do
                   10850:   IFS=$as_save_IFS
1.237     moko     10851:   case $as_dir in #(((
                   10852:     '') as_dir=./ ;;
                   10853:     */) ;;
                   10854:     *) as_dir=$as_dir/ ;;
                   10855:   esac
1.150     moko     10856:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10857:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10858:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.237     moko     10859:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10860:     break 2
                   10861:   fi
                   10862: done
1.150     moko     10863:   done
                   10864: IFS=$as_save_IFS
1.128     moko     10865: 
1.237     moko     10866: fi ;;
                   10867: esac
1.128     moko     10868: fi
                   10869: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   10870: if test -n "$ac_ct_DLLTOOL"; then
1.237     moko     10871:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   10872: printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
1.128     moko     10873: else
1.237     moko     10874:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10875: printf "%s\n" "no" >&6; }
1.128     moko     10876: fi
                   10877: 
1.150     moko     10878:   if test "x$ac_ct_DLLTOOL" = x; then
                   10879:     DLLTOOL="false"
                   10880:   else
                   10881:     case $cross_compiling:$ac_tool_warned in
                   10882: yes:)
1.237     moko     10883: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10884: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10885: ac_tool_warned=yes ;;
                   10886: esac
                   10887:     DLLTOOL=$ac_ct_DLLTOOL
                   10888:   fi
1.128     moko     10889: else
                   10890:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   10891: fi
                   10892: 
                   10893:   if test -n "$ac_tool_prefix"; then
                   10894:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   10895: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.237     moko     10896: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10897: printf %s "checking for $ac_word... " >&6; }
                   10898: if test ${ac_cv_prog_OBJDUMP+y}
                   10899: then :
                   10900:   printf %s "(cached) " >&6
                   10901: else case e in #(
                   10902:   e) if test -n "$OBJDUMP"; then
1.128     moko     10903:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   10904: else
                   10905: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10906: for as_dir in $PATH
                   10907: do
                   10908:   IFS=$as_save_IFS
1.237     moko     10909:   case $as_dir in #(((
                   10910:     '') as_dir=./ ;;
                   10911:     */) ;;
                   10912:     *) as_dir=$as_dir/ ;;
                   10913:   esac
1.150     moko     10914:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10915:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10916:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.237     moko     10917:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10918:     break 2
                   10919:   fi
                   10920: done
1.150     moko     10921:   done
                   10922: IFS=$as_save_IFS
1.128     moko     10923: 
1.237     moko     10924: fi ;;
                   10925: esac
1.128     moko     10926: fi
                   10927: OBJDUMP=$ac_cv_prog_OBJDUMP
                   10928: if test -n "$OBJDUMP"; then
1.237     moko     10929:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   10930: printf "%s\n" "$OBJDUMP" >&6; }
1.128     moko     10931: else
1.237     moko     10932:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10933: printf "%s\n" "no" >&6; }
1.128     moko     10934: fi
                   10935: 
1.150     moko     10936: 
1.128     moko     10937: fi
                   10938: if test -z "$ac_cv_prog_OBJDUMP"; then
                   10939:   ac_ct_OBJDUMP=$OBJDUMP
                   10940:   # Extract the first word of "objdump", so it can be a program name with args.
                   10941: set dummy objdump; ac_word=$2
1.237     moko     10942: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10943: printf %s "checking for $ac_word... " >&6; }
                   10944: if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
                   10945: then :
                   10946:   printf %s "(cached) " >&6
                   10947: else case e in #(
                   10948:   e) if test -n "$ac_ct_OBJDUMP"; then
1.128     moko     10949:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   10950: else
                   10951: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10952: for as_dir in $PATH
                   10953: do
                   10954:   IFS=$as_save_IFS
1.237     moko     10955:   case $as_dir in #(((
                   10956:     '') as_dir=./ ;;
                   10957:     */) ;;
                   10958:     *) as_dir=$as_dir/ ;;
                   10959:   esac
1.150     moko     10960:     for ac_exec_ext in '' $ac_executable_extensions; do
1.237     moko     10961:   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1.128     moko     10962:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.237     moko     10963:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1.128     moko     10964:     break 2
                   10965:   fi
                   10966: done
1.150     moko     10967:   done
                   10968: IFS=$as_save_IFS
1.128     moko     10969: 
1.237     moko     10970: fi ;;
                   10971: esac
1.128     moko     10972: fi
                   10973: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   10974: if test -n "$ac_ct_OBJDUMP"; then
1.237     moko     10975:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   10976: printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
1.128     moko     10977: else
1.237     moko     10978:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10979: printf "%s\n" "no" >&6; }
1.128     moko     10980: fi
                   10981: 
1.150     moko     10982:   if test "x$ac_ct_OBJDUMP" = x; then
                   10983:     OBJDUMP="false"
                   10984:   else
                   10985:     case $cross_compiling:$ac_tool_warned in
                   10986: yes:)
1.237     moko     10987: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10988: printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.150     moko     10989: ac_tool_warned=yes ;;
                   10990: esac
                   10991:     OBJDUMP=$ac_ct_OBJDUMP
                   10992:   fi
1.128     moko     10993: else
                   10994:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   10995: fi
                   10996: 
                   10997:   ;;
                   10998: esac
                   10999: 
                   11000: test -z "$AS" && AS=as
                   11001: 
                   11002: 
                   11003: 
                   11004: 
                   11005: 
                   11006: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   11007: 
                   11008: 
                   11009: 
                   11010: 
                   11011: 
                   11012: test -z "$OBJDUMP" && OBJDUMP=objdump
                   11013: 
                   11014: 
                   11015: 
                   11016: 
1.237     moko     11017: # Check whether --enable-pic was given.
                   11018: if test ${enable_pic+y}
                   11019: then :
                   11020:   enableval=$enable_pic; lt_p=${PACKAGE-default}
                   11021:      case $enableval in
                   11022:      yes|no) pic_mode=$enableval ;;
                   11023:      *)
                   11024:        pic_mode=default
                   11025:        # Look at the argument we got.  We use all the common list separators.
                   11026:        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
                   11027:        for lt_pkg in $enableval; do
                   11028:         IFS=$lt_save_ifs
                   11029:         if test "X$lt_pkg" = "X$lt_p"; then
                   11030:           pic_mode=yes
                   11031:         fi
                   11032:        done
                   11033:        IFS=$lt_save_ifs
                   11034:        ;;
                   11035:      esac
                   11036: else case e in #(
                   11037:   e)           # Check whether --with-pic was given.
                   11038: if test ${with_pic+y}
                   11039: then :
1.150     moko     11040:   withval=$with_pic; lt_p=${PACKAGE-default}
1.237     moko     11041:         case $withval in
                   11042:         yes|no) pic_mode=$withval ;;
                   11043:         *)
                   11044:           pic_mode=default
                   11045:           # Look at the argument we got.  We use all the common list separators.
                   11046:           lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
                   11047:           for lt_pkg in $withval; do
                   11048:             IFS=$lt_save_ifs
                   11049:             if test "X$lt_pkg" = "X$lt_p"; then
                   11050:               pic_mode=yes
                   11051:             fi
                   11052:           done
                   11053:           IFS=$lt_save_ifs
                   11054:           ;;
                   11055:         esac
                   11056: else case e in #(
                   11057:   e) pic_mode=no ;;
                   11058: esac
1.150     moko     11059: fi
                   11060: 
1.237     moko     11061:      ;;
                   11062: esac
                   11063: fi
1.145     moko     11064: 
                   11065: 
                   11066: 
                   11067: 
                   11068: 
                   11069: 
                   11070: 
1.128     moko     11071: 
                   11072: 
                   11073: 
                   11074: 
1.150     moko     11075:             # Check whether --enable-shared was given.
1.237     moko     11076: if test ${enable_shared+y}
                   11077: then :
1.150     moko     11078:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     11079:     case $enableval in
                   11080:     yes) enable_shared=yes ;;
                   11081:     no) enable_shared=no ;;
                   11082:     *)
                   11083:       enable_shared=no
                   11084:       # Look at the argument we got.  We use all the common list separators.
1.237     moko     11085:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.128     moko     11086:       for pkg in $enableval; do
1.237     moko     11087:        IFS=$lt_save_ifs
1.128     moko     11088:        if test "X$pkg" = "X$p"; then
                   11089:          enable_shared=yes
                   11090:        fi
                   11091:       done
1.237     moko     11092:       IFS=$lt_save_ifs
1.128     moko     11093:       ;;
                   11094:     esac
1.237     moko     11095: else case e in #(
                   11096:   e) enable_shared=yes ;;
                   11097: esac
1.150     moko     11098: fi
                   11099: 
1.128     moko     11100: 
                   11101: 
                   11102: 
                   11103: 
                   11104: 
                   11105: 
                   11106: 
                   11107: 
1.150     moko     11108:   # Check whether --enable-static was given.
1.237     moko     11109: if test ${enable_static+y}
                   11110: then :
1.150     moko     11111:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     11112:     case $enableval in
                   11113:     yes) enable_static=yes ;;
                   11114:     no) enable_static=no ;;
                   11115:     *)
                   11116:      enable_static=no
                   11117:       # Look at the argument we got.  We use all the common list separators.
1.237     moko     11118:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.138     moko     11119:       for pkg in $enableval; do
1.237     moko     11120:        IFS=$lt_save_ifs
1.138     moko     11121:        if test "X$pkg" = "X$p"; then
                   11122:          enable_static=yes
                   11123:        fi
                   11124:       done
1.237     moko     11125:       IFS=$lt_save_ifs
1.138     moko     11126:       ;;
                   11127:     esac
1.237     moko     11128: else case e in #(
                   11129:   e) enable_static=yes ;;
                   11130: esac
1.150     moko     11131: fi
                   11132: 
1.138     moko     11133: 
                   11134: 
                   11135: 
                   11136: 
                   11137: 
                   11138: 
                   11139: 
1.128     moko     11140: 
                   11141: 
1.150     moko     11142:   # Check whether --enable-fast-install was given.
1.237     moko     11143: if test ${enable_fast_install+y}
                   11144: then :
1.150     moko     11145:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     11146:     case $enableval in
                   11147:     yes) enable_fast_install=yes ;;
                   11148:     no) enable_fast_install=no ;;
                   11149:     *)
                   11150:       enable_fast_install=no
                   11151:       # Look at the argument we got.  We use all the common list separators.
1.237     moko     11152:       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
1.128     moko     11153:       for pkg in $enableval; do
1.237     moko     11154:        IFS=$lt_save_ifs
1.128     moko     11155:        if test "X$pkg" = "X$p"; then
                   11156:          enable_fast_install=yes
                   11157:        fi
                   11158:       done
1.237     moko     11159:       IFS=$lt_save_ifs
1.128     moko     11160:       ;;
                   11161:     esac
1.237     moko     11162: else case e in #(
                   11163:   e) enable_fast_install=yes ;;
                   11164: esac
                   11165: fi
                   11166: 
                   11167: 
                   11168: 
                   11169: 
                   11170: 
                   11171: 
                   11172: 
                   11173: 
                   11174:   shared_archive_member_spec=
                   11175: case $host,$enable_shared in
                   11176: power*-*-aix[5-9]*,yes)
                   11177:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
                   11178: printf %s "checking which variant of shared library versioning to provide... " >&6; }
                   11179:   # Check whether --enable-aix-soname was given.
                   11180: if test ${enable_aix_soname+y}
                   11181: then :
                   11182:   enableval=$enable_aix_soname; case $enableval in
                   11183:      aix|svr4|both)
                   11184:        ;;
                   11185:      *)
                   11186:        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
                   11187:        ;;
                   11188:      esac
                   11189:      lt_cv_with_aix_soname=$enable_aix_soname
                   11190: else case e in #(
                   11191:   e) # Check whether --with-aix-soname was given.
                   11192: if test ${with_aix_soname+y}
                   11193: then :
                   11194:   withval=$with_aix_soname; case $withval in
                   11195:          aix|svr4|both)
                   11196:            ;;
                   11197:          *)
                   11198:            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
                   11199:            ;;
                   11200:          esac
                   11201:          lt_cv_with_aix_soname=$with_aix_soname
                   11202: else case e in #(
                   11203:   e) if test ${lt_cv_with_aix_soname+y}
                   11204: then :
                   11205:   printf %s "(cached) " >&6
                   11206: else case e in #(
                   11207:   e) lt_cv_with_aix_soname=aix ;;
                   11208: esac
                   11209: fi
                   11210:  ;;
                   11211: esac
                   11212: fi
                   11213: 
                   11214:      enable_aix_soname=$lt_cv_with_aix_soname ;;
                   11215: esac
1.150     moko     11216: fi
                   11217: 
1.237     moko     11218:   with_aix_soname=$enable_aix_soname
                   11219:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
                   11220: printf "%s\n" "$with_aix_soname" >&6; }
                   11221:   if test aix != "$with_aix_soname"; then
                   11222:     # For the AIX way of multilib, we name the shared archive member
                   11223:     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
                   11224:     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
                   11225:     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
                   11226:     # the AIX toolchain works better with OBJECT_MODE set (default 32).
                   11227:     if test 64 = "${OBJECT_MODE-32}"; then
                   11228:       shared_archive_member_spec=shr_64
                   11229:     else
                   11230:       shared_archive_member_spec=shr
                   11231:     fi
                   11232:   fi
                   11233:   ;;
                   11234: *)
                   11235:   with_aix_soname=aix
                   11236:   ;;
                   11237: esac
1.128     moko     11238: 
                   11239: 
                   11240: 
                   11241: 
                   11242: 
                   11243: 
                   11244: 
                   11245: 
                   11246: 
                   11247: 
                   11248: # This can be used to rebuild libtool when needed
1.237     moko     11249: LIBTOOL_DEPS=$ltmain
1.128     moko     11250: 
                   11251: # Always use our own libtool.
                   11252: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   11253: 
                   11254: 
                   11255: 
                   11256: 
                   11257: 
                   11258: 
                   11259: 
                   11260: 
                   11261: 
                   11262: 
                   11263: 
                   11264: 
                   11265: 
                   11266: 
                   11267: 
                   11268: 
                   11269: 
                   11270: 
                   11271: 
                   11272: 
                   11273: 
                   11274: 
                   11275: 
                   11276: 
                   11277: 
                   11278: 
                   11279: 
                   11280: 
                   11281: 
                   11282: 
                   11283: test -z "$LN_S" && LN_S="ln -s"
                   11284: 
                   11285: 
                   11286: 
                   11287: 
                   11288: 
                   11289: 
                   11290: 
                   11291: 
                   11292: 
                   11293: 
                   11294: 
                   11295: 
                   11296: 
                   11297: 
1.237     moko     11298: if test -n "${ZSH_VERSION+set}"; then
1.128     moko     11299:    setopt NO_GLOB_SUBST
                   11300: fi
                   11301: 
1.237     moko     11302: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   11303: printf %s "checking for objdir... " >&6; }
                   11304: if test ${lt_cv_objdir+y}
                   11305: then :
                   11306:   printf %s "(cached) " >&6
                   11307: else case e in #(
                   11308:   e) rm -f .libs 2>/dev/null
1.128     moko     11309: mkdir .libs 2>/dev/null
                   11310: if test -d .libs; then
                   11311:   lt_cv_objdir=.libs
                   11312: else
                   11313:   # MS-DOS does not allow filenames that begin with a dot.
                   11314:   lt_cv_objdir=_libs
                   11315: fi
1.237     moko     11316: rmdir .libs 2>/dev/null ;;
                   11317: esac
1.128     moko     11318: fi
1.237     moko     11319: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   11320: printf "%s\n" "$lt_cv_objdir" >&6; }
1.128     moko     11321: objdir=$lt_cv_objdir
                   11322: 
                   11323: 
                   11324: 
                   11325: 
                   11326: 
1.237     moko     11327: printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
1.128     moko     11328: 
                   11329: 
                   11330: 
                   11331: 
                   11332: case $host_os in
                   11333: aix3*)
                   11334:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   11335:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   11336:   # vanish in a puff of smoke.
1.237     moko     11337:   if test set != "${COLLECT_NAMES+set}"; then
1.128     moko     11338:     COLLECT_NAMES=
                   11339:     export COLLECT_NAMES
                   11340:   fi
                   11341:   ;;
                   11342: esac
                   11343: 
                   11344: # Global variables:
                   11345: ofile=libtool
                   11346: can_build_shared=yes
                   11347: 
1.237     moko     11348: # All known linkers require a '.a' archive for static linking (except MSVC and
                   11349: # ICC, which need '.lib').
1.128     moko     11350: libext=a
                   11351: 
1.237     moko     11352: with_gnu_ld=$lt_cv_prog_gnu_ld
1.128     moko     11353: 
1.237     moko     11354: old_CC=$CC
                   11355: old_CFLAGS=$CFLAGS
1.128     moko     11356: 
                   11357: # Set sane defaults for various variables
                   11358: test -z "$CC" && CC=cc
                   11359: test -z "$LTCC" && LTCC=$CC
                   11360: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   11361: test -z "$LD" && LD=ld
                   11362: test -z "$ac_objext" && ac_objext=o
                   11363: 
1.237     moko     11364: func_cc_basename $compiler
                   11365: cc_basename=$func_cc_basename_result
1.128     moko     11366: 
                   11367: 
                   11368: # Only perform the check for file, if the check method requires it
                   11369: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   11370: case $deplibs_check_method in
                   11371: file_magic*)
                   11372:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.237     moko     11373:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   11374: printf %s "checking for ${ac_tool_prefix}file... " >&6; }
                   11375: if test ${lt_cv_path_MAGIC_CMD+y}
                   11376: then :
                   11377:   printf %s "(cached) " >&6
                   11378: else case e in #(
                   11379:   e) case $MAGIC_CMD in
1.128     moko     11380: [\\/*] |  ?:[\\/]*)
1.237     moko     11381:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1.128     moko     11382:   ;;
                   11383: *)
1.237     moko     11384:   lt_save_MAGIC_CMD=$MAGIC_CMD
                   11385:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     11386:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   11387:   for ac_dir in $ac_dummy; do
1.237     moko     11388:     IFS=$lt_save_ifs
1.128     moko     11389:     test -z "$ac_dir" && ac_dir=.
1.237     moko     11390:     if test -f "$ac_dir/${ac_tool_prefix}file"; then
                   11391:       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
1.128     moko     11392:       if test -n "$file_magic_test_file"; then
                   11393:        case $deplibs_check_method in
                   11394:        "file_magic "*)
                   11395:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.237     moko     11396:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.128     moko     11397:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   11398:            $EGREP "$file_magic_regex" > /dev/null; then
                   11399:            :
                   11400:          else
                   11401:            cat <<_LT_EOF 1>&2
                   11402: 
                   11403: *** Warning: the command libtool uses to detect shared libraries,
                   11404: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   11405: *** The result is that libtool may fail to recognize shared libraries
                   11406: *** as such.  This will affect the creation of libtool libraries that
                   11407: *** depend on shared libraries, but programs linked with such libtool
                   11408: *** libraries will work regardless of this problem.  Nevertheless, you
                   11409: *** may want to report the problem to your system manager and/or to
                   11410: *** bug-libtool@gnu.org
                   11411: 
                   11412: _LT_EOF
                   11413:          fi ;;
                   11414:        esac
                   11415:       fi
                   11416:       break
                   11417:     fi
                   11418:   done
1.237     moko     11419:   IFS=$lt_save_ifs
                   11420:   MAGIC_CMD=$lt_save_MAGIC_CMD
1.128     moko     11421:   ;;
1.237     moko     11422: esac ;;
1.128     moko     11423: esac
                   11424: fi
                   11425: 
1.237     moko     11426: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.128     moko     11427: if test -n "$MAGIC_CMD"; then
1.237     moko     11428:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   11429: printf "%s\n" "$MAGIC_CMD" >&6; }
1.128     moko     11430: else
1.237     moko     11431:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11432: printf "%s\n" "no" >&6; }
1.128     moko     11433: fi
                   11434: 
                   11435: 
                   11436: 
                   11437: 
                   11438: 
                   11439: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   11440:   if test -n "$ac_tool_prefix"; then
1.237     moko     11441:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   11442: printf %s "checking for file... " >&6; }
                   11443: if test ${lt_cv_path_MAGIC_CMD+y}
                   11444: then :
                   11445:   printf %s "(cached) " >&6
                   11446: else case e in #(
                   11447:   e) case $MAGIC_CMD in
1.128     moko     11448: [\\/*] |  ?:[\\/]*)
1.237     moko     11449:   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
1.128     moko     11450:   ;;
                   11451: *)
1.237     moko     11452:   lt_save_MAGIC_CMD=$MAGIC_CMD
                   11453:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     11454:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   11455:   for ac_dir in $ac_dummy; do
1.237     moko     11456:     IFS=$lt_save_ifs
1.128     moko     11457:     test -z "$ac_dir" && ac_dir=.
1.237     moko     11458:     if test -f "$ac_dir/file"; then
                   11459:       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
1.128     moko     11460:       if test -n "$file_magic_test_file"; then
                   11461:        case $deplibs_check_method in
                   11462:        "file_magic "*)
                   11463:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
1.237     moko     11464:          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.128     moko     11465:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   11466:            $EGREP "$file_magic_regex" > /dev/null; then
                   11467:            :
                   11468:          else
                   11469:            cat <<_LT_EOF 1>&2
                   11470: 
                   11471: *** Warning: the command libtool uses to detect shared libraries,
                   11472: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   11473: *** The result is that libtool may fail to recognize shared libraries
                   11474: *** as such.  This will affect the creation of libtool libraries that
                   11475: *** depend on shared libraries, but programs linked with such libtool
                   11476: *** libraries will work regardless of this problem.  Nevertheless, you
                   11477: *** may want to report the problem to your system manager and/or to
                   11478: *** bug-libtool@gnu.org
                   11479: 
                   11480: _LT_EOF
                   11481:          fi ;;
                   11482:        esac
                   11483:       fi
                   11484:       break
                   11485:     fi
                   11486:   done
1.237     moko     11487:   IFS=$lt_save_ifs
                   11488:   MAGIC_CMD=$lt_save_MAGIC_CMD
1.128     moko     11489:   ;;
1.237     moko     11490: esac ;;
1.128     moko     11491: esac
                   11492: fi
                   11493: 
1.237     moko     11494: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
1.128     moko     11495: if test -n "$MAGIC_CMD"; then
1.237     moko     11496:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   11497: printf "%s\n" "$MAGIC_CMD" >&6; }
1.128     moko     11498: else
1.237     moko     11499:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11500: printf "%s\n" "no" >&6; }
1.128     moko     11501: fi
                   11502: 
                   11503: 
                   11504:   else
                   11505:     MAGIC_CMD=:
                   11506:   fi
                   11507: fi
                   11508: 
                   11509:   fi
                   11510:   ;;
                   11511: esac
                   11512: 
                   11513: # Use C for the default configuration in the libtool script
                   11514: 
1.237     moko     11515: lt_save_CC=$CC
1.128     moko     11516: ac_ext=c
                   11517: ac_cpp='$CPP $CPPFLAGS'
                   11518: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11519: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11520: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11521: 
                   11522: 
                   11523: # Source file extension for C test sources.
                   11524: ac_ext=c
                   11525: 
                   11526: # Object file extension for compiled C test sources.
                   11527: objext=o
                   11528: objext=$objext
                   11529: 
                   11530: # Code to be used in simple compile tests
                   11531: lt_simple_compile_test_code="int some_variable = 0;"
                   11532: 
                   11533: # Code to be used in simple link tests
1.237     moko     11534: lt_simple_link_test_code='int main(void){return(0);}'
1.128     moko     11535: 
                   11536: 
                   11537: 
                   11538: 
                   11539: 
                   11540: 
                   11541: 
                   11542: # If no C compiler was specified, use CC.
                   11543: LTCC=${LTCC-"$CC"}
                   11544: 
                   11545: # If no C compiler flags were specified, use CFLAGS.
                   11546: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   11547: 
                   11548: # Allow CC to be a program name with arguments.
                   11549: compiler=$CC
                   11550: 
                   11551: # Save the default compiler, since it gets overwritten when the other
                   11552: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   11553: compiler_DEFAULT=$CC
                   11554: 
                   11555: # save warnings/boilerplate of simple test code
                   11556: ac_outfile=conftest.$ac_objext
                   11557: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   11558: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   11559: _lt_compiler_boilerplate=`cat conftest.err`
                   11560: $RM conftest*
                   11561: 
                   11562: ac_outfile=conftest.$ac_objext
                   11563: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   11564: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   11565: _lt_linker_boilerplate=`cat conftest.err`
                   11566: $RM -r conftest*
                   11567: 
                   11568: 
                   11569: ## CAVEAT EMPTOR:
                   11570: ## There is no encapsulation within the following macros, do not change
                   11571: ## the running order or otherwise move them around unless you know exactly
                   11572: ## what you are doing...
                   11573: if test -n "$compiler"; then
                   11574: 
                   11575: lt_prog_compiler_no_builtin_flag=
                   11576: 
1.237     moko     11577: if test yes = "$GCC"; then
1.128     moko     11578:   case $cc_basename in
                   11579:   nvcc*)
                   11580:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   11581:   *)
                   11582:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   11583:   esac
                   11584: 
1.237     moko     11585:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   11586: printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   11587: if test ${lt_cv_prog_compiler_rtti_exceptions+y}
                   11588: then :
                   11589:   printf %s "(cached) " >&6
                   11590: else case e in #(
                   11591:   e) lt_cv_prog_compiler_rtti_exceptions=no
1.128     moko     11592:    ac_outfile=conftest.$ac_objext
                   11593:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.237     moko     11594:    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
1.128     moko     11595:    # Insert the option either (1) after the last *FLAGS variable, or
                   11596:    # (2) before a word containing "conftest.", or (3) at the end.
                   11597:    # Note that $ac_compile itself does not contain backslashes and begins
                   11598:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   11599:    # The option is referenced via a variable to avoid confusing sed.
                   11600:    lt_compile=`echo "$ac_compile" | $SED \
                   11601:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   11602:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   11603:    -e 's:$: $lt_compiler_flag:'`
                   11604:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   11605:    (eval "$lt_compile" 2>conftest.err)
                   11606:    ac_status=$?
                   11607:    cat conftest.err >&5
                   11608:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11609:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   11610:      # The compiler can only warn and ignore the option if not recognized
                   11611:      # So say no if there are warnings other than the usual output.
                   11612:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   11613:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   11614:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   11615:        lt_cv_prog_compiler_rtti_exceptions=yes
                   11616:      fi
                   11617:    fi
                   11618:    $RM conftest*
1.237     moko     11619:  ;;
                   11620: esac
1.128     moko     11621: fi
1.237     moko     11622: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   11623: printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     11624: 
1.237     moko     11625: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
1.128     moko     11626:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   11627: else
                   11628:     :
                   11629: fi
                   11630: 
                   11631: fi
                   11632: 
                   11633: 
                   11634: 
                   11635: 
                   11636: 
                   11637: 
                   11638:   lt_prog_compiler_wl=
                   11639: lt_prog_compiler_pic=
                   11640: lt_prog_compiler_static=
                   11641: 
                   11642: 
1.237     moko     11643:   if test yes = "$GCC"; then
1.128     moko     11644:     lt_prog_compiler_wl='-Wl,'
                   11645:     lt_prog_compiler_static='-static'
                   11646: 
                   11647:     case $host_os in
                   11648:       aix*)
                   11649:       # All AIX code is PIC.
1.237     moko     11650:       if test ia64 = "$host_cpu"; then
1.128     moko     11651:        # AIX 5 now supports IA64 processor
                   11652:        lt_prog_compiler_static='-Bstatic'
                   11653:       fi
1.237     moko     11654:       lt_prog_compiler_pic='-fPIC'
1.128     moko     11655:       ;;
                   11656: 
                   11657:     amigaos*)
                   11658:       case $host_cpu in
                   11659:       powerpc)
                   11660:             # see comment about AmigaOS4 .so support
                   11661:             lt_prog_compiler_pic='-fPIC'
                   11662:         ;;
                   11663:       m68k)
                   11664:             # FIXME: we need at least 68020 code to build shared libraries, but
1.237     moko     11665:             # adding the '-m68020' flag to GCC prevents building anything better,
                   11666:             # like '-m68040'.
1.128     moko     11667:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   11668:         ;;
                   11669:       esac
                   11670:       ;;
                   11671: 
                   11672:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   11673:       # PIC is the default for these OSes.
                   11674:       ;;
                   11675: 
1.237     moko     11676:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
1.128     moko     11677:       # This hack is so that the source file can tell whether it is being
                   11678:       # built for inclusion in a dll (and should export symbols for example).
                   11679:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   11680:       # (--disable-auto-import) libraries
                   11681:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.237     moko     11682:       case $host_os in
                   11683:       os2*)
                   11684:        lt_prog_compiler_static='$wl-static'
                   11685:        ;;
                   11686:       esac
1.128     moko     11687:       ;;
                   11688: 
                   11689:     darwin* | rhapsody*)
                   11690:       # PIC is the default on this platform
                   11691:       # Common symbols not allowed in MH_DYLIB files
                   11692:       lt_prog_compiler_pic='-fno-common'
                   11693:       ;;
                   11694: 
                   11695:     haiku*)
                   11696:       # PIC is the default for Haiku.
                   11697:       # The "-static" flag exists, but is broken.
                   11698:       lt_prog_compiler_static=
                   11699:       ;;
                   11700: 
                   11701:     hpux*)
                   11702:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   11703:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   11704:       # sets the default TLS model and affects inlining.
                   11705:       case $host_cpu in
                   11706:       hppa*64*)
                   11707:        # +Z the default
                   11708:        ;;
                   11709:       *)
                   11710:        lt_prog_compiler_pic='-fPIC'
                   11711:        ;;
                   11712:       esac
                   11713:       ;;
                   11714: 
                   11715:     interix[3-9]*)
                   11716:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   11717:       # Instead, we relocate shared libraries at runtime.
                   11718:       ;;
                   11719: 
                   11720:     msdosdjgpp*)
                   11721:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   11722:       # on systems that don't support them.
                   11723:       lt_prog_compiler_can_build_shared=no
                   11724:       enable_shared=no
                   11725:       ;;
                   11726: 
                   11727:     *nto* | *qnx*)
                   11728:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   11729:       # it will coredump.
                   11730:       lt_prog_compiler_pic='-fPIC -shared'
                   11731:       ;;
                   11732: 
                   11733:     sysv4*MP*)
                   11734:       if test -d /usr/nec; then
                   11735:        lt_prog_compiler_pic=-Kconform_pic
                   11736:       fi
                   11737:       ;;
                   11738: 
                   11739:     *)
                   11740:       lt_prog_compiler_pic='-fPIC'
                   11741:       ;;
                   11742:     esac
                   11743: 
                   11744:     case $cc_basename in
                   11745:     nvcc*) # Cuda Compiler Driver 2.2
                   11746:       lt_prog_compiler_wl='-Xlinker '
                   11747:       if test -n "$lt_prog_compiler_pic"; then
                   11748:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   11749:       fi
                   11750:       ;;
                   11751:     esac
                   11752:   else
                   11753:     # PORTME Check for flag to pass linker flags through the system compiler.
                   11754:     case $host_os in
                   11755:     aix*)
                   11756:       lt_prog_compiler_wl='-Wl,'
1.237     moko     11757:       if test ia64 = "$host_cpu"; then
1.128     moko     11758:        # AIX 5 now supports IA64 processor
                   11759:        lt_prog_compiler_static='-Bstatic'
                   11760:       else
                   11761:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   11762:       fi
                   11763:       ;;
                   11764: 
1.237     moko     11765:     darwin* | rhapsody*)
                   11766:       # PIC is the default on this platform
                   11767:       # Common symbols not allowed in MH_DYLIB files
                   11768:       lt_prog_compiler_pic='-fno-common'
                   11769:       case $cc_basename in
                   11770:       nagfor*)
                   11771:         # NAG Fortran compiler
                   11772:         lt_prog_compiler_wl='-Wl,-Wl,,'
                   11773:         lt_prog_compiler_pic='-PIC'
                   11774:         lt_prog_compiler_static='-Bstatic'
                   11775:         ;;
                   11776:       esac
                   11777:       ;;
                   11778: 
                   11779:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
1.128     moko     11780:       # This hack is so that the source file can tell whether it is being
                   11781:       # built for inclusion in a dll (and should export symbols for example).
                   11782:       lt_prog_compiler_pic='-DDLL_EXPORT'
1.237     moko     11783:       case $host_os in
                   11784:       os2*)
                   11785:        lt_prog_compiler_static='$wl-static'
                   11786:        ;;
                   11787:       esac
1.128     moko     11788:       ;;
                   11789: 
                   11790:     hpux9* | hpux10* | hpux11*)
                   11791:       lt_prog_compiler_wl='-Wl,'
                   11792:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   11793:       # not for PA HP-UX.
                   11794:       case $host_cpu in
                   11795:       hppa*64*|ia64*)
                   11796:        # +Z the default
                   11797:        ;;
                   11798:       *)
                   11799:        lt_prog_compiler_pic='+Z'
                   11800:        ;;
                   11801:       esac
                   11802:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
1.237     moko     11803:       lt_prog_compiler_static='$wl-a ${wl}archive'
1.128     moko     11804:       ;;
                   11805: 
                   11806:     irix5* | irix6* | nonstopux*)
                   11807:       lt_prog_compiler_wl='-Wl,'
                   11808:       # PIC (with -KPIC) is the default.
                   11809:       lt_prog_compiler_static='-non_shared'
                   11810:       ;;
                   11811: 
1.237     moko     11812:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     11813:       case $cc_basename in
1.237     moko     11814:       # old Intel for x86_64, which still supported -KPIC.
1.128     moko     11815:       ecc*)
                   11816:        lt_prog_compiler_wl='-Wl,'
                   11817:        lt_prog_compiler_pic='-KPIC'
                   11818:        lt_prog_compiler_static='-static'
                   11819:         ;;
1.237     moko     11820:       *flang* | ftn | f18* | f95*)
                   11821:         # Flang compiler.
                   11822:        lt_prog_compiler_wl='-Wl,'
                   11823:        lt_prog_compiler_pic='-fPIC'
                   11824:        lt_prog_compiler_static='-static'
                   11825:         ;;
                   11826:       # flang / f18. f95 an alias for gfortran or flang on Debian
                   11827:       flang* | f18* | f95*)
                   11828:        lt_prog_compiler_wl='-Wl,'
                   11829:        lt_prog_compiler_pic='-fPIC'
                   11830:        lt_prog_compiler_static='-static'
                   11831:         ;;
1.128     moko     11832:       # icc used to be incompatible with GCC.
                   11833:       # ICC 10 doesn't accept -KPIC any more.
                   11834:       icc* | ifort*)
                   11835:        lt_prog_compiler_wl='-Wl,'
                   11836:        lt_prog_compiler_pic='-fPIC'
                   11837:        lt_prog_compiler_static='-static'
                   11838:         ;;
                   11839:       # Lahey Fortran 8.1.
                   11840:       lf95*)
                   11841:        lt_prog_compiler_wl='-Wl,'
                   11842:        lt_prog_compiler_pic='--shared'
                   11843:        lt_prog_compiler_static='--static'
                   11844:        ;;
                   11845:       nagfor*)
                   11846:        # NAG Fortran compiler
                   11847:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   11848:        lt_prog_compiler_pic='-PIC'
                   11849:        lt_prog_compiler_static='-Bstatic'
                   11850:        ;;
1.237     moko     11851:       tcc*)
                   11852:        # Fabrice Bellard et al's Tiny C Compiler
                   11853:        lt_prog_compiler_wl='-Wl,'
                   11854:        lt_prog_compiler_pic='-fPIC'
                   11855:        lt_prog_compiler_static='-static'
                   11856:        ;;
1.128     moko     11857:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   11858:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   11859:        # which looks to be a dead project)
                   11860:        lt_prog_compiler_wl='-Wl,'
                   11861:        lt_prog_compiler_pic='-fpic'
                   11862:        lt_prog_compiler_static='-Bstatic'
                   11863:         ;;
                   11864:       ccc*)
                   11865:         lt_prog_compiler_wl='-Wl,'
                   11866:         # All Alpha code is PIC.
                   11867:         lt_prog_compiler_static='-non_shared'
                   11868:         ;;
                   11869:       xl* | bgxl* | bgf* | mpixl*)
                   11870:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   11871:        lt_prog_compiler_wl='-Wl,'
                   11872:        lt_prog_compiler_pic='-qpic'
                   11873:        lt_prog_compiler_static='-qstaticlink'
                   11874:        ;;
                   11875:       *)
1.237     moko     11876:        case `$CC -V 2>&1 | $SED 5q` in
1.128     moko     11877:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   11878:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   11879:          lt_prog_compiler_pic='-KPIC'
                   11880:          lt_prog_compiler_static='-Bstatic'
                   11881:          lt_prog_compiler_wl=''
                   11882:          ;;
                   11883:        *Sun\ F* | *Sun*Fortran*)
                   11884:          lt_prog_compiler_pic='-KPIC'
                   11885:          lt_prog_compiler_static='-Bstatic'
                   11886:          lt_prog_compiler_wl='-Qoption ld '
                   11887:          ;;
                   11888:        *Sun\ C*)
                   11889:          # Sun C 5.9
                   11890:          lt_prog_compiler_pic='-KPIC'
                   11891:          lt_prog_compiler_static='-Bstatic'
                   11892:          lt_prog_compiler_wl='-Wl,'
                   11893:          ;;
                   11894:         *Intel*\ [CF]*Compiler*)
                   11895:          lt_prog_compiler_wl='-Wl,'
                   11896:          lt_prog_compiler_pic='-fPIC'
                   11897:          lt_prog_compiler_static='-static'
                   11898:          ;;
                   11899:        *Portland\ Group*)
                   11900:          lt_prog_compiler_wl='-Wl,'
                   11901:          lt_prog_compiler_pic='-fpic'
                   11902:          lt_prog_compiler_static='-Bstatic'
                   11903:          ;;
                   11904:        esac
                   11905:        ;;
                   11906:       esac
                   11907:       ;;
                   11908: 
                   11909:     newsos6)
                   11910:       lt_prog_compiler_pic='-KPIC'
                   11911:       lt_prog_compiler_static='-Bstatic'
                   11912:       ;;
                   11913: 
1.237     moko     11914:     *-mlibc)
                   11915:       lt_prog_compiler_wl='-Wl,'
                   11916:       lt_prog_compiler_pic='-fPIC'
                   11917:       lt_prog_compiler_static='-static'
                   11918:       ;;
                   11919: 
1.128     moko     11920:     *nto* | *qnx*)
                   11921:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   11922:       # it will coredump.
                   11923:       lt_prog_compiler_pic='-fPIC -shared'
                   11924:       ;;
                   11925: 
                   11926:     osf3* | osf4* | osf5*)
                   11927:       lt_prog_compiler_wl='-Wl,'
                   11928:       # All OSF/1 code is PIC.
                   11929:       lt_prog_compiler_static='-non_shared'
                   11930:       ;;
                   11931: 
                   11932:     rdos*)
                   11933:       lt_prog_compiler_static='-non_shared'
                   11934:       ;;
                   11935: 
1.237     moko     11936:     serenity*)
                   11937:       ;;
                   11938: 
1.128     moko     11939:     solaris*)
                   11940:       lt_prog_compiler_pic='-KPIC'
                   11941:       lt_prog_compiler_static='-Bstatic'
                   11942:       case $cc_basename in
                   11943:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   11944:        lt_prog_compiler_wl='-Qoption ld ';;
                   11945:       *)
                   11946:        lt_prog_compiler_wl='-Wl,';;
                   11947:       esac
                   11948:       ;;
                   11949: 
                   11950:     sunos4*)
                   11951:       lt_prog_compiler_wl='-Qoption ld '
                   11952:       lt_prog_compiler_pic='-PIC'
                   11953:       lt_prog_compiler_static='-Bstatic'
                   11954:       ;;
                   11955: 
                   11956:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   11957:       lt_prog_compiler_wl='-Wl,'
                   11958:       lt_prog_compiler_pic='-KPIC'
                   11959:       lt_prog_compiler_static='-Bstatic'
                   11960:       ;;
                   11961: 
                   11962:     sysv4*MP*)
1.237     moko     11963:       if test -d /usr/nec; then
1.128     moko     11964:        lt_prog_compiler_pic='-Kconform_pic'
                   11965:        lt_prog_compiler_static='-Bstatic'
                   11966:       fi
                   11967:       ;;
                   11968: 
                   11969:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   11970:       lt_prog_compiler_wl='-Wl,'
                   11971:       lt_prog_compiler_pic='-KPIC'
                   11972:       lt_prog_compiler_static='-Bstatic'
                   11973:       ;;
                   11974: 
                   11975:     unicos*)
                   11976:       lt_prog_compiler_wl='-Wl,'
                   11977:       lt_prog_compiler_can_build_shared=no
                   11978:       ;;
                   11979: 
                   11980:     uts4*)
                   11981:       lt_prog_compiler_pic='-pic'
                   11982:       lt_prog_compiler_static='-Bstatic'
                   11983:       ;;
                   11984: 
                   11985:     *)
                   11986:       lt_prog_compiler_can_build_shared=no
                   11987:       ;;
                   11988:     esac
                   11989:   fi
                   11990: 
                   11991: case $host_os in
1.237     moko     11992:   # For platforms that do not support PIC, -DPIC is meaningless:
1.128     moko     11993:   *djgpp*)
                   11994:     lt_prog_compiler_pic=
                   11995:     ;;
                   11996:   *)
                   11997:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   11998:     ;;
                   11999: esac
                   12000: 
1.237     moko     12001: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   12002: printf %s "checking for $compiler option to produce PIC... " >&6; }
                   12003: if test ${lt_cv_prog_compiler_pic+y}
                   12004: then :
                   12005:   printf %s "(cached) " >&6
                   12006: else case e in #(
                   12007:   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
                   12008: esac
1.128     moko     12009: fi
1.237     moko     12010: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   12011: printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     12012: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   12013: 
                   12014: #
                   12015: # Check to make sure the PIC flag actually works.
                   12016: #
                   12017: if test -n "$lt_prog_compiler_pic"; then
1.237     moko     12018:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   12019: printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   12020: if test ${lt_cv_prog_compiler_pic_works+y}
                   12021: then :
                   12022:   printf %s "(cached) " >&6
                   12023: else case e in #(
                   12024:   e) lt_cv_prog_compiler_pic_works=no
1.128     moko     12025:    ac_outfile=conftest.$ac_objext
                   12026:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.237     moko     12027:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
1.128     moko     12028:    # Insert the option either (1) after the last *FLAGS variable, or
                   12029:    # (2) before a word containing "conftest.", or (3) at the end.
                   12030:    # Note that $ac_compile itself does not contain backslashes and begins
                   12031:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   12032:    # The option is referenced via a variable to avoid confusing sed.
                   12033:    lt_compile=`echo "$ac_compile" | $SED \
                   12034:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   12035:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   12036:    -e 's:$: $lt_compiler_flag:'`
                   12037:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   12038:    (eval "$lt_compile" 2>conftest.err)
                   12039:    ac_status=$?
                   12040:    cat conftest.err >&5
                   12041:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12042:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   12043:      # The compiler can only warn and ignore the option if not recognized
                   12044:      # So say no if there are warnings other than the usual output.
                   12045:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   12046:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   12047:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   12048:        lt_cv_prog_compiler_pic_works=yes
                   12049:      fi
                   12050:    fi
                   12051:    $RM conftest*
1.237     moko     12052:  ;;
                   12053: esac
1.128     moko     12054: fi
1.237     moko     12055: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   12056: printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     12057: 
1.237     moko     12058: if test yes = "$lt_cv_prog_compiler_pic_works"; then
1.128     moko     12059:     case $lt_prog_compiler_pic in
                   12060:      "" | " "*) ;;
                   12061:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   12062:      esac
                   12063: else
                   12064:     lt_prog_compiler_pic=
                   12065:      lt_prog_compiler_can_build_shared=no
                   12066: fi
                   12067: 
                   12068: fi
                   12069: 
                   12070: 
                   12071: 
                   12072: 
                   12073: 
                   12074: 
                   12075: 
                   12076: 
                   12077: 
                   12078: 
                   12079: 
                   12080: #
                   12081: # Check to make sure the static flag actually works.
                   12082: #
                   12083: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.237     moko     12084: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   12085: printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   12086: if test ${lt_cv_prog_compiler_static_works+y}
                   12087: then :
                   12088:   printf %s "(cached) " >&6
                   12089: else case e in #(
                   12090:   e) lt_cv_prog_compiler_static_works=no
                   12091:    save_LDFLAGS=$LDFLAGS
1.128     moko     12092:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   12093:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   12094:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   12095:      # The linker can only warn and ignore the option if not recognized
                   12096:      # So say no if there are warnings
                   12097:      if test -s conftest.err; then
                   12098:        # Append any errors to the config.log.
                   12099:        cat conftest.err 1>&5
                   12100:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   12101:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   12102:        if diff conftest.exp conftest.er2 >/dev/null; then
                   12103:          lt_cv_prog_compiler_static_works=yes
                   12104:        fi
                   12105:      else
                   12106:        lt_cv_prog_compiler_static_works=yes
                   12107:      fi
                   12108:    fi
                   12109:    $RM -r conftest*
1.237     moko     12110:    LDFLAGS=$save_LDFLAGS
                   12111:  ;;
                   12112: esac
1.128     moko     12113: fi
1.237     moko     12114: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   12115: printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     12116: 
1.237     moko     12117: if test yes = "$lt_cv_prog_compiler_static_works"; then
1.128     moko     12118:     :
                   12119: else
                   12120:     lt_prog_compiler_static=
                   12121: fi
                   12122: 
                   12123: 
                   12124: 
                   12125: 
                   12126: 
                   12127: 
                   12128: 
1.237     moko     12129:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   12130: printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   12131: if test ${lt_cv_prog_compiler_c_o+y}
                   12132: then :
                   12133:   printf %s "(cached) " >&6
                   12134: else case e in #(
                   12135:   e) lt_cv_prog_compiler_c_o=no
1.128     moko     12136:    $RM -r conftest 2>/dev/null
                   12137:    mkdir conftest
                   12138:    cd conftest
                   12139:    mkdir out
                   12140:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   12141: 
                   12142:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   12143:    # Insert the option either (1) after the last *FLAGS variable, or
                   12144:    # (2) before a word containing "conftest.", or (3) at the end.
                   12145:    # Note that $ac_compile itself does not contain backslashes and begins
                   12146:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   12147:    lt_compile=`echo "$ac_compile" | $SED \
                   12148:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   12149:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   12150:    -e 's:$: $lt_compiler_flag:'`
                   12151:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   12152:    (eval "$lt_compile" 2>out/conftest.err)
                   12153:    ac_status=$?
                   12154:    cat out/conftest.err >&5
                   12155:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12156:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   12157:    then
                   12158:      # The compiler can only warn and ignore the option if not recognized
                   12159:      # So say no if there are warnings
                   12160:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   12161:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   12162:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   12163:        lt_cv_prog_compiler_c_o=yes
                   12164:      fi
                   12165:    fi
                   12166:    chmod u+w . 2>&5
                   12167:    $RM conftest*
                   12168:    # SGI C++ compiler will create directory out/ii_files/ for
                   12169:    # template instantiation
                   12170:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   12171:    $RM out/* && rmdir out
                   12172:    cd ..
                   12173:    $RM -r conftest
                   12174:    $RM conftest*
1.237     moko     12175:  ;;
                   12176: esac
1.128     moko     12177: fi
1.237     moko     12178: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   12179: printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     12180: 
                   12181: 
                   12182: 
                   12183: 
                   12184: 
                   12185: 
1.237     moko     12186:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   12187: printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   12188: if test ${lt_cv_prog_compiler_c_o+y}
                   12189: then :
                   12190:   printf %s "(cached) " >&6
                   12191: else case e in #(
                   12192:   e) lt_cv_prog_compiler_c_o=no
1.128     moko     12193:    $RM -r conftest 2>/dev/null
                   12194:    mkdir conftest
                   12195:    cd conftest
                   12196:    mkdir out
                   12197:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   12198: 
                   12199:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   12200:    # Insert the option either (1) after the last *FLAGS variable, or
                   12201:    # (2) before a word containing "conftest.", or (3) at the end.
                   12202:    # Note that $ac_compile itself does not contain backslashes and begins
                   12203:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   12204:    lt_compile=`echo "$ac_compile" | $SED \
                   12205:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   12206:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   12207:    -e 's:$: $lt_compiler_flag:'`
                   12208:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   12209:    (eval "$lt_compile" 2>out/conftest.err)
                   12210:    ac_status=$?
                   12211:    cat out/conftest.err >&5
                   12212:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12213:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   12214:    then
                   12215:      # The compiler can only warn and ignore the option if not recognized
                   12216:      # So say no if there are warnings
                   12217:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   12218:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   12219:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   12220:        lt_cv_prog_compiler_c_o=yes
                   12221:      fi
                   12222:    fi
                   12223:    chmod u+w . 2>&5
                   12224:    $RM conftest*
                   12225:    # SGI C++ compiler will create directory out/ii_files/ for
                   12226:    # template instantiation
                   12227:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   12228:    $RM out/* && rmdir out
                   12229:    cd ..
                   12230:    $RM -r conftest
                   12231:    $RM conftest*
1.237     moko     12232:  ;;
                   12233: esac
1.128     moko     12234: fi
1.237     moko     12235: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   12236: printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     12237: 
                   12238: 
                   12239: 
                   12240: 
1.237     moko     12241: hard_links=nottested
                   12242: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
1.128     moko     12243:   # do not overwrite the value of need_locks provided by the user
1.237     moko     12244:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   12245: printf %s "checking if we can lock with hard links... " >&6; }
1.128     moko     12246:   hard_links=yes
                   12247:   $RM conftest*
                   12248:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   12249:   touch conftest.a
                   12250:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   12251:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.237     moko     12252:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   12253: printf "%s\n" "$hard_links" >&6; }
                   12254:   if test no = "$hard_links"; then
                   12255:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
                   12256: printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
1.128     moko     12257:     need_locks=warn
                   12258:   fi
                   12259: else
                   12260:   need_locks=no
                   12261: fi
                   12262: 
                   12263: 
                   12264: 
                   12265: 
                   12266: 
                   12267: 
1.237     moko     12268:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12269: printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     12270: 
                   12271:   runpath_var=
                   12272:   allow_undefined_flag=
                   12273:   always_export_symbols=no
                   12274:   archive_cmds=
                   12275:   archive_expsym_cmds=
                   12276:   compiler_needs_object=no
                   12277:   enable_shared_with_static_runtimes=no
                   12278:   export_dynamic_flag_spec=
                   12279:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   12280:   hardcode_automatic=no
                   12281:   hardcode_direct=no
                   12282:   hardcode_direct_absolute=no
                   12283:   hardcode_libdir_flag_spec=
                   12284:   hardcode_libdir_separator=
                   12285:   hardcode_minus_L=no
                   12286:   hardcode_shlibpath_var=unsupported
                   12287:   inherit_rpath=no
                   12288:   link_all_deplibs=unknown
                   12289:   module_cmds=
                   12290:   module_expsym_cmds=
                   12291:   old_archive_from_new_cmds=
                   12292:   old_archive_from_expsyms_cmds=
                   12293:   thread_safe_flag_spec=
                   12294:   whole_archive_flag_spec=
                   12295:   # include_expsyms should be a list of space-separated symbols to be *always*
                   12296:   # included in the symbol list
                   12297:   include_expsyms=
                   12298:   # exclude_expsyms can be an extended regexp of symbols to exclude
1.237     moko     12299:   # it will be wrapped by ' (' and ')$', so one must not match beginning or
                   12300:   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
                   12301:   # as well as any symbol that contains 'd'.
1.128     moko     12302:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   12303:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   12304:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   12305:   # the symbol is explicitly referenced.  Since portable code cannot
                   12306:   # rely on this symbol name, it's probably fine to never include it in
                   12307:   # preloaded symbol tables.
                   12308:   # Exclude shared library initialization/finalization symbols.
                   12309:   extract_expsyms_cmds=
                   12310: 
                   12311:   case $host_os in
1.237     moko     12312:   cygwin* | mingw* | windows* | pw32* | cegcc*)
                   12313:     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
1.128     moko     12314:     # When not using gcc, we currently assume that we are using
1.237     moko     12315:     # Microsoft Visual C++ or Intel C++ Compiler.
                   12316:     if test yes != "$GCC"; then
1.128     moko     12317:       with_gnu_ld=no
                   12318:     fi
                   12319:     ;;
                   12320:   interix*)
1.237     moko     12321:     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
1.128     moko     12322:     with_gnu_ld=yes
                   12323:     ;;
1.237     moko     12324:   linux* | k*bsd*-gnu | gnu*)
                   12325:     link_all_deplibs=no
1.128     moko     12326:     ;;
                   12327:   esac
                   12328: 
                   12329:   ld_shlibs=yes
                   12330: 
                   12331:   # On some targets, GNU ld is compatible enough with the native linker
                   12332:   # that we're better off using the native interface for both.
                   12333:   lt_use_gnu_ld_interface=no
1.237     moko     12334:   if test yes = "$with_gnu_ld"; then
1.128     moko     12335:     case $host_os in
                   12336:       aix*)
                   12337:        # The AIX port of GNU ld has always aspired to compatibility
                   12338:        # with the native linker.  However, as the warning in the GNU ld
                   12339:        # block says, versions before 2.19.5* couldn't really create working
                   12340:        # shared libraries, regardless of the interface used.
                   12341:        case `$LD -v 2>&1` in
                   12342:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   12343:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   12344:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   12345:          *)
                   12346:            lt_use_gnu_ld_interface=yes
                   12347:            ;;
                   12348:        esac
                   12349:        ;;
                   12350:       *)
                   12351:        lt_use_gnu_ld_interface=yes
                   12352:        ;;
                   12353:     esac
                   12354:   fi
                   12355: 
1.237     moko     12356:   if test yes = "$lt_use_gnu_ld_interface"; then
1.128     moko     12357:     # If archive_cmds runs LD, not CC, wlarc should be empty
1.237     moko     12358:     wlarc='$wl'
1.128     moko     12359: 
                   12360:     # Set some defaults for GNU ld with shared library support. These
                   12361:     # are reset later if shared libraries are not supported. Putting them
                   12362:     # here allows them to be overridden if necessary.
                   12363:     runpath_var=LD_RUN_PATH
1.237     moko     12364:     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   12365:     export_dynamic_flag_spec='$wl--export-dynamic'
1.128     moko     12366:     # ancient GNU ld didn't support --whole-archive et. al.
                   12367:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
1.237     moko     12368:       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
1.128     moko     12369:     else
                   12370:       whole_archive_flag_spec=
                   12371:     fi
                   12372:     supports_anon_versioning=no
1.237     moko     12373:     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
1.128     moko     12374:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   12375:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   12376:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   12377:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   12378:       *\ 2.11.*) ;; # other 2.11 versions
                   12379:       *) supports_anon_versioning=yes ;;
                   12380:     esac
                   12381: 
                   12382:     # See if GNU ld supports shared libraries.
                   12383:     case $host_os in
                   12384:     aix[3-9]*)
                   12385:       # On AIX/PPC, the GNU linker is very broken
1.237     moko     12386:       if test ia64 != "$host_cpu"; then
1.128     moko     12387:        ld_shlibs=no
                   12388:        cat <<_LT_EOF 1>&2
                   12389: 
                   12390: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   12391: *** to be unable to reliably create shared libraries on AIX.
                   12392: *** Therefore, libtool is disabling shared libraries support.  If you
                   12393: *** really care for shared libraries, you may want to install binutils
                   12394: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   12395: *** You will then need to restart the configuration process.
                   12396: 
                   12397: _LT_EOF
                   12398:       fi
                   12399:       ;;
                   12400: 
                   12401:     amigaos*)
                   12402:       case $host_cpu in
                   12403:       powerpc)
                   12404:             # see comment about AmigaOS4 .so support
1.237     moko     12405:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     12406:             archive_expsym_cmds=''
                   12407:         ;;
                   12408:       m68k)
                   12409:             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)'
                   12410:             hardcode_libdir_flag_spec='-L$libdir'
                   12411:             hardcode_minus_L=yes
                   12412:         ;;
                   12413:       esac
                   12414:       ;;
                   12415: 
                   12416:     beos*)
                   12417:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   12418:        allow_undefined_flag=unsupported
                   12419:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   12420:        # support --undefined.  This deserves some investigation.  FIXME
1.237     moko     12421:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     12422:       else
                   12423:        ld_shlibs=no
                   12424:       fi
                   12425:       ;;
                   12426: 
1.237     moko     12427:     cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     12428:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   12429:       # as there is no search path for DLLs.
                   12430:       hardcode_libdir_flag_spec='-L$libdir'
1.237     moko     12431:       export_dynamic_flag_spec='$wl--export-all-symbols'
1.128     moko     12432:       allow_undefined_flag=unsupported
                   12433:       always_export_symbols=no
                   12434:       enable_shared_with_static_runtimes=yes
                   12435:       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'
                   12436:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
1.237     moko     12437:       file_list_spec='@'
1.128     moko     12438: 
                   12439:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1.237     moko     12440:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   12441:        # If the export-symbols file already is a .def file, use it as
                   12442:        # is; otherwise, prepend EXPORTS...
                   12443:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
                   12444:           cp $export_symbols $output_objdir/$soname.def;
                   12445:         else
                   12446:           echo EXPORTS > $output_objdir/$soname.def;
                   12447:           cat $export_symbols >> $output_objdir/$soname.def;
                   12448:         fi~
                   12449:         $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     12450:       else
                   12451:        ld_shlibs=no
                   12452:       fi
                   12453:       ;;
                   12454: 
                   12455:     haiku*)
1.237     moko     12456:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   12457:       link_all_deplibs=no
                   12458:       ;;
                   12459: 
                   12460:     os2*)
                   12461:       hardcode_libdir_flag_spec='-L$libdir'
                   12462:       hardcode_minus_L=yes
                   12463:       allow_undefined_flag=unsupported
                   12464:       shrext_cmds=.dll
                   12465:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   12466:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   12467:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   12468:        $ECHO EXPORTS >> $output_objdir/$libname.def~
                   12469:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
                   12470:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   12471:        emximp -o $lib $output_objdir/$libname.def'
                   12472:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   12473:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   12474:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   12475:        $ECHO EXPORTS >> $output_objdir/$libname.def~
                   12476:        prefix_cmds="$SED"~
                   12477:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
                   12478:          prefix_cmds="$prefix_cmds -e 1d";
                   12479:        fi~
                   12480:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
                   12481:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
                   12482:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   12483:        emximp -o $lib $output_objdir/$libname.def'
                   12484:       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
                   12485:       enable_shared_with_static_runtimes=yes
                   12486:       file_list_spec='@'
1.128     moko     12487:       ;;
                   12488: 
                   12489:     interix[3-9]*)
                   12490:       hardcode_direct=no
                   12491:       hardcode_shlibpath_var=no
1.237     moko     12492:       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
                   12493:       export_dynamic_flag_spec='$wl-E'
1.128     moko     12494:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   12495:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   12496:       # default) and relocated if they conflict, which is a slow very memory
                   12497:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   12498:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   12499:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
1.237     moko     12500:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   12501:       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     12502:       ;;
                   12503: 
                   12504:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   12505:       tmp_diet=no
1.237     moko     12506:       if test linux-dietlibc = "$host_os"; then
1.128     moko     12507:        case $cc_basename in
                   12508:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   12509:        esac
                   12510:       fi
                   12511:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
1.237     moko     12512:         && test no = "$tmp_diet"
1.128     moko     12513:       then
                   12514:        tmp_addflag=' $pic_flag'
                   12515:        tmp_sharedflag='-shared'
                   12516:        case $cc_basename,$host_cpu in
                   12517:         pgcc*)                         # Portland Group C compiler
1.237     moko     12518:          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     12519:          tmp_addflag=' $pic_flag'
                   12520:          ;;
                   12521:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   12522:                                        # Portland Group f77 and f90 compilers
1.237     moko     12523:          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     12524:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   12525:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   12526:          tmp_addflag=' -i_dynamic' ;;
                   12527:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   12528:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   12529:        ifc* | ifort*)                  # Intel Fortran compiler
                   12530:          tmp_addflag=' -nofor_main' ;;
                   12531:        lf95*)                          # Lahey Fortran 8.1
                   12532:          whole_archive_flag_spec=
                   12533:          tmp_sharedflag='--shared' ;;
1.237     moko     12534:         nagfor*)                        # NAGFOR 5.3
                   12535:           tmp_sharedflag='-Wl,-shared' ;;
1.128     moko     12536:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   12537:          tmp_sharedflag='-qmkshrobj'
                   12538:          tmp_addflag= ;;
                   12539:        nvcc*)  # Cuda Compiler Driver 2.2
1.237     moko     12540:          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     12541:          compiler_needs_object=yes
                   12542:          ;;
                   12543:        esac
1.237     moko     12544:        case `$CC -V 2>&1 | $SED 5q` in
1.128     moko     12545:        *Sun\ C*)                       # Sun C 5.9
1.237     moko     12546:          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     12547:          compiler_needs_object=yes
                   12548:          tmp_sharedflag='-G' ;;
                   12549:        *Sun\ F*)                       # Sun Fortran 8.3
                   12550:          tmp_sharedflag='-G' ;;
                   12551:        esac
1.237     moko     12552:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     12553: 
1.237     moko     12554:         if test yes = "$supports_anon_versioning"; then
1.128     moko     12555:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1.237     moko     12556:             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   12557:             echo "local: *; };" >> $output_objdir/$libname.ver~
                   12558:             $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     12559:         fi
                   12560: 
                   12561:        case $cc_basename in
1.237     moko     12562:        tcc*)
                   12563:          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   12564:          export_dynamic_flag_spec='-rdynamic'
                   12565:          ;;
1.128     moko     12566:        xlf* | bgf* | bgxlf* | mpixlf*)
                   12567:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   12568:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
1.237     moko     12569:          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     12570:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
1.237     moko     12571:          if test yes = "$supports_anon_versioning"; then
1.128     moko     12572:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1.237     moko     12573:               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   12574:               echo "local: *; };" >> $output_objdir/$libname.ver~
                   12575:               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
1.128     moko     12576:          fi
                   12577:          ;;
                   12578:        esac
                   12579:       else
                   12580:         ld_shlibs=no
                   12581:       fi
                   12582:       ;;
                   12583: 
1.237     moko     12584:     *-mlibc)
                   12585:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   12586:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
                   12587:       ;;
                   12588: 
                   12589:     netbsd* | netbsdelf*-gnu)
1.128     moko     12590:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   12591:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   12592:        wlarc=
                   12593:       else
1.237     moko     12594:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   12595:        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     12596:       fi
                   12597:       ;;
                   12598: 
                   12599:     solaris*)
                   12600:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   12601:        ld_shlibs=no
                   12602:        cat <<_LT_EOF 1>&2
                   12603: 
                   12604: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   12605: *** create shared libraries on Solaris systems.  Therefore, libtool
                   12606: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   12607: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   12608: *** your PATH or compiler configuration so that the native linker is
                   12609: *** used, and then restart.
                   12610: 
                   12611: _LT_EOF
                   12612:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.237     moko     12613:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   12614:        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     12615:       else
                   12616:        ld_shlibs=no
                   12617:       fi
                   12618:       ;;
                   12619: 
                   12620:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   12621:       case `$LD -v 2>&1` in
                   12622:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   12623:        ld_shlibs=no
                   12624:        cat <<_LT_EOF 1>&2
                   12625: 
1.237     moko     12626: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
1.128     moko     12627: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   12628: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   12629: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   12630: *** your PATH or compiler configuration so that the native linker is
                   12631: *** used, and then restart.
                   12632: 
                   12633: _LT_EOF
                   12634:        ;;
                   12635:        *)
                   12636:          # For security reasons, it is highly recommended that you always
                   12637:          # use absolute paths for naming shared libraries, and exclude the
                   12638:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   12639:          # requires that you compile everything twice, which is a pain.
                   12640:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.237     moko     12641:            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   12642:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   12643:            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     12644:          else
                   12645:            ld_shlibs=no
                   12646:          fi
                   12647:        ;;
                   12648:       esac
                   12649:       ;;
                   12650: 
                   12651:     sunos4*)
                   12652:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   12653:       wlarc=
                   12654:       hardcode_direct=yes
                   12655:       hardcode_shlibpath_var=no
                   12656:       ;;
                   12657: 
                   12658:     *)
                   12659:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.237     moko     12660:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   12661:        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     12662:       else
                   12663:        ld_shlibs=no
                   12664:       fi
                   12665:       ;;
                   12666:     esac
                   12667: 
1.237     moko     12668:     if test no = "$ld_shlibs"; then
1.128     moko     12669:       runpath_var=
                   12670:       hardcode_libdir_flag_spec=
                   12671:       export_dynamic_flag_spec=
                   12672:       whole_archive_flag_spec=
                   12673:     fi
                   12674:   else
                   12675:     # PORTME fill in a description of your system's linker (not GNU ld)
                   12676:     case $host_os in
                   12677:     aix3*)
                   12678:       allow_undefined_flag=unsupported
                   12679:       always_export_symbols=yes
                   12680:       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'
                   12681:       # Note: this linker hardcodes the directories in LIBPATH if there
                   12682:       # are no directories specified by -L.
                   12683:       hardcode_minus_L=yes
1.237     moko     12684:       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
1.128     moko     12685:        # Neither direct hardcoding nor static linking is supported with a
                   12686:        # broken collect2.
                   12687:        hardcode_direct=unsupported
                   12688:       fi
                   12689:       ;;
                   12690: 
                   12691:     aix[4-9]*)
1.237     moko     12692:       if test ia64 = "$host_cpu"; then
1.128     moko     12693:        # On IA64, the linker does run time linking by default, so we don't
                   12694:        # have to do anything special.
                   12695:        aix_use_runtimelinking=no
                   12696:        exp_sym_flag='-Bexport'
1.237     moko     12697:        no_entry_flag=
1.128     moko     12698:       else
                   12699:        # If we're using GNU nm, then we don't want the "-C" option.
1.237     moko     12700:        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
                   12701:        # Without the "-l" option, or with the "-B" option, AIX nm treats
                   12702:        # weak defined symbols like other global defined symbols, whereas
                   12703:        # GNU nm marks them as "W".
                   12704:        # While the 'weak' keyword is ignored in the Export File, we need
                   12705:        # it in the Import File for the 'aix-soname' feature, so we have
                   12706:        # to replace the "-B" option with "-P" for AIX nm.
1.128     moko     12707:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1.237     moko     12708:          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     12709:        else
1.237     moko     12710:          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     12711:        fi
                   12712:        aix_use_runtimelinking=no
                   12713: 
                   12714:        # Test if we are trying to use run time linking or normal
                   12715:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.237     moko     12716:        # have runtime linking enabled, and use it for executables.
                   12717:        # For shared libraries, we enable/disable runtime linking
                   12718:        # depending on the kind of the shared library created -
                   12719:        # when "with_aix_soname,aix_use_runtimelinking" is:
                   12720:        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
                   12721:        # "aix,yes"  lib.so          shared, rtl:yes, for executables
                   12722:        #            lib.a           static archive
                   12723:        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
                   12724:        #            lib.a(lib.so.V) shared, rtl:no,  for executables
                   12725:        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
                   12726:        #            lib.a(lib.so.V) shared, rtl:no
                   12727:        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
                   12728:        #            lib.a           static archive
1.128     moko     12729:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   12730:          for ld_flag in $LDFLAGS; do
1.237     moko     12731:          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
1.128     moko     12732:            aix_use_runtimelinking=yes
                   12733:            break
                   12734:          fi
                   12735:          done
1.237     moko     12736:          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
                   12737:            # With aix-soname=svr4, we create the lib.so.V shared archives only,
                   12738:            # so we don't have lib.a shared libs to link our executables.
                   12739:            # We have to force runtime linking in this case.
                   12740:            aix_use_runtimelinking=yes
                   12741:            LDFLAGS="$LDFLAGS -Wl,-brtl"
                   12742:          fi
1.128     moko     12743:          ;;
                   12744:        esac
                   12745: 
                   12746:        exp_sym_flag='-bexport'
                   12747:        no_entry_flag='-bnoentry'
                   12748:       fi
                   12749: 
                   12750:       # When large executables or shared objects are built, AIX ld can
                   12751:       # have problems creating the table of contents.  If linking a library
                   12752:       # or program results in "error TOC overflow" add -mminimal-toc to
                   12753:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   12754:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   12755: 
                   12756:       archive_cmds=''
                   12757:       hardcode_direct=yes
                   12758:       hardcode_direct_absolute=yes
                   12759:       hardcode_libdir_separator=':'
                   12760:       link_all_deplibs=yes
1.237     moko     12761:       file_list_spec='$wl-f,'
                   12762:       case $with_aix_soname,$aix_use_runtimelinking in
                   12763:       aix,*) ;; # traditional, no import file
                   12764:       svr4,* | *,yes) # use import file
                   12765:        # The Import File defines what to hardcode.
                   12766:        hardcode_direct=no
                   12767:        hardcode_direct_absolute=no
                   12768:        ;;
                   12769:       esac
1.128     moko     12770: 
1.237     moko     12771:       if test yes = "$GCC"; then
1.128     moko     12772:        case $host_os in aix4.[012]|aix4.[012].*)
                   12773:        # We only want to do this on AIX 4.2 and lower, the check
                   12774:        # below for broken collect2 doesn't work under 4.3+
1.237     moko     12775:          collect2name=`$CC -print-prog-name=collect2`
1.128     moko     12776:          if test -f "$collect2name" &&
                   12777:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   12778:          then
                   12779:          # We have reworked collect2
                   12780:          :
                   12781:          else
                   12782:          # We have old collect2
                   12783:          hardcode_direct=unsupported
                   12784:          # It fails to find uninstalled libraries when the uninstalled
                   12785:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   12786:          # to unsupported forces relinking
                   12787:          hardcode_minus_L=yes
                   12788:          hardcode_libdir_flag_spec='-L$libdir'
                   12789:          hardcode_libdir_separator=
                   12790:          fi
                   12791:          ;;
                   12792:        esac
                   12793:        shared_flag='-shared'
1.237     moko     12794:        if test yes = "$aix_use_runtimelinking"; then
                   12795:          shared_flag="$shared_flag "'$wl-G'
1.128     moko     12796:        fi
1.237     moko     12797:        # Need to ensure runtime linking is disabled for the traditional
                   12798:        # shared library, or the linker may eventually find shared libraries
                   12799:        # /with/ Import File - we do not want to mix them.
                   12800:        shared_flag_aix='-shared'
                   12801:        shared_flag_svr4='-shared $wl-G'
1.128     moko     12802:       else
                   12803:        # not using gcc
1.237     moko     12804:        if test ia64 = "$host_cpu"; then
1.128     moko     12805:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   12806:        # chokes on -Wl,-G. The following line is correct:
                   12807:          shared_flag='-G'
                   12808:        else
1.237     moko     12809:          if test yes = "$aix_use_runtimelinking"; then
                   12810:            shared_flag='$wl-G'
1.128     moko     12811:          else
1.237     moko     12812:            shared_flag='$wl-bM:SRE'
1.128     moko     12813:          fi
1.237     moko     12814:          shared_flag_aix='$wl-bM:SRE'
                   12815:          shared_flag_svr4='$wl-G'
1.128     moko     12816:        fi
                   12817:       fi
                   12818: 
1.237     moko     12819:       export_dynamic_flag_spec='$wl-bexpall'
1.128     moko     12820:       # It seems that -bexpall does not export symbols beginning with
                   12821:       # underscore (_), so it is better to generate a list of symbols to export.
                   12822:       always_export_symbols=yes
1.237     moko     12823:       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
1.128     moko     12824:        # Warning - without using the other runtime loading flags (-brtl),
                   12825:        # -berok will link without error, but may produce a broken library.
                   12826:        allow_undefined_flag='-berok'
                   12827:         # Determine the default libpath from the value encoded in an
                   12828:         # empty executable.
1.237     moko     12829:         if test set = "${lt_cv_aix_libpath+set}"; then
1.128     moko     12830:   aix_libpath=$lt_cv_aix_libpath
                   12831: else
1.237     moko     12832:   if test ${lt_cv_aix_libpath_+y}
                   12833: then :
                   12834:   printf %s "(cached) " >&6
                   12835: else case e in #(
                   12836:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12837: /* end confdefs.h.  */
                   12838: 
                   12839: int
1.237     moko     12840: main (void)
1.128     moko     12841: {
                   12842: 
                   12843:   ;
                   12844:   return 0;
                   12845: }
                   12846: _ACEOF
1.237     moko     12847: if ac_fn_c_try_link "$LINENO"
                   12848: then :
1.128     moko     12849: 
                   12850:   lt_aix_libpath_sed='
                   12851:       /Import File Strings/,/^$/ {
                   12852:          /^0/ {
                   12853:              s/^0  *\([^ ]*\) *$/\1/
                   12854:              p
                   12855:          }
                   12856:       }'
                   12857:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12858:   # Check for a 64-bit object if we didn't find anything.
                   12859:   if test -z "$lt_cv_aix_libpath_"; then
                   12860:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12861:   fi
                   12862: fi
1.237     moko     12863: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     12864:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12865:   if test -z "$lt_cv_aix_libpath_"; then
1.237     moko     12866:     lt_cv_aix_libpath_=/usr/lib:/lib
1.128     moko     12867:   fi
1.237     moko     12868:    ;;
                   12869: esac
1.128     moko     12870: fi
                   12871: 
                   12872:   aix_libpath=$lt_cv_aix_libpath_
                   12873: fi
                   12874: 
1.237     moko     12875:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
                   12876:         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     12877:       else
1.237     moko     12878:        if test ia64 = "$host_cpu"; then
                   12879:          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
1.128     moko     12880:          allow_undefined_flag="-z nodefs"
1.237     moko     12881:          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     12882:        else
                   12883:         # Determine the default libpath from the value encoded in an
                   12884:         # empty executable.
1.237     moko     12885:         if test set = "${lt_cv_aix_libpath+set}"; then
1.128     moko     12886:   aix_libpath=$lt_cv_aix_libpath
                   12887: else
1.237     moko     12888:   if test ${lt_cv_aix_libpath_+y}
                   12889: then :
                   12890:   printf %s "(cached) " >&6
                   12891: else case e in #(
                   12892:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12893: /* end confdefs.h.  */
                   12894: 
                   12895: int
1.237     moko     12896: main (void)
1.128     moko     12897: {
                   12898: 
                   12899:   ;
                   12900:   return 0;
                   12901: }
                   12902: _ACEOF
1.237     moko     12903: if ac_fn_c_try_link "$LINENO"
                   12904: then :
1.128     moko     12905: 
                   12906:   lt_aix_libpath_sed='
                   12907:       /Import File Strings/,/^$/ {
                   12908:          /^0/ {
                   12909:              s/^0  *\([^ ]*\) *$/\1/
                   12910:              p
                   12911:          }
                   12912:       }'
                   12913:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12914:   # Check for a 64-bit object if we didn't find anything.
                   12915:   if test -z "$lt_cv_aix_libpath_"; then
                   12916:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12917:   fi
                   12918: fi
1.237     moko     12919: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     12920:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12921:   if test -z "$lt_cv_aix_libpath_"; then
1.237     moko     12922:     lt_cv_aix_libpath_=/usr/lib:/lib
1.128     moko     12923:   fi
1.237     moko     12924:    ;;
                   12925: esac
1.128     moko     12926: fi
                   12927: 
                   12928:   aix_libpath=$lt_cv_aix_libpath_
                   12929: fi
                   12930: 
1.237     moko     12931:         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
1.128     moko     12932:          # Warning - without using the other run time loading flags,
                   12933:          # -berok will link without error, but may produce a broken library.
1.237     moko     12934:          no_undefined_flag=' $wl-bernotok'
                   12935:          allow_undefined_flag=' $wl-berok'
                   12936:          if test yes = "$with_gnu_ld"; then
1.128     moko     12937:            # We only use this code for GNU lds that support --whole-archive.
1.237     moko     12938:            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
1.128     moko     12939:          else
                   12940:            # Exported symbols can be pulled into shared objects from archives
                   12941:            whole_archive_flag_spec='$convenience'
                   12942:          fi
                   12943:          archive_cmds_need_lc=yes
1.237     moko     12944:          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
                   12945:          # -brtl affects multiple linker settings, -berok does not and is overridden later
                   12946:          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
                   12947:          if test svr4 != "$with_aix_soname"; then
                   12948:            # This is similar to how AIX traditionally builds its shared libraries.
                   12949:            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'
                   12950:          fi
                   12951:          if test aix != "$with_aix_soname"; then
                   12952:            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'
                   12953:          else
                   12954:            # used by -dlpreopen to get the symbols
                   12955:            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
                   12956:          fi
                   12957:          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
1.128     moko     12958:        fi
                   12959:       fi
                   12960:       ;;
                   12961: 
                   12962:     amigaos*)
                   12963:       case $host_cpu in
                   12964:       powerpc)
                   12965:             # see comment about AmigaOS4 .so support
1.237     moko     12966:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     12967:             archive_expsym_cmds=''
                   12968:         ;;
                   12969:       m68k)
                   12970:             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)'
                   12971:             hardcode_libdir_flag_spec='-L$libdir'
                   12972:             hardcode_minus_L=yes
                   12973:         ;;
                   12974:       esac
                   12975:       ;;
                   12976: 
                   12977:     bsdi[45]*)
                   12978:       export_dynamic_flag_spec=-rdynamic
                   12979:       ;;
                   12980: 
1.237     moko     12981:     cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     12982:       # When not using gcc, we currently assume that we are using
1.237     moko     12983:       # Microsoft Visual C++ or Intel C++ Compiler.
1.128     moko     12984:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   12985:       # no search path for DLLs.
                   12986:       case $cc_basename in
1.237     moko     12987:       cl* | icl*)
                   12988:        # Native MSVC or ICC
1.128     moko     12989:        hardcode_libdir_flag_spec=' '
                   12990:        allow_undefined_flag=unsupported
                   12991:        always_export_symbols=yes
                   12992:        file_list_spec='@'
                   12993:        # Tell ltmain to make .lib files, not .a files.
                   12994:        libext=lib
                   12995:        # Tell ltmain to make .dll files, not .so files.
1.237     moko     12996:        shrext_cmds=.dll
1.128     moko     12997:        # FIXME: Setting linknames here is a bad hack.
1.237     moko     12998:        archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
                   12999:        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
                   13000:             cp "$export_symbols" "$output_objdir/$soname.def";
                   13001:             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
                   13002:           else
                   13003:             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
                   13004:           fi~
                   13005:           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13006:           linknames='
1.128     moko     13007:        # The linker will not automatically build a static lib if we build a DLL.
                   13008:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   13009:        enable_shared_with_static_runtimes=yes
                   13010:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   13011:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   13012:        # Don't use ranlib
                   13013:        old_postinstall_cmds='chmod 644 $oldlib'
                   13014:        postlink_cmds='lt_outputfile="@OUTPUT@"~
1.237     moko     13015:           lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13016:           case $lt_outputfile in
                   13017:             *.exe|*.EXE) ;;
                   13018:             *)
                   13019:               lt_outputfile=$lt_outputfile.exe
                   13020:               lt_tool_outputfile=$lt_tool_outputfile.exe
                   13021:               ;;
                   13022:           esac~
                   13023:           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
                   13024:             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13025:             $RM "$lt_outputfile.manifest";
                   13026:           fi'
1.128     moko     13027:        ;;
                   13028:       *)
1.237     moko     13029:        # Assume MSVC and ICC wrapper
1.128     moko     13030:        hardcode_libdir_flag_spec=' '
                   13031:        allow_undefined_flag=unsupported
                   13032:        # Tell ltmain to make .lib files, not .a files.
                   13033:        libext=lib
                   13034:        # Tell ltmain to make .dll files, not .so files.
1.237     moko     13035:        shrext_cmds=.dll
1.128     moko     13036:        # FIXME: Setting linknames here is a bad hack.
                   13037:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   13038:        # The linker will automatically build a .lib file if we build a DLL.
                   13039:        old_archive_from_new_cmds='true'
                   13040:        # FIXME: Should let the user specify the lib program.
                   13041:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   13042:        enable_shared_with_static_runtimes=yes
                   13043:        ;;
                   13044:       esac
                   13045:       ;;
                   13046: 
                   13047:     darwin* | rhapsody*)
                   13048: 
                   13049: 
                   13050:   archive_cmds_need_lc=no
                   13051:   hardcode_direct=no
                   13052:   hardcode_automatic=yes
                   13053:   hardcode_shlibpath_var=unsupported
1.237     moko     13054:   if test yes = "$lt_cv_ld_force_load"; then
                   13055:     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     13056: 
                   13057:   else
                   13058:     whole_archive_flag_spec=''
                   13059:   fi
                   13060:   link_all_deplibs=yes
1.237     moko     13061:   allow_undefined_flag=$_lt_dar_allow_undefined
1.128     moko     13062:   case $cc_basename in
1.237     moko     13063:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
1.128     moko     13064:      *) _lt_dar_can_shared=$GCC ;;
                   13065:   esac
1.237     moko     13066:   if test yes = "$_lt_dar_can_shared"; then
1.128     moko     13067:     output_verbose_link_cmd=func_echo_all
1.237     moko     13068:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
                   13069:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
                   13070:     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"
                   13071:     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     13072: 
                   13073:   else
                   13074:   ld_shlibs=no
                   13075:   fi
                   13076: 
                   13077:       ;;
                   13078: 
                   13079:     dgux*)
                   13080:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13081:       hardcode_libdir_flag_spec='-L$libdir'
                   13082:       hardcode_shlibpath_var=no
                   13083:       ;;
                   13084: 
                   13085:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   13086:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   13087:     # does not break anything, and helps significantly (at the cost of a little
                   13088:     # extra space).
                   13089:     freebsd2.2*)
                   13090:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   13091:       hardcode_libdir_flag_spec='-R$libdir'
                   13092:       hardcode_direct=yes
                   13093:       hardcode_shlibpath_var=no
                   13094:       ;;
                   13095: 
                   13096:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   13097:     freebsd2.*)
                   13098:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   13099:       hardcode_direct=yes
                   13100:       hardcode_minus_L=yes
                   13101:       hardcode_shlibpath_var=no
                   13102:       ;;
                   13103: 
                   13104:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.237     moko     13105:     freebsd* | dragonfly* | midnightbsd*)
1.128     moko     13106:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   13107:       hardcode_libdir_flag_spec='-R$libdir'
                   13108:       hardcode_direct=yes
                   13109:       hardcode_shlibpath_var=no
                   13110:       ;;
                   13111: 
                   13112:     hpux9*)
1.237     moko     13113:       if test yes = "$GCC"; then
                   13114:        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     13115:       else
1.237     moko     13116:        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     13117:       fi
1.237     moko     13118:       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.128     moko     13119:       hardcode_libdir_separator=:
                   13120:       hardcode_direct=yes
                   13121: 
                   13122:       # hardcode_minus_L: Not really in the search PATH,
                   13123:       # but as the default location of the library.
                   13124:       hardcode_minus_L=yes
1.237     moko     13125:       export_dynamic_flag_spec='$wl-E'
1.128     moko     13126:       ;;
                   13127: 
                   13128:     hpux10*)
1.237     moko     13129:       if test yes,no = "$GCC,$with_gnu_ld"; then
                   13130:        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13131:       else
                   13132:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   13133:       fi
1.237     moko     13134:       if test no = "$with_gnu_ld"; then
                   13135:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.128     moko     13136:        hardcode_libdir_separator=:
                   13137:        hardcode_direct=yes
                   13138:        hardcode_direct_absolute=yes
1.237     moko     13139:        export_dynamic_flag_spec='$wl-E'
1.128     moko     13140:        # hardcode_minus_L: Not really in the search PATH,
                   13141:        # but as the default location of the library.
                   13142:        hardcode_minus_L=yes
                   13143:       fi
                   13144:       ;;
                   13145: 
                   13146:     hpux11*)
1.237     moko     13147:       if test yes,no = "$GCC,$with_gnu_ld"; then
1.128     moko     13148:        case $host_cpu in
                   13149:        hppa*64*)
1.237     moko     13150:          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13151:          ;;
                   13152:        ia64*)
1.237     moko     13153:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13154:          ;;
                   13155:        *)
1.237     moko     13156:          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13157:          ;;
                   13158:        esac
                   13159:       else
                   13160:        case $host_cpu in
                   13161:        hppa*64*)
1.237     moko     13162:          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13163:          ;;
                   13164:        ia64*)
1.237     moko     13165:          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13166:          ;;
                   13167:        *)
                   13168: 
                   13169:          # Older versions of the 11.00 compiler do not understand -b yet
                   13170:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.237     moko     13171:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   13172: printf %s "checking if $CC understands -b... " >&6; }
                   13173: if test ${lt_cv_prog_compiler__b+y}
                   13174: then :
                   13175:   printf %s "(cached) " >&6
                   13176: else case e in #(
                   13177:   e) lt_cv_prog_compiler__b=no
                   13178:    save_LDFLAGS=$LDFLAGS
1.128     moko     13179:    LDFLAGS="$LDFLAGS -b"
                   13180:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   13181:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   13182:      # The linker can only warn and ignore the option if not recognized
                   13183:      # So say no if there are warnings
                   13184:      if test -s conftest.err; then
                   13185:        # Append any errors to the config.log.
                   13186:        cat conftest.err 1>&5
                   13187:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   13188:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   13189:        if diff conftest.exp conftest.er2 >/dev/null; then
                   13190:          lt_cv_prog_compiler__b=yes
                   13191:        fi
                   13192:      else
                   13193:        lt_cv_prog_compiler__b=yes
                   13194:      fi
                   13195:    fi
                   13196:    $RM -r conftest*
1.237     moko     13197:    LDFLAGS=$save_LDFLAGS
                   13198:  ;;
                   13199: esac
1.128     moko     13200: fi
1.237     moko     13201: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   13202: printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     13203: 
1.237     moko     13204: if test yes = "$lt_cv_prog_compiler__b"; then
                   13205:     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13206: else
                   13207:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   13208: fi
                   13209: 
                   13210:          ;;
                   13211:        esac
                   13212:       fi
1.237     moko     13213:       if test no = "$with_gnu_ld"; then
                   13214:        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1.128     moko     13215:        hardcode_libdir_separator=:
                   13216: 
                   13217:        case $host_cpu in
                   13218:        hppa*64*|ia64*)
                   13219:          hardcode_direct=no
                   13220:          hardcode_shlibpath_var=no
                   13221:          ;;
                   13222:        *)
                   13223:          hardcode_direct=yes
                   13224:          hardcode_direct_absolute=yes
1.237     moko     13225:          export_dynamic_flag_spec='$wl-E'
1.128     moko     13226: 
                   13227:          # hardcode_minus_L: Not really in the search PATH,
                   13228:          # but as the default location of the library.
                   13229:          hardcode_minus_L=yes
                   13230:          ;;
                   13231:        esac
                   13232:       fi
                   13233:       ;;
                   13234: 
                   13235:     irix5* | irix6* | nonstopux*)
1.237     moko     13236:       if test yes = "$GCC"; then
                   13237:        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     13238:        # Try to use the -exported_symbol ld option, if it does not
                   13239:        # work, assume that -exports_file does not work either and
                   13240:        # implicitly export all symbols.
                   13241:        # This should be the same for all languages, so no per-tag cache variable.
1.237     moko     13242:        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   13243: printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   13244: if test ${lt_cv_irix_exported_symbol+y}
                   13245: then :
                   13246:   printf %s "(cached) " >&6
                   13247: else case e in #(
                   13248:   e) save_LDFLAGS=$LDFLAGS
                   13249:           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
1.150     moko     13250:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13251: /* end confdefs.h.  */
                   13252: int foo (void) { return 0; }
                   13253: _ACEOF
1.237     moko     13254: if ac_fn_c_try_link "$LINENO"
                   13255: then :
1.128     moko     13256:   lt_cv_irix_exported_symbol=yes
1.237     moko     13257: else case e in #(
                   13258:   e) lt_cv_irix_exported_symbol=no ;;
                   13259: esac
1.128     moko     13260: fi
1.237     moko     13261: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     13262:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     13263:            LDFLAGS=$save_LDFLAGS ;;
                   13264: esac
1.128     moko     13265: fi
1.237     moko     13266: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   13267: printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
                   13268:        if test yes = "$lt_cv_irix_exported_symbol"; then
                   13269:           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     13270:        fi
1.237     moko     13271:        link_all_deplibs=no
1.128     moko     13272:       else
1.237     moko     13273:        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'
                   13274:        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     13275:       fi
                   13276:       archive_cmds_need_lc='no'
1.237     moko     13277:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     13278:       hardcode_libdir_separator=:
                   13279:       inherit_rpath=yes
                   13280:       link_all_deplibs=yes
                   13281:       ;;
                   13282: 
1.237     moko     13283:     linux*)
                   13284:       case $cc_basename in
                   13285:       tcc*)
                   13286:        # Fabrice Bellard et al's Tiny C Compiler
                   13287:        ld_shlibs=yes
                   13288:        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   13289:        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   13290:        ;;
                   13291:       esac
                   13292:       ;;
                   13293: 
                   13294:     *-mlibc)
                   13295:       ;;
                   13296: 
                   13297:     netbsd* | netbsdelf*-gnu)
1.128     moko     13298:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13299:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   13300:       else
                   13301:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   13302:       fi
                   13303:       hardcode_libdir_flag_spec='-R$libdir'
                   13304:       hardcode_direct=yes
                   13305:       hardcode_shlibpath_var=no
                   13306:       ;;
                   13307: 
                   13308:     newsos6)
                   13309:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13310:       hardcode_direct=yes
1.237     moko     13311:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     13312:       hardcode_libdir_separator=:
                   13313:       hardcode_shlibpath_var=no
                   13314:       ;;
                   13315: 
                   13316:     *nto* | *qnx*)
                   13317:       ;;
                   13318: 
                   13319:     openbsd*)
                   13320:       if test -f /usr/libexec/ld.so; then
                   13321:        hardcode_direct=yes
                   13322:        hardcode_shlibpath_var=no
                   13323:        hardcode_direct_absolute=yes
1.237     moko     13324:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
1.128     moko     13325:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.237     moko     13326:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
                   13327:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
                   13328:          export_dynamic_flag_spec='$wl-E'
1.128     moko     13329:        else
1.237     moko     13330:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   13331:          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
1.128     moko     13332:        fi
                   13333:       else
                   13334:        ld_shlibs=no
                   13335:       fi
                   13336:       ;;
                   13337: 
                   13338:     os2*)
                   13339:       hardcode_libdir_flag_spec='-L$libdir'
                   13340:       hardcode_minus_L=yes
                   13341:       allow_undefined_flag=unsupported
1.237     moko     13342:       shrext_cmds=.dll
                   13343:       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   13344:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   13345:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   13346:        $ECHO EXPORTS >> $output_objdir/$libname.def~
                   13347:        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
                   13348:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   13349:        emximp -o $lib $output_objdir/$libname.def'
                   13350:       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   13351:        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   13352:        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   13353:        $ECHO EXPORTS >> $output_objdir/$libname.def~
                   13354:        prefix_cmds="$SED"~
                   13355:        if test EXPORTS = "`$SED 1q $export_symbols`"; then
                   13356:          prefix_cmds="$prefix_cmds -e 1d";
                   13357:        fi~
                   13358:        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
                   13359:        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
                   13360:        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   13361:        emximp -o $lib $output_objdir/$libname.def'
                   13362:       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
                   13363:       enable_shared_with_static_runtimes=yes
                   13364:       file_list_spec='@'
1.128     moko     13365:       ;;
                   13366: 
                   13367:     osf3*)
1.237     moko     13368:       if test yes = "$GCC"; then
                   13369:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
                   13370:        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     13371:       else
                   13372:        allow_undefined_flag=' -expect_unresolved \*'
1.237     moko     13373:        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     13374:       fi
                   13375:       archive_cmds_need_lc='no'
1.237     moko     13376:       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     13377:       hardcode_libdir_separator=:
                   13378:       ;;
                   13379: 
                   13380:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
1.237     moko     13381:       if test yes = "$GCC"; then
                   13382:        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
                   13383:        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'
                   13384:        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
1.128     moko     13385:       else
                   13386:        allow_undefined_flag=' -expect_unresolved \*'
1.237     moko     13387:        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     13388:        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     13389:           $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     13390: 
                   13391:        # Both c and cxx compiler support -rpath directly
                   13392:        hardcode_libdir_flag_spec='-rpath $libdir'
                   13393:       fi
                   13394:       archive_cmds_need_lc='no'
                   13395:       hardcode_libdir_separator=:
                   13396:       ;;
                   13397: 
1.237     moko     13398:     serenity*)
                   13399:       ;;
                   13400: 
1.128     moko     13401:     solaris*)
                   13402:       no_undefined_flag=' -z defs'
1.237     moko     13403:       if test yes = "$GCC"; then
                   13404:        wlarc='$wl'
                   13405:        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13406:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     13407:           $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     13408:       else
                   13409:        case `$CC -V 2>&1` in
                   13410:        *"Compilers 5.0"*)
                   13411:          wlarc=''
1.237     moko     13412:          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
1.128     moko     13413:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     13414:             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
1.128     moko     13415:          ;;
                   13416:        *)
1.237     moko     13417:          wlarc='$wl'
                   13418:          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13419:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     13420:             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
1.128     moko     13421:          ;;
                   13422:        esac
                   13423:       fi
                   13424:       hardcode_libdir_flag_spec='-R$libdir'
                   13425:       hardcode_shlibpath_var=no
                   13426:       case $host_os in
                   13427:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13428:       *)
                   13429:        # The compiler driver will combine and reorder linker options,
1.237     moko     13430:        # but understands '-z linker_flag'.  GCC discards it without '$wl',
1.128     moko     13431:        # but is careful enough not to reorder.
                   13432:        # Supported since Solaris 2.6 (maybe 2.5.1?)
1.237     moko     13433:        if test yes = "$GCC"; then
                   13434:          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
1.128     moko     13435:        else
                   13436:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   13437:        fi
                   13438:        ;;
                   13439:       esac
                   13440:       link_all_deplibs=yes
                   13441:       ;;
                   13442: 
                   13443:     sunos4*)
1.237     moko     13444:       if test sequent = "$host_vendor"; then
1.128     moko     13445:        # Use $CC to link under sequent, because it throws in some extra .o
                   13446:        # files that make .init and .fini sections work.
1.237     moko     13447:        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13448:       else
                   13449:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   13450:       fi
                   13451:       hardcode_libdir_flag_spec='-L$libdir'
                   13452:       hardcode_direct=yes
                   13453:       hardcode_minus_L=yes
                   13454:       hardcode_shlibpath_var=no
                   13455:       ;;
                   13456: 
                   13457:     sysv4)
                   13458:       case $host_vendor in
                   13459:        sni)
                   13460:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13461:          hardcode_direct=yes # is this really true???
                   13462:        ;;
                   13463:        siemens)
                   13464:          ## LD is ld it makes a PLAMLIB
                   13465:          ## CC just makes a GrossModule.
                   13466:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   13467:          reload_cmds='$CC -r -o $output$reload_objs'
                   13468:          hardcode_direct=no
                   13469:         ;;
                   13470:        motorola)
                   13471:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13472:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   13473:        ;;
                   13474:       esac
                   13475:       runpath_var='LD_RUN_PATH'
                   13476:       hardcode_shlibpath_var=no
                   13477:       ;;
                   13478: 
                   13479:     sysv4.3*)
                   13480:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13481:       hardcode_shlibpath_var=no
                   13482:       export_dynamic_flag_spec='-Bexport'
                   13483:       ;;
                   13484: 
                   13485:     sysv4*MP*)
                   13486:       if test -d /usr/nec; then
                   13487:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13488:        hardcode_shlibpath_var=no
                   13489:        runpath_var=LD_RUN_PATH
                   13490:        hardcode_runpath_var=yes
                   13491:        ld_shlibs=yes
                   13492:       fi
                   13493:       ;;
                   13494: 
                   13495:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
1.237     moko     13496:       no_undefined_flag='$wl-z,text'
1.128     moko     13497:       archive_cmds_need_lc=no
                   13498:       hardcode_shlibpath_var=no
                   13499:       runpath_var='LD_RUN_PATH'
                   13500: 
1.237     moko     13501:       if test yes = "$GCC"; then
                   13502:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13503:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13504:       else
1.237     moko     13505:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13506:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13507:       fi
                   13508:       ;;
                   13509: 
                   13510:     sysv5* | sco3.2v5* | sco5v6*)
1.237     moko     13511:       # Note: We CANNOT use -z defs as we might desire, because we do not
1.128     moko     13512:       # link with -lc, and that would cause any symbols used from libc to
                   13513:       # always be unresolved, which means just about no library would
                   13514:       # ever link correctly.  If we're not using GNU ld we use -z text
                   13515:       # though, which does catch some bad symbols but isn't as heavy-handed
                   13516:       # as -z defs.
1.237     moko     13517:       no_undefined_flag='$wl-z,text'
                   13518:       allow_undefined_flag='$wl-z,nodefs'
1.128     moko     13519:       archive_cmds_need_lc=no
                   13520:       hardcode_shlibpath_var=no
1.237     moko     13521:       hardcode_libdir_flag_spec='$wl-R,$libdir'
1.128     moko     13522:       hardcode_libdir_separator=':'
                   13523:       link_all_deplibs=yes
1.237     moko     13524:       export_dynamic_flag_spec='$wl-Bexport'
1.128     moko     13525:       runpath_var='LD_RUN_PATH'
                   13526: 
1.237     moko     13527:       if test yes = "$GCC"; then
                   13528:        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13529:        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13530:       else
1.237     moko     13531:        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13532:        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     13533:       fi
                   13534:       ;;
                   13535: 
                   13536:     uts4*)
                   13537:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13538:       hardcode_libdir_flag_spec='-L$libdir'
                   13539:       hardcode_shlibpath_var=no
                   13540:       ;;
                   13541: 
                   13542:     *)
                   13543:       ld_shlibs=no
                   13544:       ;;
                   13545:     esac
                   13546: 
1.237     moko     13547:     if test sni = "$host_vendor"; then
1.128     moko     13548:       case $host in
                   13549:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1.237     moko     13550:        export_dynamic_flag_spec='$wl-Blargedynsym'
1.128     moko     13551:        ;;
                   13552:       esac
                   13553:     fi
                   13554:   fi
                   13555: 
1.237     moko     13556: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   13557: printf "%s\n" "$ld_shlibs" >&6; }
                   13558: test no = "$ld_shlibs" && can_build_shared=no
1.128     moko     13559: 
                   13560: with_gnu_ld=$with_gnu_ld
                   13561: 
                   13562: 
                   13563: 
                   13564: 
                   13565: 
                   13566: 
                   13567: 
                   13568: 
                   13569: 
                   13570: 
                   13571: 
                   13572: 
                   13573: 
                   13574: 
                   13575: 
                   13576: #
                   13577: # Do we need to explicitly link libc?
                   13578: #
                   13579: case "x$archive_cmds_need_lc" in
                   13580: x|xyes)
                   13581:   # Assume -lc should be added
                   13582:   archive_cmds_need_lc=yes
                   13583: 
1.237     moko     13584:   if test yes,yes = "$GCC,$enable_shared"; then
1.128     moko     13585:     case $archive_cmds in
                   13586:     *'~'*)
                   13587:       # FIXME: we may have to deal with multi-command sequences.
                   13588:       ;;
                   13589:     '$CC '*)
                   13590:       # Test whether the compiler implicitly links with -lc since on some
                   13591:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   13592:       # to ld, don't add -lc before -lgcc.
1.237     moko     13593:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   13594: printf %s "checking whether -lc should be explicitly linked in... " >&6; }
                   13595: if test ${lt_cv_archive_cmds_need_lc+y}
                   13596: then :
                   13597:   printf %s "(cached) " >&6
                   13598: else case e in #(
                   13599:   e) $RM conftest*
1.128     moko     13600:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   13601: 
1.150     moko     13602:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     13603:   (eval $ac_compile) 2>&5
                   13604:   ac_status=$?
1.237     moko     13605:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     13606:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     13607:          soname=conftest
                   13608:          lib=conftest
                   13609:          libobjs=conftest.$ac_objext
                   13610:          deplibs=
                   13611:          wl=$lt_prog_compiler_wl
                   13612:          pic_flag=$lt_prog_compiler_pic
                   13613:          compiler_flags=-v
                   13614:          linker_flags=-v
                   13615:          verstring=
                   13616:          output_objdir=.
                   13617:          libname=conftest
                   13618:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   13619:          allow_undefined_flag=
1.150     moko     13620:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     13621:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   13622:   ac_status=$?
1.237     moko     13623:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     13624:   test $ac_status = 0; }
1.128     moko     13625:          then
                   13626:            lt_cv_archive_cmds_need_lc=no
                   13627:          else
                   13628:            lt_cv_archive_cmds_need_lc=yes
                   13629:          fi
                   13630:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   13631:        else
                   13632:          cat conftest.err 1>&5
                   13633:        fi
                   13634:        $RM conftest*
1.237     moko     13635:         ;;
                   13636: esac
1.128     moko     13637: fi
1.237     moko     13638: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   13639: printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     13640:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   13641:       ;;
                   13642:     esac
                   13643:   fi
                   13644:   ;;
                   13645: esac
                   13646: 
                   13647: 
                   13648: 
                   13649: 
                   13650: 
                   13651: 
                   13652: 
                   13653: 
                   13654: 
                   13655: 
                   13656: 
                   13657: 
                   13658: 
                   13659: 
                   13660: 
                   13661: 
                   13662: 
                   13663: 
                   13664: 
                   13665: 
                   13666: 
                   13667: 
                   13668: 
                   13669: 
                   13670: 
                   13671: 
                   13672: 
                   13673: 
                   13674: 
                   13675: 
                   13676: 
                   13677: 
                   13678: 
                   13679: 
                   13680: 
                   13681: 
                   13682: 
                   13683: 
                   13684: 
                   13685: 
                   13686: 
                   13687: 
                   13688: 
                   13689: 
                   13690: 
                   13691: 
                   13692: 
                   13693: 
                   13694: 
                   13695: 
                   13696: 
                   13697: 
                   13698: 
                   13699: 
                   13700: 
                   13701: 
                   13702: 
                   13703: 
                   13704: 
                   13705: 
                   13706: 
                   13707: 
                   13708: 
                   13709: 
                   13710: 
                   13711: 
                   13712: 
                   13713: 
                   13714: 
                   13715: 
                   13716: 
                   13717: 
                   13718: 
                   13719: 
                   13720: 
                   13721: 
                   13722: 
                   13723: 
                   13724: 
                   13725: 
                   13726: 
                   13727: 
                   13728: 
                   13729: 
                   13730: 
                   13731: 
                   13732: 
                   13733: 
                   13734: 
                   13735: 
                   13736: 
                   13737: 
                   13738: 
                   13739: 
                   13740: 
                   13741: 
                   13742: 
                   13743: 
                   13744: 
                   13745: 
                   13746: 
                   13747: 
                   13748: 
                   13749: 
                   13750: 
                   13751: 
                   13752: 
                   13753: 
                   13754: 
                   13755: 
                   13756: 
                   13757: 
                   13758: 
                   13759: 
                   13760: 
                   13761: 
                   13762: 
                   13763: 
                   13764: 
                   13765: 
                   13766: 
                   13767: 
                   13768: 
                   13769: 
                   13770: 
                   13771: 
                   13772: 
                   13773: 
                   13774: 
                   13775: 
                   13776: 
                   13777: 
                   13778: 
                   13779: 
                   13780: 
                   13781: 
                   13782: 
                   13783: 
                   13784: 
                   13785: 
                   13786: 
                   13787: 
                   13788: 
                   13789: 
                   13790: 
                   13791: 
                   13792: 
                   13793: 
                   13794: 
                   13795: 
                   13796: 
                   13797: 
1.237     moko     13798:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   13799: printf %s "checking dynamic linker characteristics... " >&6; }
1.128     moko     13800: 
1.237     moko     13801: if test yes = "$GCC"; then
1.128     moko     13802:   case $host_os in
1.237     moko     13803:     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
                   13804:     *) lt_awk_arg='/^libraries:/' ;;
1.128     moko     13805:   esac
                   13806:   case $host_os in
1.237     moko     13807:     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
                   13808:     *) lt_sed_strip_eq='s|=/|/|g' ;;
1.128     moko     13809:   esac
                   13810:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   13811:   case $lt_search_path_spec in
                   13812:   *\;*)
                   13813:     # if the path contains ";" then we assume it to be the separator
                   13814:     # otherwise default to the standard path separator (i.e. ":") - it is
                   13815:     # assumed that no part of a normal pathname contains ";" but that should
                   13816:     # okay in the real world where ";" in dirpaths is itself problematic.
                   13817:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   13818:     ;;
                   13819:   *)
                   13820:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   13821:     ;;
                   13822:   esac
                   13823:   # Ok, now we have the path, separated by spaces, we can step through it
1.237     moko     13824:   # and add multilib dir if necessary...
1.128     moko     13825:   lt_tmp_lt_search_path_spec=
1.237     moko     13826:   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   13827:   # ...but if some path component already ends with the multilib dir we assume
                   13828:   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
                   13829:   case "$lt_multi_os_dir; $lt_search_path_spec " in
                   13830:   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
                   13831:     lt_multi_os_dir=
                   13832:     ;;
                   13833:   esac
1.128     moko     13834:   for lt_sys_path in $lt_search_path_spec; do
1.237     moko     13835:     if test -d "$lt_sys_path$lt_multi_os_dir"; then
                   13836:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
                   13837:     elif test -n "$lt_multi_os_dir"; then
1.128     moko     13838:       test -d "$lt_sys_path" && \
                   13839:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   13840:     fi
                   13841:   done
                   13842:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
1.237     moko     13843: BEGIN {RS = " "; FS = "/|\n";} {
                   13844:   lt_foo = "";
                   13845:   lt_count = 0;
1.128     moko     13846:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   13847:     if ($lt_i != "" && $lt_i != ".") {
                   13848:       if ($lt_i == "..") {
                   13849:         lt_count++;
                   13850:       } else {
                   13851:         if (lt_count == 0) {
1.237     moko     13852:           lt_foo = "/" $lt_i lt_foo;
1.128     moko     13853:         } else {
                   13854:           lt_count--;
                   13855:         }
                   13856:       }
                   13857:     }
                   13858:   }
                   13859:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   13860:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   13861: }'`
                   13862:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   13863:   # for these hosts.
                   13864:   case $host_os in
1.237     moko     13865:     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   13866:       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
1.128     moko     13867:   esac
                   13868:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   13869: else
                   13870:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   13871: fi
                   13872: library_names_spec=
                   13873: libname_spec='lib$name'
                   13874: soname_spec=
1.237     moko     13875: shrext_cmds=.so
1.128     moko     13876: postinstall_cmds=
                   13877: postuninstall_cmds=
                   13878: finish_cmds=
                   13879: finish_eval=
                   13880: shlibpath_var=
                   13881: shlibpath_overrides_runpath=unknown
                   13882: version_type=none
                   13883: dynamic_linker="$host_os ld.so"
                   13884: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   13885: need_lib_prefix=unknown
                   13886: hardcode_into_libs=no
                   13887: 
                   13888: # when you set need_version to no, make sure it does not cause -set_version
                   13889: # flags to be left without arguments
                   13890: need_version=unknown
                   13891: 
1.237     moko     13892: 
                   13893: 
1.128     moko     13894: case $host_os in
                   13895: aix3*)
                   13896:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     13897:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
1.128     moko     13898:   shlibpath_var=LIBPATH
                   13899: 
                   13900:   # AIX 3 has no versioning support, so we append a major version to the name.
1.237     moko     13901:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     13902:   ;;
                   13903: 
                   13904: aix[4-9]*)
                   13905:   version_type=linux # correct to gnu/linux during the next big refactor
                   13906:   need_lib_prefix=no
                   13907:   need_version=no
                   13908:   hardcode_into_libs=yes
1.237     moko     13909:   if test ia64 = "$host_cpu"; then
1.128     moko     13910:     # AIX 5 supports IA64
1.237     moko     13911:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
1.128     moko     13912:     shlibpath_var=LD_LIBRARY_PATH
                   13913:   else
                   13914:     # With GCC up to 2.95.x, collect2 would create an import file
                   13915:     # for dependence libraries.  The import file would start with
1.237     moko     13916:     # the line '#! .'.  This would cause the generated library to
                   13917:     # depend on '.', always an invalid library.  This was fixed in
1.128     moko     13918:     # development snapshots of GCC prior to 3.0.
                   13919:     case $host_os in
                   13920:       aix4 | aix4.[01] | aix4.[01].*)
                   13921:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   13922:           echo ' yes '
1.237     moko     13923:           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
1.128     moko     13924:        :
                   13925:       else
                   13926:        can_build_shared=no
                   13927:       fi
                   13928:       ;;
                   13929:     esac
1.237     moko     13930:     # Using Import Files as archive members, it is possible to support
                   13931:     # filename-based versioning of shared library archives on AIX. While
                   13932:     # this would work for both with and without runtime linking, it will
                   13933:     # prevent static linking of such archives. So we do filename-based
                   13934:     # shared library versioning with .so extension only, which is used
                   13935:     # when both runtime linking and shared linking is enabled.
                   13936:     # Unfortunately, runtime linking may impact performance, so we do
                   13937:     # not want this to be the default eventually. Also, we use the
                   13938:     # versioned .so libs for executables only if there is the -brtl
                   13939:     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
                   13940:     # To allow for filename-based versioning support, we need to create
                   13941:     # libNAME.so.V as an archive file, containing:
                   13942:     # *) an Import File, referring to the versioned filename of the
                   13943:     #    archive as well as the shared archive member, telling the
                   13944:     #    bitwidth (32 or 64) of that shared object, and providing the
                   13945:     #    list of exported symbols of that shared object, eventually
                   13946:     #    decorated with the 'weak' keyword
                   13947:     # *) the shared object with the F_LOADONLY flag set, to really avoid
                   13948:     #    it being seen by the linker.
                   13949:     # At run time we better use the real file rather than another symlink,
                   13950:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
                   13951: 
                   13952:     case $with_aix_soname,$aix_use_runtimelinking in
                   13953:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
1.128     moko     13954:     # soname into executable. Probably we can add versioning support to
                   13955:     # collect2, so additional links can be useful in future.
1.237     moko     13956:     aix,yes) # traditional libtool
                   13957:       dynamic_linker='AIX unversionable lib.so'
1.128     moko     13958:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   13959:       # instead of lib<name>.a to let people know that these are not
                   13960:       # typical AIX shared libraries.
1.237     moko     13961:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   13962:       ;;
                   13963:     aix,no) # traditional AIX only
                   13964:       dynamic_linker='AIX lib.a(lib.so.V)'
1.128     moko     13965:       # We preserve .a as extension for shared libraries through AIX4.2
                   13966:       # and later when we are not doing run time linking.
1.237     moko     13967:       library_names_spec='$libname$release.a $libname.a'
                   13968:       soname_spec='$libname$release$shared_ext$major'
                   13969:       ;;
                   13970:     svr4,*) # full svr4 only
                   13971:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
                   13972:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
                   13973:       # We do not specify a path in Import Files, so LIBPATH fires.
                   13974:       shlibpath_overrides_runpath=yes
                   13975:       ;;
                   13976:     *,yes) # both, prefer svr4
                   13977:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
                   13978:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
                   13979:       # unpreferred sharedlib libNAME.a needs extra handling
                   13980:       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"'
                   13981:       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"'
                   13982:       # We do not specify a path in Import Files, so LIBPATH fires.
                   13983:       shlibpath_overrides_runpath=yes
                   13984:       ;;
                   13985:     *,no) # both, prefer aix
                   13986:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
                   13987:       library_names_spec='$libname$release.a $libname.a'
                   13988:       soname_spec='$libname$release$shared_ext$major'
                   13989:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
                   13990:       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)'
                   13991:       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"'
                   13992:       ;;
                   13993:     esac
1.128     moko     13994:     shlibpath_var=LIBPATH
                   13995:   fi
                   13996:   ;;
                   13997: 
                   13998: amigaos*)
                   13999:   case $host_cpu in
                   14000:   powerpc)
                   14001:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   14002:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
1.237     moko     14003:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     14004:     ;;
                   14005:   m68k)
                   14006:     library_names_spec='$libname.ixlibrary $libname.a'
                   14007:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.237     moko     14008:     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     14009:     ;;
                   14010:   esac
                   14011:   ;;
                   14012: 
                   14013: beos*)
1.237     moko     14014:   library_names_spec='$libname$shared_ext'
1.128     moko     14015:   dynamic_linker="$host_os ld.so"
                   14016:   shlibpath_var=LIBRARY_PATH
                   14017:   ;;
                   14018: 
                   14019: bsdi[45]*)
                   14020:   version_type=linux # correct to gnu/linux during the next big refactor
                   14021:   need_version=no
1.237     moko     14022:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14023:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14024:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   14025:   shlibpath_var=LD_LIBRARY_PATH
                   14026:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   14027:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   14028:   # the default ld.so.conf also contains /usr/contrib/lib and
                   14029:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   14030:   # libtool to hard-code these into programs
                   14031:   ;;
                   14032: 
1.237     moko     14033: cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     14034:   version_type=windows
1.237     moko     14035:   shrext_cmds=.dll
1.128     moko     14036:   need_version=no
                   14037:   need_lib_prefix=no
                   14038: 
                   14039:   case $GCC,$cc_basename in
                   14040:   yes,*)
                   14041:     # gcc
                   14042:     library_names_spec='$libname.dll.a'
                   14043:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.237     moko     14044:     # If user builds GCC with multilib enabled,
                   14045:     # it should just install on $(libdir)
                   14046:     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
                   14047:     if test xyes = x"$multilib"; then
                   14048:       postinstall_cmds='base_file=`basename \$file`~
                   14049:         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
                   14050:         dldir=$destdir/`dirname \$dlpath`~
                   14051:         $install_prog $dir/$dlname $destdir/$dlname~
                   14052:         chmod a+x $destdir/$dlname~
                   14053:         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14054:           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
                   14055:         fi'
                   14056:     else
                   14057:       postinstall_cmds='base_file=`basename \$file`~
                   14058:         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
                   14059:         dldir=$destdir/`dirname \$dlpath`~
                   14060:         test -d \$dldir || mkdir -p \$dldir~
                   14061:         $install_prog $dir/$dlname \$dldir/$dlname~
                   14062:         chmod a+x \$dldir/$dlname~
                   14063:         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14064:           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   14065:         fi'
                   14066:     fi
1.128     moko     14067:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14068:       dlpath=$dir/\$dldll~
                   14069:        $RM \$dlpath'
                   14070:     shlibpath_overrides_runpath=yes
                   14071: 
                   14072:     case $host_os in
                   14073:     cygwin*)
                   14074:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.237     moko     14075:       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     14076: 
                   14077:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   14078:       ;;
1.237     moko     14079:     mingw* | windows* | cegcc*)
1.128     moko     14080:       # MinGW DLLs use traditional 'lib' prefix
1.237     moko     14081:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     14082:       ;;
                   14083:     pw32*)
                   14084:       # pw32 DLLs use 'pw' prefix rather than 'lib'
1.237     moko     14085:       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     14086:       ;;
                   14087:     esac
                   14088:     dynamic_linker='Win32 ld.exe'
                   14089:     ;;
                   14090: 
1.237     moko     14091:   *,cl* | *,icl*)
                   14092:     # Native MSVC or ICC
1.128     moko     14093:     libname_spec='$name'
1.237     moko     14094:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
                   14095:     library_names_spec='$libname.dll.lib'
1.128     moko     14096: 
                   14097:     case $build_os in
1.237     moko     14098:     mingw* | windows*)
1.128     moko     14099:       sys_lib_search_path_spec=
                   14100:       lt_save_ifs=$IFS
                   14101:       IFS=';'
                   14102:       for lt_path in $LIB
                   14103:       do
                   14104:         IFS=$lt_save_ifs
                   14105:         # Let DOS variable expansion print the short 8.3 style file name.
                   14106:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   14107:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   14108:       done
                   14109:       IFS=$lt_save_ifs
                   14110:       # Convert to MSYS style.
1.237     moko     14111:       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     14112:       ;;
                   14113:     cygwin*)
                   14114:       # Convert to unix form, then to dos form, then back to unix form
                   14115:       # but this time dos style (no spaces!) so that the unix form looks
                   14116:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   14117:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   14118:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   14119:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14120:       ;;
                   14121:     *)
1.237     moko     14122:       sys_lib_search_path_spec=$LIB
1.128     moko     14123:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   14124:         # It is most probably a Windows format PATH.
                   14125:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   14126:       else
                   14127:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14128:       fi
                   14129:       # FIXME: find the short name or the path components, as spaces are
                   14130:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   14131:       ;;
                   14132:     esac
                   14133: 
                   14134:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.237     moko     14135:     postinstall_cmds='base_file=`basename \$file`~
                   14136:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
1.128     moko     14137:       dldir=$destdir/`dirname \$dlpath`~
                   14138:       test -d \$dldir || mkdir -p \$dldir~
                   14139:       $install_prog $dir/$dlname \$dldir/$dlname'
                   14140:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14141:       dlpath=$dir/\$dldll~
                   14142:        $RM \$dlpath'
                   14143:     shlibpath_overrides_runpath=yes
                   14144:     dynamic_linker='Win32 link.exe'
                   14145:     ;;
                   14146: 
                   14147:   *)
1.237     moko     14148:     # Assume MSVC and ICC wrapper
                   14149:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
1.128     moko     14150:     dynamic_linker='Win32 ld.exe'
                   14151:     ;;
                   14152:   esac
                   14153:   # FIXME: first we should search . and the directory the executable is in
                   14154:   shlibpath_var=PATH
                   14155:   ;;
                   14156: 
                   14157: darwin* | rhapsody*)
                   14158:   dynamic_linker="$host_os dyld"
                   14159:   version_type=darwin
                   14160:   need_lib_prefix=no
                   14161:   need_version=no
1.237     moko     14162:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
                   14163:   soname_spec='$libname$release$major$shared_ext'
1.128     moko     14164:   shlibpath_overrides_runpath=yes
                   14165:   shlibpath_var=DYLD_LIBRARY_PATH
                   14166:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   14167: 
                   14168:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   14169:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   14170:   ;;
                   14171: 
                   14172: dgux*)
                   14173:   version_type=linux # correct to gnu/linux during the next big refactor
                   14174:   need_lib_prefix=no
                   14175:   need_version=no
1.237     moko     14176:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14177:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14178:   shlibpath_var=LD_LIBRARY_PATH
                   14179:   ;;
                   14180: 
1.237     moko     14181: freebsd* | dragonfly* | midnightbsd*)
1.128     moko     14182:   # DragonFly does not have aout.  When/if they implement a new
                   14183:   # versioning mechanism, adjust this.
                   14184:   if test -x /usr/bin/objformat; then
                   14185:     objformat=`/usr/bin/objformat`
                   14186:   else
                   14187:     case $host_os in
                   14188:     freebsd[23].*) objformat=aout ;;
                   14189:     *) objformat=elf ;;
                   14190:     esac
                   14191:   fi
                   14192:   version_type=freebsd-$objformat
                   14193:   case $version_type in
                   14194:     freebsd-elf*)
1.237     moko     14195:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14196:       soname_spec='$libname$release$shared_ext$major'
1.128     moko     14197:       need_version=no
                   14198:       need_lib_prefix=no
                   14199:       ;;
                   14200:     freebsd-*)
1.237     moko     14201:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     14202:       need_version=yes
                   14203:       ;;
                   14204:   esac
1.237     moko     14205:   case $host_cpu in
                   14206:     powerpc64)
                   14207:       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
                   14208:       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
                   14209:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14210: /* end confdefs.h.  */
                   14211: int test_pointer_size[sizeof (void *) - 5];
                   14212: 
                   14213: _ACEOF
                   14214: if ac_fn_c_try_compile "$LINENO"
                   14215: then :
1.128     moko     14216:   shlibpath_var=LD_LIBRARY_PATH
1.237     moko     14217: else case e in #(
                   14218:   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
                   14219: esac
                   14220: fi
                   14221: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   14222:       ;;
                   14223:     *)
                   14224:       shlibpath_var=LD_LIBRARY_PATH
                   14225:       ;;
                   14226:   esac
1.128     moko     14227:   case $host_os in
                   14228:   freebsd2.*)
                   14229:     shlibpath_overrides_runpath=yes
                   14230:     ;;
                   14231:   freebsd3.[01]* | freebsdelf3.[01]*)
                   14232:     shlibpath_overrides_runpath=yes
                   14233:     hardcode_into_libs=yes
                   14234:     ;;
                   14235:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   14236:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   14237:     shlibpath_overrides_runpath=no
                   14238:     hardcode_into_libs=yes
                   14239:     ;;
                   14240:   *) # from 4.6 on, and DragonFly
                   14241:     shlibpath_overrides_runpath=yes
                   14242:     hardcode_into_libs=yes
                   14243:     ;;
                   14244:   esac
                   14245:   ;;
                   14246: 
                   14247: haiku*)
                   14248:   version_type=linux # correct to gnu/linux during the next big refactor
                   14249:   need_lib_prefix=no
                   14250:   need_version=no
                   14251:   dynamic_linker="$host_os runtime_loader"
1.237     moko     14252:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14253:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14254:   shlibpath_var=LIBRARY_PATH
1.237     moko     14255:   shlibpath_overrides_runpath=no
                   14256:   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
                   14257:   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
                   14258:   hardcode_into_libs=no
1.128     moko     14259:   ;;
                   14260: 
                   14261: hpux9* | hpux10* | hpux11*)
                   14262:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   14263:   # link against other versions.
                   14264:   version_type=sunos
                   14265:   need_lib_prefix=no
                   14266:   need_version=no
                   14267:   case $host_cpu in
                   14268:   ia64*)
                   14269:     shrext_cmds='.so'
                   14270:     hardcode_into_libs=yes
                   14271:     dynamic_linker="$host_os dld.so"
                   14272:     shlibpath_var=LD_LIBRARY_PATH
                   14273:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.237     moko     14274:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14275:     soname_spec='$libname$release$shared_ext$major'
                   14276:     if test 32 = "$HPUX_IA64_MODE"; then
1.128     moko     14277:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.237     moko     14278:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
1.128     moko     14279:     else
                   14280:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.237     moko     14281:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
1.128     moko     14282:     fi
                   14283:     ;;
                   14284:   hppa*64*)
                   14285:     shrext_cmds='.sl'
                   14286:     hardcode_into_libs=yes
                   14287:     dynamic_linker="$host_os dld.sl"
                   14288:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   14289:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.237     moko     14290:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14291:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     14292:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   14293:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14294:     ;;
                   14295:   *)
                   14296:     shrext_cmds='.sl'
                   14297:     dynamic_linker="$host_os dld.sl"
                   14298:     shlibpath_var=SHLIB_PATH
                   14299:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.237     moko     14300:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14301:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     14302:     ;;
                   14303:   esac
                   14304:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   14305:   postinstall_cmds='chmod 555 $lib'
                   14306:   # or fails outright, so override atomically:
                   14307:   install_override_mode=555
                   14308:   ;;
                   14309: 
                   14310: interix[3-9]*)
                   14311:   version_type=linux # correct to gnu/linux during the next big refactor
                   14312:   need_lib_prefix=no
                   14313:   need_version=no
1.237     moko     14314:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14315:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14316:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   14317:   shlibpath_var=LD_LIBRARY_PATH
                   14318:   shlibpath_overrides_runpath=no
                   14319:   hardcode_into_libs=yes
                   14320:   ;;
                   14321: 
                   14322: irix5* | irix6* | nonstopux*)
                   14323:   case $host_os in
                   14324:     nonstopux*) version_type=nonstopux ;;
                   14325:     *)
1.237     moko     14326:        if test yes = "$lt_cv_prog_gnu_ld"; then
1.128     moko     14327:                version_type=linux # correct to gnu/linux during the next big refactor
                   14328:        else
                   14329:                version_type=irix
                   14330:        fi ;;
                   14331:   esac
                   14332:   need_lib_prefix=no
                   14333:   need_version=no
1.237     moko     14334:   soname_spec='$libname$release$shared_ext$major'
                   14335:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
1.128     moko     14336:   case $host_os in
                   14337:   irix5* | nonstopux*)
                   14338:     libsuff= shlibsuff=
                   14339:     ;;
                   14340:   *)
                   14341:     case $LD in # libtool.m4 will add one of these switches to LD
                   14342:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   14343:       libsuff= shlibsuff= libmagic=32-bit;;
                   14344:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   14345:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   14346:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   14347:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   14348:     *) libsuff= shlibsuff= libmagic=never-match;;
                   14349:     esac
                   14350:     ;;
                   14351:   esac
                   14352:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   14353:   shlibpath_overrides_runpath=no
1.237     moko     14354:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
                   14355:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
1.128     moko     14356:   hardcode_into_libs=yes
                   14357:   ;;
                   14358: 
                   14359: # No shared lib support for Linux oldld, aout, or coff.
                   14360: linux*oldld* | linux*aout* | linux*coff*)
                   14361:   dynamic_linker=no
                   14362:   ;;
                   14363: 
1.237     moko     14364: linux*android*)
                   14365:   version_type=none # Android doesn't support versioned libraries.
                   14366:   need_lib_prefix=no
                   14367:   need_version=no
                   14368:   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
                   14369:   soname_spec='$libname$release$shared_ext'
                   14370:   finish_cmds=
                   14371:   shlibpath_var=LD_LIBRARY_PATH
                   14372:   shlibpath_overrides_runpath=yes
                   14373: 
                   14374:   # This implies no fast_install, which is unacceptable.
                   14375:   # Some rework will be needed to allow for fast_install
                   14376:   # before this can be enabled.
                   14377:   hardcode_into_libs=yes
                   14378: 
                   14379:   dynamic_linker='Android linker'
                   14380:   # -rpath works at least for libraries that are not overridden by
                   14381:   # libraries installed in system locations.
                   14382:   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
                   14383:   ;;
                   14384: 
1.128     moko     14385: # This must be glibc/ELF.
1.237     moko     14386: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     14387:   version_type=linux # correct to gnu/linux during the next big refactor
                   14388:   need_lib_prefix=no
                   14389:   need_version=no
1.237     moko     14390:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14391:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14392:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   14393:   shlibpath_var=LD_LIBRARY_PATH
                   14394:   shlibpath_overrides_runpath=no
                   14395: 
                   14396:   # Some binutils ld are patched to set DT_RUNPATH
1.237     moko     14397:   if test ${lt_cv_shlibpath_overrides_runpath+y}
                   14398: then :
                   14399:   printf %s "(cached) " >&6
                   14400: else case e in #(
                   14401:   e) lt_cv_shlibpath_overrides_runpath=no
1.128     moko     14402:     save_LDFLAGS=$LDFLAGS
                   14403:     save_libdir=$libdir
                   14404:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   14405:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150     moko     14406:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     14407: /* end confdefs.h.  */
                   14408: 
                   14409: int
1.237     moko     14410: main (void)
1.128     moko     14411: {
                   14412: 
                   14413:   ;
                   14414:   return 0;
                   14415: }
                   14416: _ACEOF
1.237     moko     14417: if ac_fn_c_try_link "$LINENO"
                   14418: then :
                   14419:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
                   14420: then :
1.128     moko     14421:   lt_cv_shlibpath_overrides_runpath=yes
                   14422: fi
                   14423: fi
1.237     moko     14424: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     14425:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     14426:     LDFLAGS=$save_LDFLAGS
                   14427:     libdir=$save_libdir
1.237     moko     14428:      ;;
                   14429: esac
1.128     moko     14430: fi
                   14431: 
                   14432:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   14433: 
                   14434:   # This implies no fast_install, which is unacceptable.
                   14435:   # Some rework will be needed to allow for fast_install
                   14436:   # before this can be enabled.
                   14437:   hardcode_into_libs=yes
                   14438: 
1.237     moko     14439:   # Ideally, we could use ldconfig to report *all* directories which are
                   14440:   # searched for libraries, however this is still not possible.  Aside from not
                   14441:   # being certain /sbin/ldconfig is available, command
                   14442:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
                   14443:   # even though it is searched at run-time.  Try to do the best guess by
                   14444:   # appending ld.so.conf contents (and includes) to the search path.
1.128     moko     14445:   if test -f /etc/ld.so.conf; then
                   14446:     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' ' '`
                   14447:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   14448:   fi
                   14449: 
                   14450:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   14451:   # powerpc, because MkLinux only supported shared libraries with the
                   14452:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   14453:   # most powerpc-linux boxes support dynamic linking these days and
                   14454:   # people can always --disable-shared, the test was removed, and we
                   14455:   # assume the GNU/Linux dynamic linker is in use.
                   14456:   dynamic_linker='GNU/Linux ld.so'
                   14457:   ;;
                   14458: 
1.237     moko     14459: netbsdelf*-gnu)
                   14460:   version_type=linux
                   14461:   need_lib_prefix=no
                   14462:   need_version=no
                   14463:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14464:   soname_spec='$libname$release$shared_ext$major'
                   14465:   shlibpath_var=LD_LIBRARY_PATH
                   14466:   shlibpath_overrides_runpath=no
                   14467:   hardcode_into_libs=yes
                   14468:   dynamic_linker='NetBSD ld.elf_so'
                   14469:   ;;
                   14470: 
                   14471: netbsdelf*-gnu)
                   14472:   version_type=linux
                   14473:   need_lib_prefix=no
                   14474:   need_version=no
                   14475:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   14476:   soname_spec='${libname}${release}${shared_ext}$major'
                   14477:   shlibpath_var=LD_LIBRARY_PATH
                   14478:   shlibpath_overrides_runpath=no
                   14479:   hardcode_into_libs=yes
                   14480:   dynamic_linker='NetBSD ld.elf_so'
                   14481:   ;;
                   14482: 
1.128     moko     14483: netbsd*)
                   14484:   version_type=sunos
                   14485:   need_lib_prefix=no
                   14486:   need_version=no
                   14487:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.237     moko     14488:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     14489:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14490:     dynamic_linker='NetBSD (a.out) ld.so'
                   14491:   else
1.237     moko     14492:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14493:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     14494:     dynamic_linker='NetBSD ld.elf_so'
                   14495:   fi
                   14496:   shlibpath_var=LD_LIBRARY_PATH
                   14497:   shlibpath_overrides_runpath=yes
                   14498:   hardcode_into_libs=yes
                   14499:   ;;
                   14500: 
1.237     moko     14501: *-mlibc)
                   14502:   version_type=linux # correct to gnu/linux during the next big refactor
                   14503:   need_lib_prefix=no
                   14504:   need_version=no
                   14505:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14506:   soname_spec='$libname$release$shared_ext$major'
                   14507:   dynamic_linker='mlibc ld.so'
                   14508:   shlibpath_var=LD_LIBRARY_PATH
                   14509:   shlibpath_overrides_runpath=no
                   14510:   hardcode_into_libs=yes
                   14511:   ;;
                   14512: 
1.128     moko     14513: newsos6)
                   14514:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     14515:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     14516:   shlibpath_var=LD_LIBRARY_PATH
                   14517:   shlibpath_overrides_runpath=yes
                   14518:   ;;
                   14519: 
                   14520: *nto* | *qnx*)
                   14521:   version_type=qnx
                   14522:   need_lib_prefix=no
                   14523:   need_version=no
1.237     moko     14524:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14525:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14526:   shlibpath_var=LD_LIBRARY_PATH
                   14527:   shlibpath_overrides_runpath=no
                   14528:   hardcode_into_libs=yes
                   14529:   dynamic_linker='ldqnx.so'
                   14530:   ;;
                   14531: 
                   14532: openbsd*)
                   14533:   version_type=sunos
1.237     moko     14534:   sys_lib_dlsearch_path_spec=/usr/lib
1.128     moko     14535:   need_lib_prefix=no
1.237     moko     14536:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
                   14537:     need_version=no
                   14538:   else
                   14539:     need_version=yes
                   14540:   fi
                   14541:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     14542:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14543:   shlibpath_var=LD_LIBRARY_PATH
1.237     moko     14544:   shlibpath_overrides_runpath=yes
1.128     moko     14545:   ;;
                   14546: 
                   14547: os2*)
                   14548:   libname_spec='$name'
1.237     moko     14549:   version_type=windows
                   14550:   shrext_cmds=.dll
                   14551:   need_version=no
1.128     moko     14552:   need_lib_prefix=no
1.237     moko     14553:   # OS/2 can only load a DLL with a base name of 8 characters or less.
                   14554:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
                   14555:     v=$($ECHO $release$versuffix | tr -d .-);
                   14556:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
                   14557:     $ECHO $n$v`$shared_ext'
                   14558:   library_names_spec='${libname}_dll.$libext'
1.128     moko     14559:   dynamic_linker='OS/2 ld.exe'
1.237     moko     14560:   shlibpath_var=BEGINLIBPATH
                   14561:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   14562:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14563:   postinstall_cmds='base_file=`basename \$file`~
                   14564:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
                   14565:     dldir=$destdir/`dirname \$dlpath`~
                   14566:     test -d \$dldir || mkdir -p \$dldir~
                   14567:     $install_prog $dir/$dlname \$dldir/$dlname~
                   14568:     chmod a+x \$dldir/$dlname~
                   14569:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14570:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   14571:     fi'
                   14572:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
                   14573:     dlpath=$dir/\$dldll~
                   14574:     $RM \$dlpath'
1.128     moko     14575:   ;;
                   14576: 
                   14577: osf3* | osf4* | osf5*)
                   14578:   version_type=osf
                   14579:   need_lib_prefix=no
                   14580:   need_version=no
1.237     moko     14581:   soname_spec='$libname$release$shared_ext$major'
                   14582:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     14583:   shlibpath_var=LD_LIBRARY_PATH
                   14584:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.237     moko     14585:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.128     moko     14586:   ;;
                   14587: 
                   14588: rdos*)
                   14589:   dynamic_linker=no
                   14590:   ;;
                   14591: 
1.237     moko     14592: serenity*)
                   14593:   version_type=linux # correct to gnu/linux during the next big refactor
                   14594:   need_lib_prefix=no
                   14595:   need_version=no
                   14596:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14597:   soname_spec='$libname$release$shared_ext$major'
                   14598:   shlibpath_var=LD_LIBRARY_PATH
                   14599:   shlibpath_overrides_runpath=no
                   14600:   dynamic_linker='SerenityOS LibELF'
                   14601:   ;;
                   14602: 
1.128     moko     14603: solaris*)
                   14604:   version_type=linux # correct to gnu/linux during the next big refactor
                   14605:   need_lib_prefix=no
                   14606:   need_version=no
1.237     moko     14607:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14608:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14609:   shlibpath_var=LD_LIBRARY_PATH
                   14610:   shlibpath_overrides_runpath=yes
                   14611:   hardcode_into_libs=yes
                   14612:   # ldd complains unless libraries are executable
                   14613:   postinstall_cmds='chmod +x $lib'
                   14614:   ;;
                   14615: 
                   14616: sunos4*)
                   14617:   version_type=sunos
1.237     moko     14618:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     14619:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   14620:   shlibpath_var=LD_LIBRARY_PATH
                   14621:   shlibpath_overrides_runpath=yes
1.237     moko     14622:   if test yes = "$with_gnu_ld"; then
1.128     moko     14623:     need_lib_prefix=no
                   14624:   fi
                   14625:   need_version=yes
                   14626:   ;;
                   14627: 
                   14628: sysv4 | sysv4.3*)
                   14629:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     14630:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14631:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14632:   shlibpath_var=LD_LIBRARY_PATH
                   14633:   case $host_vendor in
                   14634:     sni)
                   14635:       shlibpath_overrides_runpath=no
                   14636:       need_lib_prefix=no
                   14637:       runpath_var=LD_RUN_PATH
                   14638:       ;;
                   14639:     siemens)
                   14640:       need_lib_prefix=no
                   14641:       ;;
                   14642:     motorola)
                   14643:       need_lib_prefix=no
                   14644:       need_version=no
                   14645:       shlibpath_overrides_runpath=no
                   14646:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   14647:       ;;
                   14648:   esac
                   14649:   ;;
                   14650: 
                   14651: sysv4*MP*)
1.237     moko     14652:   if test -d /usr/nec; then
1.128     moko     14653:     version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     14654:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
                   14655:     soname_spec='$libname$shared_ext.$major'
1.128     moko     14656:     shlibpath_var=LD_LIBRARY_PATH
                   14657:   fi
                   14658:   ;;
                   14659: 
                   14660: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.237     moko     14661:   version_type=sco
1.128     moko     14662:   need_lib_prefix=no
                   14663:   need_version=no
1.237     moko     14664:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
                   14665:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14666:   shlibpath_var=LD_LIBRARY_PATH
                   14667:   shlibpath_overrides_runpath=yes
                   14668:   hardcode_into_libs=yes
1.237     moko     14669:   if test yes = "$with_gnu_ld"; then
1.128     moko     14670:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   14671:   else
                   14672:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   14673:     case $host_os in
                   14674:       sco3.2v5*)
                   14675:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   14676:        ;;
                   14677:     esac
                   14678:   fi
                   14679:   sys_lib_dlsearch_path_spec='/usr/lib'
                   14680:   ;;
                   14681: 
                   14682: tpf*)
                   14683:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   14684:   version_type=linux # correct to gnu/linux during the next big refactor
                   14685:   need_lib_prefix=no
                   14686:   need_version=no
1.237     moko     14687:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     14688:   shlibpath_var=LD_LIBRARY_PATH
                   14689:   shlibpath_overrides_runpath=no
                   14690:   hardcode_into_libs=yes
                   14691:   ;;
                   14692: 
                   14693: uts4*)
                   14694:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     14695:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   14696:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     14697:   shlibpath_var=LD_LIBRARY_PATH
                   14698:   ;;
                   14699: 
1.237     moko     14700: emscripten*)
                   14701:   version_type=none
                   14702:   need_lib_prefix=no
                   14703:   need_version=no
                   14704:   library_names_spec='$libname$release$shared_ext'
                   14705:   soname_spec='$libname$release$shared_ext'
                   14706:   finish_cmds=
                   14707:   dynamic_linker="Emscripten linker"
                   14708:   lt_prog_compiler_wl=
                   14709: lt_prog_compiler_pic=
                   14710: lt_prog_compiler_static=
1.128     moko     14711: 
                   14712: 
1.237     moko     14713:   if test yes = "$GCC"; then
                   14714:     lt_prog_compiler_wl='-Wl,'
                   14715:     lt_prog_compiler_static='-static'
1.128     moko     14716: 
1.237     moko     14717:     case $host_os in
                   14718:       aix*)
                   14719:       # All AIX code is PIC.
                   14720:       if test ia64 = "$host_cpu"; then
                   14721:        # AIX 5 now supports IA64 processor
                   14722:        lt_prog_compiler_static='-Bstatic'
                   14723:       fi
                   14724:       lt_prog_compiler_pic='-fPIC'
                   14725:       ;;
1.128     moko     14726: 
1.237     moko     14727:     amigaos*)
                   14728:       case $host_cpu in
                   14729:       powerpc)
                   14730:             # see comment about AmigaOS4 .so support
                   14731:             lt_prog_compiler_pic='-fPIC'
                   14732:         ;;
                   14733:       m68k)
                   14734:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14735:             # adding the '-m68020' flag to GCC prevents building anything better,
                   14736:             # like '-m68040'.
                   14737:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   14738:         ;;
                   14739:       esac
                   14740:       ;;
1.128     moko     14741: 
1.237     moko     14742:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14743:       # PIC is the default for these OSes.
                   14744:       ;;
1.128     moko     14745: 
1.237     moko     14746:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
                   14747:       # This hack is so that the source file can tell whether it is being
                   14748:       # built for inclusion in a dll (and should export symbols for example).
                   14749:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14750:       # (--disable-auto-import) libraries
                   14751:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   14752:       case $host_os in
                   14753:       os2*)
                   14754:        lt_prog_compiler_static='$wl-static'
                   14755:        ;;
                   14756:       esac
                   14757:       ;;
1.128     moko     14758: 
1.237     moko     14759:     darwin* | rhapsody*)
                   14760:       # PIC is the default on this platform
                   14761:       # Common symbols not allowed in MH_DYLIB files
                   14762:       lt_prog_compiler_pic='-fno-common'
                   14763:       ;;
1.128     moko     14764: 
1.237     moko     14765:     haiku*)
                   14766:       # PIC is the default for Haiku.
                   14767:       # The "-static" flag exists, but is broken.
                   14768:       lt_prog_compiler_static=
                   14769:       ;;
1.128     moko     14770: 
1.237     moko     14771:     hpux*)
                   14772:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14773:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14774:       # sets the default TLS model and affects inlining.
                   14775:       case $host_cpu in
                   14776:       hppa*64*)
                   14777:        # +Z the default
                   14778:        ;;
                   14779:       *)
                   14780:        lt_prog_compiler_pic='-fPIC'
                   14781:        ;;
                   14782:       esac
                   14783:       ;;
1.128     moko     14784: 
1.237     moko     14785:     interix[3-9]*)
                   14786:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14787:       # Instead, we relocate shared libraries at runtime.
                   14788:       ;;
1.128     moko     14789: 
1.237     moko     14790:     msdosdjgpp*)
                   14791:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   14792:       # on systems that don't support them.
                   14793:       lt_prog_compiler_can_build_shared=no
                   14794:       enable_shared=no
                   14795:       ;;
1.128     moko     14796: 
1.237     moko     14797:     *nto* | *qnx*)
                   14798:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14799:       # it will coredump.
                   14800:       lt_prog_compiler_pic='-fPIC -shared'
                   14801:       ;;
1.128     moko     14802: 
1.237     moko     14803:     sysv4*MP*)
                   14804:       if test -d /usr/nec; then
                   14805:        lt_prog_compiler_pic=-Kconform_pic
                   14806:       fi
                   14807:       ;;
1.128     moko     14808: 
1.237     moko     14809:     *)
                   14810:       lt_prog_compiler_pic='-fPIC'
                   14811:       ;;
                   14812:     esac
1.128     moko     14813: 
1.237     moko     14814:     case $cc_basename in
                   14815:     nvcc*) # Cuda Compiler Driver 2.2
                   14816:       lt_prog_compiler_wl='-Xlinker '
                   14817:       if test -n "$lt_prog_compiler_pic"; then
                   14818:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   14819:       fi
                   14820:       ;;
                   14821:     esac
                   14822:   else
                   14823:     # PORTME Check for flag to pass linker flags through the system compiler.
                   14824:     case $host_os in
                   14825:     aix*)
                   14826:       lt_prog_compiler_wl='-Wl,'
                   14827:       if test ia64 = "$host_cpu"; then
                   14828:        # AIX 5 now supports IA64 processor
                   14829:        lt_prog_compiler_static='-Bstatic'
                   14830:       else
                   14831:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   14832:       fi
                   14833:       ;;
1.128     moko     14834: 
1.237     moko     14835:     darwin* | rhapsody*)
                   14836:       # PIC is the default on this platform
                   14837:       # Common symbols not allowed in MH_DYLIB files
                   14838:       lt_prog_compiler_pic='-fno-common'
                   14839:       case $cc_basename in
                   14840:       nagfor*)
                   14841:         # NAG Fortran compiler
                   14842:         lt_prog_compiler_wl='-Wl,-Wl,,'
                   14843:         lt_prog_compiler_pic='-PIC'
                   14844:         lt_prog_compiler_static='-Bstatic'
                   14845:         ;;
                   14846:       esac
                   14847:       ;;
1.128     moko     14848: 
1.237     moko     14849:     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
                   14850:       # This hack is so that the source file can tell whether it is being
                   14851:       # built for inclusion in a dll (and should export symbols for example).
                   14852:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   14853:       case $host_os in
                   14854:       os2*)
                   14855:        lt_prog_compiler_static='$wl-static'
                   14856:        ;;
                   14857:       esac
                   14858:       ;;
1.128     moko     14859: 
1.237     moko     14860:     hpux9* | hpux10* | hpux11*)
                   14861:       lt_prog_compiler_wl='-Wl,'
                   14862:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   14863:       # not for PA HP-UX.
                   14864:       case $host_cpu in
                   14865:       hppa*64*|ia64*)
                   14866:        # +Z the default
                   14867:        ;;
                   14868:       *)
                   14869:        lt_prog_compiler_pic='+Z'
                   14870:        ;;
                   14871:       esac
                   14872:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   14873:       lt_prog_compiler_static='$wl-a ${wl}archive'
                   14874:       ;;
1.128     moko     14875: 
1.237     moko     14876:     irix5* | irix6* | nonstopux*)
                   14877:       lt_prog_compiler_wl='-Wl,'
                   14878:       # PIC (with -KPIC) is the default.
                   14879:       lt_prog_compiler_static='-non_shared'
                   14880:       ;;
1.128     moko     14881: 
1.237     moko     14882:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
                   14883:       case $cc_basename in
                   14884:       # old Intel for x86_64, which still supported -KPIC.
                   14885:       ecc*)
                   14886:        lt_prog_compiler_wl='-Wl,'
                   14887:        lt_prog_compiler_pic='-KPIC'
                   14888:        lt_prog_compiler_static='-static'
                   14889:         ;;
                   14890:       *flang* | ftn | f18* | f95*)
                   14891:         # Flang compiler.
                   14892:        lt_prog_compiler_wl='-Wl,'
                   14893:        lt_prog_compiler_pic='-fPIC'
                   14894:        lt_prog_compiler_static='-static'
                   14895:         ;;
                   14896:       # flang / f18. f95 an alias for gfortran or flang on Debian
                   14897:       flang* | f18* | f95*)
                   14898:        lt_prog_compiler_wl='-Wl,'
                   14899:        lt_prog_compiler_pic='-fPIC'
                   14900:        lt_prog_compiler_static='-static'
                   14901:         ;;
                   14902:       # icc used to be incompatible with GCC.
                   14903:       # ICC 10 doesn't accept -KPIC any more.
                   14904:       icc* | ifort*)
                   14905:        lt_prog_compiler_wl='-Wl,'
                   14906:        lt_prog_compiler_pic='-fPIC'
                   14907:        lt_prog_compiler_static='-static'
                   14908:         ;;
                   14909:       # Lahey Fortran 8.1.
                   14910:       lf95*)
                   14911:        lt_prog_compiler_wl='-Wl,'
                   14912:        lt_prog_compiler_pic='--shared'
                   14913:        lt_prog_compiler_static='--static'
                   14914:        ;;
                   14915:       nagfor*)
                   14916:        # NAG Fortran compiler
                   14917:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   14918:        lt_prog_compiler_pic='-PIC'
                   14919:        lt_prog_compiler_static='-Bstatic'
                   14920:        ;;
                   14921:       tcc*)
                   14922:        # Fabrice Bellard et al's Tiny C Compiler
                   14923:        lt_prog_compiler_wl='-Wl,'
                   14924:        lt_prog_compiler_pic='-fPIC'
                   14925:        lt_prog_compiler_static='-static'
                   14926:        ;;
                   14927:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   14928:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   14929:        # which looks to be a dead project)
                   14930:        lt_prog_compiler_wl='-Wl,'
                   14931:        lt_prog_compiler_pic='-fpic'
                   14932:        lt_prog_compiler_static='-Bstatic'
                   14933:         ;;
                   14934:       ccc*)
                   14935:         lt_prog_compiler_wl='-Wl,'
                   14936:         # All Alpha code is PIC.
                   14937:         lt_prog_compiler_static='-non_shared'
                   14938:         ;;
                   14939:       xl* | bgxl* | bgf* | mpixl*)
                   14940:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   14941:        lt_prog_compiler_wl='-Wl,'
                   14942:        lt_prog_compiler_pic='-qpic'
                   14943:        lt_prog_compiler_static='-qstaticlink'
                   14944:        ;;
                   14945:       *)
                   14946:        case `$CC -V 2>&1 | $SED 5q` in
                   14947:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   14948:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   14949:          lt_prog_compiler_pic='-KPIC'
                   14950:          lt_prog_compiler_static='-Bstatic'
                   14951:          lt_prog_compiler_wl=''
                   14952:          ;;
                   14953:        *Sun\ F* | *Sun*Fortran*)
                   14954:          lt_prog_compiler_pic='-KPIC'
                   14955:          lt_prog_compiler_static='-Bstatic'
                   14956:          lt_prog_compiler_wl='-Qoption ld '
                   14957:          ;;
                   14958:        *Sun\ C*)
                   14959:          # Sun C 5.9
                   14960:          lt_prog_compiler_pic='-KPIC'
                   14961:          lt_prog_compiler_static='-Bstatic'
                   14962:          lt_prog_compiler_wl='-Wl,'
                   14963:          ;;
                   14964:         *Intel*\ [CF]*Compiler*)
                   14965:          lt_prog_compiler_wl='-Wl,'
                   14966:          lt_prog_compiler_pic='-fPIC'
                   14967:          lt_prog_compiler_static='-static'
                   14968:          ;;
                   14969:        *Portland\ Group*)
                   14970:          lt_prog_compiler_wl='-Wl,'
                   14971:          lt_prog_compiler_pic='-fpic'
                   14972:          lt_prog_compiler_static='-Bstatic'
                   14973:          ;;
                   14974:        esac
                   14975:        ;;
                   14976:       esac
                   14977:       ;;
1.128     moko     14978: 
1.237     moko     14979:     newsos6)
                   14980:       lt_prog_compiler_pic='-KPIC'
                   14981:       lt_prog_compiler_static='-Bstatic'
                   14982:       ;;
1.128     moko     14983: 
1.237     moko     14984:     *-mlibc)
                   14985:       lt_prog_compiler_wl='-Wl,'
                   14986:       lt_prog_compiler_pic='-fPIC'
                   14987:       lt_prog_compiler_static='-static'
                   14988:       ;;
1.128     moko     14989: 
1.237     moko     14990:     *nto* | *qnx*)
                   14991:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14992:       # it will coredump.
                   14993:       lt_prog_compiler_pic='-fPIC -shared'
                   14994:       ;;
1.128     moko     14995: 
1.237     moko     14996:     osf3* | osf4* | osf5*)
                   14997:       lt_prog_compiler_wl='-Wl,'
                   14998:       # All OSF/1 code is PIC.
                   14999:       lt_prog_compiler_static='-non_shared'
                   15000:       ;;
1.128     moko     15001: 
1.237     moko     15002:     rdos*)
                   15003:       lt_prog_compiler_static='-non_shared'
                   15004:       ;;
1.128     moko     15005: 
1.237     moko     15006:     serenity*)
                   15007:       ;;
                   15008: 
                   15009:     solaris*)
                   15010:       lt_prog_compiler_pic='-KPIC'
                   15011:       lt_prog_compiler_static='-Bstatic'
                   15012:       case $cc_basename in
                   15013:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   15014:        lt_prog_compiler_wl='-Qoption ld ';;
                   15015:       *)
                   15016:        lt_prog_compiler_wl='-Wl,';;
                   15017:       esac
                   15018:       ;;
                   15019: 
                   15020:     sunos4*)
                   15021:       lt_prog_compiler_wl='-Qoption ld '
                   15022:       lt_prog_compiler_pic='-PIC'
                   15023:       lt_prog_compiler_static='-Bstatic'
                   15024:       ;;
                   15025: 
                   15026:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   15027:       lt_prog_compiler_wl='-Wl,'
                   15028:       lt_prog_compiler_pic='-KPIC'
                   15029:       lt_prog_compiler_static='-Bstatic'
                   15030:       ;;
                   15031: 
                   15032:     sysv4*MP*)
                   15033:       if test -d /usr/nec; then
                   15034:        lt_prog_compiler_pic='-Kconform_pic'
                   15035:        lt_prog_compiler_static='-Bstatic'
                   15036:       fi
                   15037:       ;;
                   15038: 
                   15039:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   15040:       lt_prog_compiler_wl='-Wl,'
                   15041:       lt_prog_compiler_pic='-KPIC'
                   15042:       lt_prog_compiler_static='-Bstatic'
                   15043:       ;;
                   15044: 
                   15045:     unicos*)
                   15046:       lt_prog_compiler_wl='-Wl,'
                   15047:       lt_prog_compiler_can_build_shared=no
                   15048:       ;;
                   15049: 
                   15050:     uts4*)
                   15051:       lt_prog_compiler_pic='-pic'
                   15052:       lt_prog_compiler_static='-Bstatic'
                   15053:       ;;
                   15054: 
                   15055:     *)
                   15056:       lt_prog_compiler_can_build_shared=no
                   15057:       ;;
                   15058:     esac
                   15059:   fi
                   15060: 
                   15061: case $host_os in
                   15062:   # For platforms that do not support PIC, -DPIC is meaningless:
                   15063:   *djgpp*)
                   15064:     lt_prog_compiler_pic=
                   15065:     ;;
                   15066:   *)
                   15067:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   15068:     ;;
                   15069: esac
                   15070: 
                   15071: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   15072: printf %s "checking for $compiler option to produce PIC... " >&6; }
                   15073: if test ${lt_cv_prog_compiler_pic+y}
                   15074: then :
                   15075:   printf %s "(cached) " >&6
                   15076: else case e in #(
                   15077:   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
                   15078: esac
                   15079: fi
                   15080: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   15081: printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
                   15082: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   15083: 
                   15084: #
                   15085: # Check to make sure the PIC flag actually works.
                   15086: #
                   15087: if test -n "$lt_prog_compiler_pic"; then
                   15088:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   15089: printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   15090: if test ${lt_cv_prog_compiler_pic_works+y}
                   15091: then :
                   15092:   printf %s "(cached) " >&6
                   15093: else case e in #(
                   15094:   e) lt_cv_prog_compiler_pic_works=no
                   15095:    ac_outfile=conftest.$ac_objext
                   15096:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15097:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
                   15098:    # Insert the option either (1) after the last *FLAGS variable, or
                   15099:    # (2) before a word containing "conftest.", or (3) at the end.
                   15100:    # Note that $ac_compile itself does not contain backslashes and begins
                   15101:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15102:    # The option is referenced via a variable to avoid confusing sed.
                   15103:    lt_compile=`echo "$ac_compile" | $SED \
                   15104:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15105:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15106:    -e 's:$: $lt_compiler_flag:'`
                   15107:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15108:    (eval "$lt_compile" 2>conftest.err)
                   15109:    ac_status=$?
                   15110:    cat conftest.err >&5
                   15111:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15112:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   15113:      # The compiler can only warn and ignore the option if not recognized
                   15114:      # So say no if there are warnings other than the usual output.
                   15115:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   15116:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15117:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   15118:        lt_cv_prog_compiler_pic_works=yes
                   15119:      fi
                   15120:    fi
                   15121:    $RM conftest*
                   15122:  ;;
                   15123: esac
                   15124: fi
                   15125: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   15126: printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
                   15127: 
                   15128: if test yes = "$lt_cv_prog_compiler_pic_works"; then
                   15129:     case $lt_prog_compiler_pic in
                   15130:      "" | " "*) ;;
                   15131:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   15132:      esac
                   15133: else
                   15134:     lt_prog_compiler_pic=
                   15135:      lt_prog_compiler_can_build_shared=no
                   15136: fi
                   15137: 
                   15138: fi
                   15139: 
                   15140: 
                   15141: 
                   15142: 
                   15143: 
                   15144: #
                   15145: # Check to make sure the static flag actually works.
                   15146: #
                   15147: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   15148: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   15149: printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   15150: if test ${lt_cv_prog_compiler_static_works+y}
                   15151: then :
                   15152:   printf %s "(cached) " >&6
                   15153: else case e in #(
                   15154:   e) lt_cv_prog_compiler_static_works=no
                   15155:    save_LDFLAGS=$LDFLAGS
                   15156:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   15157:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   15158:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   15159:      # The linker can only warn and ignore the option if not recognized
                   15160:      # So say no if there are warnings
                   15161:      if test -s conftest.err; then
                   15162:        # Append any errors to the config.log.
                   15163:        cat conftest.err 1>&5
                   15164:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   15165:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15166:        if diff conftest.exp conftest.er2 >/dev/null; then
                   15167:          lt_cv_prog_compiler_static_works=yes
                   15168:        fi
                   15169:      else
                   15170:        lt_cv_prog_compiler_static_works=yes
                   15171:      fi
                   15172:    fi
                   15173:    $RM -r conftest*
                   15174:    LDFLAGS=$save_LDFLAGS
                   15175:  ;;
                   15176: esac
                   15177: fi
                   15178: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   15179: printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
                   15180: 
                   15181: if test yes = "$lt_cv_prog_compiler_static_works"; then
                   15182:     :
                   15183: else
                   15184:     lt_prog_compiler_static=
                   15185: fi
                   15186: 
                   15187: 
                   15188: 
                   15189: ='-fPIC'
                   15190:   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
                   15191:   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'
                   15192:   archive_cmds_need_lc=no
                   15193:   no_undefined_flag=
                   15194:   ;;
                   15195: 
                   15196: *)
                   15197:   dynamic_linker=no
                   15198:   ;;
                   15199: esac
                   15200: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   15201: printf "%s\n" "$dynamic_linker" >&6; }
                   15202: test no = "$dynamic_linker" && can_build_shared=no
                   15203: 
                   15204: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15205: if test yes = "$GCC"; then
                   15206:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15207: fi
                   15208: 
                   15209: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
                   15210:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
                   15211: fi
                   15212: 
                   15213: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
                   15214:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
                   15215: fi
                   15216: 
                   15217: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
                   15218: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
                   15219: 
                   15220: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
                   15221: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
                   15222: 
                   15223: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
                   15224: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
1.128     moko     15225: 
                   15226: 
                   15227: 
                   15228: 
                   15229: 
                   15230: 
                   15231: 
                   15232: 
                   15233: 
                   15234: 
                   15235: 
                   15236: 
                   15237: 
                   15238: 
                   15239: 
                   15240: 
                   15241: 
                   15242: 
                   15243: 
                   15244: 
                   15245: 
                   15246: 
                   15247: 
                   15248: 
                   15249: 
                   15250: 
                   15251: 
                   15252: 
                   15253: 
                   15254: 
                   15255: 
                   15256: 
                   15257: 
                   15258: 
                   15259: 
                   15260: 
                   15261: 
                   15262: 
                   15263: 
                   15264: 
                   15265: 
                   15266: 
                   15267: 
                   15268: 
                   15269: 
                   15270: 
                   15271: 
                   15272: 
                   15273: 
                   15274: 
                   15275: 
                   15276: 
                   15277: 
                   15278: 
                   15279: 
                   15280: 
                   15281: 
                   15282: 
                   15283: 
                   15284: 
                   15285: 
                   15286: 
                   15287: 
                   15288: 
                   15289: 
                   15290: 
                   15291: 
                   15292: 
1.237     moko     15293: 
                   15294: 
                   15295: 
                   15296: 
                   15297: 
                   15298: 
                   15299: 
                   15300: 
                   15301: 
                   15302: 
                   15303: 
                   15304: 
                   15305: 
                   15306: 
                   15307: 
                   15308: 
                   15309: 
                   15310: 
                   15311: 
                   15312: 
                   15313: 
                   15314: 
                   15315: 
                   15316: 
                   15317: 
                   15318: 
                   15319: 
                   15320: 
                   15321: 
                   15322:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   15323: printf %s "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     15324: hardcode_action=
                   15325: if test -n "$hardcode_libdir_flag_spec" ||
                   15326:    test -n "$runpath_var" ||
1.237     moko     15327:    test yes = "$hardcode_automatic"; then
1.128     moko     15328: 
                   15329:   # We can hardcode non-existent directories.
1.237     moko     15330:   if test no != "$hardcode_direct" &&
1.128     moko     15331:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15332:      # have to relink, otherwise we might link with an installed library
                   15333:      # when we should be linking with a yet-to-be-installed one
1.237     moko     15334:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
                   15335:      test no != "$hardcode_minus_L"; then
1.128     moko     15336:     # Linking always hardcodes the temporary library directory.
                   15337:     hardcode_action=relink
                   15338:   else
                   15339:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15340:     hardcode_action=immediate
                   15341:   fi
                   15342: else
                   15343:   # We cannot hardcode anything, or else we can only hardcode existing
                   15344:   # directories.
                   15345:   hardcode_action=unsupported
                   15346: fi
1.237     moko     15347: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   15348: printf "%s\n" "$hardcode_action" >&6; }
1.128     moko     15349: 
1.237     moko     15350: if test relink = "$hardcode_action" ||
                   15351:    test yes = "$inherit_rpath"; then
1.128     moko     15352:   # Fast installation is not supported
                   15353:   enable_fast_install=no
1.237     moko     15354: elif test yes = "$shlibpath_overrides_runpath" ||
                   15355:      test no = "$enable_shared"; then
1.128     moko     15356:   # Fast installation is not necessary
                   15357:   enable_fast_install=needless
                   15358: fi
                   15359: 
                   15360: 
                   15361: 
                   15362: 
                   15363: 
                   15364: 
1.237     moko     15365:   if test yes != "$enable_dlopen"; then
1.128     moko     15366:   enable_dlopen=unknown
                   15367:   enable_dlopen_self=unknown
                   15368:   enable_dlopen_self_static=unknown
                   15369: else
                   15370:   lt_cv_dlopen=no
                   15371:   lt_cv_dlopen_libs=
                   15372: 
                   15373:   case $host_os in
                   15374:   beos*)
1.237     moko     15375:     lt_cv_dlopen=load_add_on
1.128     moko     15376:     lt_cv_dlopen_libs=
                   15377:     lt_cv_dlopen_self=yes
                   15378:     ;;
                   15379: 
1.237     moko     15380:   mingw* | windows* | pw32* | cegcc*)
                   15381:     lt_cv_dlopen=LoadLibrary
1.128     moko     15382:     lt_cv_dlopen_libs=
                   15383:     ;;
                   15384: 
                   15385:   cygwin*)
1.237     moko     15386:     lt_cv_dlopen=dlopen
1.128     moko     15387:     lt_cv_dlopen_libs=
                   15388:     ;;
                   15389: 
                   15390:   darwin*)
1.237     moko     15391:     # if libdl is installed we need to link against it
                   15392:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   15393: printf %s "checking for dlopen in -ldl... " >&6; }
                   15394: if test ${ac_cv_lib_dl_dlopen+y}
                   15395: then :
                   15396:   printf %s "(cached) " >&6
                   15397: else case e in #(
                   15398:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     15399: LIBS="-ldl  $LIBS"
1.150     moko     15400: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15401: /* end confdefs.h.  */
                   15402: 
1.150     moko     15403: /* Override any GCC internal prototype to avoid an error.
                   15404:    Use char because int might match the return type of a GCC
1.237     moko     15405:    builtin and then its argument prototype would still apply.
                   15406:    The 'extern "C"' is for builds by C++ compilers;
                   15407:    although this is not generally supported in C code supporting it here
                   15408:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     15409: #ifdef __cplusplus
                   15410: extern "C"
                   15411: #endif
1.237     moko     15412: char dlopen (void);
1.128     moko     15413: int
1.237     moko     15414: main (void)
1.128     moko     15415: {
1.150     moko     15416: return dlopen ();
1.128     moko     15417:   ;
                   15418:   return 0;
                   15419: }
                   15420: _ACEOF
1.237     moko     15421: if ac_fn_c_try_link "$LINENO"
                   15422: then :
1.128     moko     15423:   ac_cv_lib_dl_dlopen=yes
1.237     moko     15424: else case e in #(
                   15425:   e) ac_cv_lib_dl_dlopen=no ;;
                   15426: esac
1.128     moko     15427: fi
1.237     moko     15428: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     15429:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     15430: LIBS=$ac_check_lib_save_LIBS ;;
                   15431: esac
1.128     moko     15432: fi
1.237     moko     15433: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   15434: printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
                   15435: if test "x$ac_cv_lib_dl_dlopen" = xyes
                   15436: then :
                   15437:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
                   15438: else case e in #(
                   15439:   e)
                   15440:     lt_cv_dlopen=dyld
1.128     moko     15441:     lt_cv_dlopen_libs=
                   15442:     lt_cv_dlopen_self=yes
1.237     moko     15443:      ;;
                   15444: esac
                   15445: fi
1.128     moko     15446: 
1.237     moko     15447:     ;;
1.128     moko     15448: 
1.237     moko     15449:   tpf*)
                   15450:     # Don't try to run any link tests for TPF.  We know it's impossible
                   15451:     # because TPF is a cross-compiler, and we know how we open DSOs.
                   15452:     lt_cv_dlopen=dlopen
                   15453:     lt_cv_dlopen_libs=
                   15454:     lt_cv_dlopen_self=no
1.128     moko     15455:     ;;
                   15456: 
                   15457:   *)
1.150     moko     15458:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
1.237     moko     15459: if test "x$ac_cv_func_shl_load" = xyes
                   15460: then :
                   15461:   lt_cv_dlopen=shl_load
                   15462: else case e in #(
                   15463:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   15464: printf %s "checking for shl_load in -ldld... " >&6; }
                   15465: if test ${ac_cv_lib_dld_shl_load+y}
                   15466: then :
                   15467:   printf %s "(cached) " >&6
                   15468: else case e in #(
                   15469:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     15470: LIBS="-ldld  $LIBS"
1.150     moko     15471: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15472: /* end confdefs.h.  */
                   15473: 
1.150     moko     15474: /* Override any GCC internal prototype to avoid an error.
                   15475:    Use char because int might match the return type of a GCC
1.237     moko     15476:    builtin and then its argument prototype would still apply.
                   15477:    The 'extern "C"' is for builds by C++ compilers;
                   15478:    although this is not generally supported in C code supporting it here
                   15479:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     15480: #ifdef __cplusplus
                   15481: extern "C"
                   15482: #endif
1.237     moko     15483: char shl_load (void);
1.128     moko     15484: int
1.237     moko     15485: main (void)
1.128     moko     15486: {
1.150     moko     15487: return shl_load ();
1.128     moko     15488:   ;
                   15489:   return 0;
                   15490: }
                   15491: _ACEOF
1.237     moko     15492: if ac_fn_c_try_link "$LINENO"
                   15493: then :
1.128     moko     15494:   ac_cv_lib_dld_shl_load=yes
1.237     moko     15495: else case e in #(
                   15496:   e) ac_cv_lib_dld_shl_load=no ;;
                   15497: esac
1.128     moko     15498: fi
1.237     moko     15499: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     15500:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     15501: LIBS=$ac_check_lib_save_LIBS ;;
                   15502: esac
1.128     moko     15503: fi
1.237     moko     15504: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   15505: printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
                   15506: if test "x$ac_cv_lib_dld_shl_load" = xyes
                   15507: then :
                   15508:   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
                   15509: else case e in #(
                   15510:   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   15511: if test "x$ac_cv_func_dlopen" = xyes
                   15512: then :
                   15513:   lt_cv_dlopen=dlopen
                   15514: else case e in #(
                   15515:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   15516: printf %s "checking for dlopen in -ldl... " >&6; }
                   15517: if test ${ac_cv_lib_dl_dlopen+y}
                   15518: then :
                   15519:   printf %s "(cached) " >&6
                   15520: else case e in #(
                   15521:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     15522: LIBS="-ldl  $LIBS"
1.150     moko     15523: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15524: /* end confdefs.h.  */
                   15525: 
1.150     moko     15526: /* Override any GCC internal prototype to avoid an error.
                   15527:    Use char because int might match the return type of a GCC
1.237     moko     15528:    builtin and then its argument prototype would still apply.
                   15529:    The 'extern "C"' is for builds by C++ compilers;
                   15530:    although this is not generally supported in C code supporting it here
                   15531:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     15532: #ifdef __cplusplus
                   15533: extern "C"
                   15534: #endif
1.237     moko     15535: char dlopen (void);
1.128     moko     15536: int
1.237     moko     15537: main (void)
1.128     moko     15538: {
1.150     moko     15539: return dlopen ();
1.128     moko     15540:   ;
                   15541:   return 0;
                   15542: }
                   15543: _ACEOF
1.237     moko     15544: if ac_fn_c_try_link "$LINENO"
                   15545: then :
1.128     moko     15546:   ac_cv_lib_dl_dlopen=yes
1.237     moko     15547: else case e in #(
                   15548:   e) ac_cv_lib_dl_dlopen=no ;;
                   15549: esac
1.128     moko     15550: fi
1.237     moko     15551: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     15552:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     15553: LIBS=$ac_check_lib_save_LIBS ;;
                   15554: esac
1.128     moko     15555: fi
1.237     moko     15556: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   15557: printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
                   15558: if test "x$ac_cv_lib_dl_dlopen" = xyes
                   15559: then :
                   15560:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
                   15561: else case e in #(
                   15562:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   15563: printf %s "checking for dlopen in -lsvld... " >&6; }
                   15564: if test ${ac_cv_lib_svld_dlopen+y}
                   15565: then :
                   15566:   printf %s "(cached) " >&6
                   15567: else case e in #(
                   15568:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     15569: LIBS="-lsvld  $LIBS"
1.150     moko     15570: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15571: /* end confdefs.h.  */
                   15572: 
1.150     moko     15573: /* Override any GCC internal prototype to avoid an error.
                   15574:    Use char because int might match the return type of a GCC
1.237     moko     15575:    builtin and then its argument prototype would still apply.
                   15576:    The 'extern "C"' is for builds by C++ compilers;
                   15577:    although this is not generally supported in C code supporting it here
                   15578:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     15579: #ifdef __cplusplus
                   15580: extern "C"
                   15581: #endif
1.237     moko     15582: char dlopen (void);
1.128     moko     15583: int
1.237     moko     15584: main (void)
1.128     moko     15585: {
1.150     moko     15586: return dlopen ();
1.128     moko     15587:   ;
                   15588:   return 0;
                   15589: }
                   15590: _ACEOF
1.237     moko     15591: if ac_fn_c_try_link "$LINENO"
                   15592: then :
1.128     moko     15593:   ac_cv_lib_svld_dlopen=yes
1.237     moko     15594: else case e in #(
                   15595:   e) ac_cv_lib_svld_dlopen=no ;;
                   15596: esac
1.128     moko     15597: fi
1.237     moko     15598: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     15599:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     15600: LIBS=$ac_check_lib_save_LIBS ;;
                   15601: esac
1.128     moko     15602: fi
1.237     moko     15603: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   15604: printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
                   15605: if test "x$ac_cv_lib_svld_dlopen" = xyes
                   15606: then :
                   15607:   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
                   15608: else case e in #(
                   15609:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   15610: printf %s "checking for dld_link in -ldld... " >&6; }
                   15611: if test ${ac_cv_lib_dld_dld_link+y}
                   15612: then :
                   15613:   printf %s "(cached) " >&6
                   15614: else case e in #(
                   15615:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     15616: LIBS="-ldld  $LIBS"
1.150     moko     15617: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15618: /* end confdefs.h.  */
                   15619: 
1.150     moko     15620: /* Override any GCC internal prototype to avoid an error.
                   15621:    Use char because int might match the return type of a GCC
1.237     moko     15622:    builtin and then its argument prototype would still apply.
                   15623:    The 'extern "C"' is for builds by C++ compilers;
                   15624:    although this is not generally supported in C code supporting it here
                   15625:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     15626: #ifdef __cplusplus
                   15627: extern "C"
                   15628: #endif
1.237     moko     15629: char dld_link (void);
1.128     moko     15630: int
1.237     moko     15631: main (void)
1.128     moko     15632: {
1.150     moko     15633: return dld_link ();
1.128     moko     15634:   ;
                   15635:   return 0;
                   15636: }
                   15637: _ACEOF
1.237     moko     15638: if ac_fn_c_try_link "$LINENO"
                   15639: then :
1.128     moko     15640:   ac_cv_lib_dld_dld_link=yes
1.237     moko     15641: else case e in #(
                   15642:   e) ac_cv_lib_dld_dld_link=no ;;
                   15643: esac
1.150     moko     15644: fi
1.237     moko     15645: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     15646:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     15647: LIBS=$ac_check_lib_save_LIBS ;;
                   15648: esac
1.128     moko     15649: fi
1.237     moko     15650: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   15651: printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
                   15652: if test "x$ac_cv_lib_dld_dld_link" = xyes
                   15653: then :
                   15654:   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
1.128     moko     15655: fi
                   15656: 
1.237     moko     15657:               ;;
                   15658: esac
1.128     moko     15659: fi
                   15660: 
1.237     moko     15661:             ;;
                   15662: esac
1.128     moko     15663: fi
                   15664: 
1.237     moko     15665:           ;;
                   15666: esac
1.128     moko     15667: fi
                   15668: 
1.237     moko     15669:         ;;
                   15670: esac
1.128     moko     15671: fi
                   15672: 
1.237     moko     15673:        ;;
                   15674: esac
1.128     moko     15675: fi
                   15676: 
                   15677:     ;;
                   15678:   esac
                   15679: 
1.237     moko     15680:   if test no = "$lt_cv_dlopen"; then
                   15681:     enable_dlopen=no
                   15682:   else
1.128     moko     15683:     enable_dlopen=yes
                   15684:   fi
                   15685: 
                   15686:   case $lt_cv_dlopen in
                   15687:   dlopen)
1.237     moko     15688:     save_CPPFLAGS=$CPPFLAGS
                   15689:     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.128     moko     15690: 
1.237     moko     15691:     save_LDFLAGS=$LDFLAGS
1.128     moko     15692:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   15693: 
1.237     moko     15694:     save_LIBS=$LIBS
1.128     moko     15695:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   15696: 
1.237     moko     15697:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   15698: printf %s "checking whether a program can dlopen itself... " >&6; }
                   15699: if test ${lt_cv_dlopen_self+y}
                   15700: then :
                   15701:   printf %s "(cached) " >&6
                   15702: else case e in #(
                   15703:   e)     if test yes = "$cross_compiling"; then :
1.128     moko     15704:   lt_cv_dlopen_self=cross
                   15705: else
                   15706:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   15707:   lt_status=$lt_dlunknown
                   15708:   cat > conftest.$ac_ext <<_LT_EOF
                   15709: #line $LINENO "configure"
                   15710: #include "confdefs.h"
                   15711: 
                   15712: #if HAVE_DLFCN_H
                   15713: #include <dlfcn.h>
                   15714: #endif
                   15715: 
                   15716: #include <stdio.h>
                   15717: 
                   15718: #ifdef RTLD_GLOBAL
                   15719: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   15720: #else
                   15721: #  ifdef DL_GLOBAL
                   15722: #    define LT_DLGLOBAL                DL_GLOBAL
                   15723: #  else
                   15724: #    define LT_DLGLOBAL                0
                   15725: #  endif
                   15726: #endif
                   15727: 
                   15728: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   15729:    find out it does not work in some platform. */
                   15730: #ifndef LT_DLLAZY_OR_NOW
                   15731: #  ifdef RTLD_LAZY
                   15732: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   15733: #  else
                   15734: #    ifdef DL_LAZY
                   15735: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   15736: #    else
                   15737: #      ifdef RTLD_NOW
                   15738: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   15739: #      else
                   15740: #        ifdef DL_NOW
                   15741: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   15742: #        else
                   15743: #          define LT_DLLAZY_OR_NOW     0
                   15744: #        endif
                   15745: #      endif
                   15746: #    endif
                   15747: #  endif
                   15748: #endif
                   15749: 
1.237     moko     15750: /* When -fvisibility=hidden is used, assume the code has been annotated
1.128     moko     15751:    correspondingly for the symbols needed.  */
1.237     moko     15752: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   15753: int fnord (void) __attribute__((visibility("default")));
1.128     moko     15754: #endif
                   15755: 
1.237     moko     15756: int fnord (void) { return 42; }
                   15757: int main (void)
1.128     moko     15758: {
                   15759:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   15760:   int status = $lt_dlunknown;
                   15761: 
                   15762:   if (self)
                   15763:     {
                   15764:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   15765:       else
                   15766:         {
                   15767:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   15768:           else puts (dlerror ());
                   15769:        }
                   15770:       /* dlclose (self); */
                   15771:     }
                   15772:   else
                   15773:     puts (dlerror ());
                   15774: 
                   15775:   return status;
                   15776: }
                   15777: _LT_EOF
1.150     moko     15778:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     15779:   (eval $ac_link) 2>&5
                   15780:   ac_status=$?
1.237     moko     15781:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15782:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1.128     moko     15783:     (./conftest; exit; ) >&5 2>/dev/null
                   15784:     lt_status=$?
                   15785:     case x$lt_status in
                   15786:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   15787:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   15788:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   15789:     esac
                   15790:   else :
                   15791:     # compilation failed
                   15792:     lt_cv_dlopen_self=no
                   15793:   fi
                   15794: fi
                   15795: rm -fr conftest*
                   15796: 
1.237     moko     15797:      ;;
                   15798: esac
1.128     moko     15799: fi
1.237     moko     15800: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   15801: printf "%s\n" "$lt_cv_dlopen_self" >&6; }
1.128     moko     15802: 
1.237     moko     15803:     if test yes = "$lt_cv_dlopen_self"; then
1.128     moko     15804:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.237     moko     15805:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   15806: printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
                   15807: if test ${lt_cv_dlopen_self_static+y}
                   15808: then :
                   15809:   printf %s "(cached) " >&6
                   15810: else case e in #(
                   15811:   e)     if test yes = "$cross_compiling"; then :
1.128     moko     15812:   lt_cv_dlopen_self_static=cross
                   15813: else
                   15814:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   15815:   lt_status=$lt_dlunknown
                   15816:   cat > conftest.$ac_ext <<_LT_EOF
                   15817: #line $LINENO "configure"
                   15818: #include "confdefs.h"
                   15819: 
                   15820: #if HAVE_DLFCN_H
                   15821: #include <dlfcn.h>
                   15822: #endif
                   15823: 
                   15824: #include <stdio.h>
                   15825: 
                   15826: #ifdef RTLD_GLOBAL
                   15827: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   15828: #else
                   15829: #  ifdef DL_GLOBAL
                   15830: #    define LT_DLGLOBAL                DL_GLOBAL
                   15831: #  else
                   15832: #    define LT_DLGLOBAL                0
                   15833: #  endif
                   15834: #endif
                   15835: 
                   15836: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   15837:    find out it does not work in some platform. */
                   15838: #ifndef LT_DLLAZY_OR_NOW
                   15839: #  ifdef RTLD_LAZY
                   15840: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   15841: #  else
                   15842: #    ifdef DL_LAZY
                   15843: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   15844: #    else
                   15845: #      ifdef RTLD_NOW
                   15846: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   15847: #      else
                   15848: #        ifdef DL_NOW
                   15849: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   15850: #        else
                   15851: #          define LT_DLLAZY_OR_NOW     0
                   15852: #        endif
                   15853: #      endif
                   15854: #    endif
                   15855: #  endif
                   15856: #endif
                   15857: 
1.237     moko     15858: /* When -fvisibility=hidden is used, assume the code has been annotated
1.128     moko     15859:    correspondingly for the symbols needed.  */
1.237     moko     15860: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   15861: int fnord (void) __attribute__((visibility("default")));
1.128     moko     15862: #endif
                   15863: 
1.237     moko     15864: int fnord (void) { return 42; }
                   15865: int main (void)
1.128     moko     15866: {
                   15867:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   15868:   int status = $lt_dlunknown;
                   15869: 
                   15870:   if (self)
                   15871:     {
                   15872:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   15873:       else
                   15874:         {
                   15875:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   15876:           else puts (dlerror ());
                   15877:        }
                   15878:       /* dlclose (self); */
                   15879:     }
                   15880:   else
                   15881:     puts (dlerror ());
                   15882: 
                   15883:   return status;
                   15884: }
                   15885: _LT_EOF
1.150     moko     15886:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     15887:   (eval $ac_link) 2>&5
                   15888:   ac_status=$?
1.237     moko     15889:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15890:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
1.128     moko     15891:     (./conftest; exit; ) >&5 2>/dev/null
                   15892:     lt_status=$?
                   15893:     case x$lt_status in
                   15894:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   15895:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   15896:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   15897:     esac
                   15898:   else :
                   15899:     # compilation failed
                   15900:     lt_cv_dlopen_self_static=no
                   15901:   fi
                   15902: fi
                   15903: rm -fr conftest*
                   15904: 
1.237     moko     15905:        ;;
                   15906: esac
1.128     moko     15907: fi
1.237     moko     15908: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   15909: printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     15910:     fi
                   15911: 
1.237     moko     15912:     CPPFLAGS=$save_CPPFLAGS
                   15913:     LDFLAGS=$save_LDFLAGS
                   15914:     LIBS=$save_LIBS
1.128     moko     15915:     ;;
                   15916:   esac
                   15917: 
                   15918:   case $lt_cv_dlopen_self in
                   15919:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   15920:   *) enable_dlopen_self=unknown ;;
                   15921:   esac
                   15922: 
                   15923:   case $lt_cv_dlopen_self_static in
                   15924:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   15925:   *) enable_dlopen_self_static=unknown ;;
                   15926:   esac
                   15927: fi
                   15928: 
                   15929: 
                   15930: 
                   15931: 
                   15932: 
                   15933: 
                   15934: 
                   15935: 
                   15936: 
                   15937: 
                   15938: 
                   15939: 
                   15940: 
                   15941: 
                   15942: 
                   15943: 
                   15944: 
                   15945: striplib=
                   15946: old_striplib=
1.237     moko     15947: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   15948: printf %s "checking whether stripping libraries is possible... " >&6; }
                   15949: if test -z "$STRIP"; then
                   15950:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   15951: printf "%s\n" "no" >&6; }
                   15952: else
                   15953:   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   15954:     old_striplib="$STRIP --strip-debug"
                   15955:     striplib="$STRIP --strip-unneeded"
                   15956:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   15957: printf "%s\n" "yes" >&6; }
                   15958:   else
                   15959:     case $host_os in
                   15960:     darwin*)
                   15961:       # FIXME - insert some real tests, host_os isn't really good enough
1.128     moko     15962:       striplib="$STRIP -x"
                   15963:       old_striplib="$STRIP -S"
1.237     moko     15964:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   15965: printf "%s\n" "yes" >&6; }
                   15966:       ;;
                   15967:     freebsd*)
                   15968:       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
                   15969:         old_striplib="$STRIP --strip-debug"
                   15970:         striplib="$STRIP --strip-unneeded"
                   15971:         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   15972: printf "%s\n" "yes" >&6; }
                   15973:       else
                   15974:         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   15975: printf "%s\n" "no" >&6; }
                   15976:       fi
                   15977:       ;;
                   15978:     *)
                   15979:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   15980: printf "%s\n" "no" >&6; }
                   15981:       ;;
                   15982:     esac
                   15983:   fi
1.128     moko     15984: fi
                   15985: 
                   15986: 
                   15987: 
                   15988: 
                   15989: 
                   15990: 
                   15991: 
                   15992: 
                   15993: 
                   15994: 
                   15995: 
                   15996: 
1.237     moko     15997:   # Report what library types will actually be built
                   15998:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   15999: printf %s "checking if libtool supports shared libraries... " >&6; }
                   16000:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   16001: printf "%s\n" "$can_build_shared" >&6; }
                   16002: 
                   16003:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   16004: printf %s "checking whether to build shared libraries... " >&6; }
                   16005:   test no = "$can_build_shared" && enable_shared=no
1.128     moko     16006: 
                   16007:   # On AIX, shared libraries and static libraries use the same namespace, and
                   16008:   # are all built from PIC.
                   16009:   case $host_os in
                   16010:   aix3*)
1.237     moko     16011:     test yes = "$enable_shared" && enable_static=no
1.128     moko     16012:     if test -n "$RANLIB"; then
                   16013:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   16014:       postinstall_cmds='$RANLIB $lib'
                   16015:     fi
                   16016:     ;;
                   16017: 
                   16018:   aix[4-9]*)
1.237     moko     16019:     if test ia64 != "$host_cpu"; then
                   16020:       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
                   16021:       yes,aix,yes) ;;                  # shared object as lib.so file only
                   16022:       yes,svr4,*) ;;                   # shared object as lib.so archive member only
                   16023:       yes,*) enable_static=no ;;       # shared object in lib.a archive as well
                   16024:       esac
1.128     moko     16025:     fi
                   16026:     ;;
                   16027:   esac
1.237     moko     16028:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   16029: printf "%s\n" "$enable_shared" >&6; }
1.128     moko     16030: 
1.237     moko     16031:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   16032: printf %s "checking whether to build static libraries... " >&6; }
1.128     moko     16033:   # Make sure either enable_shared or enable_static is yes.
1.237     moko     16034:   test yes = "$enable_shared" || enable_static=yes
                   16035:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   16036: printf "%s\n" "$enable_static" >&6; }
1.128     moko     16037: 
                   16038: 
                   16039: 
                   16040: 
                   16041: fi
                   16042: ac_ext=c
                   16043: ac_cpp='$CPP $CPPFLAGS'
                   16044: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16045: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16046: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16047: 
1.237     moko     16048: CC=$lt_save_CC
1.128     moko     16049: 
1.237     moko     16050:       if test -n "$CXX" && ( test no != "$CXX" &&
                   16051:     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
                   16052:     (test g++ != "$CXX"))); then
1.150     moko     16053:   ac_ext=cpp
1.128     moko     16054: ac_cpp='$CXXCPP $CPPFLAGS'
                   16055: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16056: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16057: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.237     moko     16058: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   16059: printf %s "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     16060: if test -z "$CXXCPP"; then
1.237     moko     16061:   if test ${ac_cv_prog_CXXCPP+y}
                   16062: then :
                   16063:   printf %s "(cached) " >&6
                   16064: else case e in #(
                   16065:   e)     # Double quotes because $CXX needs to be expanded
                   16066:     for CXXCPP in "$CXX -E" cpp /lib/cpp
1.128     moko     16067:     do
                   16068:       ac_preproc_ok=false
                   16069: for ac_cxx_preproc_warn_flag in '' yes
                   16070: do
                   16071:   # Use a header file that comes with gcc, so configuring glibc
                   16072:   # with a fresh cross-compiler works.
                   16073:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   16074:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     16075:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16076: /* end confdefs.h.  */
1.237     moko     16077: #include <limits.h>
1.128     moko     16078:                     Syntax error
                   16079: _ACEOF
1.237     moko     16080: if ac_fn_cxx_try_cpp "$LINENO"
                   16081: then :
1.150     moko     16082: 
1.237     moko     16083: else case e in #(
                   16084:   e) # Broken: fails on valid input.
                   16085: continue ;;
                   16086: esac
1.128     moko     16087: fi
1.150     moko     16088: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     16089: 
1.150     moko     16090:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     16091:   # can be detected and how.
1.150     moko     16092:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16093: /* end confdefs.h.  */
                   16094: #include <ac_nonexistent.h>
                   16095: _ACEOF
1.237     moko     16096: if ac_fn_cxx_try_cpp "$LINENO"
                   16097: then :
1.128     moko     16098:   # Broken: success on invalid input.
                   16099: continue
1.237     moko     16100: else case e in #(
                   16101:   e) # Passes both tests.
1.128     moko     16102: ac_preproc_ok=:
1.237     moko     16103: break ;;
                   16104: esac
1.128     moko     16105: fi
1.150     moko     16106: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     16107: 
                   16108: done
1.237     moko     16109: # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     16110: rm -f conftest.i conftest.err conftest.$ac_ext
1.237     moko     16111: if $ac_preproc_ok
                   16112: then :
1.128     moko     16113:   break
                   16114: fi
                   16115: 
                   16116:     done
                   16117:     ac_cv_prog_CXXCPP=$CXXCPP
1.237     moko     16118:    ;;
                   16119: esac
1.128     moko     16120: fi
                   16121:   CXXCPP=$ac_cv_prog_CXXCPP
                   16122: else
                   16123:   ac_cv_prog_CXXCPP=$CXXCPP
                   16124: fi
1.237     moko     16125: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   16126: printf "%s\n" "$CXXCPP" >&6; }
1.128     moko     16127: ac_preproc_ok=false
                   16128: for ac_cxx_preproc_warn_flag in '' yes
                   16129: do
                   16130:   # Use a header file that comes with gcc, so configuring glibc
                   16131:   # with a fresh cross-compiler works.
                   16132:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   16133:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     16134:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16135: /* end confdefs.h.  */
1.237     moko     16136: #include <limits.h>
1.128     moko     16137:                     Syntax error
                   16138: _ACEOF
1.237     moko     16139: if ac_fn_cxx_try_cpp "$LINENO"
                   16140: then :
1.150     moko     16141: 
1.237     moko     16142: else case e in #(
                   16143:   e) # Broken: fails on valid input.
                   16144: continue ;;
                   16145: esac
1.128     moko     16146: fi
1.150     moko     16147: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     16148: 
1.150     moko     16149:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     16150:   # can be detected and how.
1.150     moko     16151:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16152: /* end confdefs.h.  */
                   16153: #include <ac_nonexistent.h>
                   16154: _ACEOF
1.237     moko     16155: if ac_fn_cxx_try_cpp "$LINENO"
                   16156: then :
1.128     moko     16157:   # Broken: success on invalid input.
                   16158: continue
1.237     moko     16159: else case e in #(
                   16160:   e) # Passes both tests.
1.128     moko     16161: ac_preproc_ok=:
1.237     moko     16162: break ;;
                   16163: esac
1.128     moko     16164: fi
1.150     moko     16165: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     16166: 
                   16167: done
1.237     moko     16168: # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     16169: rm -f conftest.i conftest.err conftest.$ac_ext
1.237     moko     16170: if $ac_preproc_ok
                   16171: then :
1.150     moko     16172: 
1.237     moko     16173: else case e in #(
                   16174:   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   16175: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.150     moko     16176: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
1.237     moko     16177: See 'config.log' for more details" "$LINENO" 5; } ;;
                   16178: esac
1.128     moko     16179: fi
                   16180: 
                   16181: ac_ext=c
                   16182: ac_cpp='$CPP $CPPFLAGS'
                   16183: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16184: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16185: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16186: 
                   16187: else
                   16188:   _lt_caught_CXX_error=yes
                   16189: fi
                   16190: 
1.150     moko     16191: ac_ext=cpp
1.128     moko     16192: ac_cpp='$CXXCPP $CPPFLAGS'
                   16193: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16194: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16195: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   16196: 
                   16197: archive_cmds_need_lc_CXX=no
                   16198: allow_undefined_flag_CXX=
                   16199: always_export_symbols_CXX=no
                   16200: archive_expsym_cmds_CXX=
                   16201: compiler_needs_object_CXX=no
                   16202: export_dynamic_flag_spec_CXX=
                   16203: hardcode_direct_CXX=no
                   16204: hardcode_direct_absolute_CXX=no
                   16205: hardcode_libdir_flag_spec_CXX=
                   16206: hardcode_libdir_separator_CXX=
                   16207: hardcode_minus_L_CXX=no
                   16208: hardcode_shlibpath_var_CXX=unsupported
                   16209: hardcode_automatic_CXX=no
                   16210: inherit_rpath_CXX=no
                   16211: module_cmds_CXX=
                   16212: module_expsym_cmds_CXX=
                   16213: link_all_deplibs_CXX=unknown
                   16214: old_archive_cmds_CXX=$old_archive_cmds
                   16215: reload_flag_CXX=$reload_flag
                   16216: reload_cmds_CXX=$reload_cmds
                   16217: no_undefined_flag_CXX=
                   16218: whole_archive_flag_spec_CXX=
                   16219: enable_shared_with_static_runtimes_CXX=no
                   16220: 
                   16221: # Source file extension for C++ test sources.
                   16222: ac_ext=cpp
                   16223: 
                   16224: # Object file extension for compiled C++ test sources.
                   16225: objext=o
                   16226: objext_CXX=$objext
                   16227: 
                   16228: # No sense in running all these tests if we already determined that
                   16229: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   16230: # are currently assumed to apply to all compilers on this platform,
                   16231: # and will be corrupted by setting them based on a non-working compiler.
1.237     moko     16232: if test yes != "$_lt_caught_CXX_error"; then
1.128     moko     16233:   # Code to be used in simple compile tests
                   16234:   lt_simple_compile_test_code="int some_variable = 0;"
                   16235: 
                   16236:   # Code to be used in simple link tests
                   16237:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   16238: 
                   16239:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   16240: 
                   16241: 
                   16242: 
                   16243: 
                   16244: 
                   16245: 
                   16246: # If no C compiler was specified, use CC.
                   16247: LTCC=${LTCC-"$CC"}
                   16248: 
                   16249: # If no C compiler flags were specified, use CFLAGS.
                   16250: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   16251: 
                   16252: # Allow CC to be a program name with arguments.
                   16253: compiler=$CC
                   16254: 
                   16255: 
                   16256:   # save warnings/boilerplate of simple test code
                   16257:   ac_outfile=conftest.$ac_objext
                   16258: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   16259: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   16260: _lt_compiler_boilerplate=`cat conftest.err`
                   16261: $RM conftest*
                   16262: 
                   16263:   ac_outfile=conftest.$ac_objext
                   16264: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   16265: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   16266: _lt_linker_boilerplate=`cat conftest.err`
                   16267: $RM -r conftest*
                   16268: 
                   16269: 
                   16270:   # Allow CC to be a program name with arguments.
                   16271:   lt_save_CC=$CC
                   16272:   lt_save_CFLAGS=$CFLAGS
                   16273:   lt_save_LD=$LD
                   16274:   lt_save_GCC=$GCC
                   16275:   GCC=$GXX
                   16276:   lt_save_with_gnu_ld=$with_gnu_ld
                   16277:   lt_save_path_LD=$lt_cv_path_LD
                   16278:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   16279:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   16280:   else
                   16281:     $as_unset lt_cv_prog_gnu_ld
                   16282:   fi
                   16283:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   16284:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   16285:   else
                   16286:     $as_unset lt_cv_path_LD
                   16287:   fi
                   16288:   test -z "${LDCXX+set}" || LD=$LDCXX
                   16289:   CC=${CXX-"c++"}
                   16290:   CFLAGS=$CXXFLAGS
                   16291:   compiler=$CC
                   16292:   compiler_CXX=$CC
1.237     moko     16293:   func_cc_basename $compiler
                   16294: cc_basename=$func_cc_basename_result
1.128     moko     16295: 
                   16296: 
                   16297:   if test -n "$compiler"; then
                   16298:     # We don't want -fno-exception when compiling C++ code, so set the
                   16299:     # no_builtin_flag separately
1.237     moko     16300:     if test yes = "$GXX"; then
1.128     moko     16301:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   16302:     else
                   16303:       lt_prog_compiler_no_builtin_flag_CXX=
                   16304:     fi
                   16305: 
1.237     moko     16306:     if test yes = "$GXX"; then
1.128     moko     16307:       # Set up default GNU C++ configuration
                   16308: 
                   16309: 
                   16310: 
1.150     moko     16311: # Check whether --with-gnu-ld was given.
1.237     moko     16312: if test ${with_gnu_ld+y}
                   16313: then :
                   16314:   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
                   16315: else case e in #(
                   16316:   e) with_gnu_ld=no ;;
                   16317: esac
1.150     moko     16318: fi
                   16319: 
1.128     moko     16320: ac_prog=ld
1.237     moko     16321: if test yes = "$GCC"; then
1.128     moko     16322:   # Check if gcc -print-prog-name=ld gives a path.
1.237     moko     16323:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   16324: printf %s "checking for ld used by $CC... " >&6; }
1.128     moko     16325:   case $host in
1.237     moko     16326:   *-*-mingw* | *-*-windows*)
                   16327:     # gcc leaves a trailing carriage return, which upsets mingw
1.128     moko     16328:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   16329:   *)
                   16330:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   16331:   esac
                   16332:   case $ac_prog in
                   16333:     # Accept absolute paths.
                   16334:     [\\/]* | ?:[\\/]*)
                   16335:       re_direlt='/[^/][^/]*/\.\./'
                   16336:       # Canonicalize the pathname of ld
                   16337:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   16338:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   16339:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   16340:       done
1.237     moko     16341:       test -z "$LD" && LD=$ac_prog
1.128     moko     16342:       ;;
                   16343:   "")
                   16344:     # If it fails, then pretend we aren't using GCC.
                   16345:     ac_prog=ld
                   16346:     ;;
                   16347:   *)
                   16348:     # If it is relative, then search for the first ld in PATH.
                   16349:     with_gnu_ld=unknown
                   16350:     ;;
                   16351:   esac
1.237     moko     16352: elif test yes = "$with_gnu_ld"; then
                   16353:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   16354: printf %s "checking for GNU ld... " >&6; }
                   16355: else
                   16356:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   16357: printf %s "checking for non-GNU ld... " >&6; }
                   16358: fi
                   16359: if test ${lt_cv_path_LD+y}
                   16360: then :
                   16361:   printf %s "(cached) " >&6
                   16362: else case e in #(
                   16363:   e) if test -z "$LD"; then
                   16364:   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     16365:   for ac_dir in $PATH; do
1.237     moko     16366:     IFS=$lt_save_ifs
1.128     moko     16367:     test -z "$ac_dir" && ac_dir=.
                   16368:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.237     moko     16369:       lt_cv_path_LD=$ac_dir/$ac_prog
1.128     moko     16370:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   16371:       # but apparently some variants of GNU ld only accept -v.
                   16372:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   16373:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   16374:       *GNU* | *'with BFD'*)
1.237     moko     16375:        test no != "$with_gnu_ld" && break
1.128     moko     16376:        ;;
                   16377:       *)
1.237     moko     16378:        test yes != "$with_gnu_ld" && break
1.128     moko     16379:        ;;
                   16380:       esac
                   16381:     fi
                   16382:   done
1.237     moko     16383:   IFS=$lt_save_ifs
1.128     moko     16384: else
1.237     moko     16385:   lt_cv_path_LD=$LD # Let the user override the test with a path.
                   16386: fi ;;
                   16387: esac
1.128     moko     16388: fi
                   16389: 
1.237     moko     16390: LD=$lt_cv_path_LD
1.128     moko     16391: if test -n "$LD"; then
1.237     moko     16392:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   16393: printf "%s\n" "$LD" >&6; }
1.128     moko     16394: else
1.237     moko     16395:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   16396: printf "%s\n" "no" >&6; }
1.128     moko     16397: fi
1.150     moko     16398: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
1.237     moko     16399: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   16400: printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
                   16401: if test ${lt_cv_prog_gnu_ld+y}
                   16402: then :
                   16403:   printf %s "(cached) " >&6
                   16404: else case e in #(
                   16405:   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
1.128     moko     16406: case `$LD -v 2>&1 </dev/null` in
                   16407: *GNU* | *'with BFD'*)
                   16408:   lt_cv_prog_gnu_ld=yes
                   16409:   ;;
                   16410: *)
                   16411:   lt_cv_prog_gnu_ld=no
                   16412:   ;;
1.237     moko     16413: esac ;;
1.128     moko     16414: esac
                   16415: fi
1.237     moko     16416: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   16417: printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     16418: with_gnu_ld=$lt_cv_prog_gnu_ld
                   16419: 
                   16420: 
                   16421: 
                   16422: 
                   16423: 
                   16424: 
                   16425: 
                   16426:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   16427:       # archiving commands below assume that GNU ld is being used.
1.237     moko     16428:       if test yes = "$with_gnu_ld"; then
                   16429:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
                   16430:         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     16431: 
1.237     moko     16432:         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
                   16433:         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
1.128     moko     16434: 
                   16435:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   16436:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   16437:         #     investigate it a little bit more. (MM)
1.237     moko     16438:         wlarc='$wl'
1.128     moko     16439: 
                   16440:         # ancient GNU ld didn't support --whole-archive et. al.
1.237     moko     16441:         if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   16442:           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
1.128     moko     16443:         else
                   16444:           whole_archive_flag_spec_CXX=
                   16445:         fi
                   16446:       else
                   16447:         with_gnu_ld=no
                   16448:         wlarc=
                   16449: 
                   16450:         # A generic and very simple default shared library creation
                   16451:         # command for GNU C++ for the case where it uses the native
                   16452:         # linker, instead of GNU ld.  If possible, this setting should
                   16453:         # overridden to take advantage of the native linker features on
                   16454:         # the platform it is being used on.
                   16455:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   16456:       fi
                   16457: 
                   16458:       # Commands to make compiler produce verbose output that lists
                   16459:       # what "hidden" libraries, object files and flags are used when
                   16460:       # linking a shared library.
1.237     moko     16461:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
1.128     moko     16462: 
                   16463:     else
                   16464:       GXX=no
                   16465:       with_gnu_ld=no
                   16466:       wlarc=
                   16467:     fi
                   16468: 
                   16469:     # PORTME: fill in a description of your system's C++ link characteristics
1.237     moko     16470:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   16471: printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     16472:     ld_shlibs_CXX=yes
                   16473:     case $host_os in
                   16474:       aix3*)
                   16475:         # FIXME: insert proper C++ library support
                   16476:         ld_shlibs_CXX=no
                   16477:         ;;
                   16478:       aix[4-9]*)
1.237     moko     16479:         if test ia64 = "$host_cpu"; then
1.128     moko     16480:           # On IA64, the linker does run time linking by default, so we don't
                   16481:           # have to do anything special.
                   16482:           aix_use_runtimelinking=no
                   16483:           exp_sym_flag='-Bexport'
1.237     moko     16484:           no_entry_flag=
1.128     moko     16485:         else
                   16486:           aix_use_runtimelinking=no
                   16487: 
                   16488:           # Test if we are trying to use run time linking or normal
                   16489:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
1.237     moko     16490:           # have runtime linking enabled, and use it for executables.
                   16491:           # For shared libraries, we enable/disable runtime linking
                   16492:           # depending on the kind of the shared library created -
                   16493:           # when "with_aix_soname,aix_use_runtimelinking" is:
                   16494:           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
                   16495:           # "aix,yes"  lib.so          shared, rtl:yes, for executables
                   16496:           #            lib.a           static archive
                   16497:           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
                   16498:           #            lib.a(lib.so.V) shared, rtl:no,  for executables
                   16499:           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
                   16500:           #            lib.a(lib.so.V) shared, rtl:no
                   16501:           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
                   16502:           #            lib.a           static archive
1.128     moko     16503:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   16504:            for ld_flag in $LDFLAGS; do
                   16505:              case $ld_flag in
                   16506:              *-brtl*)
                   16507:                aix_use_runtimelinking=yes
                   16508:                break
                   16509:                ;;
                   16510:              esac
                   16511:            done
1.237     moko     16512:            if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
                   16513:              # With aix-soname=svr4, we create the lib.so.V shared archives only,
                   16514:              # so we don't have lib.a shared libs to link our executables.
                   16515:              # We have to force runtime linking in this case.
                   16516:              aix_use_runtimelinking=yes
                   16517:              LDFLAGS="$LDFLAGS -Wl,-brtl"
                   16518:            fi
1.128     moko     16519:            ;;
                   16520:           esac
                   16521: 
                   16522:           exp_sym_flag='-bexport'
                   16523:           no_entry_flag='-bnoentry'
                   16524:         fi
                   16525: 
                   16526:         # When large executables or shared objects are built, AIX ld can
                   16527:         # have problems creating the table of contents.  If linking a library
                   16528:         # or program results in "error TOC overflow" add -mminimal-toc to
                   16529:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   16530:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   16531: 
                   16532:         archive_cmds_CXX=''
                   16533:         hardcode_direct_CXX=yes
                   16534:         hardcode_direct_absolute_CXX=yes
                   16535:         hardcode_libdir_separator_CXX=':'
                   16536:         link_all_deplibs_CXX=yes
1.237     moko     16537:         file_list_spec_CXX='$wl-f,'
                   16538:         case $with_aix_soname,$aix_use_runtimelinking in
                   16539:         aix,*) ;;      # no import file
                   16540:         svr4,* | *,yes) # use import file
                   16541:           # The Import File defines what to hardcode.
                   16542:           hardcode_direct_CXX=no
                   16543:           hardcode_direct_absolute_CXX=no
                   16544:           ;;
                   16545:         esac
1.128     moko     16546: 
1.237     moko     16547:         if test yes = "$GXX"; then
1.128     moko     16548:           case $host_os in aix4.[012]|aix4.[012].*)
                   16549:           # We only want to do this on AIX 4.2 and lower, the check
                   16550:           # below for broken collect2 doesn't work under 4.3+
1.237     moko     16551:          collect2name=`$CC -print-prog-name=collect2`
1.128     moko     16552:          if test -f "$collect2name" &&
                   16553:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   16554:          then
                   16555:            # We have reworked collect2
                   16556:            :
                   16557:          else
                   16558:            # We have old collect2
                   16559:            hardcode_direct_CXX=unsupported
                   16560:            # It fails to find uninstalled libraries when the uninstalled
                   16561:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   16562:            # to unsupported forces relinking
                   16563:            hardcode_minus_L_CXX=yes
                   16564:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   16565:            hardcode_libdir_separator_CXX=
                   16566:          fi
                   16567:           esac
                   16568:           shared_flag='-shared'
1.237     moko     16569:          if test yes = "$aix_use_runtimelinking"; then
                   16570:            shared_flag=$shared_flag' $wl-G'
1.128     moko     16571:          fi
1.237     moko     16572:          # Need to ensure runtime linking is disabled for the traditional
                   16573:          # shared library, or the linker may eventually find shared libraries
                   16574:          # /with/ Import File - we do not want to mix them.
                   16575:          shared_flag_aix='-shared'
                   16576:          shared_flag_svr4='-shared $wl-G'
1.128     moko     16577:         else
                   16578:           # not using gcc
1.237     moko     16579:           if test ia64 = "$host_cpu"; then
1.128     moko     16580:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   16581:          # chokes on -Wl,-G. The following line is correct:
                   16582:          shared_flag='-G'
                   16583:           else
1.237     moko     16584:            if test yes = "$aix_use_runtimelinking"; then
                   16585:              shared_flag='$wl-G'
1.128     moko     16586:            else
1.237     moko     16587:              shared_flag='$wl-bM:SRE'
1.128     moko     16588:            fi
1.237     moko     16589:            shared_flag_aix='$wl-bM:SRE'
                   16590:            shared_flag_svr4='$wl-G'
1.128     moko     16591:           fi
                   16592:         fi
                   16593: 
1.237     moko     16594:         export_dynamic_flag_spec_CXX='$wl-bexpall'
1.128     moko     16595:         # It seems that -bexpall does not export symbols beginning with
                   16596:         # underscore (_), so it is better to generate a list of symbols to
                   16597:        # export.
                   16598:         always_export_symbols_CXX=yes
1.237     moko     16599:        if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
1.128     moko     16600:           # Warning - without using the other runtime loading flags (-brtl),
                   16601:           # -berok will link without error, but may produce a broken library.
1.237     moko     16602:           # The "-G" linker flag allows undefined symbols.
                   16603:           no_undefined_flag_CXX='-bernotok'
1.128     moko     16604:           # Determine the default libpath from the value encoded in an empty
                   16605:           # executable.
1.237     moko     16606:           if test set = "${lt_cv_aix_libpath+set}"; then
1.128     moko     16607:   aix_libpath=$lt_cv_aix_libpath
                   16608: else
1.237     moko     16609:   if test ${lt_cv_aix_libpath__CXX+y}
                   16610: then :
                   16611:   printf %s "(cached) " >&6
                   16612: else case e in #(
                   16613:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16614: /* end confdefs.h.  */
                   16615: 
                   16616: int
1.237     moko     16617: main (void)
1.128     moko     16618: {
                   16619: 
                   16620:   ;
                   16621:   return 0;
                   16622: }
                   16623: _ACEOF
1.237     moko     16624: if ac_fn_cxx_try_link "$LINENO"
                   16625: then :
1.128     moko     16626: 
                   16627:   lt_aix_libpath_sed='
                   16628:       /Import File Strings/,/^$/ {
                   16629:          /^0/ {
                   16630:              s/^0  *\([^ ]*\) *$/\1/
                   16631:              p
                   16632:          }
                   16633:       }'
                   16634:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   16635:   # Check for a 64-bit object if we didn't find anything.
                   16636:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   16637:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   16638:   fi
                   16639: fi
1.237     moko     16640: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     16641:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16642:   if test -z "$lt_cv_aix_libpath__CXX"; then
1.237     moko     16643:     lt_cv_aix_libpath__CXX=/usr/lib:/lib
1.128     moko     16644:   fi
1.237     moko     16645:    ;;
                   16646: esac
1.128     moko     16647: fi
                   16648: 
                   16649:   aix_libpath=$lt_cv_aix_libpath__CXX
                   16650: fi
                   16651: 
1.237     moko     16652:           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
1.128     moko     16653: 
1.237     moko     16654:           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     16655:         else
1.237     moko     16656:           if test ia64 = "$host_cpu"; then
                   16657:            hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
1.128     moko     16658:            allow_undefined_flag_CXX="-z nodefs"
1.237     moko     16659:            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     16660:           else
                   16661:            # Determine the default libpath from the value encoded in an
                   16662:            # empty executable.
1.237     moko     16663:            if test set = "${lt_cv_aix_libpath+set}"; then
1.128     moko     16664:   aix_libpath=$lt_cv_aix_libpath
                   16665: else
1.237     moko     16666:   if test ${lt_cv_aix_libpath__CXX+y}
                   16667: then :
                   16668:   printf %s "(cached) " >&6
                   16669: else case e in #(
                   16670:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16671: /* end confdefs.h.  */
                   16672: 
                   16673: int
1.237     moko     16674: main (void)
1.128     moko     16675: {
                   16676: 
                   16677:   ;
                   16678:   return 0;
                   16679: }
                   16680: _ACEOF
1.237     moko     16681: if ac_fn_cxx_try_link "$LINENO"
                   16682: then :
1.128     moko     16683: 
                   16684:   lt_aix_libpath_sed='
                   16685:       /Import File Strings/,/^$/ {
                   16686:          /^0/ {
                   16687:              s/^0  *\([^ ]*\) *$/\1/
                   16688:              p
                   16689:          }
                   16690:       }'
                   16691:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   16692:   # Check for a 64-bit object if we didn't find anything.
                   16693:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   16694:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   16695:   fi
                   16696: fi
1.237     moko     16697: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     16698:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16699:   if test -z "$lt_cv_aix_libpath__CXX"; then
1.237     moko     16700:     lt_cv_aix_libpath__CXX=/usr/lib:/lib
1.128     moko     16701:   fi
1.237     moko     16702:    ;;
                   16703: esac
1.128     moko     16704: fi
                   16705: 
                   16706:   aix_libpath=$lt_cv_aix_libpath__CXX
                   16707: fi
                   16708: 
1.237     moko     16709:            hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
1.128     moko     16710:            # Warning - without using the other run time loading flags,
                   16711:            # -berok will link without error, but may produce a broken library.
1.237     moko     16712:            no_undefined_flag_CXX=' $wl-bernotok'
                   16713:            allow_undefined_flag_CXX=' $wl-berok'
                   16714:            if test yes = "$with_gnu_ld"; then
1.128     moko     16715:              # We only use this code for GNU lds that support --whole-archive.
1.237     moko     16716:              whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
1.128     moko     16717:            else
                   16718:              # Exported symbols can be pulled into shared objects from archives
                   16719:              whole_archive_flag_spec_CXX='$convenience'
                   16720:            fi
                   16721:            archive_cmds_need_lc_CXX=yes
1.237     moko     16722:            archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
                   16723:            # -brtl affects multiple linker settings, -berok does not and is overridden later
                   16724:            compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
                   16725:            if test svr4 != "$with_aix_soname"; then
                   16726:              # This is similar to how AIX traditionally builds its shared
                   16727:              # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
                   16728:              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'
                   16729:            fi
                   16730:            if test aix != "$with_aix_soname"; then
                   16731:              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'
                   16732:            else
                   16733:              # used by -dlpreopen to get the symbols
                   16734:              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
                   16735:            fi
                   16736:            archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
1.128     moko     16737:           fi
                   16738:         fi
                   16739:         ;;
                   16740: 
                   16741:       beos*)
                   16742:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   16743:          allow_undefined_flag_CXX=unsupported
                   16744:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   16745:          # support --undefined.  This deserves some investigation.  FIXME
1.237     moko     16746:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
1.128     moko     16747:        else
                   16748:          ld_shlibs_CXX=no
                   16749:        fi
                   16750:        ;;
                   16751: 
                   16752:       chorus*)
                   16753:         case $cc_basename in
                   16754:           *)
                   16755:          # FIXME: insert proper C++ library support
                   16756:          ld_shlibs_CXX=no
                   16757:          ;;
                   16758:         esac
                   16759:         ;;
                   16760: 
1.237     moko     16761:       cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     16762:        case $GXX,$cc_basename in
1.237     moko     16763:        ,cl* | no,cl* | ,icl* | no,icl*)
                   16764:          # Native MSVC or ICC
1.128     moko     16765:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   16766:          # no search path for DLLs.
                   16767:          hardcode_libdir_flag_spec_CXX=' '
                   16768:          allow_undefined_flag_CXX=unsupported
                   16769:          always_export_symbols_CXX=yes
                   16770:          file_list_spec_CXX='@'
                   16771:          # Tell ltmain to make .lib files, not .a files.
                   16772:          libext=lib
                   16773:          # Tell ltmain to make .dll files, not .so files.
1.237     moko     16774:          shrext_cmds=.dll
1.128     moko     16775:          # FIXME: Setting linknames here is a bad hack.
1.237     moko     16776:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
                   16777:          archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
                   16778:               cp "$export_symbols" "$output_objdir/$soname.def";
                   16779:               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
                   16780:             else
                   16781:               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
                   16782:             fi~
                   16783:             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   16784:             linknames='
1.128     moko     16785:          # The linker will not automatically build a static lib if we build a DLL.
                   16786:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   16787:          enable_shared_with_static_runtimes_CXX=yes
                   16788:          # Don't use ranlib
                   16789:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   16790:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
1.237     moko     16791:             lt_tool_outputfile="@TOOL_OUTPUT@"~
                   16792:             case $lt_outputfile in
                   16793:               *.exe|*.EXE) ;;
                   16794:               *)
                   16795:                 lt_outputfile=$lt_outputfile.exe
                   16796:                 lt_tool_outputfile=$lt_tool_outputfile.exe
                   16797:                 ;;
                   16798:             esac~
                   16799:             func_to_tool_file "$lt_outputfile"~
                   16800:             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
                   16801:               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   16802:               $RM "$lt_outputfile.manifest";
                   16803:             fi'
1.128     moko     16804:          ;;
                   16805:        *)
                   16806:          # g++
                   16807:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   16808:          # as there is no search path for DLLs.
                   16809:          hardcode_libdir_flag_spec_CXX='-L$libdir'
1.237     moko     16810:          export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
1.128     moko     16811:          allow_undefined_flag_CXX=unsupported
                   16812:          always_export_symbols_CXX=no
                   16813:          enable_shared_with_static_runtimes_CXX=yes
1.237     moko     16814:          file_list_spec_CXX='@'
1.128     moko     16815: 
                   16816:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1.237     moko     16817:            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'
                   16818:            # If the export-symbols file already is a .def file, use it as
                   16819:            # is; otherwise, prepend EXPORTS...
                   16820:            archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
                   16821:               cp $export_symbols $output_objdir/$soname.def;
                   16822:             else
                   16823:               echo EXPORTS > $output_objdir/$soname.def;
                   16824:               cat $export_symbols >> $output_objdir/$soname.def;
                   16825:             fi~
                   16826:             $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     16827:          else
                   16828:            ld_shlibs_CXX=no
                   16829:          fi
                   16830:          ;;
                   16831:        esac
                   16832:        ;;
                   16833:       darwin* | rhapsody*)
                   16834: 
                   16835: 
                   16836:   archive_cmds_need_lc_CXX=no
                   16837:   hardcode_direct_CXX=no
                   16838:   hardcode_automatic_CXX=yes
                   16839:   hardcode_shlibpath_var_CXX=unsupported
1.237     moko     16840:   if test yes = "$lt_cv_ld_force_load"; then
                   16841:     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     16842: 
                   16843:   else
                   16844:     whole_archive_flag_spec_CXX=''
                   16845:   fi
                   16846:   link_all_deplibs_CXX=yes
1.237     moko     16847:   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
1.128     moko     16848:   case $cc_basename in
1.237     moko     16849:      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
1.128     moko     16850:      *) _lt_dar_can_shared=$GCC ;;
                   16851:   esac
1.237     moko     16852:   if test yes = "$_lt_dar_can_shared"; then
1.128     moko     16853:     output_verbose_link_cmd=func_echo_all
1.237     moko     16854:     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"
                   16855:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
                   16856:     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"
                   16857:     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"
                   16858:        if test yes = "$_lt_dar_needs_single_mod" -a yes != "$lt_cv_apple_cc_single_mod"; then
                   16859:       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"
                   16860:       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     16861:     fi
                   16862: 
                   16863:   else
                   16864:   ld_shlibs_CXX=no
                   16865:   fi
                   16866: 
                   16867:        ;;
                   16868: 
1.237     moko     16869:       os2*)
                   16870:        hardcode_libdir_flag_spec_CXX='-L$libdir'
                   16871:        hardcode_minus_L_CXX=yes
                   16872:        allow_undefined_flag_CXX=unsupported
                   16873:        shrext_cmds=.dll
                   16874:        archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   16875:          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   16876:          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   16877:          $ECHO EXPORTS >> $output_objdir/$libname.def~
                   16878:          emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
                   16879:          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   16880:          emximp -o $lib $output_objdir/$libname.def'
                   16881:        archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
                   16882:          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
                   16883:          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
                   16884:          $ECHO EXPORTS >> $output_objdir/$libname.def~
                   16885:          prefix_cmds="$SED"~
                   16886:          if test EXPORTS = "`$SED 1q $export_symbols`"; then
                   16887:            prefix_cmds="$prefix_cmds -e 1d";
                   16888:          fi~
                   16889:          prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
                   16890:          cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
                   16891:          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
                   16892:          emximp -o $lib $output_objdir/$libname.def'
                   16893:        old_archive_from_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
                   16894:        enable_shared_with_static_runtimes_CXX=yes
                   16895:        file_list_spec_CXX='@'
                   16896:        ;;
                   16897: 
1.128     moko     16898:       dgux*)
                   16899:         case $cc_basename in
                   16900:           ec++*)
                   16901:            # FIXME: insert proper C++ library support
                   16902:            ld_shlibs_CXX=no
                   16903:            ;;
                   16904:           ghcx*)
                   16905:            # Green Hills C++ Compiler
                   16906:            # FIXME: insert proper C++ library support
                   16907:            ld_shlibs_CXX=no
                   16908:            ;;
                   16909:           *)
                   16910:            # FIXME: insert proper C++ library support
                   16911:            ld_shlibs_CXX=no
                   16912:            ;;
                   16913:         esac
                   16914:         ;;
                   16915: 
                   16916:       freebsd2.*)
                   16917:         # C++ shared libraries reported to be fairly broken before
                   16918:        # switch to ELF
                   16919:         ld_shlibs_CXX=no
                   16920:         ;;
                   16921: 
                   16922:       freebsd-elf*)
                   16923:         archive_cmds_need_lc_CXX=no
                   16924:         ;;
                   16925: 
1.237     moko     16926:       freebsd* | dragonfly* | midnightbsd*)
1.128     moko     16927:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   16928:         # conventions
                   16929:         ld_shlibs_CXX=yes
                   16930:         ;;
                   16931: 
                   16932:       haiku*)
1.237     moko     16933:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   16934:         link_all_deplibs_CXX=no
1.128     moko     16935:         ;;
                   16936: 
                   16937:       hpux9*)
1.237     moko     16938:         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
1.128     moko     16939:         hardcode_libdir_separator_CXX=:
1.237     moko     16940:         export_dynamic_flag_spec_CXX='$wl-E'
1.128     moko     16941:         hardcode_direct_CXX=yes
                   16942:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   16943:                                             # but as the default
                   16944:                                             # location of the library.
                   16945: 
                   16946:         case $cc_basename in
                   16947:           CC*)
                   16948:             # FIXME: insert proper C++ library support
                   16949:             ld_shlibs_CXX=no
                   16950:             ;;
                   16951:           aCC*)
1.237     moko     16952:             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     16953:             # Commands to make compiler produce verbose output that lists
                   16954:             # what "hidden" libraries, object files and flags are used when
                   16955:             # linking a shared library.
                   16956:             #
                   16957:             # There doesn't appear to be a way to prevent this compiler from
                   16958:             # explicitly linking system object files so we need to strip them
                   16959:             # from the output so that they don't get included in the library
                   16960:             # dependencies.
1.237     moko     16961:             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     16962:             ;;
                   16963:           *)
1.237     moko     16964:             if test yes = "$GXX"; then
                   16965:               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     16966:             else
                   16967:               # FIXME: insert proper C++ library support
                   16968:               ld_shlibs_CXX=no
                   16969:             fi
                   16970:             ;;
                   16971:         esac
                   16972:         ;;
                   16973: 
                   16974:       hpux10*|hpux11*)
1.237     moko     16975:         if test no = "$with_gnu_ld"; then
                   16976:          hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
1.128     moko     16977:          hardcode_libdir_separator_CXX=:
                   16978: 
                   16979:           case $host_cpu in
                   16980:             hppa*64*|ia64*)
                   16981:               ;;
                   16982:             *)
1.237     moko     16983:              export_dynamic_flag_spec_CXX='$wl-E'
1.128     moko     16984:               ;;
                   16985:           esac
                   16986:         fi
                   16987:         case $host_cpu in
                   16988:           hppa*64*|ia64*)
                   16989:             hardcode_direct_CXX=no
                   16990:             hardcode_shlibpath_var_CXX=no
                   16991:             ;;
                   16992:           *)
                   16993:             hardcode_direct_CXX=yes
                   16994:             hardcode_direct_absolute_CXX=yes
                   16995:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   16996:                                                 # but as the default
                   16997:                                                 # location of the library.
                   16998:             ;;
                   16999:         esac
                   17000: 
                   17001:         case $cc_basename in
                   17002:           CC*)
                   17003:            # FIXME: insert proper C++ library support
                   17004:            ld_shlibs_CXX=no
                   17005:            ;;
                   17006:           aCC*)
                   17007:            case $host_cpu in
                   17008:              hppa*64*)
1.237     moko     17009:                archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.128     moko     17010:                ;;
                   17011:              ia64*)
1.237     moko     17012:                archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.128     moko     17013:                ;;
                   17014:              *)
1.237     moko     17015:                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     17016:                ;;
                   17017:            esac
                   17018:            # Commands to make compiler produce verbose output that lists
                   17019:            # what "hidden" libraries, object files and flags are used when
                   17020:            # linking a shared library.
                   17021:            #
                   17022:            # There doesn't appear to be a way to prevent this compiler from
                   17023:            # explicitly linking system object files so we need to strip them
                   17024:            # from the output so that they don't get included in the library
                   17025:            # dependencies.
1.237     moko     17026:            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     17027:            ;;
                   17028:           *)
1.237     moko     17029:            if test yes = "$GXX"; then
                   17030:              if test no = "$with_gnu_ld"; then
1.128     moko     17031:                case $host_cpu in
                   17032:                  hppa*64*)
1.237     moko     17033:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.128     moko     17034:                    ;;
                   17035:                  ia64*)
1.237     moko     17036:                    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     17037:                    ;;
                   17038:                  *)
1.237     moko     17039:                    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     17040:                    ;;
                   17041:                esac
                   17042:              fi
                   17043:            else
                   17044:              # FIXME: insert proper C++ library support
                   17045:              ld_shlibs_CXX=no
                   17046:            fi
                   17047:            ;;
                   17048:         esac
                   17049:         ;;
                   17050: 
                   17051:       interix[3-9]*)
                   17052:        hardcode_direct_CXX=no
                   17053:        hardcode_shlibpath_var_CXX=no
1.237     moko     17054:        hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
                   17055:        export_dynamic_flag_spec_CXX='$wl-E'
1.128     moko     17056:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   17057:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   17058:        # default) and relocated if they conflict, which is a slow very memory
                   17059:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   17060:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   17061:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
1.237     moko     17062:        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'
                   17063:        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     17064:        ;;
                   17065:       irix5* | irix6*)
                   17066:         case $cc_basename in
                   17067:           CC*)
                   17068:            # SGI C++
1.237     moko     17069:            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     17070: 
                   17071:            # Archives containing C++ object files must be created using
                   17072:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   17073:            # necessary to make sure instantiated templates are included
                   17074:            # in the archive.
                   17075:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   17076:            ;;
                   17077:           *)
1.237     moko     17078:            if test yes = "$GXX"; then
                   17079:              if test no = "$with_gnu_ld"; then
                   17080:                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     17081:              else
1.237     moko     17082:                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     17083:              fi
                   17084:            fi
                   17085:            link_all_deplibs_CXX=yes
                   17086:            ;;
                   17087:         esac
1.237     moko     17088:         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
1.128     moko     17089:         hardcode_libdir_separator_CXX=:
                   17090:         inherit_rpath_CXX=yes
                   17091:         ;;
                   17092: 
1.237     moko     17093:       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     17094:         case $cc_basename in
                   17095:           KCC*)
                   17096:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   17097: 
                   17098:            # KCC will only create a shared library if the output file
                   17099:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   17100:            # to its proper name (with version) after linking.
1.237     moko     17101:            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'
                   17102:            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     17103:            # Commands to make compiler produce verbose output that lists
                   17104:            # what "hidden" libraries, object files and flags are used when
                   17105:            # linking a shared library.
                   17106:            #
                   17107:            # There doesn't appear to be a way to prevent this compiler from
                   17108:            # explicitly linking system object files so we need to strip them
                   17109:            # from the output so that they don't get included in the library
                   17110:            # dependencies.
1.237     moko     17111:            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     17112: 
1.237     moko     17113:            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
                   17114:            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
1.128     moko     17115: 
                   17116:            # Archives containing C++ object files must be created using
                   17117:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   17118:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   17119:            ;;
                   17120:          icpc* | ecpc* )
                   17121:            # Intel C++
                   17122:            with_gnu_ld=yes
                   17123:            # version 8.0 and above of icpc choke on multiply defined symbols
                   17124:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   17125:            # earlier do not add the objects themselves.
                   17126:            case `$CC -V 2>&1` in
                   17127:              *"Version 7."*)
1.237     moko     17128:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
                   17129:                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     17130:                ;;
                   17131:              *)  # Version 8.0 or newer
                   17132:                tmp_idyn=
                   17133:                case $host_cpu in
                   17134:                  ia64*) tmp_idyn=' -i_dynamic';;
                   17135:                esac
1.237     moko     17136:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   17137:                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     17138:                ;;
                   17139:            esac
                   17140:            archive_cmds_need_lc_CXX=no
1.237     moko     17141:            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
                   17142:            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
                   17143:            whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
1.128     moko     17144:            ;;
                   17145:           pgCC* | pgcpp*)
                   17146:             # Portland Group C++ compiler
                   17147:            case `$CC -V` in
                   17148:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   17149:              prelink_cmds_CXX='tpldir=Template.dir~
1.237     moko     17150:                rm -rf $tpldir~
                   17151:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   17152:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
1.128     moko     17153:              old_archive_cmds_CXX='tpldir=Template.dir~
1.237     moko     17154:                 rm -rf $tpldir~
                   17155:                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   17156:                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   17157:                 $RANLIB $oldlib'
1.128     moko     17158:              archive_cmds_CXX='tpldir=Template.dir~
1.237     moko     17159:                 rm -rf $tpldir~
                   17160:                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   17161:                 $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     17162:              archive_expsym_cmds_CXX='tpldir=Template.dir~
1.237     moko     17163:                 rm -rf $tpldir~
                   17164:                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   17165:                 $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     17166:              ;;
                   17167:            *) # Version 6 and above use weak symbols
1.237     moko     17168:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
                   17169:              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     17170:              ;;
                   17171:            esac
                   17172: 
1.237     moko     17173:            hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
                   17174:            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
                   17175:            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     17176:             ;;
                   17177:          cxx*)
                   17178:            # Compaq C++
1.237     moko     17179:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
                   17180:            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     17181: 
                   17182:            runpath_var=LD_RUN_PATH
                   17183:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   17184:            hardcode_libdir_separator_CXX=:
                   17185: 
                   17186:            # Commands to make compiler produce verbose output that lists
                   17187:            # what "hidden" libraries, object files and flags are used when
                   17188:            # linking a shared library.
                   17189:            #
                   17190:            # There doesn't appear to be a way to prevent this compiler from
                   17191:            # explicitly linking system object files so we need to strip them
                   17192:            # from the output so that they don't get included in the library
                   17193:            # dependencies.
1.237     moko     17194:            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     17195:            ;;
                   17196:          xl* | mpixl* | bgxl*)
                   17197:            # IBM XL 8.0 on PPC, with GNU ld
1.237     moko     17198:            hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
                   17199:            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
                   17200:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
                   17201:            if test yes = "$supports_anon_versioning"; then
1.128     moko     17202:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
1.237     moko     17203:                 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   17204:                 echo "local: *; };" >> $output_objdir/$libname.ver~
                   17205:                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
1.128     moko     17206:            fi
                   17207:            ;;
                   17208:          *)
1.237     moko     17209:            case `$CC -V 2>&1 | $SED 5q` in
1.128     moko     17210:            *Sun\ C*)
                   17211:              # Sun C++ 5.9
                   17212:              no_undefined_flag_CXX=' -zdefs'
1.237     moko     17213:              archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   17214:              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     17215:              hardcode_libdir_flag_spec_CXX='-R$libdir'
1.237     moko     17216:              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     17217:              compiler_needs_object_CXX=yes
                   17218: 
                   17219:              # Not sure whether something based on
                   17220:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   17221:              # would be better.
                   17222:              output_verbose_link_cmd='func_echo_all'
                   17223: 
                   17224:              # Archives containing C++ object files must be created using
                   17225:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   17226:              # necessary to make sure instantiated templates are included
                   17227:              # in the archive.
                   17228:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   17229:              ;;
                   17230:            esac
                   17231:            ;;
                   17232:        esac
                   17233:        ;;
                   17234: 
                   17235:       lynxos*)
                   17236:         # FIXME: insert proper C++ library support
                   17237:        ld_shlibs_CXX=no
                   17238:        ;;
                   17239: 
                   17240:       m88k*)
                   17241:         # FIXME: insert proper C++ library support
                   17242:         ld_shlibs_CXX=no
                   17243:        ;;
                   17244: 
                   17245:       mvs*)
                   17246:         case $cc_basename in
                   17247:           cxx*)
                   17248:            # FIXME: insert proper C++ library support
                   17249:            ld_shlibs_CXX=no
                   17250:            ;;
                   17251:          *)
                   17252:            # FIXME: insert proper C++ library support
                   17253:            ld_shlibs_CXX=no
                   17254:            ;;
                   17255:        esac
                   17256:        ;;
                   17257: 
1.237     moko     17258:       *-mlibc)
                   17259:         ld_shlibs_CXX=yes
                   17260:        ;;
                   17261: 
1.128     moko     17262:       netbsd*)
                   17263:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   17264:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   17265:          wlarc=
                   17266:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   17267:          hardcode_direct_CXX=yes
                   17268:          hardcode_shlibpath_var_CXX=no
                   17269:        fi
                   17270:        # Workaround some broken pre-1.5 toolchains
                   17271:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   17272:        ;;
                   17273: 
                   17274:       *nto* | *qnx*)
                   17275:         ld_shlibs_CXX=yes
                   17276:        ;;
                   17277: 
                   17278:       openbsd*)
                   17279:        if test -f /usr/libexec/ld.so; then
                   17280:          hardcode_direct_CXX=yes
                   17281:          hardcode_shlibpath_var_CXX=no
                   17282:          hardcode_direct_absolute_CXX=yes
                   17283:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
1.237     moko     17284:          hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
                   17285:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
                   17286:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
                   17287:            export_dynamic_flag_spec_CXX='$wl-E'
                   17288:            whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
1.128     moko     17289:          fi
                   17290:          output_verbose_link_cmd=func_echo_all
                   17291:        else
                   17292:          ld_shlibs_CXX=no
                   17293:        fi
                   17294:        ;;
                   17295: 
                   17296:       osf3* | osf4* | osf5*)
                   17297:         case $cc_basename in
                   17298:           KCC*)
                   17299:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   17300: 
                   17301:            # KCC will only create a shared library if the output file
                   17302:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   17303:            # to its proper name (with version) after linking.
1.237     moko     17304:            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     17305: 
1.237     moko     17306:            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
1.128     moko     17307:            hardcode_libdir_separator_CXX=:
                   17308: 
                   17309:            # Archives containing C++ object files must be created using
                   17310:            # the KAI C++ compiler.
                   17311:            case $host in
                   17312:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   17313:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   17314:            esac
                   17315:            ;;
                   17316:           RCC*)
                   17317:            # Rational C++ 2.4.1
                   17318:            # FIXME: insert proper C++ library support
                   17319:            ld_shlibs_CXX=no
                   17320:            ;;
                   17321:           cxx*)
                   17322:            case $host in
                   17323:              osf3*)
1.237     moko     17324:                allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
                   17325:                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'
                   17326:                hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
1.128     moko     17327:                ;;
                   17328:              *)
                   17329:                allow_undefined_flag_CXX=' -expect_unresolved \*'
1.237     moko     17330:                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     17331:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
1.237     moko     17332:                   echo "-hidden">> $lib.exp~
                   17333:                   $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~
                   17334:                   $RM $lib.exp'
1.128     moko     17335:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   17336:                ;;
                   17337:            esac
                   17338: 
                   17339:            hardcode_libdir_separator_CXX=:
                   17340: 
                   17341:            # Commands to make compiler produce verbose output that lists
                   17342:            # what "hidden" libraries, object files and flags are used when
                   17343:            # linking a shared library.
                   17344:            #
                   17345:            # There doesn't appear to be a way to prevent this compiler from
                   17346:            # explicitly linking system object files so we need to strip them
                   17347:            # from the output so that they don't get included in the library
                   17348:            # dependencies.
1.237     moko     17349:            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     17350:            ;;
                   17351:          *)
1.237     moko     17352:            if test yes,no = "$GXX,$with_gnu_ld"; then
                   17353:              allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
1.128     moko     17354:              case $host in
                   17355:                osf3*)
1.237     moko     17356:                  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     17357:                  ;;
                   17358:                *)
1.237     moko     17359:                  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     17360:                  ;;
                   17361:              esac
                   17362: 
1.237     moko     17363:              hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
1.128     moko     17364:              hardcode_libdir_separator_CXX=:
                   17365: 
                   17366:              # Commands to make compiler produce verbose output that lists
                   17367:              # what "hidden" libraries, object files and flags are used when
                   17368:              # linking a shared library.
1.237     moko     17369:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
1.128     moko     17370: 
                   17371:            else
                   17372:              # FIXME: insert proper C++ library support
                   17373:              ld_shlibs_CXX=no
                   17374:            fi
                   17375:            ;;
                   17376:         esac
                   17377:         ;;
                   17378: 
                   17379:       psos*)
                   17380:         # FIXME: insert proper C++ library support
                   17381:         ld_shlibs_CXX=no
                   17382:         ;;
                   17383: 
1.237     moko     17384:       serenity*)
                   17385:         ;;
                   17386: 
1.128     moko     17387:       sunos4*)
                   17388:         case $cc_basename in
                   17389:           CC*)
                   17390:            # Sun C++ 4.x
                   17391:            # FIXME: insert proper C++ library support
                   17392:            ld_shlibs_CXX=no
                   17393:            ;;
                   17394:           lcc*)
                   17395:            # Lucid
                   17396:            # FIXME: insert proper C++ library support
                   17397:            ld_shlibs_CXX=no
                   17398:            ;;
                   17399:           *)
                   17400:            # FIXME: insert proper C++ library support
                   17401:            ld_shlibs_CXX=no
                   17402:            ;;
                   17403:         esac
                   17404:         ;;
                   17405: 
                   17406:       solaris*)
                   17407:         case $cc_basename in
                   17408:           CC* | sunCC*)
                   17409:            # Sun C++ 4.2, 5.x and Centerline C++
                   17410:             archive_cmds_need_lc_CXX=yes
                   17411:            no_undefined_flag_CXX=' -zdefs'
1.237     moko     17412:            archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1.128     moko     17413:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     17414:               $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     17415: 
                   17416:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   17417:            hardcode_shlibpath_var_CXX=no
                   17418:            case $host_os in
                   17419:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   17420:              *)
                   17421:                # The compiler driver will combine and reorder linker options,
1.237     moko     17422:                # but understands '-z linker_flag'.
1.128     moko     17423:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   17424:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   17425:                ;;
                   17426:            esac
                   17427:            link_all_deplibs_CXX=yes
                   17428: 
                   17429:            output_verbose_link_cmd='func_echo_all'
                   17430: 
                   17431:            # Archives containing C++ object files must be created using
                   17432:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   17433:            # necessary to make sure instantiated templates are included
                   17434:            # in the archive.
                   17435:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   17436:            ;;
                   17437:           gcx*)
                   17438:            # Green Hills C++ Compiler
1.237     moko     17439:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
1.128     moko     17440: 
                   17441:            # The C++ compiler must be used to create the archive.
                   17442:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   17443:            ;;
                   17444:           *)
                   17445:            # GNU C++ compiler with Solaris linker
1.237     moko     17446:            if test yes,no = "$GXX,$with_gnu_ld"; then
                   17447:              no_undefined_flag_CXX=' $wl-z ${wl}defs'
1.128     moko     17448:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
1.237     moko     17449:                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     17450:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     17451:                   $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     17452: 
                   17453:                # Commands to make compiler produce verbose output that lists
                   17454:                # what "hidden" libraries, object files and flags are used when
                   17455:                # linking a shared library.
1.237     moko     17456:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
1.128     moko     17457:              else
1.237     moko     17458:                # g++ 2.7 appears to require '-G' NOT '-shared' on this
1.128     moko     17459:                # platform.
1.237     moko     17460:                archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
1.128     moko     17461:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.237     moko     17462:                   $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     17463: 
                   17464:                # Commands to make compiler produce verbose output that lists
                   17465:                # what "hidden" libraries, object files and flags are used when
                   17466:                # linking a shared library.
1.237     moko     17467:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " [-]L"'
1.128     moko     17468:              fi
                   17469: 
1.237     moko     17470:              hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
1.128     moko     17471:              case $host_os in
                   17472:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   17473:                *)
1.237     moko     17474:                  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
1.128     moko     17475:                  ;;
                   17476:              esac
                   17477:            fi
                   17478:            ;;
                   17479:         esac
                   17480:         ;;
                   17481: 
                   17482:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
1.237     moko     17483:       no_undefined_flag_CXX='$wl-z,text'
1.128     moko     17484:       archive_cmds_need_lc_CXX=no
                   17485:       hardcode_shlibpath_var_CXX=no
                   17486:       runpath_var='LD_RUN_PATH'
                   17487: 
                   17488:       case $cc_basename in
                   17489:         CC*)
1.237     moko     17490:          archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   17491:          archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     17492:          ;;
                   17493:        *)
1.237     moko     17494:          archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   17495:          archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     17496:          ;;
                   17497:       esac
                   17498:       ;;
                   17499: 
                   17500:       sysv5* | sco3.2v5* | sco5v6*)
1.237     moko     17501:        # Note: We CANNOT use -z defs as we might desire, because we do not
1.128     moko     17502:        # link with -lc, and that would cause any symbols used from libc to
                   17503:        # always be unresolved, which means just about no library would
                   17504:        # ever link correctly.  If we're not using GNU ld we use -z text
                   17505:        # though, which does catch some bad symbols but isn't as heavy-handed
                   17506:        # as -z defs.
1.237     moko     17507:        no_undefined_flag_CXX='$wl-z,text'
                   17508:        allow_undefined_flag_CXX='$wl-z,nodefs'
1.128     moko     17509:        archive_cmds_need_lc_CXX=no
                   17510:        hardcode_shlibpath_var_CXX=no
1.237     moko     17511:        hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
1.128     moko     17512:        hardcode_libdir_separator_CXX=':'
                   17513:        link_all_deplibs_CXX=yes
1.237     moko     17514:        export_dynamic_flag_spec_CXX='$wl-Bexport'
1.128     moko     17515:        runpath_var='LD_RUN_PATH'
                   17516: 
                   17517:        case $cc_basename in
                   17518:           CC*)
1.237     moko     17519:            archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   17520:            archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     17521:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
1.237     moko     17522:               '"$old_archive_cmds_CXX"
1.128     moko     17523:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
1.237     moko     17524:               '"$reload_cmds_CXX"
1.128     moko     17525:            ;;
                   17526:          *)
1.237     moko     17527:            archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   17528:            archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.128     moko     17529:            ;;
                   17530:        esac
                   17531:       ;;
                   17532: 
                   17533:       tandem*)
                   17534:         case $cc_basename in
                   17535:           NCC*)
                   17536:            # NonStop-UX NCC 3.20
                   17537:            # FIXME: insert proper C++ library support
                   17538:            ld_shlibs_CXX=no
                   17539:            ;;
                   17540:           *)
                   17541:            # FIXME: insert proper C++ library support
                   17542:            ld_shlibs_CXX=no
                   17543:            ;;
                   17544:         esac
                   17545:         ;;
                   17546: 
                   17547:       vxworks*)
                   17548:         # FIXME: insert proper C++ library support
                   17549:         ld_shlibs_CXX=no
                   17550:         ;;
                   17551: 
                   17552:       *)
                   17553:         # FIXME: insert proper C++ library support
                   17554:         ld_shlibs_CXX=no
                   17555:         ;;
                   17556:     esac
                   17557: 
1.237     moko     17558:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   17559: printf "%s\n" "$ld_shlibs_CXX" >&6; }
                   17560:     test no = "$ld_shlibs_CXX" && can_build_shared=no
1.128     moko     17561: 
1.237     moko     17562:     GCC_CXX=$GXX
                   17563:     LD_CXX=$LD
1.128     moko     17564: 
                   17565:     ## CAVEAT EMPTOR:
                   17566:     ## There is no encapsulation within the following macros, do not change
                   17567:     ## the running order or otherwise move them around unless you know exactly
                   17568:     ## what you are doing...
                   17569:     # Dependencies to place before and after the object being linked:
                   17570: predep_objects_CXX=
                   17571: postdep_objects_CXX=
                   17572: predeps_CXX=
                   17573: postdeps_CXX=
                   17574: compiler_lib_search_path_CXX=
                   17575: 
                   17576: cat > conftest.$ac_ext <<_LT_EOF
                   17577: class Foo
                   17578: {
                   17579: public:
                   17580:   Foo (void) { a = 0; }
                   17581: private:
                   17582:   int a;
                   17583: };
                   17584: _LT_EOF
                   17585: 
                   17586: 
                   17587: _lt_libdeps_save_CFLAGS=$CFLAGS
                   17588: case "$CC $CFLAGS " in #(
                   17589: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   17590: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   17591: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   17592: esac
                   17593: 
1.150     moko     17594: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     17595:   (eval $ac_compile) 2>&5
                   17596:   ac_status=$?
1.237     moko     17597:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     17598:   test $ac_status = 0; }; then
1.128     moko     17599:   # Parse the compiler output and extract the necessary
                   17600:   # objects, libraries and library flags.
                   17601: 
                   17602:   # Sentinel used to keep track of whether or not we are before
                   17603:   # the conftest object file.
                   17604:   pre_test_object_deps_done=no
                   17605: 
                   17606:   for p in `eval "$output_verbose_link_cmd"`; do
1.237     moko     17607:     case $prev$p in
1.128     moko     17608: 
                   17609:     -L* | -R* | -l*)
1.237     moko     17610:        # Some compilers place space between "-{L,R,l}" and the path.
1.128     moko     17611:        # Remove the space.
1.237     moko     17612:        if test x-L = x"$p" ||
                   17613:           test x-R = x"$p" ||
                   17614:           test x-l = x"$p"; then
1.128     moko     17615:         prev=$p
                   17616:         continue
                   17617:        fi
                   17618: 
                   17619:        # Expand the sysroot to ease extracting the directories later.
                   17620:        if test -z "$prev"; then
                   17621:          case $p in
                   17622:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   17623:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   17624:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   17625:          esac
                   17626:        fi
                   17627:        case $p in
                   17628:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   17629:        esac
1.237     moko     17630:        if test no = "$pre_test_object_deps_done"; then
                   17631:         case $prev in
1.128     moko     17632:         -L | -R)
                   17633:           # Internal compiler library paths should come after those
                   17634:           # provided the user.  The postdeps already come after the
                   17635:           # user supplied libs so there is no need to process them.
                   17636:           if test -z "$compiler_lib_search_path_CXX"; then
1.237     moko     17637:             compiler_lib_search_path_CXX=$prev$p
1.128     moko     17638:           else
1.237     moko     17639:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
1.128     moko     17640:           fi
                   17641:           ;;
                   17642:         # The "-l" case would never come before the object being
                   17643:         # linked, so don't bother handling this case.
                   17644:         esac
                   17645:        else
                   17646:         if test -z "$postdeps_CXX"; then
1.237     moko     17647:           postdeps_CXX=$prev$p
1.128     moko     17648:         else
1.237     moko     17649:           postdeps_CXX="${postdeps_CXX} $prev$p"
1.128     moko     17650:         fi
                   17651:        fi
                   17652:        prev=
                   17653:        ;;
                   17654: 
                   17655:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   17656:     *.$objext)
                   17657:        # This assumes that the test object file only shows up
                   17658:        # once in the compiler output.
                   17659:        if test "$p" = "conftest.$objext"; then
                   17660:         pre_test_object_deps_done=yes
                   17661:         continue
                   17662:        fi
                   17663: 
1.237     moko     17664:        if test no = "$pre_test_object_deps_done"; then
1.128     moko     17665:         if test -z "$predep_objects_CXX"; then
1.237     moko     17666:           predep_objects_CXX=$p
1.128     moko     17667:         else
                   17668:           predep_objects_CXX="$predep_objects_CXX $p"
                   17669:         fi
                   17670:        else
                   17671:         if test -z "$postdep_objects_CXX"; then
1.237     moko     17672:           postdep_objects_CXX=$p
1.128     moko     17673:         else
                   17674:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   17675:         fi
                   17676:        fi
                   17677:        ;;
                   17678: 
                   17679:     *) ;; # Ignore the rest.
                   17680: 
                   17681:     esac
                   17682:   done
                   17683: 
                   17684:   # Clean up.
                   17685:   rm -f a.out a.exe
                   17686: else
                   17687:   echo "libtool.m4: error: problem compiling CXX test program"
                   17688: fi
                   17689: 
                   17690: $RM -f confest.$objext
                   17691: CFLAGS=$_lt_libdeps_save_CFLAGS
                   17692: 
                   17693: # PORTME: override above test on systems where it is broken
                   17694: case $host_os in
                   17695: interix[3-9]*)
                   17696:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   17697:   # hack all around it, let's just trust "g++" to DTRT.
                   17698:   predep_objects_CXX=
                   17699:   postdep_objects_CXX=
                   17700:   postdeps_CXX=
                   17701:   ;;
1.237     moko     17702: esac
1.128     moko     17703: 
                   17704: 
1.237     moko     17705: case " $postdeps_CXX " in
                   17706: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   17707: esac
1.128     moko     17708:  compiler_lib_search_dirs_CXX=
                   17709: if test -n "${compiler_lib_search_path_CXX}"; then
1.237     moko     17710:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
1.128     moko     17711: fi
                   17712: 
                   17713: 
                   17714: 
                   17715: 
                   17716: 
                   17717: 
                   17718: 
                   17719: 
                   17720: 
                   17721: 
                   17722: 
                   17723: 
                   17724: 
                   17725: 
                   17726: 
                   17727: 
                   17728: 
                   17729: 
                   17730: 
                   17731: 
                   17732: 
                   17733: 
                   17734: 
                   17735: 
                   17736: 
                   17737: 
                   17738: 
                   17739: 
                   17740: 
                   17741: 
                   17742: 
                   17743:     lt_prog_compiler_wl_CXX=
                   17744: lt_prog_compiler_pic_CXX=
                   17745: lt_prog_compiler_static_CXX=
                   17746: 
                   17747: 
                   17748:   # C++ specific cases for pic, static, wl, etc.
1.237     moko     17749:   if test yes = "$GXX"; then
1.128     moko     17750:     lt_prog_compiler_wl_CXX='-Wl,'
                   17751:     lt_prog_compiler_static_CXX='-static'
                   17752: 
                   17753:     case $host_os in
                   17754:     aix*)
                   17755:       # All AIX code is PIC.
1.237     moko     17756:       if test ia64 = "$host_cpu"; then
1.128     moko     17757:        # AIX 5 now supports IA64 processor
                   17758:        lt_prog_compiler_static_CXX='-Bstatic'
                   17759:       fi
1.237     moko     17760:       lt_prog_compiler_pic_CXX='-fPIC'
1.128     moko     17761:       ;;
                   17762: 
                   17763:     amigaos*)
                   17764:       case $host_cpu in
                   17765:       powerpc)
                   17766:             # see comment about AmigaOS4 .so support
                   17767:             lt_prog_compiler_pic_CXX='-fPIC'
                   17768:         ;;
                   17769:       m68k)
                   17770:             # FIXME: we need at least 68020 code to build shared libraries, but
1.237     moko     17771:             # adding the '-m68020' flag to GCC prevents building anything better,
                   17772:             # like '-m68040'.
1.128     moko     17773:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   17774:         ;;
                   17775:       esac
                   17776:       ;;
                   17777: 
                   17778:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   17779:       # PIC is the default for these OSes.
                   17780:       ;;
1.237     moko     17781:     mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
1.128     moko     17782:       # This hack is so that the source file can tell whether it is being
                   17783:       # built for inclusion in a dll (and should export symbols for example).
                   17784:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   17785:       # (--disable-auto-import) libraries
                   17786:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
1.237     moko     17787:       case $host_os in
                   17788:       os2*)
                   17789:        lt_prog_compiler_static_CXX='$wl-static'
                   17790:        ;;
                   17791:       esac
1.128     moko     17792:       ;;
                   17793:     darwin* | rhapsody*)
                   17794:       # PIC is the default on this platform
                   17795:       # Common symbols not allowed in MH_DYLIB files
                   17796:       lt_prog_compiler_pic_CXX='-fno-common'
                   17797:       ;;
                   17798:     *djgpp*)
                   17799:       # DJGPP does not support shared libraries at all
                   17800:       lt_prog_compiler_pic_CXX=
                   17801:       ;;
                   17802:     haiku*)
                   17803:       # PIC is the default for Haiku.
                   17804:       # The "-static" flag exists, but is broken.
                   17805:       lt_prog_compiler_static_CXX=
                   17806:       ;;
                   17807:     interix[3-9]*)
                   17808:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   17809:       # Instead, we relocate shared libraries at runtime.
                   17810:       ;;
                   17811:     sysv4*MP*)
                   17812:       if test -d /usr/nec; then
                   17813:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   17814:       fi
                   17815:       ;;
                   17816:     hpux*)
                   17817:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   17818:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   17819:       # sets the default TLS model and affects inlining.
                   17820:       case $host_cpu in
                   17821:       hppa*64*)
                   17822:        ;;
                   17823:       *)
                   17824:        lt_prog_compiler_pic_CXX='-fPIC'
                   17825:        ;;
                   17826:       esac
                   17827:       ;;
                   17828:     *qnx* | *nto*)
                   17829:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   17830:       # it will coredump.
                   17831:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   17832:       ;;
                   17833:     *)
                   17834:       lt_prog_compiler_pic_CXX='-fPIC'
                   17835:       ;;
                   17836:     esac
                   17837:   else
                   17838:     case $host_os in
                   17839:       aix[4-9]*)
                   17840:        # All AIX code is PIC.
1.237     moko     17841:        if test ia64 = "$host_cpu"; then
1.128     moko     17842:          # AIX 5 now supports IA64 processor
                   17843:          lt_prog_compiler_static_CXX='-Bstatic'
                   17844:        else
                   17845:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   17846:        fi
                   17847:        ;;
                   17848:       chorus*)
                   17849:        case $cc_basename in
                   17850:        cxch68*)
                   17851:          # Green Hills C++ Compiler
                   17852:          # _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"
                   17853:          ;;
                   17854:        esac
                   17855:        ;;
1.237     moko     17856:       mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
1.128     moko     17857:        # This hack is so that the source file can tell whether it is being
                   17858:        # built for inclusion in a dll (and should export symbols for example).
                   17859:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   17860:        ;;
                   17861:       dgux*)
                   17862:        case $cc_basename in
                   17863:          ec++*)
                   17864:            lt_prog_compiler_pic_CXX='-KPIC'
                   17865:            ;;
                   17866:          ghcx*)
                   17867:            # Green Hills C++ Compiler
                   17868:            lt_prog_compiler_pic_CXX='-pic'
                   17869:            ;;
                   17870:          *)
                   17871:            ;;
                   17872:        esac
                   17873:        ;;
1.237     moko     17874:       freebsd* | dragonfly* | midnightbsd*)
1.128     moko     17875:        # FreeBSD uses GNU C++
                   17876:        ;;
                   17877:       hpux9* | hpux10* | hpux11*)
                   17878:        case $cc_basename in
                   17879:          CC*)
                   17880:            lt_prog_compiler_wl_CXX='-Wl,'
1.237     moko     17881:            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
                   17882:            if test ia64 != "$host_cpu"; then
1.128     moko     17883:              lt_prog_compiler_pic_CXX='+Z'
                   17884:            fi
                   17885:            ;;
                   17886:          aCC*)
                   17887:            lt_prog_compiler_wl_CXX='-Wl,'
1.237     moko     17888:            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
1.128     moko     17889:            case $host_cpu in
                   17890:            hppa*64*|ia64*)
                   17891:              # +Z the default
                   17892:              ;;
                   17893:            *)
                   17894:              lt_prog_compiler_pic_CXX='+Z'
                   17895:              ;;
                   17896:            esac
                   17897:            ;;
                   17898:          *)
                   17899:            ;;
                   17900:        esac
                   17901:        ;;
                   17902:       interix*)
                   17903:        # This is c89, which is MS Visual C++ (no shared libs)
                   17904:        # Anyone wants to do a port?
                   17905:        ;;
                   17906:       irix5* | irix6* | nonstopux*)
                   17907:        case $cc_basename in
                   17908:          CC*)
                   17909:            lt_prog_compiler_wl_CXX='-Wl,'
                   17910:            lt_prog_compiler_static_CXX='-non_shared'
                   17911:            # CC pic flag -KPIC is the default.
                   17912:            ;;
                   17913:          *)
                   17914:            ;;
                   17915:        esac
                   17916:        ;;
1.237     moko     17917:       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     17918:        case $cc_basename in
                   17919:          KCC*)
                   17920:            # KAI C++ Compiler
                   17921:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   17922:            lt_prog_compiler_pic_CXX='-fPIC'
                   17923:            ;;
                   17924:          ecpc* )
1.237     moko     17925:            # old Intel C++ for x86_64, which still supported -KPIC.
1.128     moko     17926:            lt_prog_compiler_wl_CXX='-Wl,'
                   17927:            lt_prog_compiler_pic_CXX='-KPIC'
                   17928:            lt_prog_compiler_static_CXX='-static'
                   17929:            ;;
                   17930:          icpc* )
                   17931:            # Intel C++, used to be incompatible with GCC.
                   17932:            # ICC 10 doesn't accept -KPIC any more.
                   17933:            lt_prog_compiler_wl_CXX='-Wl,'
                   17934:            lt_prog_compiler_pic_CXX='-fPIC'
                   17935:            lt_prog_compiler_static_CXX='-static'
                   17936:            ;;
                   17937:          pgCC* | pgcpp*)
                   17938:            # Portland Group C++ compiler
                   17939:            lt_prog_compiler_wl_CXX='-Wl,'
                   17940:            lt_prog_compiler_pic_CXX='-fpic'
                   17941:            lt_prog_compiler_static_CXX='-Bstatic'
                   17942:            ;;
                   17943:          cxx*)
                   17944:            # Compaq C++
                   17945:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   17946:            # Linux and Compaq Tru64 Unix objects are PIC.
                   17947:            lt_prog_compiler_pic_CXX=
                   17948:            lt_prog_compiler_static_CXX='-non_shared'
                   17949:            ;;
                   17950:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   17951:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   17952:            lt_prog_compiler_wl_CXX='-Wl,'
                   17953:            lt_prog_compiler_pic_CXX='-qpic'
                   17954:            lt_prog_compiler_static_CXX='-qstaticlink'
                   17955:            ;;
                   17956:          *)
1.237     moko     17957:            case `$CC -V 2>&1 | $SED 5q` in
1.128     moko     17958:            *Sun\ C*)
                   17959:              # Sun C++ 5.9
                   17960:              lt_prog_compiler_pic_CXX='-KPIC'
                   17961:              lt_prog_compiler_static_CXX='-Bstatic'
                   17962:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   17963:              ;;
                   17964:            esac
                   17965:            ;;
                   17966:        esac
                   17967:        ;;
                   17968:       lynxos*)
                   17969:        ;;
                   17970:       m88k*)
                   17971:        ;;
                   17972:       mvs*)
                   17973:        case $cc_basename in
                   17974:          cxx*)
                   17975:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   17976:            ;;
                   17977:          *)
                   17978:            ;;
                   17979:        esac
                   17980:        ;;
1.237     moko     17981:       netbsd* | netbsdelf*-gnu)
                   17982:        ;;
                   17983:       *-mlibc)
1.128     moko     17984:        ;;
                   17985:       *qnx* | *nto*)
                   17986:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   17987:         # it will coredump.
                   17988:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   17989:         ;;
                   17990:       osf3* | osf4* | osf5*)
                   17991:        case $cc_basename in
                   17992:          KCC*)
                   17993:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   17994:            ;;
                   17995:          RCC*)
                   17996:            # Rational C++ 2.4.1
                   17997:            lt_prog_compiler_pic_CXX='-pic'
                   17998:            ;;
                   17999:          cxx*)
                   18000:            # Digital/Compaq C++
                   18001:            lt_prog_compiler_wl_CXX='-Wl,'
                   18002:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   18003:            # Linux and Compaq Tru64 Unix objects are PIC.
                   18004:            lt_prog_compiler_pic_CXX=
                   18005:            lt_prog_compiler_static_CXX='-non_shared'
                   18006:            ;;
                   18007:          *)
                   18008:            ;;
                   18009:        esac
                   18010:        ;;
                   18011:       psos*)
                   18012:        ;;
1.237     moko     18013:       serenity*)
                   18014:         ;;
1.128     moko     18015:       solaris*)
                   18016:        case $cc_basename in
                   18017:          CC* | sunCC*)
                   18018:            # Sun C++ 4.2, 5.x and Centerline C++
                   18019:            lt_prog_compiler_pic_CXX='-KPIC'
                   18020:            lt_prog_compiler_static_CXX='-Bstatic'
                   18021:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   18022:            ;;
                   18023:          gcx*)
                   18024:            # Green Hills C++ Compiler
                   18025:            lt_prog_compiler_pic_CXX='-PIC'
                   18026:            ;;
                   18027:          *)
                   18028:            ;;
                   18029:        esac
                   18030:        ;;
                   18031:       sunos4*)
                   18032:        case $cc_basename in
                   18033:          CC*)
                   18034:            # Sun C++ 4.x
                   18035:            lt_prog_compiler_pic_CXX='-pic'
                   18036:            lt_prog_compiler_static_CXX='-Bstatic'
                   18037:            ;;
                   18038:          lcc*)
                   18039:            # Lucid
                   18040:            lt_prog_compiler_pic_CXX='-pic'
                   18041:            ;;
                   18042:          *)
                   18043:            ;;
                   18044:        esac
                   18045:        ;;
                   18046:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   18047:        case $cc_basename in
                   18048:          CC*)
                   18049:            lt_prog_compiler_wl_CXX='-Wl,'
                   18050:            lt_prog_compiler_pic_CXX='-KPIC'
                   18051:            lt_prog_compiler_static_CXX='-Bstatic'
                   18052:            ;;
                   18053:        esac
                   18054:        ;;
                   18055:       tandem*)
                   18056:        case $cc_basename in
                   18057:          NCC*)
                   18058:            # NonStop-UX NCC 3.20
                   18059:            lt_prog_compiler_pic_CXX='-KPIC'
                   18060:            ;;
                   18061:          *)
                   18062:            ;;
                   18063:        esac
                   18064:        ;;
                   18065:       vxworks*)
                   18066:        ;;
                   18067:       *)
                   18068:        lt_prog_compiler_can_build_shared_CXX=no
                   18069:        ;;
                   18070:     esac
                   18071:   fi
                   18072: 
                   18073: case $host_os in
1.237     moko     18074:   # For platforms that do not support PIC, -DPIC is meaningless:
1.128     moko     18075:   *djgpp*)
                   18076:     lt_prog_compiler_pic_CXX=
                   18077:     ;;
                   18078:   *)
                   18079:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   18080:     ;;
                   18081: esac
                   18082: 
1.237     moko     18083: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   18084: printf %s "checking for $compiler option to produce PIC... " >&6; }
                   18085: if test ${lt_cv_prog_compiler_pic_CXX+y}
                   18086: then :
                   18087:   printf %s "(cached) " >&6
                   18088: else case e in #(
                   18089:   e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
                   18090: esac
1.128     moko     18091: fi
1.237     moko     18092: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   18093: printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     18094: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   18095: 
                   18096: #
                   18097: # Check to make sure the PIC flag actually works.
                   18098: #
                   18099: if test -n "$lt_prog_compiler_pic_CXX"; then
1.237     moko     18100:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   18101: printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   18102: if test ${lt_cv_prog_compiler_pic_works_CXX+y}
                   18103: then :
                   18104:   printf %s "(cached) " >&6
                   18105: else case e in #(
                   18106:   e) lt_cv_prog_compiler_pic_works_CXX=no
1.128     moko     18107:    ac_outfile=conftest.$ac_objext
                   18108:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.237     moko     18109:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
1.128     moko     18110:    # Insert the option either (1) after the last *FLAGS variable, or
                   18111:    # (2) before a word containing "conftest.", or (3) at the end.
                   18112:    # Note that $ac_compile itself does not contain backslashes and begins
                   18113:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   18114:    # The option is referenced via a variable to avoid confusing sed.
                   18115:    lt_compile=`echo "$ac_compile" | $SED \
                   18116:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   18117:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   18118:    -e 's:$: $lt_compiler_flag:'`
                   18119:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   18120:    (eval "$lt_compile" 2>conftest.err)
                   18121:    ac_status=$?
                   18122:    cat conftest.err >&5
                   18123:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18124:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   18125:      # The compiler can only warn and ignore the option if not recognized
                   18126:      # So say no if there are warnings other than the usual output.
                   18127:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   18128:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   18129:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   18130:        lt_cv_prog_compiler_pic_works_CXX=yes
                   18131:      fi
                   18132:    fi
                   18133:    $RM conftest*
1.237     moko     18134:  ;;
                   18135: esac
1.128     moko     18136: fi
1.237     moko     18137: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   18138: printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     18139: 
1.237     moko     18140: if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
1.128     moko     18141:     case $lt_prog_compiler_pic_CXX in
                   18142:      "" | " "*) ;;
                   18143:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   18144:      esac
                   18145: else
                   18146:     lt_prog_compiler_pic_CXX=
                   18147:      lt_prog_compiler_can_build_shared_CXX=no
                   18148: fi
                   18149: 
                   18150: fi
                   18151: 
                   18152: 
                   18153: 
                   18154: 
                   18155: 
                   18156: #
                   18157: # Check to make sure the static flag actually works.
                   18158: #
                   18159: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.237     moko     18160: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   18161: printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   18162: if test ${lt_cv_prog_compiler_static_works_CXX+y}
                   18163: then :
                   18164:   printf %s "(cached) " >&6
                   18165: else case e in #(
                   18166:   e) lt_cv_prog_compiler_static_works_CXX=no
                   18167:    save_LDFLAGS=$LDFLAGS
1.128     moko     18168:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   18169:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   18170:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   18171:      # The linker can only warn and ignore the option if not recognized
                   18172:      # So say no if there are warnings
                   18173:      if test -s conftest.err; then
                   18174:        # Append any errors to the config.log.
                   18175:        cat conftest.err 1>&5
                   18176:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   18177:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   18178:        if diff conftest.exp conftest.er2 >/dev/null; then
                   18179:          lt_cv_prog_compiler_static_works_CXX=yes
                   18180:        fi
                   18181:      else
                   18182:        lt_cv_prog_compiler_static_works_CXX=yes
                   18183:      fi
                   18184:    fi
                   18185:    $RM -r conftest*
1.237     moko     18186:    LDFLAGS=$save_LDFLAGS
                   18187:  ;;
                   18188: esac
1.128     moko     18189: fi
1.237     moko     18190: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   18191: printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     18192: 
1.237     moko     18193: if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
1.128     moko     18194:     :
                   18195: else
                   18196:     lt_prog_compiler_static_CXX=
                   18197: fi
                   18198: 
                   18199: 
                   18200: 
                   18201: 
1.237     moko     18202:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   18203: printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   18204: if test ${lt_cv_prog_compiler_c_o_CXX+y}
                   18205: then :
                   18206:   printf %s "(cached) " >&6
                   18207: else case e in #(
                   18208:   e) lt_cv_prog_compiler_c_o_CXX=no
1.128     moko     18209:    $RM -r conftest 2>/dev/null
                   18210:    mkdir conftest
                   18211:    cd conftest
                   18212:    mkdir out
                   18213:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   18214: 
                   18215:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   18216:    # Insert the option either (1) after the last *FLAGS variable, or
                   18217:    # (2) before a word containing "conftest.", or (3) at the end.
                   18218:    # Note that $ac_compile itself does not contain backslashes and begins
                   18219:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   18220:    lt_compile=`echo "$ac_compile" | $SED \
                   18221:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   18222:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   18223:    -e 's:$: $lt_compiler_flag:'`
                   18224:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   18225:    (eval "$lt_compile" 2>out/conftest.err)
                   18226:    ac_status=$?
                   18227:    cat out/conftest.err >&5
                   18228:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18229:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   18230:    then
                   18231:      # The compiler can only warn and ignore the option if not recognized
                   18232:      # So say no if there are warnings
                   18233:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   18234:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   18235:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   18236:        lt_cv_prog_compiler_c_o_CXX=yes
                   18237:      fi
                   18238:    fi
                   18239:    chmod u+w . 2>&5
                   18240:    $RM conftest*
                   18241:    # SGI C++ compiler will create directory out/ii_files/ for
                   18242:    # template instantiation
                   18243:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   18244:    $RM out/* && rmdir out
                   18245:    cd ..
                   18246:    $RM -r conftest
                   18247:    $RM conftest*
1.237     moko     18248:  ;;
                   18249: esac
1.128     moko     18250: fi
1.237     moko     18251: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   18252: printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     18253: 
                   18254: 
                   18255: 
1.237     moko     18256:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   18257: printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   18258: if test ${lt_cv_prog_compiler_c_o_CXX+y}
                   18259: then :
                   18260:   printf %s "(cached) " >&6
                   18261: else case e in #(
                   18262:   e) lt_cv_prog_compiler_c_o_CXX=no
1.128     moko     18263:    $RM -r conftest 2>/dev/null
                   18264:    mkdir conftest
                   18265:    cd conftest
                   18266:    mkdir out
                   18267:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   18268: 
                   18269:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   18270:    # Insert the option either (1) after the last *FLAGS variable, or
                   18271:    # (2) before a word containing "conftest.", or (3) at the end.
                   18272:    # Note that $ac_compile itself does not contain backslashes and begins
                   18273:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   18274:    lt_compile=`echo "$ac_compile" | $SED \
                   18275:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   18276:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   18277:    -e 's:$: $lt_compiler_flag:'`
                   18278:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   18279:    (eval "$lt_compile" 2>out/conftest.err)
                   18280:    ac_status=$?
                   18281:    cat out/conftest.err >&5
                   18282:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   18283:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   18284:    then
                   18285:      # The compiler can only warn and ignore the option if not recognized
                   18286:      # So say no if there are warnings
                   18287:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   18288:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   18289:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   18290:        lt_cv_prog_compiler_c_o_CXX=yes
                   18291:      fi
                   18292:    fi
                   18293:    chmod u+w . 2>&5
                   18294:    $RM conftest*
                   18295:    # SGI C++ compiler will create directory out/ii_files/ for
                   18296:    # template instantiation
                   18297:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   18298:    $RM out/* && rmdir out
                   18299:    cd ..
                   18300:    $RM -r conftest
                   18301:    $RM conftest*
1.237     moko     18302:  ;;
                   18303: esac
1.128     moko     18304: fi
1.237     moko     18305: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   18306: printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     18307: 
                   18308: 
                   18309: 
                   18310: 
1.237     moko     18311: hard_links=nottested
                   18312: if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
1.128     moko     18313:   # do not overwrite the value of need_locks provided by the user
1.237     moko     18314:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   18315: printf %s "checking if we can lock with hard links... " >&6; }
1.128     moko     18316:   hard_links=yes
                   18317:   $RM conftest*
                   18318:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   18319:   touch conftest.a
                   18320:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   18321:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.237     moko     18322:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   18323: printf "%s\n" "$hard_links" >&6; }
                   18324:   if test no = "$hard_links"; then
                   18325:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
                   18326: printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
1.128     moko     18327:     need_locks=warn
                   18328:   fi
                   18329: else
                   18330:   need_locks=no
                   18331: fi
                   18332: 
                   18333: 
                   18334: 
1.237     moko     18335:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   18336: printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     18337: 
                   18338:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   18339:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   18340:   case $host_os in
                   18341:   aix[4-9]*)
                   18342:     # If we're using GNU nm, then we don't want the "-C" option.
1.237     moko     18343:     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
                   18344:     # Without the "-l" option, or with the "-B" option, AIX nm treats
                   18345:     # weak defined symbols like other global defined symbols, whereas
                   18346:     # GNU nm marks them as "W".
                   18347:     # While the 'weak' keyword is ignored in the Export File, we need
                   18348:     # it in the Import File for the 'aix-soname' feature, so we have
                   18349:     # to replace the "-B" option with "-P" for AIX nm.
1.128     moko     18350:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1.237     moko     18351:       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     18352:     else
1.237     moko     18353:       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     18354:     fi
                   18355:     ;;
                   18356:   pw32*)
1.237     moko     18357:     export_symbols_cmds_CXX=$ltdll_cmds
1.128     moko     18358:     ;;
1.237     moko     18359:   cygwin* | mingw* | windows* | cegcc*)
1.128     moko     18360:     case $cc_basename in
1.237     moko     18361:     cl* | icl*)
1.128     moko     18362:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   18363:       ;;
                   18364:     *)
                   18365:       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'
                   18366:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   18367:       ;;
                   18368:     esac
                   18369:     ;;
1.237     moko     18370:   linux* | k*bsd*-gnu | gnu*)
                   18371:     link_all_deplibs_CXX=no
                   18372:     ;;
1.128     moko     18373:   *)
                   18374:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   18375:     ;;
                   18376:   esac
                   18377: 
1.237     moko     18378: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   18379: printf "%s\n" "$ld_shlibs_CXX" >&6; }
                   18380: test no = "$ld_shlibs_CXX" && can_build_shared=no
1.128     moko     18381: 
                   18382: with_gnu_ld_CXX=$with_gnu_ld
                   18383: 
                   18384: 
                   18385: 
                   18386: 
                   18387: 
                   18388: 
                   18389: #
                   18390: # Do we need to explicitly link libc?
                   18391: #
                   18392: case "x$archive_cmds_need_lc_CXX" in
                   18393: x|xyes)
                   18394:   # Assume -lc should be added
                   18395:   archive_cmds_need_lc_CXX=yes
                   18396: 
1.237     moko     18397:   if test yes,yes = "$GCC,$enable_shared"; then
1.128     moko     18398:     case $archive_cmds_CXX in
                   18399:     *'~'*)
                   18400:       # FIXME: we may have to deal with multi-command sequences.
                   18401:       ;;
                   18402:     '$CC '*)
                   18403:       # Test whether the compiler implicitly links with -lc since on some
                   18404:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   18405:       # to ld, don't add -lc before -lgcc.
1.237     moko     18406:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   18407: printf %s "checking whether -lc should be explicitly linked in... " >&6; }
                   18408: if test ${lt_cv_archive_cmds_need_lc_CXX+y}
                   18409: then :
                   18410:   printf %s "(cached) " >&6
                   18411: else case e in #(
                   18412:   e) $RM conftest*
1.128     moko     18413:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   18414: 
1.150     moko     18415:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     18416:   (eval $ac_compile) 2>&5
                   18417:   ac_status=$?
1.237     moko     18418:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     18419:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     18420:          soname=conftest
                   18421:          lib=conftest
                   18422:          libobjs=conftest.$ac_objext
                   18423:          deplibs=
                   18424:          wl=$lt_prog_compiler_wl_CXX
                   18425:          pic_flag=$lt_prog_compiler_pic_CXX
                   18426:          compiler_flags=-v
                   18427:          linker_flags=-v
                   18428:          verstring=
                   18429:          output_objdir=.
                   18430:          libname=conftest
                   18431:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   18432:          allow_undefined_flag_CXX=
1.150     moko     18433:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     18434:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   18435:   ac_status=$?
1.237     moko     18436:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     18437:   test $ac_status = 0; }
1.128     moko     18438:          then
                   18439:            lt_cv_archive_cmds_need_lc_CXX=no
                   18440:          else
                   18441:            lt_cv_archive_cmds_need_lc_CXX=yes
                   18442:          fi
                   18443:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   18444:        else
                   18445:          cat conftest.err 1>&5
                   18446:        fi
                   18447:        $RM conftest*
1.237     moko     18448:         ;;
                   18449: esac
1.128     moko     18450: fi
1.237     moko     18451: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   18452: printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     18453:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   18454:       ;;
                   18455:     esac
                   18456:   fi
                   18457:   ;;
                   18458: esac
                   18459: 
                   18460: 
                   18461: 
                   18462: 
                   18463: 
                   18464: 
                   18465: 
                   18466: 
                   18467: 
                   18468: 
                   18469: 
                   18470: 
                   18471: 
                   18472: 
                   18473: 
                   18474: 
                   18475: 
                   18476: 
                   18477: 
                   18478: 
                   18479: 
                   18480: 
                   18481: 
                   18482: 
                   18483: 
                   18484: 
                   18485: 
                   18486: 
                   18487: 
                   18488: 
                   18489: 
                   18490: 
                   18491: 
                   18492: 
                   18493: 
                   18494: 
                   18495: 
                   18496: 
                   18497: 
                   18498: 
                   18499: 
                   18500: 
                   18501: 
                   18502: 
                   18503: 
                   18504: 
                   18505: 
                   18506: 
                   18507: 
                   18508: 
                   18509: 
                   18510: 
                   18511: 
                   18512: 
                   18513: 
                   18514: 
                   18515: 
                   18516: 
                   18517: 
                   18518: 
                   18519: 
                   18520: 
1.237     moko     18521:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   18522: printf %s "checking dynamic linker characteristics... " >&6; }
1.128     moko     18523: 
                   18524: library_names_spec=
                   18525: libname_spec='lib$name'
                   18526: soname_spec=
1.237     moko     18527: shrext_cmds=.so
1.128     moko     18528: postinstall_cmds=
                   18529: postuninstall_cmds=
                   18530: finish_cmds=
                   18531: finish_eval=
                   18532: shlibpath_var=
                   18533: shlibpath_overrides_runpath=unknown
                   18534: version_type=none
                   18535: dynamic_linker="$host_os ld.so"
                   18536: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   18537: need_lib_prefix=unknown
                   18538: hardcode_into_libs=no
                   18539: 
                   18540: # when you set need_version to no, make sure it does not cause -set_version
                   18541: # flags to be left without arguments
                   18542: need_version=unknown
                   18543: 
1.237     moko     18544: 
                   18545: 
1.128     moko     18546: case $host_os in
                   18547: aix3*)
                   18548:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     18549:   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
1.128     moko     18550:   shlibpath_var=LIBPATH
                   18551: 
                   18552:   # AIX 3 has no versioning support, so we append a major version to the name.
1.237     moko     18553:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     18554:   ;;
                   18555: 
                   18556: aix[4-9]*)
                   18557:   version_type=linux # correct to gnu/linux during the next big refactor
                   18558:   need_lib_prefix=no
                   18559:   need_version=no
                   18560:   hardcode_into_libs=yes
1.237     moko     18561:   if test ia64 = "$host_cpu"; then
1.128     moko     18562:     # AIX 5 supports IA64
1.237     moko     18563:     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
1.128     moko     18564:     shlibpath_var=LD_LIBRARY_PATH
                   18565:   else
                   18566:     # With GCC up to 2.95.x, collect2 would create an import file
                   18567:     # for dependence libraries.  The import file would start with
1.237     moko     18568:     # the line '#! .'.  This would cause the generated library to
                   18569:     # depend on '.', always an invalid library.  This was fixed in
1.128     moko     18570:     # development snapshots of GCC prior to 3.0.
                   18571:     case $host_os in
                   18572:       aix4 | aix4.[01] | aix4.[01].*)
                   18573:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   18574:           echo ' yes '
1.237     moko     18575:           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
1.128     moko     18576:        :
                   18577:       else
                   18578:        can_build_shared=no
                   18579:       fi
                   18580:       ;;
                   18581:     esac
1.237     moko     18582:     # Using Import Files as archive members, it is possible to support
                   18583:     # filename-based versioning of shared library archives on AIX. While
                   18584:     # this would work for both with and without runtime linking, it will
                   18585:     # prevent static linking of such archives. So we do filename-based
                   18586:     # shared library versioning with .so extension only, which is used
                   18587:     # when both runtime linking and shared linking is enabled.
                   18588:     # Unfortunately, runtime linking may impact performance, so we do
                   18589:     # not want this to be the default eventually. Also, we use the
                   18590:     # versioned .so libs for executables only if there is the -brtl
                   18591:     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
                   18592:     # To allow for filename-based versioning support, we need to create
                   18593:     # libNAME.so.V as an archive file, containing:
                   18594:     # *) an Import File, referring to the versioned filename of the
                   18595:     #    archive as well as the shared archive member, telling the
                   18596:     #    bitwidth (32 or 64) of that shared object, and providing the
                   18597:     #    list of exported symbols of that shared object, eventually
                   18598:     #    decorated with the 'weak' keyword
                   18599:     # *) the shared object with the F_LOADONLY flag set, to really avoid
                   18600:     #    it being seen by the linker.
                   18601:     # At run time we better use the real file rather than another symlink,
                   18602:     # but for link time we create the symlink libNAME.so -> libNAME.so.V
                   18603: 
                   18604:     case $with_aix_soname,$aix_use_runtimelinking in
                   18605:     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
1.128     moko     18606:     # soname into executable. Probably we can add versioning support to
                   18607:     # collect2, so additional links can be useful in future.
1.237     moko     18608:     aix,yes) # traditional libtool
                   18609:       dynamic_linker='AIX unversionable lib.so'
1.128     moko     18610:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   18611:       # instead of lib<name>.a to let people know that these are not
                   18612:       # typical AIX shared libraries.
1.237     moko     18613:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   18614:       ;;
                   18615:     aix,no) # traditional AIX only
                   18616:       dynamic_linker='AIX lib.a(lib.so.V)'
1.128     moko     18617:       # We preserve .a as extension for shared libraries through AIX4.2
                   18618:       # and later when we are not doing run time linking.
1.237     moko     18619:       library_names_spec='$libname$release.a $libname.a'
                   18620:       soname_spec='$libname$release$shared_ext$major'
                   18621:       ;;
                   18622:     svr4,*) # full svr4 only
                   18623:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
                   18624:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
                   18625:       # We do not specify a path in Import Files, so LIBPATH fires.
                   18626:       shlibpath_overrides_runpath=yes
                   18627:       ;;
                   18628:     *,yes) # both, prefer svr4
                   18629:       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
                   18630:       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
                   18631:       # unpreferred sharedlib libNAME.a needs extra handling
                   18632:       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"'
                   18633:       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"'
                   18634:       # We do not specify a path in Import Files, so LIBPATH fires.
                   18635:       shlibpath_overrides_runpath=yes
                   18636:       ;;
                   18637:     *,no) # both, prefer aix
                   18638:       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
                   18639:       library_names_spec='$libname$release.a $libname.a'
                   18640:       soname_spec='$libname$release$shared_ext$major'
                   18641:       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
                   18642:       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)'
                   18643:       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"'
                   18644:       ;;
                   18645:     esac
1.128     moko     18646:     shlibpath_var=LIBPATH
                   18647:   fi
                   18648:   ;;
                   18649: 
                   18650: amigaos*)
                   18651:   case $host_cpu in
                   18652:   powerpc)
                   18653:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   18654:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
1.237     moko     18655:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     18656:     ;;
                   18657:   m68k)
                   18658:     library_names_spec='$libname.ixlibrary $libname.a'
                   18659:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.237     moko     18660:     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     18661:     ;;
                   18662:   esac
                   18663:   ;;
                   18664: 
                   18665: beos*)
1.237     moko     18666:   library_names_spec='$libname$shared_ext'
1.128     moko     18667:   dynamic_linker="$host_os ld.so"
                   18668:   shlibpath_var=LIBRARY_PATH
                   18669:   ;;
                   18670: 
                   18671: bsdi[45]*)
                   18672:   version_type=linux # correct to gnu/linux during the next big refactor
                   18673:   need_version=no
1.237     moko     18674:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   18675:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     18676:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   18677:   shlibpath_var=LD_LIBRARY_PATH
                   18678:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   18679:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   18680:   # the default ld.so.conf also contains /usr/contrib/lib and
                   18681:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   18682:   # libtool to hard-code these into programs
                   18683:   ;;
                   18684: 
1.237     moko     18685: cygwin* | mingw* | windows* | pw32* | cegcc*)
1.128     moko     18686:   version_type=windows
1.237     moko     18687:   shrext_cmds=.dll
1.128     moko     18688:   need_version=no
                   18689:   need_lib_prefix=no
                   18690: 
                   18691:   case $GCC,$cc_basename in
                   18692:   yes,*)
                   18693:     # gcc
                   18694:     library_names_spec='$libname.dll.a'
                   18695:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.237     moko     18696:     # If user builds GCC with multilib enabled,
                   18697:     # it should just install on $(libdir)
                   18698:     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
                   18699:     if test xyes = x"$multilib"; then
                   18700:       postinstall_cmds='base_file=`basename \$file`~
                   18701:         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
                   18702:         dldir=$destdir/`dirname \$dlpath`~
                   18703:         $install_prog $dir/$dlname $destdir/$dlname~
                   18704:         chmod a+x $destdir/$dlname~
                   18705:         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   18706:           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
                   18707:         fi'
                   18708:     else
                   18709:       postinstall_cmds='base_file=`basename \$file`~
                   18710:         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
                   18711:         dldir=$destdir/`dirname \$dlpath`~
                   18712:         test -d \$dldir || mkdir -p \$dldir~
                   18713:         $install_prog $dir/$dlname \$dldir/$dlname~
                   18714:         chmod a+x \$dldir/$dlname~
                   18715:         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   18716:           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   18717:         fi'
                   18718:     fi
1.128     moko     18719:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   18720:       dlpath=$dir/\$dldll~
                   18721:        $RM \$dlpath'
                   18722:     shlibpath_overrides_runpath=yes
                   18723: 
                   18724:     case $host_os in
                   18725:     cygwin*)
                   18726:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1.237     moko     18727:       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     18728: 
                   18729:       ;;
1.237     moko     18730:     mingw* | windows* | cegcc*)
1.128     moko     18731:       # MinGW DLLs use traditional 'lib' prefix
1.237     moko     18732:       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     18733:       ;;
                   18734:     pw32*)
                   18735:       # pw32 DLLs use 'pw' prefix rather than 'lib'
1.237     moko     18736:       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
1.128     moko     18737:       ;;
                   18738:     esac
                   18739:     dynamic_linker='Win32 ld.exe'
                   18740:     ;;
                   18741: 
1.237     moko     18742:   *,cl* | *,icl*)
                   18743:     # Native MSVC or ICC
1.128     moko     18744:     libname_spec='$name'
1.237     moko     18745:     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
                   18746:     library_names_spec='$libname.dll.lib'
1.128     moko     18747: 
                   18748:     case $build_os in
1.237     moko     18749:     mingw* | windows*)
1.128     moko     18750:       sys_lib_search_path_spec=
                   18751:       lt_save_ifs=$IFS
                   18752:       IFS=';'
                   18753:       for lt_path in $LIB
                   18754:       do
                   18755:         IFS=$lt_save_ifs
                   18756:         # Let DOS variable expansion print the short 8.3 style file name.
                   18757:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   18758:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   18759:       done
                   18760:       IFS=$lt_save_ifs
                   18761:       # Convert to MSYS style.
1.237     moko     18762:       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     18763:       ;;
                   18764:     cygwin*)
                   18765:       # Convert to unix form, then to dos form, then back to unix form
                   18766:       # but this time dos style (no spaces!) so that the unix form looks
                   18767:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   18768:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   18769:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   18770:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   18771:       ;;
                   18772:     *)
1.237     moko     18773:       sys_lib_search_path_spec=$LIB
1.128     moko     18774:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   18775:         # It is most probably a Windows format PATH.
                   18776:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   18777:       else
                   18778:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   18779:       fi
                   18780:       # FIXME: find the short name or the path components, as spaces are
                   18781:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   18782:       ;;
                   18783:     esac
                   18784: 
                   18785:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
1.237     moko     18786:     postinstall_cmds='base_file=`basename \$file`~
                   18787:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
1.128     moko     18788:       dldir=$destdir/`dirname \$dlpath`~
                   18789:       test -d \$dldir || mkdir -p \$dldir~
                   18790:       $install_prog $dir/$dlname \$dldir/$dlname'
                   18791:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   18792:       dlpath=$dir/\$dldll~
                   18793:        $RM \$dlpath'
                   18794:     shlibpath_overrides_runpath=yes
                   18795:     dynamic_linker='Win32 link.exe'
                   18796:     ;;
                   18797: 
                   18798:   *)
1.237     moko     18799:     # Assume MSVC and ICC wrapper
                   18800:     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
1.128     moko     18801:     dynamic_linker='Win32 ld.exe'
                   18802:     ;;
                   18803:   esac
                   18804:   # FIXME: first we should search . and the directory the executable is in
                   18805:   shlibpath_var=PATH
                   18806:   ;;
                   18807: 
                   18808: darwin* | rhapsody*)
                   18809:   dynamic_linker="$host_os dyld"
                   18810:   version_type=darwin
                   18811:   need_lib_prefix=no
                   18812:   need_version=no
1.237     moko     18813:   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
                   18814:   soname_spec='$libname$release$major$shared_ext'
1.128     moko     18815:   shlibpath_overrides_runpath=yes
                   18816:   shlibpath_var=DYLD_LIBRARY_PATH
                   18817:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   18818: 
                   18819:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   18820:   ;;
                   18821: 
                   18822: dgux*)
                   18823:   version_type=linux # correct to gnu/linux during the next big refactor
                   18824:   need_lib_prefix=no
                   18825:   need_version=no
1.237     moko     18826:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   18827:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     18828:   shlibpath_var=LD_LIBRARY_PATH
                   18829:   ;;
                   18830: 
1.237     moko     18831: freebsd* | dragonfly* | midnightbsd*)
1.128     moko     18832:   # DragonFly does not have aout.  When/if they implement a new
                   18833:   # versioning mechanism, adjust this.
                   18834:   if test -x /usr/bin/objformat; then
                   18835:     objformat=`/usr/bin/objformat`
                   18836:   else
                   18837:     case $host_os in
                   18838:     freebsd[23].*) objformat=aout ;;
                   18839:     *) objformat=elf ;;
                   18840:     esac
                   18841:   fi
                   18842:   version_type=freebsd-$objformat
                   18843:   case $version_type in
                   18844:     freebsd-elf*)
1.237     moko     18845:       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   18846:       soname_spec='$libname$release$shared_ext$major'
1.128     moko     18847:       need_version=no
                   18848:       need_lib_prefix=no
                   18849:       ;;
                   18850:     freebsd-*)
1.237     moko     18851:       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     18852:       need_version=yes
                   18853:       ;;
                   18854:   esac
1.237     moko     18855:   case $host_cpu in
                   18856:     powerpc64)
                   18857:       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
                   18858:       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
                   18859:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18860: /* end confdefs.h.  */
                   18861: int test_pointer_size[sizeof (void *) - 5];
                   18862: 
                   18863: _ACEOF
                   18864: if ac_fn_cxx_try_compile "$LINENO"
                   18865: then :
1.128     moko     18866:   shlibpath_var=LD_LIBRARY_PATH
1.237     moko     18867: else case e in #(
                   18868:   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
                   18869: esac
                   18870: fi
                   18871: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   18872:       ;;
                   18873:     *)
                   18874:       shlibpath_var=LD_LIBRARY_PATH
                   18875:       ;;
                   18876:   esac
1.128     moko     18877:   case $host_os in
                   18878:   freebsd2.*)
                   18879:     shlibpath_overrides_runpath=yes
                   18880:     ;;
                   18881:   freebsd3.[01]* | freebsdelf3.[01]*)
                   18882:     shlibpath_overrides_runpath=yes
                   18883:     hardcode_into_libs=yes
                   18884:     ;;
                   18885:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   18886:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   18887:     shlibpath_overrides_runpath=no
                   18888:     hardcode_into_libs=yes
                   18889:     ;;
                   18890:   *) # from 4.6 on, and DragonFly
                   18891:     shlibpath_overrides_runpath=yes
                   18892:     hardcode_into_libs=yes
                   18893:     ;;
                   18894:   esac
                   18895:   ;;
                   18896: 
                   18897: haiku*)
                   18898:   version_type=linux # correct to gnu/linux during the next big refactor
                   18899:   need_lib_prefix=no
                   18900:   need_version=no
                   18901:   dynamic_linker="$host_os runtime_loader"
1.237     moko     18902:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   18903:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     18904:   shlibpath_var=LIBRARY_PATH
1.237     moko     18905:   shlibpath_overrides_runpath=no
                   18906:   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
                   18907:   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
                   18908:   hardcode_into_libs=no
1.128     moko     18909:   ;;
                   18910: 
                   18911: hpux9* | hpux10* | hpux11*)
                   18912:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   18913:   # link against other versions.
                   18914:   version_type=sunos
                   18915:   need_lib_prefix=no
                   18916:   need_version=no
                   18917:   case $host_cpu in
                   18918:   ia64*)
                   18919:     shrext_cmds='.so'
                   18920:     hardcode_into_libs=yes
                   18921:     dynamic_linker="$host_os dld.so"
                   18922:     shlibpath_var=LD_LIBRARY_PATH
                   18923:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.237     moko     18924:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   18925:     soname_spec='$libname$release$shared_ext$major'
                   18926:     if test 32 = "$HPUX_IA64_MODE"; then
1.128     moko     18927:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.237     moko     18928:       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
1.128     moko     18929:     else
                   18930:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
1.237     moko     18931:       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
1.128     moko     18932:     fi
                   18933:     ;;
                   18934:   hppa*64*)
                   18935:     shrext_cmds='.sl'
                   18936:     hardcode_into_libs=yes
                   18937:     dynamic_linker="$host_os dld.sl"
                   18938:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   18939:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
1.237     moko     18940:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   18941:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     18942:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   18943:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   18944:     ;;
                   18945:   *)
                   18946:     shrext_cmds='.sl'
                   18947:     dynamic_linker="$host_os dld.sl"
                   18948:     shlibpath_var=SHLIB_PATH
                   18949:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1.237     moko     18950:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   18951:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     18952:     ;;
                   18953:   esac
                   18954:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   18955:   postinstall_cmds='chmod 555 $lib'
                   18956:   # or fails outright, so override atomically:
                   18957:   install_override_mode=555
                   18958:   ;;
                   18959: 
                   18960: interix[3-9]*)
                   18961:   version_type=linux # correct to gnu/linux during the next big refactor
                   18962:   need_lib_prefix=no
                   18963:   need_version=no
1.237     moko     18964:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   18965:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     18966:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   18967:   shlibpath_var=LD_LIBRARY_PATH
                   18968:   shlibpath_overrides_runpath=no
                   18969:   hardcode_into_libs=yes
                   18970:   ;;
                   18971: 
                   18972: irix5* | irix6* | nonstopux*)
                   18973:   case $host_os in
                   18974:     nonstopux*) version_type=nonstopux ;;
                   18975:     *)
1.237     moko     18976:        if test yes = "$lt_cv_prog_gnu_ld"; then
1.128     moko     18977:                version_type=linux # correct to gnu/linux during the next big refactor
                   18978:        else
                   18979:                version_type=irix
                   18980:        fi ;;
                   18981:   esac
                   18982:   need_lib_prefix=no
                   18983:   need_version=no
1.237     moko     18984:   soname_spec='$libname$release$shared_ext$major'
                   18985:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
1.128     moko     18986:   case $host_os in
                   18987:   irix5* | nonstopux*)
                   18988:     libsuff= shlibsuff=
                   18989:     ;;
                   18990:   *)
                   18991:     case $LD in # libtool.m4 will add one of these switches to LD
                   18992:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   18993:       libsuff= shlibsuff= libmagic=32-bit;;
                   18994:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   18995:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   18996:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   18997:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   18998:     *) libsuff= shlibsuff= libmagic=never-match;;
                   18999:     esac
                   19000:     ;;
                   19001:   esac
                   19002:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   19003:   shlibpath_overrides_runpath=no
1.237     moko     19004:   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
                   19005:   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
1.128     moko     19006:   hardcode_into_libs=yes
                   19007:   ;;
                   19008: 
                   19009: # No shared lib support for Linux oldld, aout, or coff.
                   19010: linux*oldld* | linux*aout* | linux*coff*)
                   19011:   dynamic_linker=no
                   19012:   ;;
                   19013: 
1.237     moko     19014: linux*android*)
                   19015:   version_type=none # Android doesn't support versioned libraries.
                   19016:   need_lib_prefix=no
                   19017:   need_version=no
                   19018:   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
                   19019:   soname_spec='$libname$release$shared_ext'
                   19020:   finish_cmds=
                   19021:   shlibpath_var=LD_LIBRARY_PATH
                   19022:   shlibpath_overrides_runpath=yes
                   19023: 
                   19024:   # This implies no fast_install, which is unacceptable.
                   19025:   # Some rework will be needed to allow for fast_install
                   19026:   # before this can be enabled.
                   19027:   hardcode_into_libs=yes
                   19028: 
                   19029:   dynamic_linker='Android linker'
                   19030:   # -rpath works at least for libraries that are not overridden by
                   19031:   # libraries installed in system locations.
                   19032:   hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
                   19033:   ;;
                   19034: 
1.128     moko     19035: # This must be glibc/ELF.
1.237     moko     19036: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.128     moko     19037:   version_type=linux # correct to gnu/linux during the next big refactor
                   19038:   need_lib_prefix=no
                   19039:   need_version=no
1.237     moko     19040:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19041:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19042:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   19043:   shlibpath_var=LD_LIBRARY_PATH
                   19044:   shlibpath_overrides_runpath=no
                   19045: 
                   19046:   # Some binutils ld are patched to set DT_RUNPATH
1.237     moko     19047:   if test ${lt_cv_shlibpath_overrides_runpath+y}
                   19048: then :
                   19049:   printf %s "(cached) " >&6
                   19050: else case e in #(
                   19051:   e) lt_cv_shlibpath_overrides_runpath=no
1.128     moko     19052:     save_LDFLAGS=$LDFLAGS
                   19053:     save_libdir=$libdir
                   19054:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   19055:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150     moko     19056:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     19057: /* end confdefs.h.  */
                   19058: 
                   19059: int
1.237     moko     19060: main (void)
1.128     moko     19061: {
                   19062: 
                   19063:   ;
                   19064:   return 0;
                   19065: }
                   19066: _ACEOF
1.237     moko     19067: if ac_fn_cxx_try_link "$LINENO"
                   19068: then :
                   19069:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
                   19070: then :
1.128     moko     19071:   lt_cv_shlibpath_overrides_runpath=yes
                   19072: fi
                   19073: fi
1.237     moko     19074: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     19075:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     19076:     LDFLAGS=$save_LDFLAGS
                   19077:     libdir=$save_libdir
1.237     moko     19078:      ;;
                   19079: esac
1.128     moko     19080: fi
                   19081: 
                   19082:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   19083: 
                   19084:   # This implies no fast_install, which is unacceptable.
                   19085:   # Some rework will be needed to allow for fast_install
                   19086:   # before this can be enabled.
                   19087:   hardcode_into_libs=yes
                   19088: 
1.237     moko     19089:   # Ideally, we could use ldconfig to report *all* directories which are
                   19090:   # searched for libraries, however this is still not possible.  Aside from not
                   19091:   # being certain /sbin/ldconfig is available, command
                   19092:   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
                   19093:   # even though it is searched at run-time.  Try to do the best guess by
                   19094:   # appending ld.so.conf contents (and includes) to the search path.
1.128     moko     19095:   if test -f /etc/ld.so.conf; then
                   19096:     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' ' '`
                   19097:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   19098:   fi
                   19099: 
                   19100:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   19101:   # powerpc, because MkLinux only supported shared libraries with the
                   19102:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   19103:   # most powerpc-linux boxes support dynamic linking these days and
                   19104:   # people can always --disable-shared, the test was removed, and we
                   19105:   # assume the GNU/Linux dynamic linker is in use.
                   19106:   dynamic_linker='GNU/Linux ld.so'
                   19107:   ;;
                   19108: 
1.237     moko     19109: netbsdelf*-gnu)
                   19110:   version_type=linux
                   19111:   need_lib_prefix=no
                   19112:   need_version=no
                   19113:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19114:   soname_spec='$libname$release$shared_ext$major'
                   19115:   shlibpath_var=LD_LIBRARY_PATH
                   19116:   shlibpath_overrides_runpath=no
                   19117:   hardcode_into_libs=yes
                   19118:   dynamic_linker='NetBSD ld.elf_so'
                   19119:   ;;
                   19120: 
                   19121: netbsdelf*-gnu)
                   19122:   version_type=linux
                   19123:   need_lib_prefix=no
                   19124:   need_version=no
                   19125:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   19126:   soname_spec='${libname}${release}${shared_ext}$major'
                   19127:   shlibpath_var=LD_LIBRARY_PATH
                   19128:   shlibpath_overrides_runpath=no
                   19129:   hardcode_into_libs=yes
                   19130:   dynamic_linker='NetBSD ld.elf_so'
                   19131:   ;;
                   19132: 
1.128     moko     19133: netbsd*)
                   19134:   version_type=sunos
                   19135:   need_lib_prefix=no
                   19136:   need_version=no
                   19137:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.237     moko     19138:     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     19139:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   19140:     dynamic_linker='NetBSD (a.out) ld.so'
                   19141:   else
1.237     moko     19142:     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19143:     soname_spec='$libname$release$shared_ext$major'
1.128     moko     19144:     dynamic_linker='NetBSD ld.elf_so'
                   19145:   fi
                   19146:   shlibpath_var=LD_LIBRARY_PATH
                   19147:   shlibpath_overrides_runpath=yes
                   19148:   hardcode_into_libs=yes
                   19149:   ;;
                   19150: 
1.237     moko     19151: *-mlibc)
                   19152:   version_type=linux # correct to gnu/linux during the next big refactor
                   19153:   need_lib_prefix=no
                   19154:   need_version=no
                   19155:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19156:   soname_spec='$libname$release$shared_ext$major'
                   19157:   dynamic_linker='mlibc ld.so'
                   19158:   shlibpath_var=LD_LIBRARY_PATH
                   19159:   shlibpath_overrides_runpath=no
                   19160:   hardcode_into_libs=yes
                   19161:   ;;
                   19162: 
1.128     moko     19163: newsos6)
                   19164:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     19165:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     19166:   shlibpath_var=LD_LIBRARY_PATH
                   19167:   shlibpath_overrides_runpath=yes
                   19168:   ;;
                   19169: 
                   19170: *nto* | *qnx*)
                   19171:   version_type=qnx
                   19172:   need_lib_prefix=no
                   19173:   need_version=no
1.237     moko     19174:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19175:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19176:   shlibpath_var=LD_LIBRARY_PATH
                   19177:   shlibpath_overrides_runpath=no
                   19178:   hardcode_into_libs=yes
                   19179:   dynamic_linker='ldqnx.so'
                   19180:   ;;
                   19181: 
                   19182: openbsd*)
                   19183:   version_type=sunos
1.237     moko     19184:   sys_lib_dlsearch_path_spec=/usr/lib
1.128     moko     19185:   need_lib_prefix=no
1.237     moko     19186:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
                   19187:     need_version=no
                   19188:   else
                   19189:     need_version=yes
                   19190:   fi
                   19191:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     19192:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   19193:   shlibpath_var=LD_LIBRARY_PATH
1.237     moko     19194:   shlibpath_overrides_runpath=yes
1.128     moko     19195:   ;;
                   19196: 
                   19197: os2*)
                   19198:   libname_spec='$name'
1.237     moko     19199:   version_type=windows
                   19200:   shrext_cmds=.dll
                   19201:   need_version=no
1.128     moko     19202:   need_lib_prefix=no
1.237     moko     19203:   # OS/2 can only load a DLL with a base name of 8 characters or less.
                   19204:   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
                   19205:     v=$($ECHO $release$versuffix | tr -d .-);
                   19206:     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
                   19207:     $ECHO $n$v`$shared_ext'
                   19208:   library_names_spec='${libname}_dll.$libext'
1.128     moko     19209:   dynamic_linker='OS/2 ld.exe'
1.237     moko     19210:   shlibpath_var=BEGINLIBPATH
                   19211:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   19212:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   19213:   postinstall_cmds='base_file=`basename \$file`~
                   19214:     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
                   19215:     dldir=$destdir/`dirname \$dlpath`~
                   19216:     test -d \$dldir || mkdir -p \$dldir~
                   19217:     $install_prog $dir/$dlname \$dldir/$dlname~
                   19218:     chmod a+x \$dldir/$dlname~
                   19219:     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   19220:       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   19221:     fi'
                   19222:   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
                   19223:     dlpath=$dir/\$dldll~
                   19224:     $RM \$dlpath'
1.128     moko     19225:   ;;
                   19226: 
                   19227: osf3* | osf4* | osf5*)
                   19228:   version_type=osf
                   19229:   need_lib_prefix=no
                   19230:   need_version=no
1.237     moko     19231:   soname_spec='$libname$release$shared_ext$major'
                   19232:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
1.128     moko     19233:   shlibpath_var=LD_LIBRARY_PATH
                   19234:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
1.237     moko     19235:   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1.128     moko     19236:   ;;
                   19237: 
                   19238: rdos*)
                   19239:   dynamic_linker=no
                   19240:   ;;
                   19241: 
1.237     moko     19242: serenity*)
                   19243:   version_type=linux # correct to gnu/linux during the next big refactor
                   19244:   need_lib_prefix=no
                   19245:   need_version=no
                   19246:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19247:   soname_spec='$libname$release$shared_ext$major'
                   19248:   shlibpath_var=LD_LIBRARY_PATH
                   19249:   shlibpath_overrides_runpath=no
                   19250:   dynamic_linker='SerenityOS LibELF'
                   19251:   ;;
                   19252: 
1.128     moko     19253: solaris*)
                   19254:   version_type=linux # correct to gnu/linux during the next big refactor
                   19255:   need_lib_prefix=no
                   19256:   need_version=no
1.237     moko     19257:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19258:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19259:   shlibpath_var=LD_LIBRARY_PATH
                   19260:   shlibpath_overrides_runpath=yes
                   19261:   hardcode_into_libs=yes
                   19262:   # ldd complains unless libraries are executable
                   19263:   postinstall_cmds='chmod +x $lib'
                   19264:   ;;
                   19265: 
                   19266: sunos4*)
                   19267:   version_type=sunos
1.237     moko     19268:   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
1.128     moko     19269:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   19270:   shlibpath_var=LD_LIBRARY_PATH
                   19271:   shlibpath_overrides_runpath=yes
1.237     moko     19272:   if test yes = "$with_gnu_ld"; then
1.128     moko     19273:     need_lib_prefix=no
                   19274:   fi
                   19275:   need_version=yes
                   19276:   ;;
                   19277: 
                   19278: sysv4 | sysv4.3*)
                   19279:   version_type=linux # correct to gnu/linux during the next big refactor
1.237     moko     19280:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19281:   soname_spec='$libname$release$shared_ext$major'
1.128     moko     19282:   shlibpath_var=LD_LIBRARY_PATH
                   19283:   case $host_vendor in
                   19284:     sni)
                   19285:       shlibpath_overrides_runpath=no
                   19286:       need_lib_prefix=no
                   19287:       runpath_var=LD_RUN_PATH
1.237     moko     19288:       ;;
                   19289:     siemens)
                   19290:       need_lib_prefix=no
                   19291:       ;;
                   19292:     motorola)
                   19293:       need_lib_prefix=no
                   19294:       need_version=no
                   19295:       shlibpath_overrides_runpath=no
                   19296:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   19297:       ;;
                   19298:   esac
                   19299:   ;;
                   19300: 
                   19301: sysv4*MP*)
                   19302:   if test -d /usr/nec; then
                   19303:     version_type=linux # correct to gnu/linux during the next big refactor
                   19304:     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
                   19305:     soname_spec='$libname$shared_ext.$major'
                   19306:     shlibpath_var=LD_LIBRARY_PATH
                   19307:   fi
                   19308:   ;;
                   19309: 
                   19310: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   19311:   version_type=sco
                   19312:   need_lib_prefix=no
                   19313:   need_version=no
                   19314:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
                   19315:   soname_spec='$libname$release$shared_ext$major'
                   19316:   shlibpath_var=LD_LIBRARY_PATH
                   19317:   shlibpath_overrides_runpath=yes
                   19318:   hardcode_into_libs=yes
                   19319:   if test yes = "$with_gnu_ld"; then
                   19320:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   19321:   else
                   19322:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   19323:     case $host_os in
                   19324:       sco3.2v5*)
                   19325:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   19326:        ;;
                   19327:     esac
                   19328:   fi
                   19329:   sys_lib_dlsearch_path_spec='/usr/lib'
                   19330:   ;;
                   19331: 
                   19332: tpf*)
                   19333:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   19334:   version_type=linux # correct to gnu/linux during the next big refactor
                   19335:   need_lib_prefix=no
                   19336:   need_version=no
                   19337:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19338:   shlibpath_var=LD_LIBRARY_PATH
                   19339:   shlibpath_overrides_runpath=no
                   19340:   hardcode_into_libs=yes
                   19341:   ;;
                   19342: 
                   19343: uts4*)
                   19344:   version_type=linux # correct to gnu/linux during the next big refactor
                   19345:   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
                   19346:   soname_spec='$libname$release$shared_ext$major'
                   19347:   shlibpath_var=LD_LIBRARY_PATH
                   19348:   ;;
                   19349: 
                   19350: emscripten*)
                   19351:   version_type=none
                   19352:   need_lib_prefix=no
                   19353:   need_version=no
                   19354:   library_names_spec='$libname$release$shared_ext'
                   19355:   soname_spec='$libname$release$shared_ext'
                   19356:   finish_cmds=
                   19357:   dynamic_linker="Emscripten linker"
                   19358:   lt_prog_compiler_wl_CXX=
                   19359: lt_prog_compiler_pic_CXX=
                   19360: lt_prog_compiler_static_CXX=
                   19361: 
                   19362: 
                   19363:   # C++ specific cases for pic, static, wl, etc.
                   19364:   if test yes = "$GXX"; then
                   19365:     lt_prog_compiler_wl_CXX='-Wl,'
                   19366:     lt_prog_compiler_static_CXX='-static'
                   19367: 
                   19368:     case $host_os in
                   19369:     aix*)
                   19370:       # All AIX code is PIC.
                   19371:       if test ia64 = "$host_cpu"; then
                   19372:        # AIX 5 now supports IA64 processor
                   19373:        lt_prog_compiler_static_CXX='-Bstatic'
                   19374:       fi
                   19375:       lt_prog_compiler_pic_CXX='-fPIC'
                   19376:       ;;
                   19377: 
                   19378:     amigaos*)
                   19379:       case $host_cpu in
                   19380:       powerpc)
                   19381:             # see comment about AmigaOS4 .so support
                   19382:             lt_prog_compiler_pic_CXX='-fPIC'
                   19383:         ;;
                   19384:       m68k)
                   19385:             # FIXME: we need at least 68020 code to build shared libraries, but
                   19386:             # adding the '-m68020' flag to GCC prevents building anything better,
                   19387:             # like '-m68040'.
                   19388:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   19389:         ;;
                   19390:       esac
                   19391:       ;;
                   19392: 
                   19393:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   19394:       # PIC is the default for these OSes.
                   19395:       ;;
                   19396:     mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
                   19397:       # This hack is so that the source file can tell whether it is being
                   19398:       # built for inclusion in a dll (and should export symbols for example).
                   19399:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   19400:       # (--disable-auto-import) libraries
                   19401:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   19402:       case $host_os in
                   19403:       os2*)
                   19404:        lt_prog_compiler_static_CXX='$wl-static'
                   19405:        ;;
                   19406:       esac
                   19407:       ;;
                   19408:     darwin* | rhapsody*)
                   19409:       # PIC is the default on this platform
                   19410:       # Common symbols not allowed in MH_DYLIB files
                   19411:       lt_prog_compiler_pic_CXX='-fno-common'
                   19412:       ;;
                   19413:     *djgpp*)
                   19414:       # DJGPP does not support shared libraries at all
                   19415:       lt_prog_compiler_pic_CXX=
                   19416:       ;;
                   19417:     haiku*)
                   19418:       # PIC is the default for Haiku.
                   19419:       # The "-static" flag exists, but is broken.
                   19420:       lt_prog_compiler_static_CXX=
                   19421:       ;;
                   19422:     interix[3-9]*)
                   19423:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   19424:       # Instead, we relocate shared libraries at runtime.
                   19425:       ;;
                   19426:     sysv4*MP*)
                   19427:       if test -d /usr/nec; then
                   19428:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   19429:       fi
                   19430:       ;;
                   19431:     hpux*)
                   19432:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   19433:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   19434:       # sets the default TLS model and affects inlining.
                   19435:       case $host_cpu in
                   19436:       hppa*64*)
                   19437:        ;;
                   19438:       *)
                   19439:        lt_prog_compiler_pic_CXX='-fPIC'
                   19440:        ;;
                   19441:       esac
                   19442:       ;;
                   19443:     *qnx* | *nto*)
                   19444:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   19445:       # it will coredump.
                   19446:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   19447:       ;;
                   19448:     *)
                   19449:       lt_prog_compiler_pic_CXX='-fPIC'
                   19450:       ;;
                   19451:     esac
                   19452:   else
                   19453:     case $host_os in
                   19454:       aix[4-9]*)
                   19455:        # All AIX code is PIC.
                   19456:        if test ia64 = "$host_cpu"; then
                   19457:          # AIX 5 now supports IA64 processor
                   19458:          lt_prog_compiler_static_CXX='-Bstatic'
                   19459:        else
                   19460:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   19461:        fi
                   19462:        ;;
                   19463:       chorus*)
                   19464:        case $cc_basename in
                   19465:        cxch68*)
                   19466:          # Green Hills C++ Compiler
                   19467:          # _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"
                   19468:          ;;
                   19469:        esac
                   19470:        ;;
                   19471:       mingw* | windows* | cygwin* | os2* | pw32* | cegcc*)
                   19472:        # This hack is so that the source file can tell whether it is being
                   19473:        # built for inclusion in a dll (and should export symbols for example).
                   19474:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   19475:        ;;
                   19476:       dgux*)
                   19477:        case $cc_basename in
                   19478:          ec++*)
                   19479:            lt_prog_compiler_pic_CXX='-KPIC'
                   19480:            ;;
                   19481:          ghcx*)
                   19482:            # Green Hills C++ Compiler
                   19483:            lt_prog_compiler_pic_CXX='-pic'
                   19484:            ;;
                   19485:          *)
                   19486:            ;;
                   19487:        esac
                   19488:        ;;
                   19489:       freebsd* | dragonfly* | midnightbsd*)
                   19490:        # FreeBSD uses GNU C++
                   19491:        ;;
                   19492:       hpux9* | hpux10* | hpux11*)
                   19493:        case $cc_basename in
                   19494:          CC*)
                   19495:            lt_prog_compiler_wl_CXX='-Wl,'
                   19496:            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
                   19497:            if test ia64 != "$host_cpu"; then
                   19498:              lt_prog_compiler_pic_CXX='+Z'
                   19499:            fi
                   19500:            ;;
                   19501:          aCC*)
                   19502:            lt_prog_compiler_wl_CXX='-Wl,'
                   19503:            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
                   19504:            case $host_cpu in
                   19505:            hppa*64*|ia64*)
                   19506:              # +Z the default
                   19507:              ;;
                   19508:            *)
                   19509:              lt_prog_compiler_pic_CXX='+Z'
                   19510:              ;;
                   19511:            esac
                   19512:            ;;
                   19513:          *)
                   19514:            ;;
                   19515:        esac
                   19516:        ;;
                   19517:       interix*)
                   19518:        # This is c89, which is MS Visual C++ (no shared libs)
                   19519:        # Anyone wants to do a port?
                   19520:        ;;
                   19521:       irix5* | irix6* | nonstopux*)
                   19522:        case $cc_basename in
                   19523:          CC*)
                   19524:            lt_prog_compiler_wl_CXX='-Wl,'
                   19525:            lt_prog_compiler_static_CXX='-non_shared'
                   19526:            # CC pic flag -KPIC is the default.
                   19527:            ;;
                   19528:          *)
                   19529:            ;;
                   19530:        esac
                   19531:        ;;
                   19532:       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
                   19533:        case $cc_basename in
                   19534:          KCC*)
                   19535:            # KAI C++ Compiler
                   19536:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   19537:            lt_prog_compiler_pic_CXX='-fPIC'
                   19538:            ;;
                   19539:          ecpc* )
                   19540:            # old Intel C++ for x86_64, which still supported -KPIC.
                   19541:            lt_prog_compiler_wl_CXX='-Wl,'
                   19542:            lt_prog_compiler_pic_CXX='-KPIC'
                   19543:            lt_prog_compiler_static_CXX='-static'
                   19544:            ;;
                   19545:          icpc* )
                   19546:            # Intel C++, used to be incompatible with GCC.
                   19547:            # ICC 10 doesn't accept -KPIC any more.
                   19548:            lt_prog_compiler_wl_CXX='-Wl,'
                   19549:            lt_prog_compiler_pic_CXX='-fPIC'
                   19550:            lt_prog_compiler_static_CXX='-static'
                   19551:            ;;
                   19552:          pgCC* | pgcpp*)
                   19553:            # Portland Group C++ compiler
                   19554:            lt_prog_compiler_wl_CXX='-Wl,'
                   19555:            lt_prog_compiler_pic_CXX='-fpic'
                   19556:            lt_prog_compiler_static_CXX='-Bstatic'
                   19557:            ;;
                   19558:          cxx*)
                   19559:            # Compaq C++
                   19560:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   19561:            # Linux and Compaq Tru64 Unix objects are PIC.
                   19562:            lt_prog_compiler_pic_CXX=
                   19563:            lt_prog_compiler_static_CXX='-non_shared'
                   19564:            ;;
                   19565:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   19566:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   19567:            lt_prog_compiler_wl_CXX='-Wl,'
                   19568:            lt_prog_compiler_pic_CXX='-qpic'
                   19569:            lt_prog_compiler_static_CXX='-qstaticlink'
                   19570:            ;;
                   19571:          *)
                   19572:            case `$CC -V 2>&1 | $SED 5q` in
                   19573:            *Sun\ C*)
                   19574:              # Sun C++ 5.9
                   19575:              lt_prog_compiler_pic_CXX='-KPIC'
                   19576:              lt_prog_compiler_static_CXX='-Bstatic'
                   19577:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   19578:              ;;
                   19579:            esac
                   19580:            ;;
                   19581:        esac
                   19582:        ;;
                   19583:       lynxos*)
                   19584:        ;;
                   19585:       m88k*)
                   19586:        ;;
                   19587:       mvs*)
                   19588:        case $cc_basename in
                   19589:          cxx*)
                   19590:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   19591:            ;;
                   19592:          *)
                   19593:            ;;
                   19594:        esac
                   19595:        ;;
                   19596:       netbsd* | netbsdelf*-gnu)
                   19597:        ;;
                   19598:       *-mlibc)
                   19599:        ;;
                   19600:       *qnx* | *nto*)
                   19601:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   19602:         # it will coredump.
                   19603:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   19604:         ;;
                   19605:       osf3* | osf4* | osf5*)
                   19606:        case $cc_basename in
                   19607:          KCC*)
                   19608:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   19609:            ;;
                   19610:          RCC*)
                   19611:            # Rational C++ 2.4.1
                   19612:            lt_prog_compiler_pic_CXX='-pic'
                   19613:            ;;
                   19614:          cxx*)
                   19615:            # Digital/Compaq C++
                   19616:            lt_prog_compiler_wl_CXX='-Wl,'
                   19617:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   19618:            # Linux and Compaq Tru64 Unix objects are PIC.
                   19619:            lt_prog_compiler_pic_CXX=
                   19620:            lt_prog_compiler_static_CXX='-non_shared'
                   19621:            ;;
                   19622:          *)
                   19623:            ;;
                   19624:        esac
                   19625:        ;;
                   19626:       psos*)
                   19627:        ;;
                   19628:       serenity*)
                   19629:         ;;
                   19630:       solaris*)
                   19631:        case $cc_basename in
                   19632:          CC* | sunCC*)
                   19633:            # Sun C++ 4.2, 5.x and Centerline C++
                   19634:            lt_prog_compiler_pic_CXX='-KPIC'
                   19635:            lt_prog_compiler_static_CXX='-Bstatic'
                   19636:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   19637:            ;;
                   19638:          gcx*)
                   19639:            # Green Hills C++ Compiler
                   19640:            lt_prog_compiler_pic_CXX='-PIC'
                   19641:            ;;
                   19642:          *)
                   19643:            ;;
                   19644:        esac
                   19645:        ;;
                   19646:       sunos4*)
                   19647:        case $cc_basename in
                   19648:          CC*)
                   19649:            # Sun C++ 4.x
                   19650:            lt_prog_compiler_pic_CXX='-pic'
                   19651:            lt_prog_compiler_static_CXX='-Bstatic'
                   19652:            ;;
                   19653:          lcc*)
                   19654:            # Lucid
                   19655:            lt_prog_compiler_pic_CXX='-pic'
                   19656:            ;;
                   19657:          *)
                   19658:            ;;
                   19659:        esac
                   19660:        ;;
                   19661:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   19662:        case $cc_basename in
                   19663:          CC*)
                   19664:            lt_prog_compiler_wl_CXX='-Wl,'
                   19665:            lt_prog_compiler_pic_CXX='-KPIC'
                   19666:            lt_prog_compiler_static_CXX='-Bstatic'
                   19667:            ;;
                   19668:        esac
                   19669:        ;;
                   19670:       tandem*)
                   19671:        case $cc_basename in
                   19672:          NCC*)
                   19673:            # NonStop-UX NCC 3.20
                   19674:            lt_prog_compiler_pic_CXX='-KPIC'
                   19675:            ;;
                   19676:          *)
                   19677:            ;;
                   19678:        esac
                   19679:        ;;
                   19680:       vxworks*)
                   19681:        ;;
                   19682:       *)
                   19683:        lt_prog_compiler_can_build_shared_CXX=no
                   19684:        ;;
                   19685:     esac
                   19686:   fi
                   19687: 
                   19688: case $host_os in
                   19689:   # For platforms that do not support PIC, -DPIC is meaningless:
                   19690:   *djgpp*)
                   19691:     lt_prog_compiler_pic_CXX=
                   19692:     ;;
                   19693:   *)
                   19694:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   19695:     ;;
                   19696: esac
                   19697: 
                   19698: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   19699: printf %s "checking for $compiler option to produce PIC... " >&6; }
                   19700: if test ${lt_cv_prog_compiler_pic_CXX+y}
                   19701: then :
                   19702:   printf %s "(cached) " >&6
                   19703: else case e in #(
                   19704:   e) lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX ;;
                   19705: esac
                   19706: fi
                   19707: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   19708: printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
                   19709: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   19710: 
                   19711: #
                   19712: # Check to make sure the PIC flag actually works.
                   19713: #
                   19714: if test -n "$lt_prog_compiler_pic_CXX"; then
                   19715:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   19716: printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   19717: if test ${lt_cv_prog_compiler_pic_works_CXX+y}
                   19718: then :
                   19719:   printf %s "(cached) " >&6
                   19720: else case e in #(
                   19721:   e) lt_cv_prog_compiler_pic_works_CXX=no
                   19722:    ac_outfile=conftest.$ac_objext
                   19723:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   19724:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
                   19725:    # Insert the option either (1) after the last *FLAGS variable, or
                   19726:    # (2) before a word containing "conftest.", or (3) at the end.
                   19727:    # Note that $ac_compile itself does not contain backslashes and begins
                   19728:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   19729:    # The option is referenced via a variable to avoid confusing sed.
                   19730:    lt_compile=`echo "$ac_compile" | $SED \
                   19731:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   19732:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   19733:    -e 's:$: $lt_compiler_flag:'`
                   19734:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   19735:    (eval "$lt_compile" 2>conftest.err)
                   19736:    ac_status=$?
                   19737:    cat conftest.err >&5
                   19738:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   19739:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   19740:      # The compiler can only warn and ignore the option if not recognized
                   19741:      # So say no if there are warnings other than the usual output.
                   19742:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   19743:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   19744:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   19745:        lt_cv_prog_compiler_pic_works_CXX=yes
                   19746:      fi
                   19747:    fi
                   19748:    $RM conftest*
                   19749:  ;;
                   19750: esac
                   19751: fi
                   19752: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   19753: printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
                   19754: 
                   19755: if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
                   19756:     case $lt_prog_compiler_pic_CXX in
                   19757:      "" | " "*) ;;
                   19758:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   19759:      esac
                   19760: else
                   19761:     lt_prog_compiler_pic_CXX=
                   19762:      lt_prog_compiler_can_build_shared_CXX=no
                   19763: fi
                   19764: 
                   19765: fi
                   19766: 
                   19767: 
                   19768: 
                   19769: 
                   19770: 
                   19771: #
                   19772: # Check to make sure the static flag actually works.
                   19773: #
                   19774: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
                   19775: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   19776: printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   19777: if test ${lt_cv_prog_compiler_static_works_CXX+y}
                   19778: then :
                   19779:   printf %s "(cached) " >&6
                   19780: else case e in #(
                   19781:   e) lt_cv_prog_compiler_static_works_CXX=no
                   19782:    save_LDFLAGS=$LDFLAGS
                   19783:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   19784:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   19785:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   19786:      # The linker can only warn and ignore the option if not recognized
                   19787:      # So say no if there are warnings
                   19788:      if test -s conftest.err; then
                   19789:        # Append any errors to the config.log.
                   19790:        cat conftest.err 1>&5
                   19791:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   19792:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   19793:        if diff conftest.exp conftest.er2 >/dev/null; then
                   19794:          lt_cv_prog_compiler_static_works_CXX=yes
                   19795:        fi
                   19796:      else
                   19797:        lt_cv_prog_compiler_static_works_CXX=yes
                   19798:      fi
                   19799:    fi
                   19800:    $RM -r conftest*
                   19801:    LDFLAGS=$save_LDFLAGS
                   19802:  ;;
                   19803: esac
                   19804: fi
                   19805: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   19806: printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     19807: 
1.237     moko     19808: if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
                   19809:     :
                   19810: else
                   19811:     lt_prog_compiler_static_CXX=
                   19812: fi
1.128     moko     19813: 
                   19814: 
                   19815: 
1.237     moko     19816: ='-fPIC'
                   19817:   archive_cmds_CXX='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
                   19818:   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'
                   19819:   archive_cmds_need_lc_CXX=no
                   19820:   no_undefined_flag_CXX=
1.128     moko     19821:   ;;
                   19822: 
                   19823: *)
                   19824:   dynamic_linker=no
                   19825:   ;;
                   19826: esac
1.237     moko     19827: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   19828: printf "%s\n" "$dynamic_linker" >&6; }
                   19829: test no = "$dynamic_linker" && can_build_shared=no
1.128     moko     19830: 
                   19831: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1.237     moko     19832: if test yes = "$GCC"; then
1.128     moko     19833:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   19834: fi
                   19835: 
1.237     moko     19836: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
                   19837:   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
1.128     moko     19838: fi
1.237     moko     19839: 
                   19840: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
                   19841:   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
1.128     moko     19842: fi
                   19843: 
1.237     moko     19844: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
                   19845: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
                   19846: 
                   19847: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
                   19848: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
                   19849: 
                   19850: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
                   19851: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
1.128     moko     19852: 
                   19853: 
                   19854: 
                   19855: 
                   19856: 
                   19857: 
                   19858: 
                   19859: 
                   19860: 
                   19861: 
                   19862: 
                   19863: 
                   19864: 
                   19865: 
                   19866: 
                   19867: 
                   19868: 
                   19869: 
                   19870: 
                   19871: 
                   19872: 
                   19873: 
                   19874: 
                   19875: 
                   19876: 
                   19877: 
                   19878: 
                   19879: 
                   19880: 
                   19881: 
                   19882: 
                   19883: 
                   19884: 
                   19885: 
                   19886: 
                   19887: 
                   19888: 
1.237     moko     19889: 
                   19890: 
                   19891: 
                   19892:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   19893: printf %s "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     19894: hardcode_action_CXX=
                   19895: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   19896:    test -n "$runpath_var_CXX" ||
1.237     moko     19897:    test yes = "$hardcode_automatic_CXX"; then
1.128     moko     19898: 
                   19899:   # We can hardcode non-existent directories.
1.237     moko     19900:   if test no != "$hardcode_direct_CXX" &&
1.128     moko     19901:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   19902:      # have to relink, otherwise we might link with an installed library
                   19903:      # when we should be linking with a yet-to-be-installed one
1.237     moko     19904:      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
                   19905:      test no != "$hardcode_minus_L_CXX"; then
1.128     moko     19906:     # Linking always hardcodes the temporary library directory.
                   19907:     hardcode_action_CXX=relink
                   19908:   else
                   19909:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   19910:     hardcode_action_CXX=immediate
                   19911:   fi
                   19912: else
                   19913:   # We cannot hardcode anything, or else we can only hardcode existing
                   19914:   # directories.
                   19915:   hardcode_action_CXX=unsupported
                   19916: fi
1.237     moko     19917: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   19918: printf "%s\n" "$hardcode_action_CXX" >&6; }
1.128     moko     19919: 
1.237     moko     19920: if test relink = "$hardcode_action_CXX" ||
                   19921:    test yes = "$inherit_rpath_CXX"; then
1.128     moko     19922:   # Fast installation is not supported
                   19923:   enable_fast_install=no
1.237     moko     19924: elif test yes = "$shlibpath_overrides_runpath" ||
                   19925:      test no = "$enable_shared"; then
1.128     moko     19926:   # Fast installation is not necessary
                   19927:   enable_fast_install=needless
                   19928: fi
                   19929: 
                   19930: 
                   19931: 
                   19932: 
                   19933: 
                   19934: 
                   19935: 
                   19936:   fi # test -n "$compiler"
                   19937: 
                   19938:   CC=$lt_save_CC
                   19939:   CFLAGS=$lt_save_CFLAGS
                   19940:   LDCXX=$LD
                   19941:   LD=$lt_save_LD
                   19942:   GCC=$lt_save_GCC
                   19943:   with_gnu_ld=$lt_save_with_gnu_ld
                   19944:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   19945:   lt_cv_path_LD=$lt_save_path_LD
                   19946:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   19947:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
1.237     moko     19948: fi # test yes != "$_lt_caught_CXX_error"
1.128     moko     19949: 
                   19950: ac_ext=c
                   19951: ac_cpp='$CPP $CPPFLAGS'
                   19952: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   19953: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   19954: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   19955: 
                   19956: 
                   19957: 
                   19958: 
                   19959: 
                   19960: 
                   19961: 
                   19962: 
                   19963: 
                   19964: 
                   19965: 
                   19966: 
                   19967: 
                   19968: 
                   19969: 
1.150     moko     19970:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     19971: 
                   19972: 
                   19973: 
                   19974: 
                   19975: # Only expand once:
                   19976: 
                   19977: 
1.237     moko     19978: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
                   19979: printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
                   19980: if test ${ac_cv_c_undeclared_builtin_options+y}
                   19981: then :
                   19982:   printf %s "(cached) " >&6
                   19983: else case e in #(
                   19984:   e) ac_save_CFLAGS=$CFLAGS
                   19985:    ac_cv_c_undeclared_builtin_options='cannot detect'
                   19986:    for ac_arg in '' -fno-builtin; do
                   19987:      CFLAGS="$ac_save_CFLAGS $ac_arg"
                   19988:      # This test program should *not* compile successfully.
                   19989:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   19990: /* end confdefs.h.  */
                   19991: 
                   19992: int
                   19993: main (void)
                   19994: {
                   19995: (void) strchr;
                   19996:   ;
                   19997:   return 0;
                   19998: }
                   19999: _ACEOF
                   20000: if ac_fn_c_try_compile "$LINENO"
                   20001: then :
                   20002: 
                   20003: else case e in #(
                   20004:   e) # This test program should compile successfully.
                   20005:         # No library function is consistently available on
                   20006:         # freestanding implementations, so test against a dummy
                   20007:         # declaration.  Include always-available headers on the
                   20008:         # off chance that they somehow elicit warnings.
                   20009:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20010: /* end confdefs.h.  */
                   20011: #include <float.h>
                   20012: #include <limits.h>
                   20013: #include <stdarg.h>
                   20014: #include <stddef.h>
                   20015: extern void ac_decl (int, char *);
                   20016: 
                   20017: int
                   20018: main (void)
                   20019: {
                   20020: (void) ac_decl (0, (char *) 0);
                   20021:   (void) ac_decl;
                   20022: 
                   20023:   ;
                   20024:   return 0;
                   20025: }
                   20026: _ACEOF
                   20027: if ac_fn_c_try_compile "$LINENO"
                   20028: then :
                   20029:   if test x"$ac_arg" = x
                   20030: then :
                   20031:   ac_cv_c_undeclared_builtin_options='none needed'
                   20032: else case e in #(
                   20033:   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
                   20034: esac
                   20035: fi
                   20036:           break
                   20037: fi
                   20038: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   20039: esac
                   20040: fi
                   20041: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   20042:     done
                   20043:     CFLAGS=$ac_save_CFLAGS
                   20044:    ;;
                   20045: esac
                   20046: fi
                   20047: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
                   20048: printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
                   20049:   case $ac_cv_c_undeclared_builtin_options in #(
                   20050:   'cannot detect') :
                   20051:     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   20052: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
                   20053: as_fn_error $? "cannot make $CC report undeclared builtins
                   20054: See 'config.log' for more details" "$LINENO" 5; } ;; #(
                   20055:   'none needed') :
                   20056:     ac_c_undeclared_builtin_options='' ;; #(
                   20057:   *) :
                   20058:     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
                   20059: esac
1.128     moko     20060: 
1.237     moko     20061: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
                   20062: printf %s "checking what extension is used for runtime loadable modules... " >&6; }
                   20063: if test ${libltdl_cv_shlibext+y}
                   20064: then :
                   20065:   printf %s "(cached) " >&6
                   20066: else case e in #(
                   20067:   e)
1.128     moko     20068: module=yes
                   20069: eval libltdl_cv_shlibext=$shrext_cmds
                   20070: module=no
                   20071: eval libltdl_cv_shrext=$shrext_cmds
1.237     moko     20072:    ;;
                   20073: esac
1.128     moko     20074: fi
1.237     moko     20075: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   20076: printf "%s\n" "$libltdl_cv_shlibext" >&6; }
1.128     moko     20077: if test -n "$libltdl_cv_shlibext"; then
                   20078: 
1.237     moko     20079: printf "%s\n" "#define LT_MODULE_EXT \"$libltdl_cv_shlibext\"" >>confdefs.h
1.128     moko     20080: 
                   20081: fi
                   20082: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   20083: 
1.237     moko     20084: printf "%s\n" "#define LT_SHARED_EXT \"$libltdl_cv_shrext\"" >>confdefs.h
                   20085: 
                   20086: fi
                   20087: if test -n "$shared_archive_member_spec"; then
                   20088: 
                   20089: printf "%s\n" "#define LT_SHARED_LIB_MEMBER \"($shared_archive_member_spec.o)\"" >>confdefs.h
1.128     moko     20090: 
                   20091: fi
                   20092: 
1.237     moko     20093: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
                   20094: printf %s "checking what variable specifies run-time module search path... " >&6; }
                   20095: if test ${lt_cv_module_path_var+y}
                   20096: then :
                   20097:   printf %s "(cached) " >&6
                   20098: else case e in #(
                   20099:   e) lt_cv_module_path_var=$shlibpath_var ;;
                   20100: esac
1.128     moko     20101: fi
1.237     moko     20102: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   20103: printf "%s\n" "$lt_cv_module_path_var" >&6; }
1.128     moko     20104: if test -n "$lt_cv_module_path_var"; then
                   20105: 
1.237     moko     20106: printf "%s\n" "#define LT_MODULE_PATH_VAR \"$lt_cv_module_path_var\"" >>confdefs.h
1.128     moko     20107: 
                   20108: fi
                   20109: 
1.237     moko     20110: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   20111: printf %s "checking for the default library search path... " >&6; }
                   20112: if test ${lt_cv_sys_dlsearch_path+y}
                   20113: then :
                   20114:   printf %s "(cached) " >&6
                   20115: else case e in #(
                   20116:   e) lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec ;;
                   20117: esac
1.128     moko     20118: fi
1.237     moko     20119: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   20120: printf "%s\n" "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     20121: if test -n "$lt_cv_sys_dlsearch_path"; then
                   20122:   sys_dlsearch_path=
                   20123:   for dir in $lt_cv_sys_dlsearch_path; do
                   20124:     if test -z "$sys_dlsearch_path"; then
1.237     moko     20125:       sys_dlsearch_path=$dir
1.128     moko     20126:     else
1.237     moko     20127:       sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
1.128     moko     20128:     fi
                   20129:   done
                   20130: 
1.237     moko     20131: printf "%s\n" "#define LT_DLSEARCH_PATH \"$sys_dlsearch_path\"" >>confdefs.h
1.128     moko     20132: 
                   20133: fi
                   20134: 
                   20135: 
                   20136: LT_DLLOADERS=
                   20137: 
                   20138: 
                   20139: ac_ext=c
                   20140: ac_cpp='$CPP $CPPFLAGS'
                   20141: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   20142: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   20143: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   20144: 
1.237     moko     20145: lt_dlload_save_LIBS=$LIBS
1.128     moko     20146: 
                   20147: LIBADD_DLOPEN=
1.237     moko     20148: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   20149: printf %s "checking for library containing dlopen... " >&6; }
                   20150: if test ${ac_cv_search_dlopen+y}
                   20151: then :
                   20152:   printf %s "(cached) " >&6
                   20153: else case e in #(
                   20154:   e) ac_func_search_save_LIBS=$LIBS
1.150     moko     20155: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     20156: /* end confdefs.h.  */
                   20157: 
1.150     moko     20158: /* Override any GCC internal prototype to avoid an error.
                   20159:    Use char because int might match the return type of a GCC
1.237     moko     20160:    builtin and then its argument prototype would still apply.
                   20161:    The 'extern "C"' is for builds by C++ compilers;
                   20162:    although this is not generally supported in C code supporting it here
                   20163:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     20164: #ifdef __cplusplus
                   20165: extern "C"
                   20166: #endif
1.237     moko     20167: char dlopen (void);
1.128     moko     20168: int
1.237     moko     20169: main (void)
1.128     moko     20170: {
1.150     moko     20171: return dlopen ();
1.128     moko     20172:   ;
                   20173:   return 0;
                   20174: }
                   20175: _ACEOF
1.237     moko     20176: for ac_lib in '' dl
                   20177: do
1.150     moko     20178:   if test -z "$ac_lib"; then
                   20179:     ac_res="none required"
                   20180:   else
                   20181:     ac_res=-l$ac_lib
                   20182:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   20183:   fi
1.237     moko     20184:   if ac_fn_c_try_link "$LINENO"
                   20185: then :
1.150     moko     20186:   ac_cv_search_dlopen=$ac_res
                   20187: fi
1.237     moko     20188: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     20189:     conftest$ac_exeext
1.237     moko     20190:   if test ${ac_cv_search_dlopen+y}
                   20191: then :
1.150     moko     20192:   break
1.128     moko     20193: fi
1.150     moko     20194: done
1.237     moko     20195: if test ${ac_cv_search_dlopen+y}
                   20196: then :
1.128     moko     20197: 
1.237     moko     20198: else case e in #(
                   20199:   e) ac_cv_search_dlopen=no ;;
                   20200: esac
1.128     moko     20201: fi
1.150     moko     20202: rm conftest.$ac_ext
1.237     moko     20203: LIBS=$ac_func_search_save_LIBS ;;
                   20204: esac
1.128     moko     20205: fi
1.237     moko     20206: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   20207: printf "%s\n" "$ac_cv_search_dlopen" >&6; }
1.150     moko     20208: ac_res=$ac_cv_search_dlopen
1.237     moko     20209: if test "$ac_res" != no
                   20210: then :
1.150     moko     20211:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     20212: 
1.237     moko     20213: printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     20214: 
1.237     moko     20215:        if test "$ac_cv_search_dlopen" != "none required"; then
                   20216:          LIBADD_DLOPEN=-ldl
1.128     moko     20217:        fi
1.237     moko     20218:        libltdl_cv_lib_dl_dlopen=yes
1.128     moko     20219:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
1.237     moko     20220: else case e in #(
                   20221:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     20222: /* end confdefs.h.  */
                   20223: #if HAVE_DLFCN_H
                   20224: #  include <dlfcn.h>
                   20225: #endif
                   20226: 
                   20227: int
1.237     moko     20228: main (void)
1.128     moko     20229: {
                   20230: dlopen(0, 0);
                   20231:   ;
                   20232:   return 0;
                   20233: }
                   20234: _ACEOF
1.237     moko     20235: if ac_fn_c_try_link "$LINENO"
                   20236: then :
1.128     moko     20237: 
1.237     moko     20238: printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     20239: 
1.237     moko     20240:            libltdl_cv_func_dlopen=yes
1.128     moko     20241:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
1.237     moko     20242: else case e in #(
                   20243:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   20244: printf %s "checking for dlopen in -lsvld... " >&6; }
                   20245: if test ${ac_cv_lib_svld_dlopen+y}
                   20246: then :
                   20247:   printf %s "(cached) " >&6
                   20248: else case e in #(
                   20249:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     20250: LIBS="-lsvld  $LIBS"
1.150     moko     20251: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     20252: /* end confdefs.h.  */
                   20253: 
1.150     moko     20254: /* Override any GCC internal prototype to avoid an error.
                   20255:    Use char because int might match the return type of a GCC
1.237     moko     20256:    builtin and then its argument prototype would still apply.
                   20257:    The 'extern "C"' is for builds by C++ compilers;
                   20258:    although this is not generally supported in C code supporting it here
                   20259:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     20260: #ifdef __cplusplus
                   20261: extern "C"
                   20262: #endif
1.237     moko     20263: char dlopen (void);
1.128     moko     20264: int
1.237     moko     20265: main (void)
1.128     moko     20266: {
1.150     moko     20267: return dlopen ();
1.128     moko     20268:   ;
                   20269:   return 0;
                   20270: }
                   20271: _ACEOF
1.237     moko     20272: if ac_fn_c_try_link "$LINENO"
                   20273: then :
1.128     moko     20274:   ac_cv_lib_svld_dlopen=yes
1.237     moko     20275: else case e in #(
                   20276:   e) ac_cv_lib_svld_dlopen=no ;;
                   20277: esac
1.128     moko     20278: fi
1.237     moko     20279: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     20280:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     20281: LIBS=$ac_check_lib_save_LIBS ;;
                   20282: esac
1.128     moko     20283: fi
1.237     moko     20284: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   20285: printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
                   20286: if test "x$ac_cv_lib_svld_dlopen" = xyes
                   20287: then :
1.128     moko     20288: 
1.237     moko     20289: printf "%s\n" "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     20290: 
1.237     moko     20291:                LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
1.128     moko     20292:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   20293: fi
1.237     moko     20294:  ;;
                   20295: esac
1.128     moko     20296: fi
1.237     moko     20297: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   20298:     conftest$ac_exeext conftest.$ac_ext ;;
                   20299: esac
1.128     moko     20300: fi
                   20301: 
1.237     moko     20302: if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
1.128     moko     20303: then
1.237     moko     20304:   lt_save_LIBS=$LIBS
1.128     moko     20305:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150     moko     20306:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
1.237     moko     20307: if test "x$ac_cv_func_dlerror" = xyes
                   20308: then :
                   20309:   printf "%s\n" "#define HAVE_DLERROR 1" >>confdefs.h
1.128     moko     20310: 
                   20311: fi
                   20312: 
1.237     moko     20313:   LIBS=$lt_save_LIBS
1.128     moko     20314: fi
                   20315: 
                   20316: 
                   20317: LIBADD_SHL_LOAD=
1.150     moko     20318: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
1.237     moko     20319: if test "x$ac_cv_func_shl_load" = xyes
                   20320: then :
1.128     moko     20321: 
1.237     moko     20322: printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     20323: 
                   20324:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.237     moko     20325: else case e in #(
                   20326:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   20327: printf %s "checking for shl_load in -ldld... " >&6; }
                   20328: if test ${ac_cv_lib_dld_shl_load+y}
                   20329: then :
                   20330:   printf %s "(cached) " >&6
                   20331: else case e in #(
                   20332:   e) ac_check_lib_save_LIBS=$LIBS
1.66      paf      20333: LIBS="-ldld  $LIBS"
1.150     moko     20334: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      20335: /* end confdefs.h.  */
1.10      paf      20336: 
1.150     moko     20337: /* Override any GCC internal prototype to avoid an error.
                   20338:    Use char because int might match the return type of a GCC
1.237     moko     20339:    builtin and then its argument prototype would still apply.
                   20340:    The 'extern "C"' is for builds by C++ compilers;
                   20341:    although this is not generally supported in C code supporting it here
                   20342:    has little cost and some practical benefit (sr 110532).  */
1.66      paf      20343: #ifdef __cplusplus
                   20344: extern "C"
                   20345: #endif
1.237     moko     20346: char shl_load (void);
1.66      paf      20347: int
1.237     moko     20348: main (void)
1.66      paf      20349: {
1.150     moko     20350: return shl_load ();
1.66      paf      20351:   ;
                   20352:   return 0;
                   20353: }
                   20354: _ACEOF
1.237     moko     20355: if ac_fn_c_try_link "$LINENO"
                   20356: then :
1.66      paf      20357:   ac_cv_lib_dld_shl_load=yes
1.237     moko     20358: else case e in #(
                   20359:   e) ac_cv_lib_dld_shl_load=no ;;
                   20360: esac
1.66      paf      20361: fi
1.237     moko     20362: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     20363:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     20364: LIBS=$ac_check_lib_save_LIBS ;;
                   20365: esac
1.66      paf      20366: fi
1.237     moko     20367: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   20368: printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
                   20369: if test "x$ac_cv_lib_dld_shl_load" = xyes
                   20370: then :
1.1       paf      20371: 
1.237     moko     20372: printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      20373: 
1.128     moko     20374:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.237     moko     20375:            LIBADD_SHL_LOAD=-ldld
1.128     moko     20376: fi
1.237     moko     20377:  ;;
                   20378: esac
1.128     moko     20379: fi
                   20380: 
                   20381: 
                   20382: 
                   20383: case $host_os in
                   20384: darwin[1567].*)
                   20385: # We only want this for pre-Mac OS X 10.4.
1.150     moko     20386:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
1.237     moko     20387: if test "x$ac_cv_func__dyld_func_lookup" = xyes
                   20388: then :
1.150     moko     20389: 
1.237     moko     20390: printf "%s\n" "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     20391: 
1.150     moko     20392:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   20393: fi
1.128     moko     20394: 
1.150     moko     20395:   ;;
                   20396: beos*)
1.128     moko     20397:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   20398:   ;;
1.237     moko     20399: cygwin* | mingw* | windows* | pw32*)
                   20400:   ac_fn_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   20401: " "$ac_c_undeclared_builtin_options" "CFLAGS"
                   20402: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes
                   20403: then :
1.150     moko     20404:   ac_have_decl=1
1.237     moko     20405: else case e in #(
                   20406:   e) ac_have_decl=0 ;;
                   20407: esac
1.128     moko     20408: fi
1.237     moko     20409: printf "%s\n" "#define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl" >>confdefs.h
1.128     moko     20410: 
                   20411:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   20412:   ;;
                   20413: esac
                   20414: 
1.237     moko     20415: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   20416: printf %s "checking for dld_link in -ldld... " >&6; }
                   20417: if test ${ac_cv_lib_dld_dld_link+y}
                   20418: then :
                   20419:   printf %s "(cached) " >&6
                   20420: else case e in #(
                   20421:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     20422: LIBS="-ldld  $LIBS"
1.150     moko     20423: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      20424: /* end confdefs.h.  */
1.62      paf      20425: 
1.150     moko     20426: /* Override any GCC internal prototype to avoid an error.
                   20427:    Use char because int might match the return type of a GCC
1.237     moko     20428:    builtin and then its argument prototype would still apply.
                   20429:    The 'extern "C"' is for builds by C++ compilers;
                   20430:    although this is not generally supported in C code supporting it here
                   20431:    has little cost and some practical benefit (sr 110532).  */
1.66      paf      20432: #ifdef __cplusplus
                   20433: extern "C"
                   20434: #endif
1.237     moko     20435: char dld_link (void);
1.66      paf      20436: int
1.237     moko     20437: main (void)
1.66      paf      20438: {
1.150     moko     20439: return dld_link ();
1.66      paf      20440:   ;
                   20441:   return 0;
                   20442: }
                   20443: _ACEOF
1.237     moko     20444: if ac_fn_c_try_link "$LINENO"
                   20445: then :
1.128     moko     20446:   ac_cv_lib_dld_dld_link=yes
1.237     moko     20447: else case e in #(
                   20448:   e) ac_cv_lib_dld_dld_link=no ;;
                   20449: esac
1.128     moko     20450: fi
1.237     moko     20451: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     20452:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     20453: LIBS=$ac_check_lib_save_LIBS ;;
                   20454: esac
1.128     moko     20455: fi
1.237     moko     20456: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   20457: printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
                   20458: if test "x$ac_cv_lib_dld_dld_link" = xyes
                   20459: then :
1.128     moko     20460: 
1.237     moko     20461: printf "%s\n" "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     20462: 
                   20463:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   20464: fi
                   20465: 
                   20466: 
                   20467: 
                   20468: 
                   20469: LT_DLPREOPEN=
                   20470: if test -n "$LT_DLLOADERS"
                   20471: then
                   20472:   for lt_loader in $LT_DLLOADERS; do
                   20473:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   20474:   done
                   20475: 
1.237     moko     20476: printf "%s\n" "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     20477: 
                   20478: fi
                   20479: 
                   20480: 
                   20481: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   20482: 
                   20483: 
1.237     moko     20484: LIBS=$lt_dlload_save_LIBS
1.128     moko     20485: ac_ext=c
                   20486: ac_cpp='$CPP $CPPFLAGS'
                   20487: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   20488: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   20489: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   20490: 
                   20491: 
1.237     moko     20492: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   20493: printf %s "checking for _ prefix in compiled symbols... " >&6; }
                   20494: if test ${lt_cv_sys_symbol_underscore+y}
                   20495: then :
                   20496:   printf %s "(cached) " >&6
                   20497: else case e in #(
                   20498:   e) lt_cv_sys_symbol_underscore=no
1.128     moko     20499:   cat > conftest.$ac_ext <<_LT_EOF
                   20500: void nm_test_func(){}
1.237     moko     20501: int main(void){nm_test_func;return 0;}
1.128     moko     20502: _LT_EOF
1.150     moko     20503:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     20504:   (eval $ac_compile) 2>&5
                   20505:   ac_status=$?
1.237     moko     20506:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     20507:   test $ac_status = 0; }; then
1.128     moko     20508:     # Now try to grab the symbols.
                   20509:     ac_nlist=conftest.nm
1.150     moko     20510:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     20511:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   20512:   ac_status=$?
1.237     moko     20513:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.150     moko     20514:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     20515:       # See whether the symbols have a leading underscore.
                   20516:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   20517:         lt_cv_sys_symbol_underscore=yes
                   20518:       else
                   20519:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   20520:          :
                   20521:         else
                   20522:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   20523:         fi
                   20524:       fi
                   20525:     else
                   20526:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   20527:     fi
                   20528:   else
                   20529:     echo "configure: failed program was:" >&5
                   20530:     cat conftest.c >&5
                   20531:   fi
                   20532:   rm -rf conftest*
1.237     moko     20533:    ;;
                   20534: esac
1.66      paf      20535: fi
1.237     moko     20536: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   20537: printf "%s\n" "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     20538:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      20539: 
1.62      paf      20540: 
1.237     moko     20541: if test yes = "$lt_cv_sys_symbol_underscore"; then
                   20542:   if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
                   20543:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   20544: printf %s "checking whether we have to add an underscore for dlsym... " >&6; }
                   20545: if test ${libltdl_cv_need_uscore+y}
                   20546: then :
                   20547:   printf %s "(cached) " >&6
                   20548: else case e in #(
                   20549:   e) libltdl_cv_need_uscore=unknown
                   20550:       dlsym_uscore_save_LIBS=$LIBS
                   20551:       LIBS="$LIBS $LIBADD_DLOPEN"
                   20552:       libname=conftmod # stay within 8.3 filename limits!
                   20553:       cat >$libname.$ac_ext <<_LT_EOF
1.128     moko     20554: #line $LINENO "configure"
                   20555: #include "confdefs.h"
1.237     moko     20556: /* When -fvisibility=hidden is used, assume the code has been annotated
                   20557:    correspondingly for the symbols needed.  */
                   20558: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   20559: int fnord () __attribute__((visibility("default")));
                   20560: #endif
                   20561: int fnord () { return 42; }
                   20562: _LT_EOF
1.128     moko     20563: 
1.237     moko     20564:       # ltfn_module_cmds module_cmds
                   20565:       # Execute tilde-delimited MODULE_CMDS with environment primed for
                   20566:       # $module_cmds or $archive_cmds type content.
                   20567:       ltfn_module_cmds ()
                   20568:       {( # subshell avoids polluting parent global environment
                   20569:           module_cmds_save_ifs=$IFS; IFS='~'
                   20570:           for cmd in $1; do
                   20571:             IFS=$module_cmds_save_ifs
                   20572:             libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
                   20573:             rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
                   20574:             major=; versuffix=; verstring=; deplibs=
                   20575:             ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
                   20576:             eval $cmd
                   20577:           done
                   20578:           IFS=$module_cmds_save_ifs
                   20579:       )}
                   20580: 
                   20581:       # Compile a loadable module using libtool macro expansion results.
                   20582:       $CC $pic_flag -c $libname.$ac_ext
                   20583:       ltfn_module_cmds "${module_cmds:-$archive_cmds}"
                   20584: 
                   20585:       # Try to fetch fnord with dlsym().
                   20586:       libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
                   20587:       cat >conftest.$ac_ext <<_LT_EOF
                   20588: #line $LINENO "configure"
                   20589: #include "confdefs.h"
1.66      paf      20590: #if HAVE_DLFCN_H
1.128     moko     20591: #include <dlfcn.h>
                   20592: #endif
                   20593: #include <stdio.h>
1.237     moko     20594: #ifndef RTLD_GLOBAL
1.128     moko     20595: #  ifdef DL_GLOBAL
1.237     moko     20596: #    define RTLD_GLOBAL DL_GLOBAL
1.128     moko     20597: #  else
1.237     moko     20598: #    define RTLD_GLOBAL 0
1.128     moko     20599: #  endif
                   20600: #endif
1.237     moko     20601: #ifndef RTLD_NOW
                   20602: #  ifdef DL_NOW
                   20603: #    define RTLD_NOW DL_NOW
1.128     moko     20604: #  else
1.237     moko     20605: #    define RTLD_NOW 0
1.128     moko     20606: #  endif
                   20607: #endif
1.237     moko     20608: int main (void) {
                   20609:   void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
                   20610:   int status = $libltdl_dlunknown;
                   20611:   if (handle) {
                   20612:     if (dlsym (handle, "fnord"))
                   20613:       status = $libltdl_dlnouscore;
                   20614:     else {
                   20615:       if (dlsym (handle, "_fnord"))
                   20616:         status = $libltdl_dluscore;
1.128     moko     20617:       else
1.237     moko     20618:        puts (dlerror ());
1.128     moko     20619:     }
1.237     moko     20620:     dlclose (handle);
                   20621:   } else
1.128     moko     20622:     puts (dlerror ());
                   20623:   return status;
1.66      paf      20624: }
1.128     moko     20625: _LT_EOF
1.237     moko     20626:       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     20627:   (eval $ac_link) 2>&5
1.66      paf      20628:   ac_status=$?
1.237     moko     20629:   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   20630:   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
                   20631:         (./conftest; exit; ) >&5 2>/dev/null
                   20632:         libltdl_status=$?
                   20633:         case x$libltdl_status in
                   20634:           x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
                   20635:          x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
                   20636:          x*) libltdl_cv_need_uscore=unknown ;;
                   20637:         esac
                   20638:       fi
                   20639:       rm -rf conftest* $libname*
                   20640:       LIBS=$dlsym_uscore_save_LIBS
                   20641:      ;;
                   20642: esac
1.128     moko     20643: fi
1.237     moko     20644: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   20645: printf "%s\n" "$libltdl_cv_need_uscore" >&6; }
1.128     moko     20646:   fi
                   20647: fi
                   20648: 
1.237     moko     20649: if test yes = "$libltdl_cv_need_uscore"; then
1.29      paf      20650: 
1.237     moko     20651: printf "%s\n" "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      20652: 
1.128     moko     20653: fi
                   20654: 
1.237     moko     20655: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   20656: printf %s "checking whether deplibs are loaded by dlopen... " >&6; }
                   20657: if test ${lt_cv_sys_dlopen_deplibs+y}
                   20658: then :
                   20659:   printf %s "(cached) " >&6
                   20660: else case e in #(
                   20661:   e) # PORTME does your system automatically load deplibs for dlopen?
1.128     moko     20662:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   20663:   # For now, we just catch OSes we know something about -- in the
                   20664:   # future, we'll try test this programmatically.
                   20665:   lt_cv_sys_dlopen_deplibs=unknown
                   20666:   case $host_os in
                   20667:   aix3*|aix4.1.*|aix4.2.*)
                   20668:     # Unknown whether this is true for these versions of AIX, but
1.237     moko     20669:     # we want this 'case' here to explicitly catch those versions.
1.128     moko     20670:     lt_cv_sys_dlopen_deplibs=unknown
                   20671:     ;;
                   20672:   aix[4-9]*)
                   20673:     lt_cv_sys_dlopen_deplibs=yes
                   20674:     ;;
                   20675:   amigaos*)
                   20676:     case $host_cpu in
                   20677:     powerpc)
                   20678:       lt_cv_sys_dlopen_deplibs=no
                   20679:       ;;
                   20680:     esac
                   20681:     ;;
                   20682:   darwin*)
                   20683:     # Assuming the user has installed a libdl from somewhere, this is true
                   20684:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   20685:     lt_cv_sys_dlopen_deplibs=yes
                   20686:     ;;
1.237     moko     20687:   freebsd* | dragonfly* | midnightbsd*)
1.128     moko     20688:     lt_cv_sys_dlopen_deplibs=yes
                   20689:     ;;
                   20690:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   20691:     # GNU and its variants, using gnu ld.so (Glibc)
                   20692:     lt_cv_sys_dlopen_deplibs=yes
                   20693:     ;;
                   20694:   hpux10*|hpux11*)
                   20695:     lt_cv_sys_dlopen_deplibs=yes
                   20696:     ;;
                   20697:   interix*)
                   20698:     lt_cv_sys_dlopen_deplibs=yes
                   20699:     ;;
                   20700:   irix[12345]*|irix6.[01]*)
                   20701:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   20702:     # know how it worked for any of those versions.
                   20703:     lt_cv_sys_dlopen_deplibs=unknown
                   20704:     ;;
                   20705:   irix*)
                   20706:     # The case above catches anything before 6.2, and it's known that
                   20707:     # at 6.2 and later dlopen does load deplibs.
                   20708:     lt_cv_sys_dlopen_deplibs=yes
                   20709:     ;;
1.237     moko     20710:   *-mlibc)
                   20711:     lt_cv_sys_dlopen_deplibs=yes
                   20712:     ;;
                   20713:   netbsd* | netbsdelf*-gnu)
1.128     moko     20714:     lt_cv_sys_dlopen_deplibs=yes
                   20715:     ;;
                   20716:   openbsd*)
                   20717:     lt_cv_sys_dlopen_deplibs=yes
                   20718:     ;;
                   20719:   osf[1234]*)
                   20720:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   20721:     # it did *not* use an RPATH in a shared library to find objects the
1.237     moko     20722:     # library depends on, so we explicitly say 'no'.
1.128     moko     20723:     lt_cv_sys_dlopen_deplibs=no
                   20724:     ;;
                   20725:   osf5.0|osf5.0a|osf5.1)
                   20726:     # dlopen *does* load deplibs and with the right loader patch applied
                   20727:     # it even uses RPATH in a shared library to search for shared objects
                   20728:     # that the library depends on, but there's no easy way to know if that
                   20729:     # patch is installed.  Since this is the case, all we can really
                   20730:     # say is unknown -- it depends on the patch being installed.  If
1.237     moko     20731:     # it is, this changes to 'yes'.  Without it, it would be 'no'.
1.128     moko     20732:     lt_cv_sys_dlopen_deplibs=unknown
                   20733:     ;;
                   20734:   osf*)
                   20735:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   20736:     # the comments above for what we know about them.
                   20737:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
1.237     moko     20738:     # is used to find them so we can finally say 'yes'.
1.128     moko     20739:     lt_cv_sys_dlopen_deplibs=yes
                   20740:     ;;
                   20741:   qnx*)
                   20742:     lt_cv_sys_dlopen_deplibs=yes
                   20743:     ;;
                   20744:   solaris*)
                   20745:     lt_cv_sys_dlopen_deplibs=yes
                   20746:     ;;
                   20747:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   20748:     libltdl_cv_sys_dlopen_deplibs=yes
                   20749:     ;;
                   20750:   esac
1.237     moko     20751:    ;;
                   20752: esac
1.128     moko     20753: fi
1.237     moko     20754: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   20755: printf "%s\n" "$lt_cv_sys_dlopen_deplibs" >&6; }
                   20756: if test yes != "$lt_cv_sys_dlopen_deplibs"; then
1.128     moko     20757: 
1.237     moko     20758: printf "%s\n" "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     20759: 
                   20760: fi
                   20761: 
                   20762: 
1.237     moko     20763: ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
1.150     moko     20764: "
1.237     moko     20765: if test "x$ac_cv_header_argz_h" = xyes
                   20766: then :
                   20767:   printf "%s\n" "#define HAVE_ARGZ_H 1" >>confdefs.h
1.128     moko     20768: 
1.66      paf      20769: fi
1.62      paf      20770: 
1.29      paf      20771: 
1.150     moko     20772: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
1.128     moko     20773: #  include <argz.h>
                   20774: #endif
1.150     moko     20775: "
1.237     moko     20776: if test "x$ac_cv_type_error_t" = xyes
                   20777: then :
1.29      paf      20778: 
1.237     moko     20779: printf "%s\n" "#define HAVE_ERROR_T 1" >>confdefs.h
1.16      paf      20780: 
                   20781: 
1.237     moko     20782: else case e in #(
                   20783:   e)
                   20784: printf "%s\n" "#define error_t int" >>confdefs.h
1.16      paf      20785: 
                   20786: 
1.237     moko     20787: printf "%s\n" "#define __error_t_defined 1" >>confdefs.h
                   20788:  ;;
                   20789: esac
                   20790: fi
1.12      paf      20791: 
                   20792: 
1.237     moko     20793: LT_ARGZ_H=
1.128     moko     20794: 
1.237     moko     20795:   for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert argz_next argz_stringify
1.150     moko     20796: do :
1.237     moko     20797:   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
1.150     moko     20798: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.237     moko     20799: if eval test \"x\$"$as_ac_var"\" = x"yes"
                   20800: then :
1.128     moko     20801:   cat >>confdefs.h <<_ACEOF
1.237     moko     20802: #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
1.128     moko     20803: _ACEOF
                   20804: 
1.237     moko     20805: else case e in #(
                   20806:   e) LT_ARGZ_H=lt__argz.h;
1.128     moko     20807: 
1.237     moko     20808:   _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
                   20809:  ;;
                   20810: esac
1.128     moko     20811: fi
1.237     moko     20812: 
1.128     moko     20813: done
                   20814: 
1.237     moko     20815: if test -z "$LT_ARGZ_H"
                   20816: then :
                   20817:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   20818: printf %s "checking if argz actually works... " >&6; }
                   20819: if test ${lt_cv_sys_argz_works+y}
                   20820: then :
                   20821:   printf %s "(cached) " >&6
                   20822: else case e in #(
                   20823:   e) case $host_os in #(
1.128     moko     20824:         *cygwin*)
                   20825:           lt_cv_sys_argz_works=no
1.237     moko     20826:           if test no != "$cross_compiling"; then
1.128     moko     20827:             lt_cv_sys_argz_works="guessing no"
                   20828:           else
                   20829:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   20830:             save_IFS=$IFS
                   20831:             IFS=-.
1.237     moko     20832:             set x `uname -r | $SED -e "$lt_sed_extract_leading_digits"`
1.128     moko     20833:             IFS=$save_IFS
                   20834:             lt_os_major=${2-0}
                   20835:             lt_os_minor=${3-0}
                   20836:             lt_os_micro=${4-0}
1.237     moko     20837:             if test 1 -lt "$lt_os_major" \
                   20838:                || { test 1 -eq "$lt_os_major" \
                   20839:                  && { test 5 -lt "$lt_os_minor" \
                   20840:                    || { test 5 -eq "$lt_os_minor" \
                   20841:                      && test 24 -lt "$lt_os_micro"; }; }; }; then
1.128     moko     20842:               lt_cv_sys_argz_works=yes
                   20843:             fi
                   20844:           fi
                   20845:           ;; #(
                   20846:         *) lt_cv_sys_argz_works=yes ;;
1.237     moko     20847:         esac ;;
                   20848: esac
1.128     moko     20849: fi
1.237     moko     20850: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   20851: printf "%s\n" "$lt_cv_sys_argz_works" >&6; }
                   20852:      if test yes = "$lt_cv_sys_argz_works"
                   20853: then :
1.128     moko     20854: 
1.237     moko     20855: printf "%s\n" "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     20856: 
1.237     moko     20857: else case e in #(
                   20858:   e) LT_ARGZ_H=lt__argz.h
1.128     moko     20859: 
                   20860: 
1.237     moko     20861:   _LT_LIBOBJS="$_LT_LIBOBJS lt__argz.$ac_objext"
                   20862:  ;;
                   20863: esac
1.128     moko     20864: fi
1.62      paf      20865: fi
1.128     moko     20866: 
                   20867: 
                   20868: 
1.237     moko     20869: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   20870: printf %s "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   20871: if test ${libltdl_cv_preloaded_symbols+y}
                   20872: then :
                   20873:   printf %s "(cached) " >&6
                   20874: else case e in #(
                   20875:   e) if test -n "$lt_cv_sys_global_symbol_pipe"; then
1.128     moko     20876:     libltdl_cv_preloaded_symbols=yes
                   20877:   else
                   20878:     libltdl_cv_preloaded_symbols=no
                   20879:   fi
1.237     moko     20880:    ;;
                   20881: esac
1.62      paf      20882: fi
1.237     moko     20883: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   20884: printf "%s\n" "$libltdl_cv_preloaded_symbols" >&6; }
                   20885: if test yes = "$libltdl_cv_preloaded_symbols"; then
1.128     moko     20886: 
1.237     moko     20887: printf "%s\n" "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.66      paf      20888: 
                   20889: fi
                   20890: 
1.150     moko     20891: 
                   20892: 
1.128     moko     20893: # Set options
                   20894: 
                   20895: 
                   20896: 
                   20897: 
                   20898: 
                   20899: 
                   20900: 
                   20901: 
                   20902: 
                   20903: 
1.66      paf      20904: 
                   20905: 
1.150     moko     20906: # Check whether --with-included_ltdl was given.
1.237     moko     20907: if test ${with_included_ltdl+y}
                   20908: then :
1.150     moko     20909:   withval=$with_included_ltdl;
                   20910: fi
1.64      paf      20911: 
                   20912: 
1.237     moko     20913: if test yes != "$with_included_ltdl"; then
1.128     moko     20914:   # We are not being forced to use the included libltdl sources, so
                   20915:   # decide whether there is a useful installed version we can use.
1.150     moko     20916:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     20917: 
1.150     moko     20918: "
1.237     moko     20919: if test "x$ac_cv_header_ltdl_h" = xyes
                   20920: then :
                   20921:   ac_fn_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.128     moko     20922:            #include <ltdl.h>
1.237     moko     20923: " "$ac_c_undeclared_builtin_options" "CFLAGS"
                   20924: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes
                   20925: then :
                   20926:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   20927: printf %s "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   20928: if test ${ac_cv_lib_ltdl_lt_dladvise_preload+y}
                   20929: then :
                   20930:   printf %s "(cached) " >&6
                   20931: else case e in #(
                   20932:   e) ac_check_lib_save_LIBS=$LIBS
1.128     moko     20933: LIBS="-lltdl  $LIBS"
1.150     moko     20934: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.79      paf      20935: /* end confdefs.h.  */
1.128     moko     20936: 
1.150     moko     20937: /* Override any GCC internal prototype to avoid an error.
                   20938:    Use char because int might match the return type of a GCC
1.237     moko     20939:    builtin and then its argument prototype would still apply.
                   20940:    The 'extern "C"' is for builds by C++ compilers;
                   20941:    although this is not generally supported in C code supporting it here
                   20942:    has little cost and some practical benefit (sr 110532).  */
1.128     moko     20943: #ifdef __cplusplus
                   20944: extern "C"
                   20945: #endif
1.237     moko     20946: char lt_dladvise_preload (void);
1.79      paf      20947: int
1.237     moko     20948: main (void)
1.79      paf      20949: {
1.150     moko     20950: return lt_dladvise_preload ();
1.79      paf      20951:   ;
                   20952:   return 0;
                   20953: }
                   20954: _ACEOF
1.237     moko     20955: if ac_fn_c_try_link "$LINENO"
                   20956: then :
1.128     moko     20957:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.237     moko     20958: else case e in #(
                   20959:   e) ac_cv_lib_ltdl_lt_dladvise_preload=no ;;
                   20960: esac
1.128     moko     20961: fi
1.237     moko     20962: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     20963:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     20964: LIBS=$ac_check_lib_save_LIBS ;;
                   20965: esac
1.79      paf      20966: fi
1.237     moko     20967: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   20968: printf "%s\n" "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   20969: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes
                   20970: then :
1.128     moko     20971:   with_included_ltdl=no
1.237     moko     20972: else case e in #(
                   20973:   e) with_included_ltdl=yes ;;
                   20974: esac
1.128     moko     20975: fi
                   20976: 
1.237     moko     20977: else case e in #(
                   20978:   e) with_included_ltdl=yes ;;
                   20979: esac
1.128     moko     20980: fi
1.237     moko     20981: else case e in #(
                   20982:   e) with_included_ltdl=yes ;;
                   20983: esac
1.79      paf      20984: fi
1.128     moko     20985: 
1.79      paf      20986: fi
1.128     moko     20987: 
                   20988: 
                   20989: 
                   20990: 
1.150     moko     20991: # Check whether --with-ltdl_include was given.
1.237     moko     20992: if test ${with_ltdl_include+y}
                   20993: then :
1.150     moko     20994:   withval=$with_ltdl_include;
                   20995: fi
1.128     moko     20996: 
                   20997: 
                   20998: if test -n "$with_ltdl_include"; then
                   20999:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   21000:   else
1.237     moko     21001:     as_fn_error $? "invalid ltdl include directory: '$with_ltdl_include'" "$LINENO" 5
1.128     moko     21002:   fi
                   21003: else
                   21004:   with_ltdl_include=no
1.79      paf      21005: fi
1.128     moko     21006: 
                   21007: 
1.150     moko     21008: # Check whether --with-ltdl_lib was given.
1.237     moko     21009: if test ${with_ltdl_lib+y}
                   21010: then :
1.150     moko     21011:   withval=$with_ltdl_lib;
                   21012: fi
1.128     moko     21013: 
                   21014: 
                   21015: if test -n "$with_ltdl_lib"; then
                   21016:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   21017:   else
1.237     moko     21018:     as_fn_error $? "invalid ltdl library directory: '$with_ltdl_lib'" "$LINENO" 5
1.128     moko     21019:   fi
                   21020: else
                   21021:   with_ltdl_lib=no
1.79      paf      21022: fi
                   21023: 
1.128     moko     21024: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   21025:   ,yes,no,no,)
                   21026:        case $enable_ltdl_convenience in
1.150     moko     21027:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.128     moko     21028:   "") enable_ltdl_convenience=yes
                   21029:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   21030: esac
1.237     moko     21031: LIBLTDL='$(top_build_prefix)'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.128     moko     21032: LTDLDEPS=$LIBLTDL
1.237     moko     21033: LTDLINCL='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
1.128     moko     21034: 
                   21035: 
                   21036: 
                   21037: 
                   21038: 
                   21039: # For backwards non-gettext consistent compatibility...
1.237     moko     21040: INCLTDL=$LTDLINCL
1.128     moko     21041: 
1.79      paf      21042: 
1.128     moko     21043:        ;;
                   21044:   ,no,no,no,)
                   21045:        # If the included ltdl is not to be used, then use the
                   21046:        # preinstalled libltdl we found.
1.79      paf      21047: 
1.237     moko     21048: printf "%s\n" "#define HAVE_LTDL 1" >>confdefs.h
1.79      paf      21049: 
1.128     moko     21050:        LIBLTDL=-lltdl
                   21051:        LTDLDEPS=
                   21052:        LTDLINCL=
                   21053:        ;;
                   21054:   ,no*,no,*)
1.237     moko     21055:        as_fn_error $? "'--with-ltdl-include' and '--with-ltdl-lib' options must be used together" "$LINENO" 5
1.128     moko     21056:        ;;
                   21057:   *)   with_included_ltdl=no
                   21058:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   21059:        LTDLDEPS=
1.237     moko     21060:        LTDLINCL=-I$with_ltdl_include
1.128     moko     21061:        ;;
                   21062: esac
1.237     moko     21063: INCLTDL=$LTDLINCL
1.128     moko     21064: 
                   21065: # Report our decision...
1.237     moko     21066: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   21067: printf %s "checking where to find libltdl headers... " >&6; }
                   21068: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   21069: printf "%s\n" "$LTDLINCL" >&6; }
                   21070: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   21071: printf %s "checking where to find libltdl library... " >&6; }
                   21072: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   21073: printf "%s\n" "$LIBLTDL" >&6; }
1.128     moko     21074: 
                   21075: 
                   21076: 
1.150     moko     21077: # Check whether --enable-ltdl-install was given.
1.237     moko     21078: if test ${enable_ltdl_install+y}
                   21079: then :
1.150     moko     21080:   enableval=$enable_ltdl_install;
                   21081: fi
1.128     moko     21082: 
                   21083: 
1.237     moko     21084: case ,$enable_ltdl_install,$enable_ltdl_convenience in
1.128     moko     21085:   *yes*) ;;
                   21086:   *) enable_ltdl_convenience=yes ;;
                   21087: esac
                   21088: 
1.237     moko     21089:  if test no != "${enable_ltdl_install-no}"; then
1.128     moko     21090:   INSTALL_LTDL_TRUE=
                   21091:   INSTALL_LTDL_FALSE='#'
                   21092: else
                   21093:   INSTALL_LTDL_TRUE='#'
                   21094:   INSTALL_LTDL_FALSE=
                   21095: fi
                   21096: 
1.237     moko     21097:   if test no != "${enable_ltdl_convenience-no}"; then
1.128     moko     21098:   CONVENIENCE_LTDL_TRUE=
                   21099:   CONVENIENCE_LTDL_FALSE='#'
                   21100: else
                   21101:   CONVENIENCE_LTDL_TRUE='#'
                   21102:   CONVENIENCE_LTDL_FALSE=
                   21103: fi
                   21104: 
1.237     moko     21105:   if test -n "$LT_ARGZ_H"; then
                   21106:   LTARGZH_EXISTS_TRUE=
                   21107:   LTARGZH_EXISTS_FALSE='#'
                   21108: else
                   21109:   LTARGZH_EXISTS_TRUE='#'
                   21110:   LTARGZH_EXISTS_FALSE=
                   21111: fi
                   21112: 
1.128     moko     21113: 
                   21114: 
1.150     moko     21115:     subdirs="$subdirs src/lib/ltdl"
1.128     moko     21116: 
                   21117: 
                   21118: 
                   21119: 
                   21120: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   21121: # the user used.  This is so that ltdl.h can pick up the parent projects
                   21122: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   21123: # definitions required by ltdl.c.
                   21124: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   21125: 
                   21126: 
                   21127: 
1.237     moko     21128: ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default
                   21129: "
                   21130: if test "x$ac_cv_header_unistd_h" = xyes
                   21131: then :
                   21132:   printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
                   21133: 
                   21134: fi
                   21135: ac_fn_c_check_header_compile "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default
                   21136: "
                   21137: if test "x$ac_cv_header_dl_h" = xyes
                   21138: then :
                   21139:   printf "%s\n" "#define HAVE_DL_H 1" >>confdefs.h
                   21140: 
                   21141: fi
                   21142: ac_fn_c_check_header_compile "$LINENO" "sys/dl.h" "ac_cv_header_sys_dl_h" "$ac_includes_default
                   21143: "
                   21144: if test "x$ac_cv_header_sys_dl_h" = xyes
                   21145: then :
                   21146:   printf "%s\n" "#define HAVE_SYS_DL_H 1" >>confdefs.h
                   21147: 
                   21148: fi
                   21149: ac_fn_c_check_header_compile "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default
                   21150: "
                   21151: if test "x$ac_cv_header_dld_h" = xyes
                   21152: then :
                   21153:   printf "%s\n" "#define HAVE_DLD_H 1" >>confdefs.h
                   21154: 
                   21155: fi
                   21156: ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default
                   21157: "
                   21158: if test "x$ac_cv_header_mach_o_dyld_h" = xyes
                   21159: then :
                   21160:   printf "%s\n" "#define HAVE_MACH_O_DYLD_H 1" >>confdefs.h
                   21161: 
                   21162: fi
                   21163: ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default
1.150     moko     21164: "
1.237     moko     21165: if test "x$ac_cv_header_dirent_h" = xyes
                   21166: then :
                   21167:   printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
1.128     moko     21168: 
1.150     moko     21169: fi
1.128     moko     21170: 
                   21171: 
                   21172: 
1.237     moko     21173:   for ac_func in closedir opendir readdir
1.150     moko     21174: do :
1.237     moko     21175:   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
1.150     moko     21176: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.237     moko     21177: if eval test \"x\$"$as_ac_var"\" = x"yes"
                   21178: then :
1.150     moko     21179:   cat >>confdefs.h <<_ACEOF
1.237     moko     21180: #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
1.150     moko     21181: _ACEOF
1.66      paf      21182: 
1.237     moko     21183: else case e in #(
                   21184:   e)
1.66      paf      21185: 
1.128     moko     21186:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.237     moko     21187:  ;;
                   21188: esac
                   21189: fi
1.1       paf      21190: 
1.128     moko     21191: done
                   21192: 
1.237     moko     21193:   for ac_func in strlcat strlcpy
1.150     moko     21194: do :
1.237     moko     21195:   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
1.150     moko     21196: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.237     moko     21197: if eval test \"x\$"$as_ac_var"\" = x"yes"
                   21198: then :
1.128     moko     21199:   cat >>confdefs.h <<_ACEOF
1.237     moko     21200: #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
1.128     moko     21201: _ACEOF
                   21202: 
1.237     moko     21203: else case e in #(
                   21204:   e)
1.128     moko     21205: 
                   21206:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
1.237     moko     21207:  ;;
                   21208: esac
                   21209: fi
1.128     moko     21210: 
                   21211: done
                   21212: 
                   21213: 
1.237     moko     21214: printf "%s\n" "#define LT_LIBEXT \"$libext\"" >>confdefs.h
1.64      paf      21215: 
1.128     moko     21216: 
                   21217: name=
                   21218: eval "lt_libprefix=\"$libname_spec\""
                   21219: 
1.237     moko     21220: printf "%s\n" "#define LT_LIBPREFIX \"$lt_libprefix\"" >>confdefs.h
1.128     moko     21221: 
                   21222: 
                   21223: name=ltdl
                   21224: eval "LTDLOPEN=\"$libname_spec\""
                   21225: 
                   21226: 
                   21227: 
                   21228: 
                   21229: 
                   21230: 
                   21231: 
                   21232: 
                   21233: # Only expand once:
                   21234: 
                   21235: 
                   21236: 
                   21237: 
1.237     moko     21238:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   21239: printf %s "checking whether byte ordering is bigendian... " >&6; }
                   21240: if test ${ac_cv_c_bigendian+y}
                   21241: then :
                   21242:   printf %s "(cached) " >&6
                   21243: else case e in #(
                   21244:   e) ac_cv_c_bigendian=unknown
1.150     moko     21245:     # See if we're dealing with a universal compiler.
                   21246:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21247: /* end confdefs.h.  */
                   21248: #ifndef __APPLE_CC__
                   21249:               not a universal capable compiler
                   21250:             #endif
                   21251:             typedef int dummy;
                   21252: 
                   21253: _ACEOF
1.237     moko     21254: if ac_fn_c_try_compile "$LINENO"
                   21255: then :
1.150     moko     21256: 
                   21257:        # Check for potential -arch flags.  It is not universal unless
                   21258:        # there are at least two -arch flags with different values.
                   21259:        ac_arch=
                   21260:        ac_prev=
                   21261:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   21262:         if test -n "$ac_prev"; then
                   21263:           case $ac_word in
                   21264:             i?86 | x86_64 | ppc | ppc64)
                   21265:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   21266:                 ac_arch=$ac_word
                   21267:               else
                   21268:                 ac_cv_c_bigendian=universal
                   21269:                 break
                   21270:               fi
                   21271:               ;;
                   21272:           esac
                   21273:           ac_prev=
                   21274:         elif test "x$ac_word" = "x-arch"; then
                   21275:           ac_prev=arch
                   21276:         fi
                   21277:        done
                   21278: fi
1.237     moko     21279: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.150     moko     21280:     if test $ac_cv_c_bigendian = unknown; then
                   21281:       # See if sys/param.h defines the BYTE_ORDER macro.
                   21282:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      21283: /* end confdefs.h.  */
1.128     moko     21284: #include <sys/types.h>
1.150     moko     21285:             #include <sys/param.h>
1.128     moko     21286: 
                   21287: int
1.237     moko     21288: main (void)
1.128     moko     21289: {
1.237     moko     21290: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\
                   21291:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\
1.150     moko     21292:                     && LITTLE_ENDIAN)
                   21293:              bogus endian macros
                   21294:             #endif
1.64      paf      21295: 
1.128     moko     21296:   ;
                   21297:   return 0;
                   21298: }
1.66      paf      21299: _ACEOF
1.237     moko     21300: if ac_fn_c_try_compile "$LINENO"
                   21301: then :
1.128     moko     21302:   # It does; now see whether it defined to BIG_ENDIAN or not.
1.150     moko     21303:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.64      paf      21304: /* end confdefs.h.  */
1.128     moko     21305: #include <sys/types.h>
1.150     moko     21306:                #include <sys/param.h>
1.64      paf      21307: 
                   21308: int
1.237     moko     21309: main (void)
1.128     moko     21310: {
                   21311: #if BYTE_ORDER != BIG_ENDIAN
1.150     moko     21312:                 not big endian
                   21313:                #endif
1.128     moko     21314: 
                   21315:   ;
                   21316:   return 0;
1.64      paf      21317: }
                   21318: _ACEOF
1.237     moko     21319: if ac_fn_c_try_compile "$LINENO"
                   21320: then :
1.128     moko     21321:   ac_cv_c_bigendian=yes
1.237     moko     21322: else case e in #(
                   21323:   e) ac_cv_c_bigendian=no ;;
                   21324: esac
1.150     moko     21325: fi
1.237     moko     21326: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.150     moko     21327: fi
1.237     moko     21328: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.150     moko     21329:     fi
                   21330:     if test $ac_cv_c_bigendian = unknown; then
                   21331:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   21332:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21333: /* end confdefs.h.  */
                   21334: #include <limits.h>
1.64      paf      21335: 
1.150     moko     21336: int
1.237     moko     21337: main (void)
1.150     moko     21338: {
                   21339: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   21340:              bogus endian macros
                   21341:             #endif
1.66      paf      21342: 
1.150     moko     21343:   ;
                   21344:   return 0;
                   21345: }
1.62      paf      21346: _ACEOF
1.237     moko     21347: if ac_fn_c_try_compile "$LINENO"
                   21348: then :
1.150     moko     21349:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   21350:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      21351: /* end confdefs.h.  */
1.150     moko     21352: #include <limits.h>
                   21353: 
1.128     moko     21354: int
1.237     moko     21355: main (void)
1.128     moko     21356: {
1.150     moko     21357: #ifndef _BIG_ENDIAN
                   21358:                 not big endian
                   21359:                #endif
                   21360: 
1.128     moko     21361:   ;
                   21362:   return 0;
                   21363: }
1.62      paf      21364: _ACEOF
1.237     moko     21365: if ac_fn_c_try_compile "$LINENO"
                   21366: then :
1.128     moko     21367:   ac_cv_c_bigendian=yes
1.237     moko     21368: else case e in #(
                   21369:   e) ac_cv_c_bigendian=no ;;
                   21370: esac
1.128     moko     21371: fi
1.237     moko     21372: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     21373: fi
1.237     moko     21374: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.150     moko     21375:     fi
                   21376:     if test $ac_cv_c_bigendian = unknown; then
                   21377:       # Compile a test program.
1.237     moko     21378:       if test "$cross_compiling" = yes
                   21379: then :
1.150     moko     21380:   # Try to guess by grepping values from an object file.
                   21381:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21382: /* end confdefs.h.  */
1.237     moko     21383: unsigned short int ascii_mm[] =
1.150     moko     21384:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
1.237     moko     21385:                unsigned short int ascii_ii[] =
1.150     moko     21386:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   21387:                int use_ascii (int i) {
                   21388:                  return ascii_mm[i] + ascii_ii[i];
                   21389:                }
1.237     moko     21390:                unsigned short int ebcdic_ii[] =
1.150     moko     21391:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
1.237     moko     21392:                unsigned short int ebcdic_mm[] =
1.150     moko     21393:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   21394:                int use_ebcdic (int i) {
                   21395:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   21396:                }
1.237     moko     21397:                int
                   21398:                main (int argc, char **argv)
                   21399:                {
                   21400:                  /* Intimidate the compiler so that it does not
                   21401:                     optimize the arrays away.  */
                   21402:                  char *p = argv[0];
                   21403:                  ascii_mm[1] = *p++; ebcdic_mm[1] = *p++;
                   21404:                  ascii_ii[1] = *p++; ebcdic_ii[1] = *p++;
                   21405:                  return use_ascii (argc) == use_ebcdic (*p);
                   21406:                }
1.150     moko     21407: _ACEOF
1.237     moko     21408: if ac_fn_c_try_link "$LINENO"
                   21409: then :
                   21410:   if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then
1.150     moko     21411:              ac_cv_c_bigendian=yes
                   21412:            fi
1.237     moko     21413:            if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then
1.150     moko     21414:              if test "$ac_cv_c_bigendian" = unknown; then
                   21415:                ac_cv_c_bigendian=no
                   21416:              else
                   21417:                # finding both strings is unlikely to happen, but who knows?
                   21418:                ac_cv_c_bigendian=unknown
                   21419:              fi
                   21420:            fi
1.128     moko     21421: fi
1.237     moko     21422: rm -f core conftest.err conftest.$ac_objext conftest.beam \
                   21423:     conftest$ac_exeext conftest.$ac_ext
                   21424: else case e in #(
                   21425:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     21426: /* end confdefs.h.  */
1.150     moko     21427: $ac_includes_default
1.128     moko     21428: int
1.237     moko     21429: main (void)
1.128     moko     21430: {
1.150     moko     21431: 
                   21432:             /* Are we little or big endian?  From Harbison&Steele.  */
                   21433:             union
                   21434:             {
                   21435:               long int l;
                   21436:               char c[sizeof (long int)];
                   21437:             } u;
                   21438:             u.l = 1;
                   21439:             return u.c[sizeof (long int) - 1] == 1;
                   21440: 
                   21441:   ;
                   21442:   return 0;
1.128     moko     21443: }
                   21444: _ACEOF
1.237     moko     21445: if ac_fn_c_try_run "$LINENO"
                   21446: then :
1.128     moko     21447:   ac_cv_c_bigendian=no
1.237     moko     21448: else case e in #(
                   21449:   e) ac_cv_c_bigendian=yes ;;
                   21450: esac
1.128     moko     21451: fi
1.150     moko     21452: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1.237     moko     21453:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   21454: esac
1.128     moko     21455: fi
1.150     moko     21456: 
1.237     moko     21457:     fi ;;
                   21458: esac
1.66      paf      21459: fi
1.237     moko     21460: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   21461: printf "%s\n" "$ac_cv_c_bigendian" >&6; }
1.150     moko     21462:  case $ac_cv_c_bigendian in #(
                   21463:    yes)
                   21464: 
1.237     moko     21465: printf "%s\n" "#define PA_BIG_ENDIAN /**/" >>confdefs.h
1.150     moko     21466: 
                   21467: ;; #(
                   21468:    no)
1.128     moko     21469: 
1.237     moko     21470: printf "%s\n" "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.66      paf      21471: 
1.150     moko     21472:  ;; #(
                   21473:    universal)
1.128     moko     21474: 
1.237     moko     21475: printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.1       paf      21476: 
1.150     moko     21477:      ;; #(
                   21478:    *)
                   21479:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
1.128     moko     21480:  ;;
1.150     moko     21481:  esac
1.66      paf      21482: 
                   21483: 
1.150     moko     21484: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
1.237     moko     21485: if test "x$ac_cv_type_size_t" = xyes
                   21486: then :
1.62      paf      21487: 
1.237     moko     21488: else case e in #(
                   21489:   e)
                   21490: printf "%s\n" "#define size_t unsigned int" >>confdefs.h
                   21491:  ;;
                   21492: esac
1.62      paf      21493: fi
1.66      paf      21494: 
1.156     moko     21495: ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
1.237     moko     21496: if test "x$ac_cv_type_ssize_t" = xyes
                   21497: then :
1.156     moko     21498: 
1.237     moko     21499: else case e in #(
                   21500:   e)
                   21501: printf "%s\n" "#define ssize_t int" >>confdefs.h
                   21502:  ;;
                   21503: esac
1.156     moko     21504: fi
                   21505: 
1.159     moko     21506: ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
                   21507: case $ac_cv_c_uint8_t in #(
                   21508:   no|yes) ;; #(
                   21509:   *)
                   21510: 
1.237     moko     21511: printf "%s\n" "#define _UINT8_T 1" >>confdefs.h
1.159     moko     21512: 
                   21513: 
1.237     moko     21514: printf "%s\n" "#define uint8_t $ac_cv_c_uint8_t" >>confdefs.h
1.159     moko     21515: ;;
                   21516:   esac
                   21517: 
1.165     moko     21518: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
                   21519: case $ac_cv_c_uint16_t in #(
                   21520:   no|yes) ;; #(
                   21521:   *)
                   21522: 
                   21523: 
1.237     moko     21524: printf "%s\n" "#define uint16_t $ac_cv_c_uint16_t" >>confdefs.h
1.165     moko     21525: ;;
                   21526:   esac
                   21527: 
1.156     moko     21528: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
                   21529: case $ac_cv_c_uint32_t in #(
                   21530:   no|yes) ;; #(
                   21531:   *)
                   21532: 
1.237     moko     21533: printf "%s\n" "#define _UINT32_T 1" >>confdefs.h
1.156     moko     21534: 
                   21535: 
1.237     moko     21536: printf "%s\n" "#define uint32_t $ac_cv_c_uint32_t" >>confdefs.h
1.156     moko     21537: ;;
                   21538:   esac
1.128     moko     21539: 
1.159     moko     21540: ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
                   21541: case $ac_cv_c_uint64_t in #(
                   21542:   no|yes) ;; #(
                   21543:   *)
                   21544: 
1.237     moko     21545: printf "%s\n" "#define _UINT64_T 1" >>confdefs.h
1.159     moko     21546: 
                   21547: 
1.237     moko     21548: printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
1.159     moko     21549: ;;
                   21550:   esac
                   21551: 
1.234     moko     21552: ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
                   21553: case $ac_cv_c_int64_t in #(
                   21554:   no|yes) ;; #(
                   21555:   *)
                   21556: 
1.237     moko     21557: printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
1.234     moko     21558: ;;
                   21559: esac
                   21560: 
1.159     moko     21561: 
1.161     moko     21562: ac_header_dirent=no
                   21563: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
1.237     moko     21564:   as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"`
                   21565: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
                   21566: printf %s "checking for $ac_hdr that defines DIR... " >&6; }
                   21567: if eval test \${$as_ac_Header+y}
                   21568: then :
                   21569:   printf %s "(cached) " >&6
                   21570: else case e in #(
                   21571:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.161     moko     21572: /* end confdefs.h.  */
                   21573: #include <sys/types.h>
                   21574: #include <$ac_hdr>
                   21575: 
                   21576: int
1.237     moko     21577: main (void)
1.161     moko     21578: {
                   21579: if ((DIR *) 0)
                   21580: return 0;
                   21581:   ;
                   21582:   return 0;
                   21583: }
                   21584: _ACEOF
1.237     moko     21585: if ac_fn_c_try_compile "$LINENO"
                   21586: then :
1.161     moko     21587:   eval "$as_ac_Header=yes"
1.237     moko     21588: else case e in #(
                   21589:   e) eval "$as_ac_Header=no" ;;
                   21590: esac
1.161     moko     21591: fi
1.237     moko     21592: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   21593: esac
1.161     moko     21594: fi
                   21595: eval ac_res=\$$as_ac_Header
1.237     moko     21596:               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   21597: printf "%s\n" "$ac_res" >&6; }
                   21598: if eval test \"x\$"$as_ac_Header"\" = x"yes"
                   21599: then :
1.161     moko     21600:   cat >>confdefs.h <<_ACEOF
1.237     moko     21601: #define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1
1.161     moko     21602: _ACEOF
                   21603: 
                   21604: ac_header_dirent=$ac_hdr; break
                   21605: fi
                   21606: 
                   21607: done
                   21608: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   21609: if test $ac_header_dirent = dirent.h; then
1.237     moko     21610:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   21611: printf %s "checking for library containing opendir... " >&6; }
                   21612: if test ${ac_cv_search_opendir+y}
                   21613: then :
                   21614:   printf %s "(cached) " >&6
                   21615: else case e in #(
                   21616:   e) ac_func_search_save_LIBS=$LIBS
1.161     moko     21617: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21618: /* end confdefs.h.  */
                   21619: 
                   21620: /* Override any GCC internal prototype to avoid an error.
                   21621:    Use char because int might match the return type of a GCC
1.237     moko     21622:    builtin and then its argument prototype would still apply.
                   21623:    The 'extern "C"' is for builds by C++ compilers;
                   21624:    although this is not generally supported in C code supporting it here
                   21625:    has little cost and some practical benefit (sr 110532).  */
1.161     moko     21626: #ifdef __cplusplus
                   21627: extern "C"
                   21628: #endif
1.237     moko     21629: char opendir (void);
1.161     moko     21630: int
1.237     moko     21631: main (void)
1.161     moko     21632: {
                   21633: return opendir ();
                   21634:   ;
                   21635:   return 0;
                   21636: }
                   21637: _ACEOF
1.237     moko     21638: for ac_lib in '' dir
                   21639: do
1.161     moko     21640:   if test -z "$ac_lib"; then
                   21641:     ac_res="none required"
                   21642:   else
                   21643:     ac_res=-l$ac_lib
                   21644:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   21645:   fi
1.237     moko     21646:   if ac_fn_c_try_link "$LINENO"
                   21647: then :
1.161     moko     21648:   ac_cv_search_opendir=$ac_res
                   21649: fi
1.237     moko     21650: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.161     moko     21651:     conftest$ac_exeext
1.237     moko     21652:   if test ${ac_cv_search_opendir+y}
                   21653: then :
1.161     moko     21654:   break
                   21655: fi
                   21656: done
1.237     moko     21657: if test ${ac_cv_search_opendir+y}
                   21658: then :
1.161     moko     21659: 
1.237     moko     21660: else case e in #(
                   21661:   e) ac_cv_search_opendir=no ;;
                   21662: esac
1.161     moko     21663: fi
                   21664: rm conftest.$ac_ext
1.237     moko     21665: LIBS=$ac_func_search_save_LIBS ;;
                   21666: esac
1.161     moko     21667: fi
1.237     moko     21668: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   21669: printf "%s\n" "$ac_cv_search_opendir" >&6; }
1.161     moko     21670: ac_res=$ac_cv_search_opendir
1.237     moko     21671: if test "$ac_res" != no
                   21672: then :
1.161     moko     21673:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   21674: 
                   21675: fi
                   21676: 
                   21677: else
1.237     moko     21678:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   21679: printf %s "checking for library containing opendir... " >&6; }
                   21680: if test ${ac_cv_search_opendir+y}
                   21681: then :
                   21682:   printf %s "(cached) " >&6
                   21683: else case e in #(
                   21684:   e) ac_func_search_save_LIBS=$LIBS
1.161     moko     21685: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21686: /* end confdefs.h.  */
                   21687: 
                   21688: /* Override any GCC internal prototype to avoid an error.
                   21689:    Use char because int might match the return type of a GCC
1.237     moko     21690:    builtin and then its argument prototype would still apply.
                   21691:    The 'extern "C"' is for builds by C++ compilers;
                   21692:    although this is not generally supported in C code supporting it here
                   21693:    has little cost and some practical benefit (sr 110532).  */
1.161     moko     21694: #ifdef __cplusplus
                   21695: extern "C"
                   21696: #endif
1.237     moko     21697: char opendir (void);
1.161     moko     21698: int
1.237     moko     21699: main (void)
1.161     moko     21700: {
                   21701: return opendir ();
                   21702:   ;
                   21703:   return 0;
                   21704: }
                   21705: _ACEOF
1.237     moko     21706: for ac_lib in '' x
                   21707: do
1.161     moko     21708:   if test -z "$ac_lib"; then
                   21709:     ac_res="none required"
                   21710:   else
                   21711:     ac_res=-l$ac_lib
                   21712:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   21713:   fi
1.237     moko     21714:   if ac_fn_c_try_link "$LINENO"
                   21715: then :
1.161     moko     21716:   ac_cv_search_opendir=$ac_res
                   21717: fi
1.237     moko     21718: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.161     moko     21719:     conftest$ac_exeext
1.237     moko     21720:   if test ${ac_cv_search_opendir+y}
                   21721: then :
1.161     moko     21722:   break
                   21723: fi
                   21724: done
1.237     moko     21725: if test ${ac_cv_search_opendir+y}
                   21726: then :
1.161     moko     21727: 
1.237     moko     21728: else case e in #(
                   21729:   e) ac_cv_search_opendir=no ;;
                   21730: esac
1.161     moko     21731: fi
                   21732: rm conftest.$ac_ext
1.237     moko     21733: LIBS=$ac_func_search_save_LIBS ;;
                   21734: esac
1.161     moko     21735: fi
1.237     moko     21736: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   21737: printf "%s\n" "$ac_cv_search_opendir" >&6; }
1.161     moko     21738: ac_res=$ac_cv_search_opendir
1.237     moko     21739: if test "$ac_res" != no
                   21740: then :
1.161     moko     21741:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   21742: 
                   21743: fi
                   21744: 
                   21745: fi
                   21746: 
                   21747: 
                   21748: 
                   21749:   ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
                   21750: #include <sys/types.h>
                   21751: #ifdef HAVE_DIRENT_H
                   21752: # include <dirent.h>
                   21753: #else
                   21754: # define dirent direct
                   21755: # ifdef HAVE_SYS_NDIR_H
                   21756: #  include <sys/ndir.h>
                   21757: # endif
                   21758: # ifdef HAVE_SYS_DIR_H
                   21759: #  include <sys/dir.h>
                   21760: # endif
                   21761: # ifdef HAVE_NDIR_H
                   21762: #  include <ndir.h>
                   21763: # endif
                   21764: #endif
                   21765: 
                   21766: "
1.237     moko     21767: if test "x$ac_cv_member_struct_dirent_d_type" = xyes
                   21768: then :
1.161     moko     21769: 
1.237     moko     21770: printf "%s\n" "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
1.161     moko     21771: 
                   21772: 
                   21773: fi
                   21774: 
                   21775: 
1.159     moko     21776: 
1.171     moko     21777: # Check whether --enable-largefile was given.
1.237     moko     21778: if test ${enable_largefile+y}
                   21779: then :
1.171     moko     21780:   enableval=$enable_largefile;
                   21781: fi
1.237     moko     21782: if test "$enable_largefile,$enable_year2038" != no,no
                   21783: then :
                   21784:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CPPFLAGS option for large files" >&5
                   21785: printf %s "checking for $CPPFLAGS option for large files... " >&6; }
                   21786: if test ${ac_cv_sys_largefile_opts+y}
                   21787: then :
                   21788:   printf %s "(cached) " >&6
                   21789: else case e in #(
                   21790:   e) ac_save_CPPFLAGS=$CPPFLAGS
                   21791:   ac_opt_found=no
                   21792:   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1"; do
                   21793:     if test x"$ac_opt" != x"none needed"
                   21794: then :
                   21795:   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
                   21796: fi
                   21797:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.171     moko     21798: /* end confdefs.h.  */
                   21799: #include <sys/types.h>
1.237     moko     21800: #ifndef FTYPE
                   21801: # define FTYPE off_t
                   21802: #endif
                   21803:  /* Check that FTYPE can represent 2**63 - 1 correctly.
                   21804:     We can't simply define LARGE_FTYPE to be 9223372036854775807,
1.171     moko     21805:     since some C++ compilers masquerading as C compilers
                   21806:     incorrectly reject 9223372036854775807.  */
1.237     moko     21807: #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
                   21808:   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
                   21809:                       && LARGE_FTYPE % 2147483647 == 1)
1.171     moko     21810:                      ? 1 : -1];
                   21811: int
1.237     moko     21812: main (void)
1.171     moko     21813: {
                   21814: 
                   21815:   ;
                   21816:   return 0;
                   21817: }
                   21818: _ACEOF
1.237     moko     21819: if ac_fn_c_try_compile "$LINENO"
                   21820: then :
                   21821:   if test x"$ac_opt" = x"none needed"
                   21822: then :
                   21823:   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
                   21824:         CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t"
                   21825:         if ac_fn_c_try_compile "$LINENO"
                   21826: then :
                   21827: 
                   21828: else case e in #(
                   21829:   e) CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
                   21830:            if ac_fn_c_try_compile "$LINENO"
                   21831: then :
                   21832:   ac_opt='-D_FILE_OFFSET_BITS=64'
                   21833: fi
                   21834: rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
                   21835: esac
                   21836: fi
                   21837: rm -f core conftest.err conftest.$ac_objext conftest.beam
1.171     moko     21838: fi
1.237     moko     21839:       ac_cv_sys_largefile_opts=$ac_opt
                   21840:       ac_opt_found=yes
1.171     moko     21841: fi
1.237     moko     21842: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   21843:     test $ac_opt_found = no || break
                   21844:   done
                   21845:   CPPFLAGS=$ac_save_CPPFLAGS
                   21846: 
                   21847:   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
                   21848: esac
1.171     moko     21849: fi
1.237     moko     21850: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
                   21851: printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
                   21852: 
                   21853: ac_have_largefile=yes
                   21854: case $ac_cv_sys_largefile_opts in #(
                   21855:   "none needed") :
                   21856:      ;; #(
                   21857:   "supported through gnulib") :
                   21858:      ;; #(
                   21859:   "support not detected") :
                   21860:     ac_have_largefile=no ;; #(
                   21861:   "-D_FILE_OFFSET_BITS=64") :
                   21862: 
                   21863: printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
                   21864:  ;; #(
                   21865:   "-D_LARGE_FILES=1") :
1.171     moko     21866: 
1.237     moko     21867: printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
                   21868:  ;; #(
                   21869:   *) :
                   21870:     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
                   21871: esac
1.171     moko     21872: 
1.237     moko     21873: if test "$enable_year2038" != no
                   21874: then :
                   21875:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CPPFLAGS option for timestamps after 2038" >&5
                   21876: printf %s "checking for $CPPFLAGS option for timestamps after 2038... " >&6; }
                   21877: if test ${ac_cv_sys_year2038_opts+y}
                   21878: then :
                   21879:   printf %s "(cached) " >&6
                   21880: else case e in #(
                   21881:   e) ac_save_CPPFLAGS="$CPPFLAGS"
                   21882:   ac_opt_found=no
                   21883:   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
                   21884:     if test x"$ac_opt" != x"none needed"
                   21885: then :
                   21886:   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
1.171     moko     21887: fi
1.237     moko     21888:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.171     moko     21889: /* end confdefs.h.  */
1.237     moko     21890: 
                   21891:   #include <time.h>
                   21892:   /* Check that time_t can represent 2**32 - 1 correctly.  */
                   21893:   #define LARGE_TIME_T \\
                   21894:     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
                   21895:   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
                   21896:                            && LARGE_TIME_T % 65537 == 0)
                   21897:                           ? 1 : -1];
                   21898: 
1.171     moko     21899: int
1.237     moko     21900: main (void)
1.171     moko     21901: {
                   21902: 
                   21903:   ;
                   21904:   return 0;
                   21905: }
                   21906: _ACEOF
1.237     moko     21907: if ac_fn_c_try_compile "$LINENO"
                   21908: then :
                   21909:   ac_cv_sys_year2038_opts="$ac_opt"
                   21910:       ac_opt_found=yes
1.171     moko     21911: fi
1.237     moko     21912: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
                   21913:     test $ac_opt_found = no || break
                   21914:   done
                   21915:   CPPFLAGS="$ac_save_CPPFLAGS"
                   21916:   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
                   21917: esac
1.171     moko     21918: fi
1.237     moko     21919: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
                   21920: printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
                   21921: 
                   21922: ac_have_year2038=yes
                   21923: case $ac_cv_sys_year2038_opts in #(
                   21924:   "none needed") :
                   21925:      ;; #(
                   21926:   "support not detected") :
                   21927:     ac_have_year2038=no ;; #(
                   21928:   "-D_TIME_BITS=64") :
                   21929: 
                   21930: printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
                   21931:  ;; #(
                   21932:   "-D__MINGW_USE_VC2005_COMPAT") :
                   21933: 
                   21934: printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
                   21935:  ;; #(
                   21936:   "-U_USE_32_BIT_TIME_T"*) :
                   21937:     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   21938: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
                   21939: as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
                   21940: will stop working after mid-January 2038. Remove
                   21941: _USE_32BIT_TIME_T from the compiler flags.
                   21942: See 'config.log' for more details" "$LINENO" 5; } ;; #(
                   21943:   *) :
                   21944:     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
1.171     moko     21945: esac
                   21946: 
                   21947: fi
                   21948: 
                   21949: fi
1.237     moko     21950: 
                   21951: ac_fn_c_check_header_compile "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
                   21952: if test "x$ac_cv_header_stdio_h" = xyes
                   21953: then :
                   21954:   printf "%s\n" "#define HAVE_STDIO_H 1" >>confdefs.h
                   21955: 
                   21956: fi
                   21957: ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
                   21958: if test "x$ac_cv_header_sys_types_h" = xyes
                   21959: then :
                   21960:   printf "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h
                   21961: 
                   21962: fi
                   21963: ac_fn_c_check_header_compile "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
                   21964: if test "x$ac_cv_header_sys_stat_h" = xyes
                   21965: then :
                   21966:   printf "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h
                   21967: 
                   21968: fi
                   21969: ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
                   21970: if test "x$ac_cv_header_stdlib_h" = xyes
                   21971: then :
                   21972:   printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
                   21973: 
                   21974: fi
                   21975: ac_fn_c_check_header_compile "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default"
                   21976: if test "x$ac_cv_header_stddef_h" = xyes
                   21977: then :
                   21978:   printf "%s\n" "#define HAVE_STDDEF_H 1" >>confdefs.h
                   21979: 
                   21980: fi
                   21981: ac_fn_c_check_header_compile "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default"
                   21982: if test "x$ac_cv_header_memory_h" = xyes
                   21983: then :
                   21984:   printf "%s\n" "#define HAVE_MEMORY_H 1" >>confdefs.h
                   21985: 
                   21986: fi
                   21987: ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
                   21988: if test "x$ac_cv_header_string_h" = xyes
                   21989: then :
                   21990:   printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
                   21991: 
                   21992: fi
                   21993: ac_fn_c_check_header_compile "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
                   21994: if test "x$ac_cv_header_strings_h" = xyes
                   21995: then :
                   21996:   printf "%s\n" "#define HAVE_STRINGS_H 1" >>confdefs.h
                   21997: 
                   21998: fi
                   21999: ac_fn_c_check_header_compile "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
                   22000: if test "x$ac_cv_header_inttypes_h" = xyes
                   22001: then :
                   22002:   printf "%s\n" "#define HAVE_INTTYPES_H 1" >>confdefs.h
                   22003: 
                   22004: fi
                   22005: ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
                   22006: if test "x$ac_cv_header_stdint_h" = xyes
                   22007: then :
                   22008:   printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
                   22009: 
                   22010: fi
                   22011: ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
                   22012: if test "x$ac_cv_header_unistd_h" = xyes
                   22013: then :
                   22014:   printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
                   22015: 
                   22016: fi
                   22017: 
                   22018: ac_fn_c_check_header_compile "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
                   22019: if test "x$ac_cv_header_time_h" = xyes
                   22020: then :
                   22021:   printf "%s\n" "#define HAVE_TIME_H 1" >>confdefs.h
                   22022: 
                   22023: fi
                   22024: ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
                   22025: if test "x$ac_cv_header_sys_time_h" = xyes
                   22026: then :
                   22027:   printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
                   22028: 
                   22029: fi
                   22030: ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
                   22031: if test "x$ac_cv_header_assert_h" = xyes
                   22032: then :
                   22033:   printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h
                   22034: 
                   22035: fi
                   22036: ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
                   22037: if test "x$ac_cv_header_limits_h" = xyes
                   22038: then :
                   22039:   printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
                   22040: 
                   22041: fi
                   22042: ac_fn_c_check_header_compile "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
                   22043: if test "x$ac_cv_header_ctype_h" = xyes
                   22044: then :
                   22045:   printf "%s\n" "#define HAVE_CTYPE_H 1" >>confdefs.h
                   22046: 
                   22047: fi
                   22048: ac_fn_c_check_header_compile "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
                   22049: if test "x$ac_cv_header_math_h" = xyes
                   22050: then :
                   22051:   printf "%s\n" "#define HAVE_MATH_H 1" >>confdefs.h
                   22052: 
                   22053: fi
                   22054: ac_fn_c_check_header_compile "$LINENO" "process.h" "ac_cv_header_process_h" "$ac_includes_default"
                   22055: if test "x$ac_cv_header_process_h" = xyes
                   22056: then :
                   22057:   printf "%s\n" "#define HAVE_PROCESS_H 1" >>confdefs.h
                   22058: 
                   22059: fi
                   22060: ac_fn_c_check_header_compile "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
                   22061: if test "x$ac_cv_header_stdarg_h" = xyes
                   22062: then :
                   22063:   printf "%s\n" "#define HAVE_STDARG_H 1" >>confdefs.h
                   22064: 
                   22065: fi
                   22066: ac_fn_c_check_header_compile "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default"
                   22067: if test "x$ac_cv_header_setjmp_h" = xyes
                   22068: then :
                   22069:   printf "%s\n" "#define HAVE_SETJMP_H 1" >>confdefs.h
                   22070: 
1.171     moko     22071: fi
1.237     moko     22072: ac_fn_c_check_header_compile "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
                   22073: if test "x$ac_cv_header_signal_h" = xyes
                   22074: then :
                   22075:   printf "%s\n" "#define HAVE_SIGNAL_H 1" >>confdefs.h
1.171     moko     22076: 
1.237     moko     22077: fi
                   22078: ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
                   22079: if test "x$ac_cv_header_pthread_h" = xyes
                   22080: then :
                   22081:   printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
1.171     moko     22082: 
                   22083: fi
                   22084: 
1.237     moko     22085: ac_fn_c_check_header_compile "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
                   22086: if test "x$ac_cv_header_errno_h" = xyes
                   22087: then :
                   22088:   printf "%s\n" "#define HAVE_ERRNO_H 1" >>confdefs.h
                   22089: 
                   22090: fi
                   22091: ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
                   22092: if test "x$ac_cv_header_dirent_h" = xyes
                   22093: then :
                   22094:   printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
1.171     moko     22095: 
1.237     moko     22096: fi
                   22097: ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
                   22098: if test "x$ac_cv_header_fcntl_h" = xyes
                   22099: then :
                   22100:   printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
1.159     moko     22101: 
                   22102: fi
1.237     moko     22103: ac_fn_c_check_header_compile "$LINENO" "io.h" "ac_cv_header_io_h" "$ac_includes_default"
                   22104: if test "x$ac_cv_header_io_h" = xyes
                   22105: then :
                   22106:   printf "%s\n" "#define HAVE_IO_H 1" >>confdefs.h
1.150     moko     22107: 
1.237     moko     22108: fi
                   22109: ac_fn_c_check_header_compile "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
                   22110: if test "x$ac_cv_header_sys_file_h" = xyes
                   22111: then :
                   22112:   printf "%s\n" "#define HAVE_SYS_FILE_H 1" >>confdefs.h
1.159     moko     22113: 
1.237     moko     22114: fi
                   22115: ac_fn_c_check_header_compile "$LINENO" "sys/locking.h" "ac_cv_header_sys_locking_h" "$ac_includes_default"
                   22116: if test "x$ac_cv_header_sys_locking_h" = xyes
                   22117: then :
                   22118:   printf "%s\n" "#define HAVE_SYS_LOCKING_H 1" >>confdefs.h
1.159     moko     22119: 
                   22120: fi
1.237     moko     22121: ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
                   22122: if test "x$ac_cv_header_sys_select_h" = xyes
                   22123: then :
                   22124:   printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
1.159     moko     22125: 
1.237     moko     22126: fi
                   22127: ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
                   22128: if test "x$ac_cv_header_sys_resource_h" = xyes
                   22129: then :
                   22130:   printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
1.159     moko     22131: 
1.237     moko     22132: fi
                   22133: ac_fn_c_check_header_compile "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
                   22134: if test "x$ac_cv_header_sys_wait_h" = xyes
                   22135: then :
                   22136:   printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
1.159     moko     22137: 
                   22138: fi
                   22139: 
1.237     moko     22140: ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
                   22141: if test "x$ac_cv_header_sys_socket_h" = xyes
                   22142: then :
                   22143:   printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
                   22144: 
                   22145: fi
                   22146: ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
                   22147: if test "x$ac_cv_header_netinet_in_h" = xyes
                   22148: then :
                   22149:   printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
1.159     moko     22150: 
1.237     moko     22151: fi
                   22152: ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
                   22153: if test "x$ac_cv_header_arpa_inet_h" = xyes
                   22154: then :
                   22155:   printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
1.62      paf      22156: 
                   22157: fi
1.237     moko     22158: ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
                   22159: if test "x$ac_cv_header_netdb_h" = xyes
                   22160: then :
                   22161:   printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
1.62      paf      22162: 
1.237     moko     22163: fi
1.62      paf      22164: 
                   22165: 
                   22166: 
1.66      paf      22167: case "$host" in
1.107     misha    22168:   *-freebsd4*)
                   22169: 
1.237     moko     22170: printf "%s\n" "#define FREEBSD4 /**/" >>confdefs.h
1.107     misha    22171: 
                   22172:   ;;
1.195     moko     22173:   *-freebsd1*)
                   22174: 
1.237     moko     22175: printf "%s\n" "#define FREEBSD1X /**/" >>confdefs.h
1.195     moko     22176: 
                   22177:   ;;
1.66      paf      22178:   *-sunos5.6* | *-solaris2.6*)
1.237     moko     22179:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
                   22180: printf %s "checking for main in -lxnet... " >&6; }
                   22181: if test ${ac_cv_lib_xnet_main+y}
                   22182: then :
                   22183:   printf %s "(cached) " >&6
                   22184: else case e in #(
                   22185:   e) ac_check_lib_save_LIBS=$LIBS
1.66      paf      22186: LIBS="-lxnet  $LIBS"
1.150     moko     22187: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22188: /* end confdefs.h.  */
                   22189: 
1.66      paf      22190: 
                   22191: int
1.237     moko     22192: main (void)
1.66      paf      22193: {
1.150     moko     22194: return main ();
1.66      paf      22195:   ;
                   22196:   return 0;
                   22197: }
1.62      paf      22198: _ACEOF
1.237     moko     22199: if ac_fn_c_try_link "$LINENO"
                   22200: then :
1.66      paf      22201:   ac_cv_lib_xnet_main=yes
1.237     moko     22202: else case e in #(
                   22203:   e) ac_cv_lib_xnet_main=no ;;
                   22204: esac
1.62      paf      22205: fi
1.237     moko     22206: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     22207:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     22208: LIBS=$ac_check_lib_save_LIBS ;;
                   22209: esac
1.62      paf      22210: fi
1.237     moko     22211: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
                   22212: printf "%s\n" "$ac_cv_lib_xnet_main" >&6; }
                   22213: if test "x$ac_cv_lib_xnet_main" = xyes
                   22214: then :
                   22215:   printf "%s\n" "#define HAVE_LIBXNET 1" >>confdefs.h
1.1       paf      22216: 
1.66      paf      22217:   LIBS="-lxnet $LIBS"
                   22218: 
1.1       paf      22219: fi
                   22220: 
1.66      paf      22221:   ;;
                   22222:   *-sunos5* | *-solaris2*)
1.237     moko     22223:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   22224: printf %s "checking for main in -lsocket... " >&6; }
                   22225: if test ${ac_cv_lib_socket_main+y}
                   22226: then :
                   22227:   printf %s "(cached) " >&6
                   22228: else case e in #(
                   22229:   e) ac_check_lib_save_LIBS=$LIBS
1.66      paf      22230: LIBS="-lsocket  $LIBS"
1.150     moko     22231: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22232: /* end confdefs.h.  */
1.66      paf      22233: 
                   22234: 
1.62      paf      22235: int
1.237     moko     22236: main (void)
1.62      paf      22237: {
1.150     moko     22238: return main ();
1.62      paf      22239:   ;
                   22240:   return 0;
                   22241: }
                   22242: _ACEOF
1.237     moko     22243: if ac_fn_c_try_link "$LINENO"
                   22244: then :
1.66      paf      22245:   ac_cv_lib_socket_main=yes
1.237     moko     22246: else case e in #(
                   22247:   e) ac_cv_lib_socket_main=no ;;
                   22248: esac
1.1       paf      22249: fi
1.237     moko     22250: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     22251:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     22252: LIBS=$ac_check_lib_save_LIBS ;;
                   22253: esac
1.62      paf      22254: fi
1.237     moko     22255: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   22256: printf "%s\n" "$ac_cv_lib_socket_main" >&6; }
                   22257: if test "x$ac_cv_lib_socket_main" = xyes
                   22258: then :
                   22259:   printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h
1.1       paf      22260: 
1.66      paf      22261:   LIBS="-lsocket $LIBS"
1.1       paf      22262: 
                   22263: fi
                   22264: 
1.237     moko     22265:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   22266: printf %s "checking for main in -lnsl... " >&6; }
                   22267: if test ${ac_cv_lib_nsl_main+y}
                   22268: then :
                   22269:   printf %s "(cached) " >&6
                   22270: else case e in #(
                   22271:   e) ac_check_lib_save_LIBS=$LIBS
1.66      paf      22272: LIBS="-lnsl  $LIBS"
1.150     moko     22273: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22274: /* end confdefs.h.  */
1.66      paf      22275: 
                   22276: 
1.62      paf      22277: int
1.237     moko     22278: main (void)
1.62      paf      22279: {
1.150     moko     22280: return main ();
1.62      paf      22281:   ;
                   22282:   return 0;
                   22283: }
                   22284: _ACEOF
1.237     moko     22285: if ac_fn_c_try_link "$LINENO"
                   22286: then :
1.66      paf      22287:   ac_cv_lib_nsl_main=yes
1.237     moko     22288: else case e in #(
                   22289:   e) ac_cv_lib_nsl_main=no ;;
                   22290: esac
1.30      paf      22291: fi
1.237     moko     22292: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     22293:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     22294: LIBS=$ac_check_lib_save_LIBS ;;
                   22295: esac
1.62      paf      22296: fi
1.237     moko     22297: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   22298: printf "%s\n" "$ac_cv_lib_nsl_main" >&6; }
                   22299: if test "x$ac_cv_lib_nsl_main" = xyes
                   22300: then :
                   22301:   printf "%s\n" "#define HAVE_LIBNSL 1" >>confdefs.h
1.30      paf      22302: 
1.66      paf      22303:   LIBS="-lnsl $LIBS"
1.30      paf      22304: 
                   22305: fi
                   22306: 
1.66      paf      22307:   ;;
                   22308:   *-nec-sysv4*)
1.237     moko     22309:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   22310: printf %s "checking for gethostbyname in -lnsl... " >&6; }
                   22311: if test ${ac_cv_lib_nsl_gethostbyname+y}
                   22312: then :
                   22313:   printf %s "(cached) " >&6
                   22314: else case e in #(
                   22315:   e) ac_check_lib_save_LIBS=$LIBS
1.66      paf      22316: LIBS="-lnsl  $LIBS"
1.150     moko     22317: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22318: /* end confdefs.h.  */
1.66      paf      22319: 
1.150     moko     22320: /* Override any GCC internal prototype to avoid an error.
                   22321:    Use char because int might match the return type of a GCC
1.237     moko     22322:    builtin and then its argument prototype would still apply.
                   22323:    The 'extern "C"' is for builds by C++ compilers;
                   22324:    although this is not generally supported in C code supporting it here
                   22325:    has little cost and some practical benefit (sr 110532).  */
1.66      paf      22326: #ifdef __cplusplus
                   22327: extern "C"
                   22328: #endif
1.237     moko     22329: char gethostbyname (void);
1.62      paf      22330: int
1.237     moko     22331: main (void)
1.62      paf      22332: {
1.150     moko     22333: return gethostbyname ();
1.62      paf      22334:   ;
                   22335:   return 0;
                   22336: }
                   22337: _ACEOF
1.237     moko     22338: if ac_fn_c_try_link "$LINENO"
                   22339: then :
1.66      paf      22340:   ac_cv_lib_nsl_gethostbyname=yes
1.237     moko     22341: else case e in #(
                   22342:   e) ac_cv_lib_nsl_gethostbyname=no ;;
                   22343: esac
1.30      paf      22344: fi
1.237     moko     22345: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     22346:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     22347: LIBS=$ac_check_lib_save_LIBS ;;
                   22348: esac
1.62      paf      22349: fi
1.237     moko     22350: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   22351: printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   22352: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
                   22353: then :
                   22354:   printf "%s\n" "#define HAVE_LIBNSL 1" >>confdefs.h
1.30      paf      22355: 
1.66      paf      22356:   LIBS="-lnsl $LIBS"
1.30      paf      22357: 
                   22358: fi
                   22359: 
1.237     moko     22360:          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   22361: printf %s "checking for socket in -lsocket... " >&6; }
                   22362: if test ${ac_cv_lib_socket_socket+y}
                   22363: then :
                   22364:   printf %s "(cached) " >&6
                   22365: else case e in #(
                   22366:   e) ac_check_lib_save_LIBS=$LIBS
1.66      paf      22367: LIBS="-lsocket  $LIBS"
1.150     moko     22368: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22369: /* end confdefs.h.  */
                   22370: 
1.150     moko     22371: /* Override any GCC internal prototype to avoid an error.
                   22372:    Use char because int might match the return type of a GCC
1.237     moko     22373:    builtin and then its argument prototype would still apply.
                   22374:    The 'extern "C"' is for builds by C++ compilers;
                   22375:    although this is not generally supported in C code supporting it here
                   22376:    has little cost and some practical benefit (sr 110532).  */
1.66      paf      22377: #ifdef __cplusplus
                   22378: extern "C"
                   22379: #endif
1.237     moko     22380: char socket (void);
1.62      paf      22381: int
1.237     moko     22382: main (void)
1.62      paf      22383: {
1.150     moko     22384: return socket ();
1.62      paf      22385:   ;
                   22386:   return 0;
                   22387: }
                   22388: _ACEOF
1.237     moko     22389: if ac_fn_c_try_link "$LINENO"
                   22390: then :
1.66      paf      22391:   ac_cv_lib_socket_socket=yes
1.237     moko     22392: else case e in #(
                   22393:   e) ac_cv_lib_socket_socket=no ;;
                   22394: esac
1.8       paf      22395: fi
1.237     moko     22396: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     22397:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     22398: LIBS=$ac_check_lib_save_LIBS ;;
                   22399: esac
1.8       paf      22400: fi
1.237     moko     22401: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   22402: printf "%s\n" "$ac_cv_lib_socket_socket" >&6; }
                   22403: if test "x$ac_cv_lib_socket_socket" = xyes
                   22404: then :
                   22405:   printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h
1.66      paf      22406: 
1.128     moko     22407:   LIBS="-lsocket $LIBS"
1.66      paf      22408: 
1.62      paf      22409: fi
                   22410: 
1.66      paf      22411:   ;;
1.128     moko     22412:   *-cygwin*)
                   22413: 
1.237     moko     22414: printf "%s\n" "#define WIN32 /**/" >>confdefs.h
1.128     moko     22415: 
1.66      paf      22416:   ;;
                   22417: esac
1.1       paf      22418: 
1.237     moko     22419: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
                   22420: printf %s "checking for sin in -lm... " >&6; }
                   22421: if test ${ac_cv_lib_m_sin+y}
                   22422: then :
                   22423:   printf %s "(cached) " >&6
                   22424: else case e in #(
                   22425:   e) ac_check_lib_save_LIBS=$LIBS
1.66      paf      22426: LIBS="-lm  $LIBS"
1.150     moko     22427: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22428: /* end confdefs.h.  */
                   22429: 
1.150     moko     22430: /* Override any GCC internal prototype to avoid an error.
                   22431:    Use char because int might match the return type of a GCC
1.237     moko     22432:    builtin and then its argument prototype would still apply.
                   22433:    The 'extern "C"' is for builds by C++ compilers;
                   22434:    although this is not generally supported in C code supporting it here
                   22435:    has little cost and some practical benefit (sr 110532).  */
1.66      paf      22436: #ifdef __cplusplus
                   22437: extern "C"
                   22438: #endif
1.237     moko     22439: char sin (void);
1.62      paf      22440: int
1.237     moko     22441: main (void)
1.62      paf      22442: {
1.150     moko     22443: return sin ();
1.62      paf      22444:   ;
                   22445:   return 0;
                   22446: }
                   22447: _ACEOF
1.237     moko     22448: if ac_fn_c_try_link "$LINENO"
                   22449: then :
1.66      paf      22450:   ac_cv_lib_m_sin=yes
1.237     moko     22451: else case e in #(
                   22452:   e) ac_cv_lib_m_sin=no ;;
                   22453: esac
1.62      paf      22454: fi
1.237     moko     22455: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     22456:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     22457: LIBS=$ac_check_lib_save_LIBS ;;
                   22458: esac
1.62      paf      22459: fi
1.237     moko     22460: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
                   22461: printf "%s\n" "$ac_cv_lib_m_sin" >&6; }
                   22462: if test "x$ac_cv_lib_m_sin" = xyes
                   22463: then :
                   22464:   printf "%s\n" "#define HAVE_LIBM 1" >>confdefs.h
1.1       paf      22465: 
1.66      paf      22466:   LIBS="-lm $LIBS"
1.1       paf      22467: 
                   22468: fi
                   22469: 
1.237     moko     22470: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
                   22471: printf %s "checking for crypt in -lcrypt... " >&6; }
                   22472: if test ${ac_cv_lib_crypt_crypt+y}
                   22473: then :
                   22474:   printf %s "(cached) " >&6
                   22475: else case e in #(
                   22476:   e) ac_check_lib_save_LIBS=$LIBS
1.66      paf      22477: LIBS="-lcrypt  $LIBS"
1.150     moko     22478: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22479: /* end confdefs.h.  */
                   22480: 
1.150     moko     22481: /* Override any GCC internal prototype to avoid an error.
                   22482:    Use char because int might match the return type of a GCC
1.237     moko     22483:    builtin and then its argument prototype would still apply.
                   22484:    The 'extern "C"' is for builds by C++ compilers;
                   22485:    although this is not generally supported in C code supporting it here
                   22486:    has little cost and some practical benefit (sr 110532).  */
1.66      paf      22487: #ifdef __cplusplus
                   22488: extern "C"
                   22489: #endif
1.237     moko     22490: char crypt (void);
1.62      paf      22491: int
1.237     moko     22492: main (void)
1.62      paf      22493: {
1.150     moko     22494: return crypt ();
1.62      paf      22495:   ;
                   22496:   return 0;
                   22497: }
                   22498: _ACEOF
1.237     moko     22499: if ac_fn_c_try_link "$LINENO"
                   22500: then :
1.66      paf      22501:   ac_cv_lib_crypt_crypt=yes
1.237     moko     22502: else case e in #(
                   22503:   e) ac_cv_lib_crypt_crypt=no ;;
                   22504: esac
1.62      paf      22505: fi
1.237     moko     22506: rm -f core conftest.err conftest.$ac_objext conftest.beam \
1.150     moko     22507:     conftest$ac_exeext conftest.$ac_ext
1.237     moko     22508: LIBS=$ac_check_lib_save_LIBS ;;
                   22509: esac
1.62      paf      22510: fi
1.237     moko     22511: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
                   22512: printf "%s\n" "$ac_cv_lib_crypt_crypt" >&6; }
                   22513: if test "x$ac_cv_lib_crypt_crypt" = xyes
                   22514: then :
                   22515:   printf "%s\n" "#define HAVE_LIBCRYPT 1" >>confdefs.h
1.1       paf      22516: 
1.66      paf      22517:   LIBS="-lcrypt $LIBS"
                   22518: 
                   22519: fi
                   22520: 
                   22521: 
                   22522: 
1.237     moko     22523: ac_fn_c_check_func "$LINENO" "flock" "ac_cv_func_flock"
                   22524: if test "x$ac_cv_func_flock" = xyes
                   22525: then :
                   22526:   printf "%s\n" "#define HAVE_FLOCK 1" >>confdefs.h
                   22527: 
                   22528: fi
                   22529: ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
                   22530: if test "x$ac_cv_func_fcntl" = xyes
                   22531: then :
                   22532:   printf "%s\n" "#define HAVE_FCNTL 1" >>confdefs.h
                   22533: 
                   22534: fi
                   22535: ac_fn_c_check_func "$LINENO" "lockf" "ac_cv_func_lockf"
                   22536: if test "x$ac_cv_func_lockf" = xyes
                   22537: then :
                   22538:   printf "%s\n" "#define HAVE_LOCKF 1" >>confdefs.h
                   22539: 
                   22540: fi
                   22541: ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate"
                   22542: if test "x$ac_cv_func_ftruncate" = xyes
                   22543: then :
                   22544:   printf "%s\n" "#define HAVE_FTRUNCATE 1" >>confdefs.h
                   22545: 
                   22546: fi
                   22547: ac_fn_c_check_func "$LINENO" "fchmod" "ac_cv_func_fchmod"
                   22548: if test "x$ac_cv_func_fchmod" = xyes
                   22549: then :
                   22550:   printf "%s\n" "#define HAVE_FCHMOD 1" >>confdefs.h
                   22551: 
                   22552: fi
                   22553: 
                   22554: ac_fn_c_check_func "$LINENO" "getrusage" "ac_cv_func_getrusage"
                   22555: if test "x$ac_cv_func_getrusage" = xyes
                   22556: then :
                   22557:   printf "%s\n" "#define HAVE_GETRUSAGE 1" >>confdefs.h
                   22558: 
                   22559: fi
                   22560: ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
                   22561: if test "x$ac_cv_func_gettimeofday" = xyes
                   22562: then :
                   22563:   printf "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
                   22564: 
                   22565: fi
                   22566: ac_fn_c_check_func "$LINENO" "crypt" "ac_cv_func_crypt"
                   22567: if test "x$ac_cv_func_crypt" = xyes
                   22568: then :
                   22569:   printf "%s\n" "#define HAVE_CRYPT 1" >>confdefs.h
                   22570: 
                   22571: fi
                   22572: ac_fn_c_check_func "$LINENO" "sigsetjmp" "ac_cv_func_sigsetjmp"
                   22573: if test "x$ac_cv_func_sigsetjmp" = xyes
                   22574: then :
                   22575:   printf "%s\n" "#define HAVE_SIGSETJMP 1" >>confdefs.h
                   22576: 
                   22577: fi
                   22578: ac_fn_c_check_func "$LINENO" "siglongjmp" "ac_cv_func_siglongjmp"
                   22579: if test "x$ac_cv_func_siglongjmp" = xyes
                   22580: then :
                   22581:   printf "%s\n" "#define HAVE_SIGLONGJMP 1" >>confdefs.h
1.159     moko     22582: 
                   22583: fi
1.237     moko     22584: ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
                   22585: if test "x$ac_cv_func_unsetenv" = xyes
                   22586: then :
                   22587:   printf "%s\n" "#define HAVE_UNSETENV 1" >>confdefs.h
1.66      paf      22588: 
1.237     moko     22589: fi
                   22590: ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog"
                   22591: if test "x$ac_cv_func_syslog" = xyes
                   22592: then :
                   22593:   printf "%s\n" "#define HAVE_SYSLOG 1" >>confdefs.h
1.1       paf      22594: 
1.66      paf      22595: fi
                   22596: 
1.1       paf      22597: 
                   22598: 
1.159     moko     22599: 
1.67      paf      22600: pa_func=sigsetjmp
1.237     moko     22601: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
                   22602: printf %s "checking for (maybe built-in) function $pa_func... " >&6; }
1.229     moko     22603: 
                   22604:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      22605: /* end confdefs.h.  */
                   22606: 
                   22607: #ifdef HAVE_SETJMP_H
                   22608: #      include <setjmp.h>
                   22609: #endif
                   22610: 
                   22611: int
1.237     moko     22612: main (void)
1.67      paf      22613: {
                   22614: 
                   22615:         $pa_func(0,0);
                   22616: 
                   22617:   ;
                   22618:   return 0;
                   22619: }
                   22620: _ACEOF
1.237     moko     22621: if ac_fn_c_try_compile "$LINENO"
                   22622: then :
                   22623:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22624: printf "%s\n" "yes" >&6; }
1.67      paf      22625: cat >>confdefs.h <<_ACEOF
1.237     moko     22626: #define `printf "%s\n" "HAVE_$pa_func" | sed "$as_sed_cpp"` 1
1.67      paf      22627: _ACEOF
                   22628: 
                   22629: 
1.237     moko     22630: else case e in #(
                   22631:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22632: printf "%s\n" "no" >&6; }
1.229     moko     22633: 
1.237     moko     22634:    ;;
                   22635: esac
1.67      paf      22636: fi
1.237     moko     22637: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.67      paf      22638: 
                   22639: 
                   22640: 
1.159     moko     22641: 
1.229     moko     22642: 
1.150     moko     22643: ac_ext=cpp
1.67      paf      22644: ac_cpp='$CXXCPP $CPPFLAGS'
                   22645: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   22646: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   22647: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   22648: 
                   22649: 
                   22650: 
1.188     moko     22651: for pa_func in trunc round sign isfinite
1.67      paf      22652: do
                   22653: 
1.237     moko     22654: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
                   22655: printf %s "checking for (maybe built-in) math function $pa_func... " >&6; }
1.229     moko     22656: 
                   22657:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      22658: /* end confdefs.h.  */
                   22659: 
                   22660: #ifdef HAVE_MATH_H
                   22661: #       include <math.h>
                   22662: #endif
                   22663: 
                   22664: int
1.237     moko     22665: main (void)
1.67      paf      22666: {
                   22667: 
                   22668:         double result=$pa_func(1.6);
                   22669: 
                   22670:   ;
                   22671:   return 0;
                   22672: }
                   22673: _ACEOF
1.237     moko     22674: if ac_fn_cxx_try_compile "$LINENO"
                   22675: then :
                   22676:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22677: printf "%s\n" "yes" >&6; }
1.67      paf      22678: cat >>confdefs.h <<_ACEOF
1.237     moko     22679: #define `printf "%s\n" "HAVE_$pa_func" | sed "$as_sed_cpp"`  1
1.62      paf      22680: _ACEOF
1.66      paf      22681: 
1.237     moko     22682: else case e in #(
                   22683:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22684: printf "%s\n" "no" >&6; }
1.229     moko     22685: 
1.237     moko     22686:    ;;
                   22687: esac
1.62      paf      22688: fi
1.237     moko     22689: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.150     moko     22690: 
1.229     moko     22691: 
1.150     moko     22692: done
                   22693: 
                   22694: ac_ext=c
                   22695: ac_cpp='$CPP $CPPFLAGS'
                   22696: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   22697: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   22698: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   22699: 
                   22700: 
                   22701: 
1.237     moko     22702: 
                   22703:   for ac_func in qsort
1.150     moko     22704: do :
                   22705:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
1.237     moko     22706: if test "x$ac_cv_func_qsort" = xyes
                   22707: then :
                   22708:   printf "%s\n" "#define HAVE_QSORT 1" >>confdefs.h
1.1       paf      22709: 
1.237     moko     22710: else case e in #(
                   22711:   e) as_fn_error $? "No qsort library function." "$LINENO" 5 ;;
                   22712: esac
1.1       paf      22713: fi
1.237     moko     22714: 
1.66      paf      22715: done
1.1       paf      22716: 
                   22717: 
1.62      paf      22718: 
1.177     moko     22719: ac_ext=cpp
                   22720: ac_cpp='$CXXCPP $CPPFLAGS'
                   22721: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   22722: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   22723: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   22724: 
1.237     moko     22725: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
                   22726: printf %s "checking for timezone variable... " >&6; }
1.229     moko     22727: 
                   22728:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22729: /* end confdefs.h.  */
1.66      paf      22730: #include <time.h>
1.62      paf      22731: int
1.237     moko     22732: main (void)
1.62      paf      22733: {
1.177     moko     22734: int test=timezone;
1.62      paf      22735:   ;
                   22736:   return 0;
                   22737: }
                   22738: _ACEOF
1.237     moko     22739: if ac_fn_cxx_try_compile "$LINENO"
                   22740: then :
                   22741:   printf "%s\n" "#define HAVE_TIMEZONE 1" >>confdefs.h
                   22742:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22743: printf "%s\n" "yes" >&6; }
                   22744: else case e in #(
                   22745:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22746: printf "%s\n" "no" >&6; }
                   22747:    ;;
                   22748: esac
1.62      paf      22749: fi
1.237     moko     22750: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.229     moko     22751: 
1.177     moko     22752: ac_ext=c
                   22753: ac_cpp='$CPP $CPPFLAGS'
                   22754: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   22755: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   22756: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   22757: 
1.1       paf      22758: 
1.237     moko     22759: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
                   22760: printf %s "checking for tm_gmtoff in struct tm... " >&6; }
1.229     moko     22761: 
                   22762:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22763: /* end confdefs.h.  */
1.66      paf      22764: #include <time.h>
1.62      paf      22765: int
1.237     moko     22766: main (void)
1.62      paf      22767: {
1.176     moko     22768: struct tm tm; tm.tm_gmtoff=0;
1.62      paf      22769:   ;
                   22770:   return 0;
                   22771: }
                   22772: _ACEOF
1.237     moko     22773: if ac_fn_c_try_compile "$LINENO"
                   22774: then :
                   22775:   printf "%s\n" "#define HAVE_TM_GMTOFF 1" >>confdefs.h
                   22776:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22777: printf "%s\n" "yes" >&6; }
                   22778: else case e in #(
                   22779:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22780: printf "%s\n" "no" >&6; }
                   22781:    ;;
                   22782: esac
1.62      paf      22783: fi
1.237     moko     22784: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.62      paf      22785: 
1.229     moko     22786: 
1.237     moko     22787: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
                   22788: printf %s "checking for tm_tzadj in struct tm... " >&6; }
1.229     moko     22789: 
                   22790:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22791: /* end confdefs.h.  */
1.66      paf      22792: #include <time.h>
1.62      paf      22793: int
1.237     moko     22794: main (void)
1.62      paf      22795: {
1.176     moko     22796: struct tm tm; tm.tm_tzadj=0;
1.62      paf      22797:   ;
                   22798:   return 0;
                   22799: }
                   22800: _ACEOF
1.237     moko     22801: if ac_fn_c_try_compile "$LINENO"
                   22802: then :
                   22803:   printf "%s\n" "#define HAVE_TM_TZADJ 1" >>confdefs.h
                   22804:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22805: printf "%s\n" "yes" >&6; }
                   22806: else case e in #(
                   22807:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22808: printf "%s\n" "no" >&6; }
                   22809:    ;;
                   22810: esac
1.62      paf      22811: fi
1.237     moko     22812: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       paf      22813: 
1.229     moko     22814: 
1.237     moko     22815: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gettid" >&5
                   22816: printf %s "checking for gettid... " >&6; }
1.229     moko     22817: 
                   22818:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.206     moko     22819: /* end confdefs.h.  */
                   22820: 
                   22821: #include <sys/types.h>
                   22822: #include <sys/syscall.h>
                   22823: 
                   22824: int
1.237     moko     22825: main (void)
1.206     moko     22826: {
                   22827: uint tid=syscall(__NR_gettid);
                   22828:   ;
                   22829:   return 0;
                   22830: }
                   22831: _ACEOF
1.237     moko     22832: if ac_fn_c_try_compile "$LINENO"
                   22833: then :
                   22834:   printf "%s\n" "#define HAVE_GETTID 1" >>confdefs.h
                   22835:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22836: printf "%s\n" "yes" >&6; }
                   22837: else case e in #(
                   22838:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22839: printf "%s\n" "no" >&6; }
                   22840:    ;;
                   22841: esac
1.206     moko     22842: fi
1.237     moko     22843: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.206     moko     22844: 
1.229     moko     22845: 
1.237     moko     22846: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5
                   22847: printf %s "checking for TLS... " >&6; }
1.229     moko     22848: 
                   22849:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.208     moko     22850: /* end confdefs.h.  */
1.209     moko     22851: __thread int i=0;
1.208     moko     22852: int
1.237     moko     22853: main (void)
1.208     moko     22854: {
1.209     moko     22855: 
1.208     moko     22856:   ;
                   22857:   return 0;
                   22858: }
                   22859: _ACEOF
1.237     moko     22860: if ac_fn_c_try_compile "$LINENO"
                   22861: then :
                   22862:   printf "%s\n" "#define HAVE_TLS 1" >>confdefs.h
                   22863:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22864: printf "%s\n" "yes" >&6; }
                   22865: else case e in #(
                   22866:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22867: printf "%s\n" "no" >&6; }
                   22868:    ;;
                   22869: esac
1.208     moko     22870: fi
1.237     moko     22871: rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1.208     moko     22872: 
1.229     moko     22873: 
1.237     moko     22874: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 0..9999 year date range support" >&5
                   22875: printf %s "checking for 0..9999 year date range support... " >&6; }
                   22876: if test "$cross_compiling" = yes
                   22877: then :
                   22878:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22879: printf "%s\n" "no" >&6; }
                   22880: else case e in #(
                   22881:   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      22882: /* end confdefs.h.  */
1.176     moko     22883: 
                   22884: #include <string.h>
1.66      paf      22885: #include <time.h>
1.176     moko     22886: 
                   22887: int main() {
                   22888:        struct tm tmL,tmH;
                   22889:        memset(&tmL, 0, sizeof(tmL));
                   22890:        memset(&tmH, 0, sizeof(tmH));
                   22891:        tmL.tm_year=-1900;
                   22892:        tmL.tm_mon=-1;
                   22893:        tmH.tm_year=9999-1900;
                   22894:        tmH.tm_mon=12-1;
                   22895:        tmH.tm_mday=31;
                   22896:        return mktime(&tmL)==-1 || mktime(&tmH)==-1;
1.62      paf      22897: }
1.176     moko     22898: 
1.62      paf      22899: _ACEOF
1.237     moko     22900: if ac_fn_c_try_run "$LINENO"
                   22901: then :
                   22902:   printf "%s\n" "#define PA_DATE64 1" >>confdefs.h
                   22903:  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22904: printf "%s\n" "yes" >&6; }
                   22905: else case e in #(
                   22906:   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22907: printf "%s\n" "no" >&6; } ;;
                   22908: esac
1.62      paf      22909: fi
1.176     moko     22910: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1.237     moko     22911:   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
                   22912: esac
1.176     moko     22913: fi
1.31      paf      22914: 
1.1       paf      22915: 
                   22916: 
                   22917: 
1.62      paf      22918: 
                   22919: 
                   22920: 
1.206     moko     22921: 
1.208     moko     22922: 
1.150     moko     22923: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      22924: 
                   22925: 
1.200     moko     22926: ac_config_files="$ac_config_files Makefile src/Makefile src/types/Makefile src/classes/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/gd/Makefile src/lib/smtp/Makefile src/lib/gc/Makefile src/lib/gc/include/Makefile src/lib/pcre/Makefile src/lib/cord/Makefile src/lib/cord/include/Makefile src/lib/cord/include/private/Makefile src/lib/md5/Makefile src/lib/sdbm/Makefile src/lib/sdbm/pa-include/Makefile src/lib/json/Makefile src/lib/curl/Makefile src/lib/punycode/Makefile src/lib/memcached/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache/Makefile src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile etc/auto.p"
1.62      paf      22927: 
                   22928: cat >confcache <<\_ACEOF
1.1       paf      22929: # This file is a shell script that caches the results of configure
                   22930: # tests run on this system so they can be shared between configure
1.62      paf      22931: # scripts and configure runs, see configure's option --config-cache.
                   22932: # It is not useful on other systems.  If it contains results you don't
                   22933: # want to keep, you may remove or edit it.
1.1       paf      22934: #
1.62      paf      22935: # config.status only pays attention to the cache file if you give it
                   22936: # the --recheck option to rerun configure.
1.1       paf      22937: #
1.237     moko     22938: # 'ac_cv_env_foo' variables (set or unset) will be overridden when
                   22939: # loading this file, other *unset* 'ac_cv_foo' will be assigned the
1.62      paf      22940: # following values.
                   22941: 
                   22942: _ACEOF
                   22943: 
1.1       paf      22944: # The following way of writing the cache mishandles newlines in values,
                   22945: # but we know of no workaround that is simple, portable, and efficient.
1.150     moko     22946: # So, we kill variables containing newlines.
1.1       paf      22947: # Ultrix sh set writes to stderr and can't be redirected directly,
                   22948: # and sets the high bit in the cache file unless we assign to the vars.
1.150     moko     22949: (
                   22950:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   22951:     eval ac_val=\$$ac_var
                   22952:     case $ac_val in #(
                   22953:     *${as_nl}*)
                   22954:       case $ac_var in #(
1.237     moko     22955:       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   22956: printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.150     moko     22957:       esac
                   22958:       case $ac_var in #(
                   22959:       _ | IFS | as_nl) ;; #(
                   22960:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   22961:       *) { eval $ac_var=; unset $ac_var;} ;;
                   22962:       esac ;;
                   22963:     esac
                   22964:   done
                   22965: 
1.62      paf      22966:   (set) 2>&1 |
1.150     moko     22967:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   22968:     *${as_nl}ac_space=\ *)
1.237     moko     22969:       # 'set' does not quote correctly, so add quotes: double-quote
1.150     moko     22970:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      22971:       sed -n \
1.86      paf      22972:        "s/'/'\\\\''/g;
                   22973:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150     moko     22974:       ;; #(
1.62      paf      22975:     *)
1.237     moko     22976:       # 'set' quotes correctly as required by POSIX, so do not add quotes.
1.150     moko     22977:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      22978:       ;;
1.150     moko     22979:     esac |
                   22980:     sort
                   22981: ) |
1.62      paf      22982:   sed '
1.150     moko     22983:      /^ac_cv_env_/b end
1.62      paf      22984:      t clear
1.150     moko     22985:      :clear
1.237     moko     22986:      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
1.62      paf      22987:      t end
1.150     moko     22988:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   22989:      :end' >>confcache
                   22990: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   22991:   if test -w "$cache_file"; then
                   22992:     if test "x$cache_file" != "x/dev/null"; then
1.237     moko     22993:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   22994: printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
1.150     moko     22995:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   22996:        cat confcache >"$cache_file"
                   22997:       else
                   22998:         case $cache_file in #(
                   22999:         */* | ?:*)
                   23000:          mv -f confcache "$cache_file"$$ &&
                   23001:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   23002:         *)
                   23003:          mv -f confcache "$cache_file" ;;
                   23004:        esac
                   23005:       fi
                   23006:     fi
1.1       paf      23007:   else
1.237     moko     23008:     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   23009: printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      23010:   fi
                   23011: fi
                   23012: rm -f confcache
                   23013: 
                   23014: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   23015: # Let make expand exec_prefix.
                   23016: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   23017: 
1.62      paf      23018: DEFS=-DHAVE_CONFIG_H
                   23019: 
                   23020: ac_libobjs=
                   23021: ac_ltlibobjs=
1.229     moko     23022: U=
1.62      paf      23023: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   23024:   # 1. Remove the extension, and $U if already installed.
1.150     moko     23025:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.237     moko     23026:   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
1.150     moko     23027:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   23028:   #    will be set to the directory where LIBOBJS objects are built.
                   23029:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   23030:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      23031: done
                   23032: LIBOBJS=$ac_libobjs
                   23033: 
                   23034: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      23035: 
                   23036: 
1.237     moko     23037: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
                   23038: printf %s "checking that generated files are newer than configure... " >&6; }
1.187     moko     23039:    if test -n "$am_sleep_pid"; then
                   23040:      # Hide warnings about reused PIDs.
                   23041:      wait $am_sleep_pid 2>/dev/null
                   23042:    fi
1.237     moko     23043:    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
                   23044: printf "%s\n" "done" >&6; }
                   23045: case $enable_silent_rules in # (((
                   23046:   yes) AM_DEFAULT_VERBOSITY=0;;
                   23047:    no) AM_DEFAULT_VERBOSITY=1;;
                   23048: esac
                   23049: if test $am_cv_make_support_nested_variables = yes; then
                   23050:     AM_V='$(V)'
                   23051:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
                   23052: else
                   23053:   AM_V=$AM_DEFAULT_VERBOSITY
                   23054:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
                   23055: fi
                   23056: 
1.150     moko     23057:  if test -n "$EXEEXT"; then
                   23058:   am__EXEEXT_TRUE=
                   23059:   am__EXEEXT_FALSE='#'
                   23060: else
                   23061:   am__EXEEXT_TRUE='#'
                   23062:   am__EXEEXT_FALSE=
                   23063: fi
                   23064: 
1.62      paf      23065: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150     moko     23066:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   23067: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      23068: fi
1.66      paf      23069: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150     moko     23070:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   23071: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      23072: fi
1.66      paf      23073: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150     moko     23074:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   23075: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      23076: fi
1.122     moko     23077: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150     moko     23078:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
                   23079: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      23080: fi
1.128     moko     23081: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150     moko     23082:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   23083: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     23084: fi
                   23085: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150     moko     23086:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   23087: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     23088: fi
1.237     moko     23089: if test -z "${LTARGZH_EXISTS_TRUE}" && test -z "${LTARGZH_EXISTS_FALSE}"; then
                   23090:   as_fn_error $? "conditional \"LTARGZH_EXISTS\" was never defined.
                   23091: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23092: fi
1.150     moko     23093: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     23094: 
                   23095:     _ltdl_libobjs=
                   23096:     _ltdl_ltlibobjs=
                   23097:     if test -n "$_LT_LIBOBJS"; then
                   23098:       # Remove the extension.
                   23099:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
1.237     moko     23100:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | $SED "$_lt_sed_drop_objext" | sort -u`; do
1.128     moko     23101:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   23102:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   23103:       done
                   23104:     fi
                   23105:     ltdl_LIBOBJS=$_ltdl_libobjs
                   23106: 
                   23107:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   23108: 
                   23109: 
1.62      paf      23110: 
1.237     moko     23111: # Check whether --enable-year2038 was given.
                   23112: if test ${enable_year2038+y}
                   23113: then :
                   23114:   enableval=$enable_year2038;
                   23115: fi
                   23116: 
1.150     moko     23117: 
                   23118: : "${CONFIG_STATUS=./config.status}"
                   23119: ac_write_fail=0
1.62      paf      23120: ac_clean_files_save=$ac_clean_files
                   23121: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.237     moko     23122: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   23123: printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
1.150     moko     23124: as_write_fail=0
                   23125: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      23126: #! $SHELL
                   23127: # Generated by $as_me.
                   23128: # Run this file to recreate the current configuration.
                   23129: # Compiler output produced by configure, useful for debugging
                   23130: # configure, is in config.log if it exists.
                   23131: 
                   23132: debug=false
                   23133: ac_cs_recheck=false
                   23134: ac_cs_silent=false
1.150     moko     23135: 
1.62      paf      23136: SHELL=\${CONFIG_SHELL-$SHELL}
1.150     moko     23137: export SHELL
                   23138: _ASEOF
                   23139: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   23140: ## -------------------- ##
                   23141: ## M4sh Initialization. ##
                   23142: ## -------------------- ##
1.62      paf      23143: 
1.150     moko     23144: # Be more Bourne compatible
                   23145: DUALCASE=1; export DUALCASE # for MKS sh
1.237     moko     23146: if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
                   23147: then :
1.62      paf      23148:   emulate sh
                   23149:   NULLCMD=:
1.150     moko     23150:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      23151:   # is contrary to our usage.  Disable this feature.
                   23152:   alias -g '${1+"$@"}'='"$@"'
1.150     moko     23153:   setopt NO_GLOB_SUBST
1.237     moko     23154: else case e in #(
                   23155:   e) case `(set -o) 2>/dev/null` in #(
1.150     moko     23156:   *posix*) :
                   23157:     set -o posix ;; #(
                   23158:   *) :
                   23159:      ;;
1.237     moko     23160: esac ;;
1.150     moko     23161: esac
                   23162: fi
                   23163: 
                   23164: 
1.237     moko     23165: 
                   23166: # Reset variables that may have inherited troublesome values from
                   23167: # the environment.
                   23168: 
                   23169: # IFS needs to be set, to space, tab, and newline, in precisely that order.
                   23170: # (If _AS_PATH_WALK were called with IFS unset, it would have the
                   23171: # side effect of setting IFS to empty, thus disabling word splitting.)
                   23172: # Quoting is to prevent editors from complaining about space-tab.
1.150     moko     23173: as_nl='
                   23174: '
                   23175: export as_nl
1.237     moko     23176: IFS=" ""       $as_nl"
                   23177: 
                   23178: PS1='$ '
                   23179: PS2='> '
                   23180: PS4='+ '
                   23181: 
                   23182: # Ensure predictable behavior from utilities with locale-dependent output.
                   23183: LC_ALL=C
                   23184: export LC_ALL
                   23185: LANGUAGE=C
                   23186: export LANGUAGE
                   23187: 
                   23188: # We cannot yet rely on "unset" to work, but we need these variables
                   23189: # to be unset--not just set to an empty or harmless value--now, to
                   23190: # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
                   23191: # also avoids known problems related to "unset" and subshell syntax
                   23192: # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
                   23193: for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
                   23194: do eval test \${$as_var+y} \
                   23195:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   23196: done
                   23197: 
                   23198: # Ensure that fds 0, 1, and 2 are open.
                   23199: if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
                   23200: if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
                   23201: if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
1.62      paf      23202: 
1.150     moko     23203: # The user is always right.
1.237     moko     23204: if ${PATH_SEPARATOR+false} :; then
1.150     moko     23205:   PATH_SEPARATOR=:
                   23206:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   23207:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   23208:       PATH_SEPARATOR=';'
                   23209:   }
1.62      paf      23210: fi
                   23211: 
                   23212: 
1.150     moko     23213: # Find who we are.  Look in the path if we contain no directory separator.
                   23214: as_myself=
                   23215: case $0 in #((
                   23216:   *[\\/]* ) as_myself=$0 ;;
                   23217:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   23218: for as_dir in $PATH
                   23219: do
                   23220:   IFS=$as_save_IFS
1.237     moko     23221:   case $as_dir in #(((
                   23222:     '') as_dir=./ ;;
                   23223:     */) ;;
                   23224:     *) as_dir=$as_dir/ ;;
                   23225:   esac
                   23226:     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
1.150     moko     23227:   done
                   23228: IFS=$as_save_IFS
                   23229: 
                   23230:      ;;
                   23231: esac
1.237     moko     23232: # We did not find ourselves, most probably we were run as 'sh COMMAND'
1.150     moko     23233: # in which case we are not to be found in the path.
                   23234: if test "x$as_myself" = x; then
                   23235:   as_myself=$0
                   23236: fi
                   23237: if test ! -f "$as_myself"; then
1.237     moko     23238:   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.150     moko     23239:   exit 1
                   23240: fi
                   23241: 
                   23242: 
                   23243: 
                   23244: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   23245: # ----------------------------------------
                   23246: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   23247: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   23248: # script with STATUS, using 1 if that was 0.
                   23249: as_fn_error ()
                   23250: {
                   23251:   as_status=$1; test $as_status -eq 0 && as_status=1
                   23252:   if test "$4"; then
                   23253:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.237     moko     23254:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.150     moko     23255:   fi
1.237     moko     23256:   printf "%s\n" "$as_me: error: $2" >&2
1.150     moko     23257:   as_fn_exit $as_status
                   23258: } # as_fn_error
                   23259: 
                   23260: 
                   23261: # as_fn_set_status STATUS
                   23262: # -----------------------
                   23263: # Set $? to STATUS, without forking.
                   23264: as_fn_set_status ()
                   23265: {
                   23266:   return $1
                   23267: } # as_fn_set_status
                   23268: 
                   23269: # as_fn_exit STATUS
                   23270: # -----------------
                   23271: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   23272: as_fn_exit ()
                   23273: {
                   23274:   set +e
                   23275:   as_fn_set_status $1
                   23276:   exit $1
                   23277: } # as_fn_exit
                   23278: 
                   23279: # as_fn_unset VAR
                   23280: # ---------------
                   23281: # Portably unset VAR.
                   23282: as_fn_unset ()
                   23283: {
                   23284:   { eval $1=; unset $1;}
                   23285: }
                   23286: as_unset=as_fn_unset
1.237     moko     23287: 
1.150     moko     23288: # as_fn_append VAR VALUE
                   23289: # ----------------------
                   23290: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   23291: # advantage of any shell optimizations that allow amortized linear growth over
                   23292: # repeated appends, instead of the typical quadratic growth present in naive
                   23293: # implementations.
1.237     moko     23294: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
                   23295: then :
1.150     moko     23296:   eval 'as_fn_append ()
                   23297:   {
                   23298:     eval $1+=\$2
                   23299:   }'
1.237     moko     23300: else case e in #(
                   23301:   e) as_fn_append ()
1.150     moko     23302:   {
                   23303:     eval $1=\$$1\$2
1.237     moko     23304:   } ;;
                   23305: esac
1.150     moko     23306: fi # as_fn_append
                   23307: 
                   23308: # as_fn_arith ARG...
                   23309: # ------------------
                   23310: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   23311: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   23312: # must be portable across $(()) and expr.
1.237     moko     23313: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
                   23314: then :
1.150     moko     23315:   eval 'as_fn_arith ()
                   23316:   {
                   23317:     as_val=$(( $* ))
                   23318:   }'
1.237     moko     23319: else case e in #(
                   23320:   e) as_fn_arith ()
1.150     moko     23321:   {
                   23322:     as_val=`expr "$@" || test $? -eq 1`
1.237     moko     23323:   } ;;
                   23324: esac
1.150     moko     23325: fi # as_fn_arith
                   23326: 
1.1       paf      23327: 
1.150     moko     23328: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   23329:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      23330:   as_expr=expr
                   23331: else
                   23332:   as_expr=false
                   23333: fi
                   23334: 
1.150     moko     23335: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      23336:   as_basename=basename
                   23337: else
                   23338:   as_basename=false
                   23339: fi
                   23340: 
1.150     moko     23341: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   23342:   as_dirname=dirname
                   23343: else
                   23344:   as_dirname=false
                   23345: fi
1.62      paf      23346: 
1.150     moko     23347: as_me=`$as_basename -- "$0" ||
1.62      paf      23348: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   23349:         X"$0" : 'X\(//\)$' \| \
1.150     moko     23350:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     23351: printf "%s\n" X/"$0" |
1.150     moko     23352:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   23353:            s//\1/
                   23354:            q
                   23355:          }
                   23356:          /^X\/\(\/\/\)$/{
                   23357:            s//\1/
                   23358:            q
                   23359:          }
                   23360:          /^X\/\(\/\).*/{
                   23361:            s//\1/
                   23362:            q
                   23363:          }
                   23364:          s/.*/./; q'`
1.62      paf      23365: 
                   23366: # Avoid depending upon Character Ranges.
                   23367: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   23368: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   23369: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   23370: as_cr_digits='0123456789'
                   23371: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   23372: 
1.237     moko     23373: 
                   23374: # Determine whether it's possible to make 'echo' print without a newline.
                   23375: # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
                   23376: # for compatibility with existing Makefiles.
1.150     moko     23377: ECHO_C= ECHO_N= ECHO_T=
                   23378: case `echo -n x` in #(((((
                   23379: -n*)
                   23380:   case `echo 'xy\c'` in
                   23381:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   23382:   xy)  ECHO_C='\c';;
                   23383:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   23384:        ECHO_T='        ';;
                   23385:   esac;;
                   23386: *)
                   23387:   ECHO_N='-n';;
1.62      paf      23388: esac
                   23389: 
1.237     moko     23390: # For backward compatibility with old third-party macros, we provide
                   23391: # the shell variables $as_echo and $as_echo_n.  New code should use
                   23392: # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
                   23393: as_echo='printf %s\n'
                   23394: as_echo_n='printf %s'
                   23395: 
1.150     moko     23396: rm -f conf$$ conf$$.exe conf$$.file
                   23397: if test -d conf$$.dir; then
                   23398:   rm -f conf$$.dir/conf$$.file
1.62      paf      23399: else
1.150     moko     23400:   rm -f conf$$.dir
                   23401:   mkdir conf$$.dir 2>/dev/null
1.62      paf      23402: fi
1.150     moko     23403: if (echo >conf$$.file) 2>/dev/null; then
                   23404:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   23405:     as_ln_s='ln -s'
                   23406:     # ... but there are two gotchas:
1.237     moko     23407:     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
                   23408:     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
                   23409:     # In both cases, we have to default to 'cp -pR'.
1.150     moko     23410:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.166     moko     23411:       as_ln_s='cp -pR'
1.150     moko     23412:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   23413:     as_ln_s=ln
                   23414:   else
1.166     moko     23415:     as_ln_s='cp -pR'
1.62      paf      23416:   fi
                   23417: else
1.166     moko     23418:   as_ln_s='cp -pR'
1.62      paf      23419: fi
1.150     moko     23420: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   23421: rmdir conf$$.dir 2>/dev/null
                   23422: 
                   23423: 
                   23424: # as_fn_mkdir_p
                   23425: # -------------
                   23426: # Create "$as_dir" as a directory, including parents if necessary.
                   23427: as_fn_mkdir_p ()
                   23428: {
                   23429: 
                   23430:   case $as_dir in #(
                   23431:   -*) as_dir=./$as_dir;;
                   23432:   esac
                   23433:   test -d "$as_dir" || eval $as_mkdir_p || {
                   23434:     as_dirs=
                   23435:     while :; do
                   23436:       case $as_dir in #(
1.237     moko     23437:       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
1.150     moko     23438:       *) as_qdir=$as_dir;;
                   23439:       esac
                   23440:       as_dirs="'$as_qdir' $as_dirs"
                   23441:       as_dir=`$as_dirname -- "$as_dir" ||
                   23442: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   23443:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   23444:         X"$as_dir" : 'X\(//\)$' \| \
                   23445:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     23446: printf "%s\n" X"$as_dir" |
1.150     moko     23447:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   23448:            s//\1/
                   23449:            q
                   23450:          }
                   23451:          /^X\(\/\/\)[^/].*/{
                   23452:            s//\1/
                   23453:            q
                   23454:          }
                   23455:          /^X\(\/\/\)$/{
                   23456:            s//\1/
                   23457:            q
                   23458:          }
                   23459:          /^X\(\/\).*/{
                   23460:            s//\1/
                   23461:            q
                   23462:          }
                   23463:          s/.*/./; q'`
                   23464:       test -d "$as_dir" && break
                   23465:     done
                   23466:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   23467:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   23468: 
1.62      paf      23469: 
1.150     moko     23470: } # as_fn_mkdir_p
1.62      paf      23471: if mkdir -p . 2>/dev/null; then
1.150     moko     23472:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      23473: else
1.86      paf      23474:   test -d ./-p && rmdir ./-p
1.62      paf      23475:   as_mkdir_p=false
                   23476: fi
                   23477: 
1.166     moko     23478: 
                   23479: # as_fn_executable_p FILE
                   23480: # -----------------------
                   23481: # Test if FILE is an executable regular file.
                   23482: as_fn_executable_p ()
                   23483: {
                   23484:   test -f "$1" && test -x "$1"
                   23485: } # as_fn_executable_p
                   23486: as_test_x='test -x'
                   23487: as_executable_p=as_fn_executable_p
1.62      paf      23488: 
                   23489: # Sed expression to map a string onto a valid CPP name.
1.237     moko     23490: as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
                   23491: as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
1.62      paf      23492: 
                   23493: # Sed expression to map a string onto a valid variable name.
1.237     moko     23494: as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
                   23495: as_tr_sh="eval sed '$as_sed_sh'" # deprecated
1.62      paf      23496: 
                   23497: 
                   23498: exec 6>&1
1.150     moko     23499: ## ----------------------------------- ##
                   23500: ## Main body of $CONFIG_STATUS script. ##
                   23501: ## ----------------------------------- ##
                   23502: _ASEOF
                   23503: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      23504: 
1.150     moko     23505: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   23506: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      23507: # report actual input values of CONFIG_FILES etc. instead of their
1.150     moko     23508: # values after options handling.
                   23509: ac_log="
1.230     moko     23510: This file was extended by parser $as_me 3.5.2b, which was
1.237     moko     23511: generated by GNU Autoconf 2.72.  Invocation command line was
1.62      paf      23512: 
                   23513:   CONFIG_FILES    = $CONFIG_FILES
                   23514:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   23515:   CONFIG_LINKS    = $CONFIG_LINKS
                   23516:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   23517:   $ $0 $@
                   23518: 
1.150     moko     23519: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   23520: "
                   23521: 
1.62      paf      23522: _ACEOF
                   23523: 
1.150     moko     23524: case $ac_config_files in *"
                   23525: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   23526: esac
1.62      paf      23527: 
1.150     moko     23528: case $ac_config_headers in *"
                   23529: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   23530: esac
1.62      paf      23531: 
                   23532: 
1.150     moko     23533: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   23534: # Files that config.status was made for.
                   23535: config_files="$ac_config_files"
                   23536: config_headers="$ac_config_headers"
                   23537: config_commands="$ac_config_commands"
1.62      paf      23538: 
1.150     moko     23539: _ACEOF
1.62      paf      23540: 
1.150     moko     23541: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      23542: ac_cs_usage="\
1.237     moko     23543: '$as_me' instantiates files and other configuration actions
1.150     moko     23544: from templates according to the current configuration.  Unless the files
                   23545: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      23546: 
1.150     moko     23547: Usage: $0 [OPTION]... [TAG]...
1.62      paf      23548: 
                   23549:   -h, --help       print this help, then exit
1.150     moko     23550:   -V, --version    print version number and configuration settings, then exit
                   23551:       --config     print configuration, then exit
                   23552:   -q, --quiet, --silent
                   23553:                    do not print progress messages
1.62      paf      23554:   -d, --debug      don't remove temporary files
                   23555:       --recheck    update $as_me by reconfiguring in the same conditions
1.150     moko     23556:       --file=FILE[:TEMPLATE]
                   23557:                    instantiate the configuration file FILE
                   23558:       --header=FILE[:TEMPLATE]
                   23559:                    instantiate the configuration header FILE
1.62      paf      23560: 
                   23561: Configuration files:
                   23562: $config_files
                   23563: 
                   23564: Configuration headers:
                   23565: $config_headers
                   23566: 
                   23567: Configuration commands:
                   23568: $config_commands
                   23569: 
1.150     moko     23570: Report bugs to the package provider."
                   23571: 
1.62      paf      23572: _ACEOF
1.237     moko     23573: ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
                   23574: ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
1.150     moko     23575: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.237     moko     23576: ac_cs_config='$ac_cs_config_escaped'
1.62      paf      23577: ac_cs_version="\\
1.230     moko     23578: parser config.status 3.5.2b
1.237     moko     23579: configured by $0, generated by GNU Autoconf 2.72,
1.150     moko     23580:   with options \\"\$ac_cs_config\\"
1.62      paf      23581: 
1.237     moko     23582: Copyright (C) 2023 Free Software Foundation, Inc.
1.62      paf      23583: This config.status script is free software; the Free Software Foundation
                   23584: gives unlimited permission to copy, distribute and modify it."
1.150     moko     23585: 
                   23586: ac_pwd='$ac_pwd'
                   23587: srcdir='$srcdir'
                   23588: INSTALL='$INSTALL'
                   23589: MKDIR_P='$MKDIR_P'
                   23590: AWK='$AWK'
                   23591: test -n "\$AWK" || AWK=awk
1.62      paf      23592: _ACEOF
                   23593: 
1.150     moko     23594: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   23595: # The default lists apply if the user does not specify any file.
1.62      paf      23596: ac_need_defaults=:
                   23597: while test $# != 0
                   23598: do
                   23599:   case $1 in
1.150     moko     23600:   --*=?*)
                   23601:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   23602:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      23603:     ac_shift=:
                   23604:     ;;
1.150     moko     23605:   --*=)
                   23606:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   23607:     ac_optarg=
                   23608:     ac_shift=:
                   23609:     ;;
                   23610:   *)
1.62      paf      23611:     ac_option=$1
                   23612:     ac_optarg=$2
                   23613:     ac_shift=shift
                   23614:     ;;
                   23615:   esac
                   23616: 
                   23617:   case $ac_option in
                   23618:   # Handling of the options.
                   23619:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   23620:     ac_cs_recheck=: ;;
1.150     moko     23621:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.237     moko     23622:     printf "%s\n" "$ac_cs_version"; exit ;;
1.150     moko     23623:   --config | --confi | --conf | --con | --co | --c )
1.237     moko     23624:     printf "%s\n" "$ac_cs_config"; exit ;;
1.150     moko     23625:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      23626:     debug=: ;;
                   23627:   --file | --fil | --fi | --f )
                   23628:     $ac_shift
1.150     moko     23629:     case $ac_optarg in
1.237     moko     23630:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.150     moko     23631:     '') as_fn_error $? "missing file argument" ;;
                   23632:     esac
                   23633:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      23634:     ac_need_defaults=false;;
                   23635:   --header | --heade | --head | --hea )
                   23636:     $ac_shift
1.150     moko     23637:     case $ac_optarg in
1.237     moko     23638:     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.150     moko     23639:     esac
                   23640:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      23641:     ac_need_defaults=false;;
1.150     moko     23642:   --he | --h)
                   23643:     # Conflict between --help and --header
1.237     moko     23644:     as_fn_error $? "ambiguous option: '$1'
                   23645: Try '$0 --help' for more information.";;
1.150     moko     23646:   --help | --hel | -h )
1.237     moko     23647:     printf "%s\n" "$ac_cs_usage"; exit ;;
1.62      paf      23648:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   23649:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   23650:     ac_cs_silent=: ;;
                   23651: 
                   23652:   # This is an error.
1.237     moko     23653:   -*) as_fn_error $? "unrecognized option: '$1'
                   23654: Try '$0 --help' for more information." ;;
1.62      paf      23655: 
1.150     moko     23656:   *) as_fn_append ac_config_targets " $1"
                   23657:      ac_need_defaults=false ;;
1.62      paf      23658: 
                   23659:   esac
                   23660:   shift
                   23661: done
                   23662: 
                   23663: ac_configure_extra_args=
                   23664: 
                   23665: if $ac_cs_silent; then
                   23666:   exec 6>/dev/null
1.150     moko     23667:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   23668: fi
                   23669: 
                   23670: _ACEOF
                   23671: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   23672: if \$ac_cs_recheck; then
1.166     moko     23673:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.150     moko     23674:   shift
1.237     moko     23675:   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
1.150     moko     23676:   CONFIG_SHELL='$SHELL'
                   23677:   export CONFIG_SHELL
                   23678:   exec "\$@"
                   23679: fi
                   23680: 
                   23681: _ACEOF
                   23682: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   23683: exec 5>>config.log
                   23684: {
                   23685:   echo
                   23686:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   23687: ## Running $as_me. ##
                   23688: _ASBOX
1.237     moko     23689:   printf "%s\n" "$ac_log"
1.150     moko     23690: } >&5
1.62      paf      23691: 
                   23692: _ACEOF
1.150     moko     23693: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      23694: #
1.150     moko     23695: # INIT-COMMANDS
1.1       paf      23696: #
1.199     moko     23697: AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1.62      paf      23698: 
1.128     moko     23699: 
                   23700: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   23701: # if CDPATH is set.
                   23702: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   23703: 
                   23704: sed_quote_subst='$sed_quote_subst'
                   23705: double_quote_subst='$double_quote_subst'
                   23706: delay_variable_subst='$delay_variable_subst'
                   23707: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   23708: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   23709: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   23710: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   23711: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     23712: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     23713: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     23714: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     23715: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
1.237     moko     23716: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
1.128     moko     23717: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   23718: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   23719: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   23720: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   23721: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   23722: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   23723: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   23724: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   23725: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   23726: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   23727: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   23728: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   23729: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   23730: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   23731: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   23732: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   23733: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   23734: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   23735: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   23736: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   23737: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   23738: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   23739: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   23740: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   23741: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   23742: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   23743: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
1.237     moko     23744: FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
1.128     moko     23745: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   23746: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   23747: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   23748: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   23749: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   23750: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
1.237     moko     23751: lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
1.128     moko     23752: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   23753: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   23754: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   23755: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   23756: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   23757: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   23758: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   23759: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   23760: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   23761: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   23762: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   23763: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   23764: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   23765: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
1.237     moko     23766: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
1.128     moko     23767: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   23768: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
1.237     moko     23769: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
1.128     moko     23770: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   23771: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
1.237     moko     23772: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
1.128     moko     23773: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   23774: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   23775: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   23776: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   23777: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   23778: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   23779: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   23780: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   23781: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   23782: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   23783: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   23784: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   23785: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   23786: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   23787: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   23788: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   23789: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   23790: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   23791: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   23792: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   23793: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   23794: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   23795: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   23796: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   23797: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   23798: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   23799: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   23800: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   23801: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   23802: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   23803: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   23804: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   23805: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   23806: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   23807: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   23808: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   23809: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   23810: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   23811: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   23812: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   23813: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   23814: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   23815: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   23816: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   23817: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   23818: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   23819: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   23820: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   23821: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   23822: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   23823: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   23824: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   23825: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   23826: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   23827: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   23828: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   23829: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   23830: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   23831: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   23832: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   23833: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   23834: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   23835: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   23836: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
1.237     moko     23837: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
                   23838: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
1.128     moko     23839: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   23840: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   23841: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   23842: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   23843: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   23844: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   23845: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   23846: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   23847: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   23848: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   23849: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   23850: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   23851: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   23852: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   23853: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23854: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23855: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   23856: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   23857: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   23858: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   23859: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   23860: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   23861: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   23862: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   23863: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   23864: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   23865: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   23866: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   23867: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23868: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23869: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23870: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23871: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23872: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23873: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   23874: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   23875: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   23876: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   23877: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   23878: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   23879: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   23880: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   23881: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   23882: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   23883: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   23884: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   23885: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   23886: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23887: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   23888: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   23889: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23890: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   23891: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   23892: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   23893: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   23894: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   23895: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   23896: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   23897: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   23898: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   23899: 
                   23900: LTCC='$LTCC'
                   23901: LTCFLAGS='$LTCFLAGS'
                   23902: compiler='$compiler_DEFAULT'
                   23903: 
                   23904: # A function that is used when there is no print builtin or printf.
                   23905: func_fallback_echo ()
                   23906: {
                   23907:   eval 'cat <<_LTECHO_EOF
                   23908: \$1
                   23909: _LTECHO_EOF'
                   23910: }
                   23911: 
                   23912: # Quote evaled strings.
                   23913: for var in AS \
                   23914: DLLTOOL \
                   23915: OBJDUMP \
                   23916: SHELL \
                   23917: ECHO \
                   23918: PATH_SEPARATOR \
                   23919: SED \
                   23920: GREP \
                   23921: EGREP \
                   23922: FGREP \
                   23923: LD \
                   23924: NM \
                   23925: LN_S \
                   23926: lt_SP2NL \
                   23927: lt_NL2SP \
                   23928: reload_flag \
1.237     moko     23929: FILECMD \
1.128     moko     23930: deplibs_check_method \
                   23931: file_magic_cmd \
                   23932: file_magic_glob \
                   23933: want_nocaseglob \
                   23934: sharedlib_from_linklib_cmd \
                   23935: AR \
                   23936: archiver_list_spec \
                   23937: STRIP \
                   23938: RANLIB \
                   23939: CC \
                   23940: CFLAGS \
                   23941: compiler \
                   23942: lt_cv_sys_global_symbol_pipe \
                   23943: lt_cv_sys_global_symbol_to_cdecl \
1.237     moko     23944: lt_cv_sys_global_symbol_to_import \
1.128     moko     23945: lt_cv_sys_global_symbol_to_c_name_address \
                   23946: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
1.237     moko     23947: lt_cv_nm_interface \
1.128     moko     23948: nm_file_list_spec \
1.237     moko     23949: lt_cv_truncate_bin \
1.128     moko     23950: lt_prog_compiler_no_builtin_flag \
                   23951: lt_prog_compiler_pic \
                   23952: lt_prog_compiler_wl \
                   23953: lt_prog_compiler_static \
                   23954: lt_cv_prog_compiler_c_o \
                   23955: need_locks \
                   23956: MANIFEST_TOOL \
                   23957: DSYMUTIL \
                   23958: NMEDIT \
                   23959: LIPO \
                   23960: OTOOL \
                   23961: OTOOL64 \
                   23962: shrext_cmds \
                   23963: export_dynamic_flag_spec \
                   23964: whole_archive_flag_spec \
                   23965: compiler_needs_object \
                   23966: with_gnu_ld \
                   23967: allow_undefined_flag \
                   23968: no_undefined_flag \
                   23969: hardcode_libdir_flag_spec \
                   23970: hardcode_libdir_separator \
                   23971: exclude_expsyms \
                   23972: include_expsyms \
                   23973: file_list_spec \
                   23974: variables_saved_for_relink \
                   23975: libname_spec \
                   23976: library_names_spec \
                   23977: soname_spec \
                   23978: install_override_mode \
                   23979: finish_eval \
                   23980: old_striplib \
                   23981: striplib \
                   23982: compiler_lib_search_dirs \
                   23983: predep_objects \
                   23984: postdep_objects \
                   23985: predeps \
                   23986: postdeps \
                   23987: compiler_lib_search_path \
                   23988: LD_CXX \
                   23989: reload_flag_CXX \
                   23990: compiler_CXX \
                   23991: lt_prog_compiler_no_builtin_flag_CXX \
                   23992: lt_prog_compiler_pic_CXX \
                   23993: lt_prog_compiler_wl_CXX \
                   23994: lt_prog_compiler_static_CXX \
                   23995: lt_cv_prog_compiler_c_o_CXX \
                   23996: export_dynamic_flag_spec_CXX \
                   23997: whole_archive_flag_spec_CXX \
                   23998: compiler_needs_object_CXX \
                   23999: with_gnu_ld_CXX \
                   24000: allow_undefined_flag_CXX \
                   24001: no_undefined_flag_CXX \
                   24002: hardcode_libdir_flag_spec_CXX \
                   24003: hardcode_libdir_separator_CXX \
                   24004: exclude_expsyms_CXX \
                   24005: include_expsyms_CXX \
                   24006: file_list_spec_CXX \
                   24007: compiler_lib_search_dirs_CXX \
                   24008: predep_objects_CXX \
                   24009: postdep_objects_CXX \
                   24010: predeps_CXX \
                   24011: postdeps_CXX \
                   24012: compiler_lib_search_path_CXX; do
                   24013:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   24014:     *[\\\\\\\`\\"\\\$]*)
1.237     moko     24015:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
1.128     moko     24016:       ;;
                   24017:     *)
                   24018:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   24019:       ;;
                   24020:     esac
                   24021: done
                   24022: 
                   24023: # Double-quote double-evaled strings.
                   24024: for var in reload_cmds \
                   24025: old_postinstall_cmds \
                   24026: old_postuninstall_cmds \
                   24027: old_archive_cmds \
                   24028: extract_expsyms_cmds \
                   24029: old_archive_from_new_cmds \
                   24030: old_archive_from_expsyms_cmds \
                   24031: archive_cmds \
                   24032: archive_expsym_cmds \
                   24033: module_cmds \
                   24034: module_expsym_cmds \
                   24035: export_symbols_cmds \
                   24036: prelink_cmds \
                   24037: postlink_cmds \
                   24038: postinstall_cmds \
                   24039: postuninstall_cmds \
                   24040: finish_cmds \
                   24041: sys_lib_search_path_spec \
1.237     moko     24042: configure_time_dlsearch_path \
                   24043: configure_time_lt_sys_library_path \
1.128     moko     24044: reload_cmds_CXX \
                   24045: old_archive_cmds_CXX \
                   24046: old_archive_from_new_cmds_CXX \
                   24047: old_archive_from_expsyms_cmds_CXX \
                   24048: archive_cmds_CXX \
                   24049: archive_expsym_cmds_CXX \
                   24050: module_cmds_CXX \
                   24051: module_expsym_cmds_CXX \
                   24052: export_symbols_cmds_CXX \
                   24053: prelink_cmds_CXX \
                   24054: postlink_cmds_CXX; do
                   24055:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   24056:     *[\\\\\\\`\\"\\\$]*)
1.237     moko     24057:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
1.128     moko     24058:       ;;
                   24059:     *)
                   24060:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   24061:       ;;
                   24062:     esac
                   24063: done
                   24064: 
                   24065: ac_aux_dir='$ac_aux_dir'
                   24066: 
1.237     moko     24067: # See if we are running on zsh, and set the options that allow our
1.128     moko     24068: # commands through without removal of \ escapes INIT.
1.237     moko     24069: if test -n "\${ZSH_VERSION+set}"; then
1.128     moko     24070:    setopt NO_GLOB_SUBST
                   24071: fi
                   24072: 
                   24073: 
                   24074:     PACKAGE='$PACKAGE'
                   24075:     VERSION='$VERSION'
                   24076:     RM='$RM'
                   24077:     ofile='$ofile'
                   24078: 
                   24079: 
                   24080: 
                   24081: 
                   24082: 
                   24083: 
1.62      paf      24084: _ACEOF
                   24085: 
1.150     moko     24086: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      24087: 
1.150     moko     24088: # Handling of arguments.
1.62      paf      24089: for ac_config_target in $ac_config_targets
1.1       paf      24090: do
1.150     moko     24091:   case $ac_config_target in
                   24092:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   24093:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   24094:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   24095:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   24096:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   24097:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   24098:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   24099:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   24100:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   24101:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   24102:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   24103:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   24104:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
                   24105:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   24106:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   24107:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   24108:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   24109:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   24110:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
                   24111:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   24112:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   24113:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
                   24114:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.173     moko     24115:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
                   24116:     "src/lib/punycode/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/punycode/Makefile" ;;
1.150     moko     24117:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
                   24118:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   24119:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   24120:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
                   24121:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   24122:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   24123:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
1.200     moko     24124:     "etc/auto.p") CONFIG_FILES="$CONFIG_FILES etc/auto.p" ;;
1.150     moko     24125: 
1.237     moko     24126:   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
1.1       paf      24127:   esac
                   24128: done
                   24129: 
1.150     moko     24130: 
1.62      paf      24131: # If the user did not use the arguments to specify the items to instantiate,
                   24132: # then the envvar interface is used.  Set only those that are not.
                   24133: # We use the long form for the default assignment because of an extremely
                   24134: # bizarre bug on SunOS 4.1.3.
                   24135: if $ac_need_defaults; then
1.237     moko     24136:   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
                   24137:   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
                   24138:   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
1.62      paf      24139: fi
                   24140: 
                   24141: # Have a temporary directory for convenience.  Make it in the build tree
1.150     moko     24142: # simply because there is no reason against having it here, and in addition,
1.62      paf      24143: # creating and moving files from /tmp can sometimes cause problems.
1.150     moko     24144: # Hook for its removal unless debugging.
                   24145: # Note that there is a small window in which the directory will not be cleaned:
1.237     moko     24146: # after its creation but before its name has been assigned to '$tmp'.
1.62      paf      24147: $debug ||
                   24148: {
1.150     moko     24149:   tmp= ac_tmp=
                   24150:   trap 'exit_status=$?
                   24151:   : "${ac_tmp:=$tmp}"
                   24152:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   24153: ' 0
                   24154:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      24155: }
                   24156: # Create a (secure) tmp directory for tmp files.
                   24157: 
                   24158: {
1.150     moko     24159:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   24160:   test -d "$tmp"
1.62      paf      24161: }  ||
                   24162: {
1.150     moko     24163:   tmp=./conf$$-$RANDOM
                   24164:   (umask 077 && mkdir "$tmp")
                   24165: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   24166: ac_tmp=$tmp
                   24167: 
                   24168: # Set up the scripts for CONFIG_FILES section.
                   24169: # No need to generate them if there are no CONFIG_FILES.
1.237     moko     24170: # This happens for instance with './config.status config.h'.
1.150     moko     24171: if test -n "$CONFIG_FILES"; then
                   24172: 
                   24173: 
                   24174: ac_cr=`echo X | tr X '\015'`
                   24175: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   24176: # But we know of no other shell where ac_cr would be empty at this
                   24177: # point, so we can use a bashism as a fallback.
                   24178: if test "x$ac_cr" = x; then
                   24179:   eval ac_cr=\$\'\\r\'
                   24180: fi
                   24181: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   24182: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   24183:   ac_cs_awk_cr='\\r'
                   24184: else
                   24185:   ac_cs_awk_cr=$ac_cr
                   24186: fi
                   24187: 
                   24188: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   24189: _ACEOF
                   24190: 
                   24191: 
1.62      paf      24192: {
1.150     moko     24193:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   24194:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   24195:   echo "_ACEOF"
                   24196: } >conf$$subs.sh ||
                   24197:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   24198: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   24199: ac_delim='%!_!# '
                   24200: for ac_last_try in false false false false false :; do
                   24201:   . ./conf$$subs.sh ||
                   24202:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   24203: 
                   24204:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   24205:   if test $ac_delim_n = $ac_delim_num; then
                   24206:     break
                   24207:   elif $ac_last_try; then
                   24208:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   24209:   else
                   24210:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   24211:   fi
                   24212: done
                   24213: rm -f conf$$subs.sh
                   24214: 
                   24215: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24216: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   24217: _ACEOF
                   24218: sed -n '
                   24219: h
                   24220: s/^/S["/; s/!.*/"]=/
                   24221: p
                   24222: g
                   24223: s/^[^!]*!//
                   24224: :repl
                   24225: t repl
                   24226: s/'"$ac_delim"'$//
                   24227: t delim
                   24228: :nl
                   24229: h
                   24230: s/\(.\{148\}\)..*/\1/
                   24231: t more1
                   24232: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   24233: p
                   24234: n
                   24235: b repl
                   24236: :more1
                   24237: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   24238: p
                   24239: g
                   24240: s/.\{148\}//
                   24241: t nl
                   24242: :delim
                   24243: h
                   24244: s/\(.\{148\}\)..*/\1/
                   24245: t more2
                   24246: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   24247: p
                   24248: b
                   24249: :more2
                   24250: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   24251: p
                   24252: g
                   24253: s/.\{148\}//
                   24254: t delim
                   24255: ' <conf$$subs.awk | sed '
                   24256: /^[^""]/{
                   24257:   N
                   24258:   s/\n//
                   24259: }
                   24260: ' >>$CONFIG_STATUS || ac_write_fail=1
                   24261: rm -f conf$$subs.awk
                   24262: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24263: _ACAWK
                   24264: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   24265:   for (key in S) S_is_set[key] = 1
                   24266:   FS = ""
                   24267: 
                   24268: }
                   24269: {
                   24270:   line = $ 0
                   24271:   nfields = split(line, field, "@")
                   24272:   substed = 0
                   24273:   len = length(field[1])
                   24274:   for (i = 2; i < nfields; i++) {
                   24275:     key = field[i]
                   24276:     keylen = length(key)
                   24277:     if (S_is_set[key]) {
                   24278:       value = S[key]
                   24279:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   24280:       len += length(value) + length(field[++i])
                   24281:       substed = 1
                   24282:     } else
                   24283:       len += 1 + keylen
                   24284:   }
                   24285: 
                   24286:   print line
1.62      paf      24287: }
                   24288: 
1.150     moko     24289: _ACAWK
                   24290: _ACEOF
                   24291: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24292: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   24293:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   24294: else
                   24295:   cat
                   24296: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   24297:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      24298: _ACEOF
1.1       paf      24299: 
1.150     moko     24300: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   24301: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   24302: # trailing colons and then remove the whole line if VPATH becomes empty
                   24303: # (actually we leave an empty line to preserve line numbers).
                   24304: if test "x$srcdir" = x.; then
                   24305:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   24306: h
                   24307: s///
                   24308: s/^/:/
                   24309: s/[     ]*$/:/
                   24310: s/:\$(srcdir):/:/g
                   24311: s/:\${srcdir}:/:/g
                   24312: s/:@srcdir@:/:/g
                   24313: s/^:*//
                   24314: s/:*$//
                   24315: x
                   24316: s/\(=[  ]*\).*/\1/
                   24317: G
                   24318: s/\n//
                   24319: s/^[^=]*=[      ]*$//
                   24320: }'
                   24321: fi
1.62      paf      24322: 
1.150     moko     24323: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24324: fi # test -n "$CONFIG_FILES"
1.1       paf      24325: 
1.150     moko     24326: # Set up the scripts for CONFIG_HEADERS section.
                   24327: # No need to generate them if there are no CONFIG_HEADERS.
1.237     moko     24328: # This happens for instance with './config.status Makefile'.
1.150     moko     24329: if test -n "$CONFIG_HEADERS"; then
                   24330: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   24331: BEGIN {
                   24332: _ACEOF
                   24333: 
1.237     moko     24334: # Transform confdefs.h into an awk script 'defines.awk', embedded as
1.150     moko     24335: # here-document in config.status, that substitutes the proper values into
                   24336: # config.h.in to produce config.h.
                   24337: 
                   24338: # Create a delimiter string that does not exist in confdefs.h, to ease
                   24339: # handling of long lines.
                   24340: ac_delim='%!_!# '
                   24341: for ac_last_try in false false :; do
                   24342:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   24343:   if test -z "$ac_tt"; then
                   24344:     break
                   24345:   elif $ac_last_try; then
                   24346:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   24347:   else
                   24348:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      24349:   fi
1.150     moko     24350: done
1.1       paf      24351: 
1.150     moko     24352: # For the awk script, D is an array of macro values keyed by name,
                   24353: # likewise P contains macro parameters if any.  Preserve backslash
                   24354: # newline sequences.
                   24355: 
                   24356: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   24357: sed -n '
                   24358: s/.\{148\}/&'"$ac_delim"'/g
                   24359: t rset
                   24360: :rset
                   24361: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   24362: t def
                   24363: d
                   24364: :def
                   24365: s/\\$//
                   24366: t bsnl
                   24367: s/["\\]/\\&/g
                   24368: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   24369: D["\1"]=" \3"/p
                   24370: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   24371: d
                   24372: :bsnl
                   24373: s/["\\]/\\&/g
                   24374: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   24375: D["\1"]=" \3\\\\\\n"\\/p
                   24376: t cont
                   24377: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   24378: t cont
                   24379: d
                   24380: :cont
                   24381: n
                   24382: s/.\{148\}/&'"$ac_delim"'/g
                   24383: t clear
                   24384: :clear
                   24385: s/\\$//
                   24386: t bsnlc
                   24387: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   24388: d
                   24389: :bsnlc
                   24390: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   24391: b cont
                   24392: ' <confdefs.h | sed '
                   24393: s/'"$ac_delim"'/"\\\
                   24394: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   24395: 
                   24396: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24397:   for (key in D) D_is_set[key] = 1
                   24398:   FS = ""
                   24399: }
                   24400: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   24401:   line = \$ 0
                   24402:   split(line, arg, " ")
                   24403:   if (arg[1] == "#") {
                   24404:     defundef = arg[2]
                   24405:     mac1 = arg[3]
                   24406:   } else {
                   24407:     defundef = substr(arg[1], 2)
                   24408:     mac1 = arg[2]
                   24409:   }
                   24410:   split(mac1, mac2, "(") #)
                   24411:   macro = mac2[1]
                   24412:   prefix = substr(line, 1, index(line, defundef) - 1)
                   24413:   if (D_is_set[macro]) {
                   24414:     # Preserve the white space surrounding the "#".
                   24415:     print prefix "define", macro P[macro] D[macro]
                   24416:     next
                   24417:   } else {
                   24418:     # Replace #undef with comments.  This is necessary, for example,
                   24419:     # in the case of _POSIX_SOURCE, which is predefined and required
                   24420:     # on some systems where configure will not decide to define it.
                   24421:     if (defundef == "undef") {
                   24422:       print "/*", prefix defundef, macro, "*/"
                   24423:       next
                   24424:     }
                   24425:   }
                   24426: }
                   24427: { print }
                   24428: _ACAWK
1.62      paf      24429: _ACEOF
1.150     moko     24430: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24431:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   24432: fi # test -n "$CONFIG_HEADERS"
                   24433: 
                   24434: 
                   24435: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   24436: shift
                   24437: for ac_tag
                   24438: do
                   24439:   case $ac_tag in
                   24440:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   24441:   esac
                   24442:   case $ac_mode$ac_tag in
                   24443:   :[FHL]*:*);;
1.237     moko     24444:   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
1.150     moko     24445:   :[FH]-) ac_tag=-:-;;
                   24446:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   24447:   esac
                   24448:   ac_save_IFS=$IFS
                   24449:   IFS=:
                   24450:   set x $ac_tag
                   24451:   IFS=$ac_save_IFS
                   24452:   shift
                   24453:   ac_file=$1
                   24454:   shift
                   24455: 
                   24456:   case $ac_mode in
                   24457:   :L) ac_source=$1;;
                   24458:   :[FH])
                   24459:     ac_file_inputs=
                   24460:     for ac_f
                   24461:     do
                   24462:       case $ac_f in
                   24463:       -) ac_f="$ac_tmp/stdin";;
                   24464:       *) # Look for the file first in the build tree, then in the source tree
                   24465:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
1.237     moko     24466:         # because $ac_f cannot contain ':'.
1.150     moko     24467:         test -f "$ac_f" ||
                   24468:           case $ac_f in
                   24469:           [\\/$]*) false;;
                   24470:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   24471:           esac ||
1.237     moko     24472:           as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
1.150     moko     24473:       esac
1.237     moko     24474:       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.150     moko     24475:       as_fn_append ac_file_inputs " '$ac_f'"
                   24476:     done
                   24477: 
1.237     moko     24478:     # Let's still pretend it is 'configure' which instantiates (i.e., don't
1.150     moko     24479:     # use $as_me), people would be surprised to read:
                   24480:     #    /* config.h.  Generated by config.status.  */
                   24481:     configure_input='Generated from '`
1.237     moko     24482:          printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1.150     moko     24483:        `' by configure.'
                   24484:     if test x"$ac_file" != x-; then
                   24485:       configure_input="$ac_file.  $configure_input"
1.237     moko     24486:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   24487: printf "%s\n" "$as_me: creating $ac_file" >&6;}
1.150     moko     24488:     fi
                   24489:     # Neutralize special characters interpreted by sed in replacement strings.
                   24490:     case $configure_input in #(
                   24491:     *\&* | *\|* | *\\* )
1.237     moko     24492:        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1.150     moko     24493:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   24494:     *) ac_sed_conf_input=$configure_input;;
                   24495:     esac
                   24496: 
                   24497:     case $ac_tag in
                   24498:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   24499:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   24500:     esac
                   24501:     ;;
1.1       paf      24502:   esac
                   24503: 
1.150     moko     24504:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      24505: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      24506:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   24507:         X"$ac_file" : 'X\(//\)$' \| \
1.150     moko     24508:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     24509: printf "%s\n" X"$ac_file" |
1.150     moko     24510:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   24511:            s//\1/
                   24512:            q
                   24513:          }
                   24514:          /^X\(\/\/\)[^/].*/{
                   24515:            s//\1/
                   24516:            q
                   24517:          }
                   24518:          /^X\(\/\/\)$/{
                   24519:            s//\1/
                   24520:            q
                   24521:          }
                   24522:          /^X\(\/\).*/{
                   24523:            s//\1/
                   24524:            q
                   24525:          }
                   24526:          s/.*/./; q'`
                   24527:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      24528:   ac_builddir=.
                   24529: 
1.150     moko     24530: case "$ac_dir" in
                   24531: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   24532: *)
1.237     moko     24533:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.150     moko     24534:   # A ".." for each directory in $ac_dir_suffix.
1.237     moko     24535:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.150     moko     24536:   case $ac_top_builddir_sub in
                   24537:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   24538:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   24539:   esac ;;
                   24540: esac
                   24541: ac_abs_top_builddir=$ac_pwd
                   24542: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   24543: # for backward compatibility:
                   24544: ac_top_builddir=$ac_top_build_prefix
1.62      paf      24545: 
                   24546: case $srcdir in
1.150     moko     24547:   .)  # We are building in place.
1.62      paf      24548:     ac_srcdir=.
1.150     moko     24549:     ac_top_srcdir=$ac_top_builddir_sub
                   24550:     ac_abs_top_srcdir=$ac_pwd ;;
                   24551:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      24552:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     24553:     ac_top_srcdir=$srcdir
                   24554:     ac_abs_top_srcdir=$srcdir ;;
                   24555:   *) # Relative name.
                   24556:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   24557:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   24558:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      24559: esac
1.150     moko     24560: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      24561: 
1.62      paf      24562: 
1.150     moko     24563:   case $ac_mode in
                   24564:   :F)
                   24565:   #
                   24566:   # CONFIG_FILE
                   24567:   #
1.1       paf      24568: 
1.62      paf      24569:   case $INSTALL in
                   24570:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150     moko     24571:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      24572:   esac
1.150     moko     24573:   ac_MKDIR_P=$MKDIR_P
                   24574:   case $MKDIR_P in
                   24575:   [\\/$]* | ?:[\\/]* ) ;;
                   24576:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   24577:   esac
                   24578: _ACEOF
1.1       paf      24579: 
1.150     moko     24580: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24581: # If the template does not know about datarootdir, expand it.
                   24582: # FIXME: This hack should be removed a few years after 2.60.
                   24583: ac_datarootdir_hack=; ac_datarootdir_seen=
                   24584: ac_sed_dataroot='
                   24585: /datarootdir/ {
                   24586:   p
                   24587:   q
                   24588: }
                   24589: /@datadir@/p
                   24590: /@docdir@/p
                   24591: /@infodir@/p
                   24592: /@localedir@/p
                   24593: /@mandir@/p'
                   24594: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   24595: *datarootdir*) ac_datarootdir_seen=yes;;
                   24596: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.237     moko     24597:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   24598: printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.150     moko     24599: _ACEOF
                   24600: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24601:   ac_datarootdir_hack='
                   24602:   s&@datadir@&$datadir&g
                   24603:   s&@docdir@&$docdir&g
                   24604:   s&@infodir@&$infodir&g
                   24605:   s&@localedir@&$localedir&g
                   24606:   s&@mandir@&$mandir&g
                   24607:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   24608: esac
                   24609: _ACEOF
1.62      paf      24610: 
1.237     moko     24611: # Neutralize VPATH when '$srcdir' = '.'.
1.150     moko     24612: # Shell code in configure.ac might set extrasub.
                   24613: # FIXME: do we really want to maintain this feature?
                   24614: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24615: ac_sed_extra="$ac_vpsub
1.62      paf      24616: $extrasub
                   24617: _ACEOF
1.150     moko     24618: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      24619: :t
                   24620: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150     moko     24621: s|@configure_input@|$ac_sed_conf_input|;t t
                   24622: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   24623: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   24624: s&@srcdir@&$ac_srcdir&;t t
                   24625: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   24626: s&@top_srcdir@&$ac_top_srcdir&;t t
                   24627: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   24628: s&@builddir@&$ac_builddir&;t t
                   24629: s&@abs_builddir@&$ac_abs_builddir&;t t
                   24630: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   24631: s&@INSTALL@&$ac_INSTALL&;t t
                   24632: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   24633: $ac_datarootdir_hack
                   24634: "
                   24635: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   24636:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   24637: 
                   24638: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   24639:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   24640:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   24641:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.237     moko     24642:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1.150     moko     24643: which seems to be undefined.  Please make sure it is defined" >&5
1.237     moko     24644: printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1.150     moko     24645: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      24646: 
1.150     moko     24647:   rm -f "$ac_tmp/stdin"
1.62      paf      24648:   case $ac_file in
1.150     moko     24649:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   24650:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   24651:   esac \
                   24652:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   24653:  ;;
                   24654:   :H)
                   24655:   #
                   24656:   # CONFIG_HEADER
                   24657:   #
1.62      paf      24658:   if test x"$ac_file" != x-; then
1.150     moko     24659:     {
1.237     moko     24660:       printf "%s\n" "/* $configure_input  */" >&1 \
1.150     moko     24661:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   24662:     } >"$ac_tmp/config.h" \
                   24663:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   24664:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.237     moko     24665:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   24666: printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      24667:     else
1.150     moko     24668:       rm -f "$ac_file"
                   24669:       mv "$ac_tmp/config.h" "$ac_file" \
                   24670:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      24671:     fi
                   24672:   else
1.237     moko     24673:     printf "%s\n" "/* $configure_input  */" >&1 \
1.150     moko     24674:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   24675:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      24676:   fi
1.150     moko     24677: # Compute "$ac_file"'s index in $config_headers.
                   24678: _am_arg="$ac_file"
1.86      paf      24679: _am_stamp_count=1
                   24680: for _am_header in $config_headers :; do
                   24681:   case $_am_header in
1.150     moko     24682:     $_am_arg | $_am_arg:* )
1.86      paf      24683:       break ;;
                   24684:     * )
                   24685:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   24686:   esac
                   24687: done
1.150     moko     24688: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   24689: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   24690:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   24691:         X"$_am_arg" : 'X\(//\)$' \| \
                   24692:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     24693: printf "%s\n" X"$_am_arg" |
1.150     moko     24694:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   24695:            s//\1/
                   24696:            q
                   24697:          }
                   24698:          /^X\(\/\/\)[^/].*/{
                   24699:            s//\1/
                   24700:            q
                   24701:          }
                   24702:          /^X\(\/\/\)$/{
                   24703:            s//\1/
                   24704:            q
                   24705:          }
                   24706:          /^X\(\/\).*/{
                   24707:            s//\1/
                   24708:            q
                   24709:          }
                   24710:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   24711:  ;;
1.62      paf      24712: 
1.237     moko     24713:   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   24714: printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
1.150     moko     24715:  ;;
                   24716:   esac
1.86      paf      24717: 
1.62      paf      24718: 
1.150     moko     24719:   case $ac_file$ac_mode in
                   24720:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.187     moko     24721:   # Older Autoconf quotes --file arguments for eval, but not when files
1.150     moko     24722:   # are listed without --file.  Let's play safe and only enable the eval
                   24723:   # if we detect the quoting.
1.199     moko     24724:   # TODO: see whether this extra hack can be removed once we start
                   24725:   # requiring Autoconf 2.70 or later.
                   24726:   case $CONFIG_FILES in #(
                   24727:   *\'*) :
                   24728:     eval set x "$CONFIG_FILES" ;; #(
                   24729:   *) :
                   24730:     set x $CONFIG_FILES ;; #(
                   24731:   *) :
                   24732:      ;;
                   24733: esac
1.150     moko     24734:   shift
1.199     moko     24735:   # Used to flag and report bootstrapping failures.
                   24736:   am_rc=0
                   24737:   for am_mf
1.150     moko     24738:   do
                   24739:     # Strip MF so we end up with the name of the file.
1.237     moko     24740:     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
1.199     moko     24741:     # Check whether this is an Automake generated Makefile which includes
                   24742:     # dependency-tracking related rules and includes.
                   24743:     # Grep'ing the whole file directly is not great: AIX grep has a line
1.150     moko     24744:     # limit of 2048, but all sed's we know have understand at least 4000.
1.199     moko     24745:     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
                   24746:       || continue
                   24747:     am_dirpart=`$as_dirname -- "$am_mf" ||
                   24748: $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   24749:         X"$am_mf" : 'X\(//\)[^/]' \| \
                   24750:         X"$am_mf" : 'X\(//\)$' \| \
                   24751:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     24752: printf "%s\n" X"$am_mf" |
1.150     moko     24753:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   24754:            s//\1/
                   24755:            q
                   24756:          }
                   24757:          /^X\(\/\/\)[^/].*/{
                   24758:            s//\1/
                   24759:            q
                   24760:          }
                   24761:          /^X\(\/\/\)$/{
                   24762:            s//\1/
                   24763:            q
                   24764:          }
                   24765:          /^X\(\/\).*/{
                   24766:            s//\1/
                   24767:            q
                   24768:          }
                   24769:          s/.*/./; q'`
1.199     moko     24770:     am_filepart=`$as_basename -- "$am_mf" ||
                   24771: $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
                   24772:         X"$am_mf" : 'X\(//\)$' \| \
                   24773:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
1.237     moko     24774: printf "%s\n" X/"$am_mf" |
1.199     moko     24775:     sed '/^.*\/\([^/][^/]*\)\/*$/{
1.150     moko     24776:            s//\1/
                   24777:            q
                   24778:          }
1.199     moko     24779:          /^X\/\(\/\/\)$/{
1.150     moko     24780:            s//\1/
                   24781:            q
                   24782:          }
1.199     moko     24783:          /^X\/\(\/\).*/{
1.150     moko     24784:            s//\1/
                   24785:            q
                   24786:          }
                   24787:          s/.*/./; q'`
1.199     moko     24788:     { echo "$as_me:$LINENO: cd "$am_dirpart" \
                   24789:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   24790:         | $MAKE -f - am--depfiles" >&5
                   24791:    (cd "$am_dirpart" \
                   24792:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   24793:         | $MAKE -f - am--depfiles) >&5 2>&5
                   24794:    ac_status=$?
                   24795:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   24796:    (exit $ac_status); } || am_rc=$?
1.62      paf      24797:   done
1.199     moko     24798:   if test $am_rc -ne 0; then
1.237     moko     24799:     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
                   24800: printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1.199     moko     24801: as_fn_error $? "Something went wrong bootstrapping makefile fragments
1.216     moko     24802:     for automatic dependency tracking.  If GNU make was not used, consider
                   24803:     re-running the configure script with MAKE=\"gmake\" (or whatever is
                   24804:     necessary).  You can also try re-running configure with the
1.199     moko     24805:     '--disable-dependency-tracking' option to at least be able to build
                   24806:     the package (albeit without support for automatic dependency tracking).
1.237     moko     24807: See 'config.log' for more details" "$LINENO" 5; }
1.199     moko     24808:   fi
                   24809:   { am_dirpart=; unset am_dirpart;}
                   24810:   { am_filepart=; unset am_filepart;}
                   24811:   { am_mf=; unset am_mf;}
                   24812:   { am_rc=; unset am_rc;}
                   24813:   rm -f conftest-deps.mk
1.150     moko     24814: }
1.62      paf      24815:  ;;
1.150     moko     24816:     "libtool":C)
1.128     moko     24817: 
1.237     moko     24818:     # See if we are running on zsh, and set the options that allow our
1.128     moko     24819:     # commands through without removal of \ escapes.
1.237     moko     24820:     if test -n "${ZSH_VERSION+set}"; then
1.128     moko     24821:       setopt NO_GLOB_SUBST
                   24822:     fi
                   24823: 
1.237     moko     24824:     cfgfile=${ofile}T
1.128     moko     24825:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   24826:     $RM "$cfgfile"
                   24827: 
                   24828:     cat <<_LT_EOF >> "$cfgfile"
                   24829: #! $SHELL
1.237     moko     24830: # Generated automatically by $as_me ($PACKAGE) $VERSION
                   24831: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   24832: 
                   24833: # Provide generalized library-building support services.
                   24834: # Written by Gordon Matzigkeit, 1996
1.128     moko     24835: 
1.237     moko     24836: # Copyright (C) 2024 Free Software Foundation, Inc.
                   24837: # This is free software; see the source for copying conditions.  There is NO
                   24838: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
                   24839: 
                   24840: # GNU Libtool is free software; you can redistribute it and/or modify
                   24841: # it under the terms of the GNU General Public License as published by
                   24842: # the Free Software Foundation; either version 2 of the License, or
                   24843: # (at your option) any later version.
1.128     moko     24844: #
1.237     moko     24845: # As a special exception to the GNU General Public License, if you
                   24846: # distribute this file as part of a program or library that is built
                   24847: # using GNU Libtool, you may include this file under the  same
                   24848: # distribution terms that you use for the rest of that program.
1.128     moko     24849: #
1.237     moko     24850: # GNU Libtool is distributed in the hope that it will be useful, but
                   24851: # WITHOUT ANY WARRANTY; without even the implied warranty of
1.128     moko     24852: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   24853: # GNU General Public License for more details.
                   24854: #
                   24855: # You should have received a copy of the GNU General Public License
1.237     moko     24856: # along with this program.  If not, see <http://www.gnu.org/licenses/>.
1.128     moko     24857: 
                   24858: 
                   24859: # The names of the tagged configurations supported by this script.
1.237     moko     24860: available_tags='CXX '
                   24861: 
                   24862: # Configured defaults for sys_lib_dlsearch_path munging.
                   24863: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
1.128     moko     24864: 
                   24865: # ### BEGIN LIBTOOL CONFIG
                   24866: 
                   24867: # Which release of libtool.m4 was used?
                   24868: macro_version=$macro_version
                   24869: macro_revision=$macro_revision
                   24870: 
                   24871: # Assembler program.
                   24872: AS=$lt_AS
                   24873: 
                   24874: # DLL creation program.
                   24875: DLLTOOL=$lt_DLLTOOL
                   24876: 
                   24877: # Object dumper program.
                   24878: OBJDUMP=$lt_OBJDUMP
                   24879: 
1.145     moko     24880: # What type of objects to build.
                   24881: pic_mode=$pic_mode
                   24882: 
1.128     moko     24883: # Whether or not to build shared libraries.
                   24884: build_libtool_libs=$enable_shared
                   24885: 
1.138     moko     24886: # Whether or not to build static libraries.
                   24887: build_old_libs=$enable_static
                   24888: 
1.128     moko     24889: # Whether or not to optimize for fast installation.
                   24890: fast_install=$enable_fast_install
                   24891: 
1.237     moko     24892: # Shared archive member basename,for filename based shared library versioning on AIX.
                   24893: shared_archive_member_spec=$shared_archive_member_spec
                   24894: 
1.128     moko     24895: # Shell to use when invoking shell scripts.
                   24896: SHELL=$lt_SHELL
                   24897: 
                   24898: # An echo program that protects backslashes.
                   24899: ECHO=$lt_ECHO
                   24900: 
                   24901: # The PATH separator for the build system.
                   24902: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   24903: 
                   24904: # The host system.
                   24905: host_alias=$host_alias
                   24906: host=$host
                   24907: host_os=$host_os
                   24908: 
                   24909: # The build system.
                   24910: build_alias=$build_alias
                   24911: build=$build
                   24912: build_os=$build_os
                   24913: 
                   24914: # A sed program that does not truncate output.
                   24915: SED=$lt_SED
                   24916: 
                   24917: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   24918: Xsed="\$SED -e 1s/^X//"
                   24919: 
                   24920: # A grep program that handles long lines.
                   24921: GREP=$lt_GREP
                   24922: 
                   24923: # An ERE matcher.
                   24924: EGREP=$lt_EGREP
                   24925: 
                   24926: # A literal string matcher.
                   24927: FGREP=$lt_FGREP
                   24928: 
                   24929: # A BSD- or MS-compatible name lister.
                   24930: NM=$lt_NM
                   24931: 
                   24932: # Whether we need soft or hard links.
                   24933: LN_S=$lt_LN_S
                   24934: 
                   24935: # What is the maximum length of a command?
                   24936: max_cmd_len=$max_cmd_len
                   24937: 
                   24938: # Object file suffix (normally "o").
                   24939: objext=$ac_objext
                   24940: 
                   24941: # Executable file suffix (normally "").
                   24942: exeext=$exeext
                   24943: 
                   24944: # whether the shell understands "unset".
                   24945: lt_unset=$lt_unset
                   24946: 
                   24947: # turn spaces into newlines.
                   24948: SP2NL=$lt_lt_SP2NL
                   24949: 
                   24950: # turn newlines into spaces.
                   24951: NL2SP=$lt_lt_NL2SP
                   24952: 
                   24953: # convert \$build file names to \$host format.
                   24954: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   24955: 
                   24956: # convert \$build files to toolchain format.
                   24957: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   24958: 
1.237     moko     24959: # A file(cmd) program that detects file types.
                   24960: FILECMD=$lt_FILECMD
                   24961: 
1.128     moko     24962: # Method to check whether dependent libraries are shared objects.
                   24963: deplibs_check_method=$lt_deplibs_check_method
                   24964: 
                   24965: # Command to use when deplibs_check_method = "file_magic".
                   24966: file_magic_cmd=$lt_file_magic_cmd
                   24967: 
                   24968: # How to find potential files when deplibs_check_method = "file_magic".
                   24969: file_magic_glob=$lt_file_magic_glob
                   24970: 
                   24971: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   24972: want_nocaseglob=$lt_want_nocaseglob
                   24973: 
                   24974: # Command to associate shared and link libraries.
                   24975: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   24976: 
                   24977: # The archiver.
                   24978: AR=$lt_AR
                   24979: 
1.237     moko     24980: # Flags to create an archive (by configure).
                   24981: lt_ar_flags=$lt_ar_flags
                   24982: 
1.128     moko     24983: # Flags to create an archive.
1.237     moko     24984: AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
1.128     moko     24985: 
                   24986: # How to feed a file listing to the archiver.
                   24987: archiver_list_spec=$lt_archiver_list_spec
                   24988: 
                   24989: # A symbol stripping program.
                   24990: STRIP=$lt_STRIP
                   24991: 
                   24992: # Commands used to install an old-style archive.
                   24993: RANLIB=$lt_RANLIB
                   24994: old_postinstall_cmds=$lt_old_postinstall_cmds
                   24995: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   24996: 
                   24997: # Whether to use a lock for old archive extraction.
                   24998: lock_old_archive_extraction=$lock_old_archive_extraction
                   24999: 
                   25000: # A C compiler.
                   25001: LTCC=$lt_CC
                   25002: 
                   25003: # LTCC compiler flags.
                   25004: LTCFLAGS=$lt_CFLAGS
                   25005: 
                   25006: # Take the output of nm and produce a listing of raw symbols and C names.
                   25007: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   25008: 
                   25009: # Transform the output of nm in a proper C declaration.
                   25010: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   25011: 
1.237     moko     25012: # Transform the output of nm into a list of symbols to manually relocate.
                   25013: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
                   25014: 
1.128     moko     25015: # Transform the output of nm in a C name address pair.
                   25016: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   25017: 
                   25018: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   25019: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   25020: 
1.237     moko     25021: # The name lister interface.
                   25022: nm_interface=$lt_lt_cv_nm_interface
                   25023: 
1.128     moko     25024: # Specify filename containing input files for \$NM.
                   25025: nm_file_list_spec=$lt_nm_file_list_spec
                   25026: 
1.237     moko     25027: # The root where to search for dependent libraries,and where our libraries should be installed.
1.128     moko     25028: lt_sysroot=$lt_sysroot
                   25029: 
1.237     moko     25030: # Command to truncate a binary pipe.
                   25031: lt_truncate_bin=$lt_lt_cv_truncate_bin
                   25032: 
1.128     moko     25033: # The name of the directory that contains temporary libtool files.
                   25034: objdir=$objdir
                   25035: 
                   25036: # Used to examine libraries when file_magic_cmd begins with "file".
                   25037: MAGIC_CMD=$MAGIC_CMD
                   25038: 
                   25039: # Must we lock files when doing compilation?
                   25040: need_locks=$lt_need_locks
                   25041: 
                   25042: # Manifest tool.
                   25043: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   25044: 
                   25045: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   25046: DSYMUTIL=$lt_DSYMUTIL
                   25047: 
                   25048: # Tool to change global to local symbols on Mac OS X.
                   25049: NMEDIT=$lt_NMEDIT
                   25050: 
                   25051: # Tool to manipulate fat objects and archives on Mac OS X.
                   25052: LIPO=$lt_LIPO
                   25053: 
                   25054: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   25055: OTOOL=$lt_OTOOL
                   25056: 
                   25057: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   25058: OTOOL64=$lt_OTOOL64
                   25059: 
                   25060: # Old archive suffix (normally "a").
                   25061: libext=$libext
                   25062: 
                   25063: # Shared library suffix (normally ".so").
                   25064: shrext_cmds=$lt_shrext_cmds
                   25065: 
                   25066: # The commands to extract the exported symbol list from a shared archive.
                   25067: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   25068: 
                   25069: # Variables whose values should be saved in libtool wrapper scripts and
                   25070: # restored at link time.
                   25071: variables_saved_for_relink=$lt_variables_saved_for_relink
                   25072: 
                   25073: # Do we need the "lib" prefix for modules?
                   25074: need_lib_prefix=$need_lib_prefix
                   25075: 
                   25076: # Do we need a version for libraries?
                   25077: need_version=$need_version
                   25078: 
                   25079: # Library versioning type.
                   25080: version_type=$version_type
                   25081: 
                   25082: # Shared library runtime path variable.
                   25083: runpath_var=$runpath_var
                   25084: 
                   25085: # Shared library path variable.
                   25086: shlibpath_var=$shlibpath_var
                   25087: 
                   25088: # Is shlibpath searched before the hard-coded library search path?
                   25089: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   25090: 
                   25091: # Format of library name prefix.
                   25092: libname_spec=$lt_libname_spec
                   25093: 
                   25094: # List of archive names.  First name is the real one, the rest are links.
                   25095: # The last name is the one that the linker finds with -lNAME
                   25096: library_names_spec=$lt_library_names_spec
                   25097: 
                   25098: # The coded name of the library, if different from the real name.
                   25099: soname_spec=$lt_soname_spec
                   25100: 
                   25101: # Permission mode override for installation of shared libraries.
                   25102: install_override_mode=$lt_install_override_mode
                   25103: 
                   25104: # Command to use after installation of a shared archive.
                   25105: postinstall_cmds=$lt_postinstall_cmds
                   25106: 
                   25107: # Command to use after uninstallation of a shared archive.
                   25108: postuninstall_cmds=$lt_postuninstall_cmds
                   25109: 
                   25110: # Commands used to finish a libtool library installation in a directory.
                   25111: finish_cmds=$lt_finish_cmds
                   25112: 
                   25113: # As "finish_cmds", except a single script fragment to be evaled but
                   25114: # not shown.
                   25115: finish_eval=$lt_finish_eval
                   25116: 
                   25117: # Whether we should hardcode library paths into libraries.
                   25118: hardcode_into_libs=$hardcode_into_libs
                   25119: 
                   25120: # Compile-time system search path for libraries.
                   25121: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   25122: 
1.237     moko     25123: # Detected run-time system search path for libraries.
                   25124: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
                   25125: 
                   25126: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
                   25127: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
1.128     moko     25128: 
                   25129: # Whether dlopen is supported.
                   25130: dlopen_support=$enable_dlopen
                   25131: 
                   25132: # Whether dlopen of programs is supported.
                   25133: dlopen_self=$enable_dlopen_self
                   25134: 
                   25135: # Whether dlopen of statically linked programs is supported.
                   25136: dlopen_self_static=$enable_dlopen_self_static
                   25137: 
                   25138: # Commands to strip libraries.
                   25139: old_striplib=$lt_old_striplib
                   25140: striplib=$lt_striplib
                   25141: 
                   25142: 
                   25143: # The linker used to build libraries.
                   25144: LD=$lt_LD
                   25145: 
                   25146: # How to create reloadable object files.
                   25147: reload_flag=$lt_reload_flag
                   25148: reload_cmds=$lt_reload_cmds
                   25149: 
                   25150: # Commands used to build an old-style archive.
                   25151: old_archive_cmds=$lt_old_archive_cmds
                   25152: 
                   25153: # A language specific compiler.
                   25154: CC=$lt_compiler
                   25155: 
                   25156: # Is the compiler the GNU compiler?
                   25157: with_gcc=$GCC
                   25158: 
                   25159: # Compiler flag to turn off builtin functions.
                   25160: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   25161: 
                   25162: # Additional compiler flags for building library objects.
                   25163: pic_flag=$lt_lt_prog_compiler_pic
                   25164: 
                   25165: # How to pass a linker flag through the compiler.
                   25166: wl=$lt_lt_prog_compiler_wl
                   25167: 
                   25168: # Compiler flag to prevent dynamic linking.
                   25169: link_static_flag=$lt_lt_prog_compiler_static
                   25170: 
                   25171: # Does compiler simultaneously support -c and -o options?
                   25172: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   25173: 
                   25174: # Whether or not to add -lc for building shared libraries.
                   25175: build_libtool_need_lc=$archive_cmds_need_lc
                   25176: 
                   25177: # Whether or not to disallow shared libs when runtime libs are static.
                   25178: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   25179: 
                   25180: # Compiler flag to allow reflexive dlopens.
                   25181: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   25182: 
                   25183: # Compiler flag to generate shared objects directly from archives.
                   25184: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   25185: 
                   25186: # Whether the compiler copes with passing no objects directly.
                   25187: compiler_needs_object=$lt_compiler_needs_object
                   25188: 
                   25189: # Create an old-style archive from a shared archive.
                   25190: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   25191: 
                   25192: # Create a temporary old-style archive to link instead of a shared archive.
                   25193: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   25194: 
                   25195: # Commands used to build a shared archive.
                   25196: archive_cmds=$lt_archive_cmds
                   25197: archive_expsym_cmds=$lt_archive_expsym_cmds
                   25198: 
                   25199: # Commands used to build a loadable module if different from building
                   25200: # a shared archive.
                   25201: module_cmds=$lt_module_cmds
                   25202: module_expsym_cmds=$lt_module_expsym_cmds
                   25203: 
                   25204: # Whether we are building with GNU ld or not.
                   25205: with_gnu_ld=$lt_with_gnu_ld
                   25206: 
                   25207: # Flag that allows shared libraries with undefined symbols to be built.
                   25208: allow_undefined_flag=$lt_allow_undefined_flag
                   25209: 
                   25210: # Flag that enforces no undefined symbols.
                   25211: no_undefined_flag=$lt_no_undefined_flag
                   25212: 
                   25213: # Flag to hardcode \$libdir into a binary during linking.
                   25214: # This must work even if \$libdir does not exist
                   25215: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   25216: 
                   25217: # Whether we need a single "-rpath" flag with a separated argument.
                   25218: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   25219: 
1.237     moko     25220: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.128     moko     25221: # DIR into the resulting binary.
                   25222: hardcode_direct=$hardcode_direct
                   25223: 
1.237     moko     25224: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.128     moko     25225: # DIR into the resulting binary and the resulting library dependency is
1.237     moko     25226: # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
1.128     moko     25227: # library is relocated.
                   25228: hardcode_direct_absolute=$hardcode_direct_absolute
                   25229: 
                   25230: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   25231: # into the resulting binary.
                   25232: hardcode_minus_L=$hardcode_minus_L
                   25233: 
                   25234: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   25235: # into the resulting binary.
                   25236: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   25237: 
                   25238: # Set to "yes" if building a shared library automatically hardcodes DIR
                   25239: # into the library and all subsequent libraries and executables linked
                   25240: # against it.
                   25241: hardcode_automatic=$hardcode_automatic
                   25242: 
                   25243: # Set to yes if linker adds runtime paths of dependent libraries
                   25244: # to runtime path list.
                   25245: inherit_rpath=$inherit_rpath
                   25246: 
                   25247: # Whether libtool must link a program against all its dependency libraries.
                   25248: link_all_deplibs=$link_all_deplibs
                   25249: 
                   25250: # Set to "yes" if exported symbols are required.
                   25251: always_export_symbols=$always_export_symbols
                   25252: 
                   25253: # The commands to list exported symbols.
                   25254: export_symbols_cmds=$lt_export_symbols_cmds
                   25255: 
                   25256: # Symbols that should not be listed in the preloaded symbols.
                   25257: exclude_expsyms=$lt_exclude_expsyms
                   25258: 
                   25259: # Symbols that must always be exported.
                   25260: include_expsyms=$lt_include_expsyms
                   25261: 
                   25262: # Commands necessary for linking programs (against libraries) with templates.
                   25263: prelink_cmds=$lt_prelink_cmds
                   25264: 
                   25265: # Commands necessary for finishing linking programs.
                   25266: postlink_cmds=$lt_postlink_cmds
                   25267: 
                   25268: # Specify filename containing input files.
                   25269: file_list_spec=$lt_file_list_spec
                   25270: 
                   25271: # How to hardcode a shared library path into an executable.
                   25272: hardcode_action=$hardcode_action
                   25273: 
                   25274: # The directories searched by this compiler when creating a shared library.
                   25275: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   25276: 
                   25277: # Dependencies to place before and after the objects being linked to
                   25278: # create a shared library.
                   25279: predep_objects=$lt_predep_objects
                   25280: postdep_objects=$lt_postdep_objects
                   25281: predeps=$lt_predeps
                   25282: postdeps=$lt_postdeps
                   25283: 
                   25284: # The library search path used internally by the compiler when linking
                   25285: # a shared library.
                   25286: compiler_lib_search_path=$lt_compiler_lib_search_path
                   25287: 
                   25288: # ### END LIBTOOL CONFIG
                   25289: 
                   25290: _LT_EOF
                   25291: 
1.237     moko     25292:     cat <<'_LT_EOF' >> "$cfgfile"
                   25293: 
                   25294: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
                   25295: 
                   25296: # func_munge_path_list VARIABLE PATH
                   25297: # -----------------------------------
                   25298: # VARIABLE is name of variable containing _space_ separated list of
                   25299: # directories to be munged by the contents of PATH, which is string
                   25300: # having a format:
                   25301: # "DIR[:DIR]:"
                   25302: #       string "DIR[ DIR]" will be prepended to VARIABLE
                   25303: # ":DIR[:DIR]"
                   25304: #       string "DIR[ DIR]" will be appended to VARIABLE
                   25305: # "DIRP[:DIRP]::[DIRA:]DIRA"
                   25306: #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
                   25307: #       "DIRA[ DIRA]" will be appended to VARIABLE
                   25308: # "DIR[:DIR]"
                   25309: #       VARIABLE will be replaced by "DIR[ DIR]"
                   25310: func_munge_path_list ()
                   25311: {
                   25312:     case x$2 in
                   25313:     x)
                   25314:         ;;
                   25315:     *:)
                   25316:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
                   25317:         ;;
                   25318:     x:*)
                   25319:         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
                   25320:         ;;
                   25321:     *::*)
                   25322:         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
                   25323:         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
                   25324:         ;;
                   25325:     *)
                   25326:         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
                   25327:         ;;
                   25328:     esac
                   25329: }
                   25330: 
                   25331: 
                   25332: # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
                   25333: func_cc_basename ()
                   25334: {
                   25335:     for cc_temp in $*""; do
                   25336:       case $cc_temp in
                   25337:         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   25338:         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   25339:         \-*) ;;
                   25340:         *) break;;
                   25341:       esac
                   25342:     done
                   25343:     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   25344: }
                   25345: 
                   25346: 
                   25347: # ### END FUNCTIONS SHARED WITH CONFIGURE
                   25348: 
                   25349: _LT_EOF
                   25350: 
1.128     moko     25351:   case $host_os in
                   25352:   aix3*)
                   25353:     cat <<\_LT_EOF >> "$cfgfile"
                   25354: # AIX sometimes has problems with the GCC collect2 program.  For some
                   25355: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   25356: # vanish in a puff of smoke.
1.237     moko     25357: if test set != "${COLLECT_NAMES+set}"; then
1.128     moko     25358:   COLLECT_NAMES=
                   25359:   export COLLECT_NAMES
                   25360: fi
                   25361: _LT_EOF
                   25362:     ;;
                   25363:   esac
                   25364: 
                   25365: 
1.237     moko     25366: 
                   25367: ltmain=$ac_aux_dir/ltmain.sh
1.128     moko     25368: 
                   25369: 
                   25370:   # We use sed instead of cat because bash on DJGPP gets confused if
                   25371:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   25372:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   25373:   # is reportedly fixed, but why not run on old versions too?
1.237     moko     25374:   $SED '$q' "$ltmain" >> "$cfgfile" \
1.128     moko     25375:      || (rm -f "$cfgfile"; exit 1)
                   25376: 
                   25377:    mv -f "$cfgfile" "$ofile" ||
                   25378:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   25379:   chmod +x "$ofile"
                   25380: 
                   25381: 
                   25382:     cat <<_LT_EOF >> "$ofile"
                   25383: 
                   25384: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   25385: 
                   25386: # The linker used to build libraries.
                   25387: LD=$lt_LD_CXX
                   25388: 
                   25389: # How to create reloadable object files.
                   25390: reload_flag=$lt_reload_flag_CXX
                   25391: reload_cmds=$lt_reload_cmds_CXX
                   25392: 
                   25393: # Commands used to build an old-style archive.
                   25394: old_archive_cmds=$lt_old_archive_cmds_CXX
                   25395: 
                   25396: # A language specific compiler.
                   25397: CC=$lt_compiler_CXX
                   25398: 
                   25399: # Is the compiler the GNU compiler?
                   25400: with_gcc=$GCC_CXX
                   25401: 
                   25402: # Compiler flag to turn off builtin functions.
                   25403: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   25404: 
                   25405: # Additional compiler flags for building library objects.
                   25406: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   25407: 
                   25408: # How to pass a linker flag through the compiler.
                   25409: wl=$lt_lt_prog_compiler_wl_CXX
                   25410: 
                   25411: # Compiler flag to prevent dynamic linking.
                   25412: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   25413: 
                   25414: # Does compiler simultaneously support -c and -o options?
                   25415: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   25416: 
                   25417: # Whether or not to add -lc for building shared libraries.
                   25418: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   25419: 
                   25420: # Whether or not to disallow shared libs when runtime libs are static.
                   25421: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   25422: 
                   25423: # Compiler flag to allow reflexive dlopens.
                   25424: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   25425: 
                   25426: # Compiler flag to generate shared objects directly from archives.
                   25427: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   25428: 
                   25429: # Whether the compiler copes with passing no objects directly.
                   25430: compiler_needs_object=$lt_compiler_needs_object_CXX
                   25431: 
                   25432: # Create an old-style archive from a shared archive.
                   25433: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   25434: 
                   25435: # Create a temporary old-style archive to link instead of a shared archive.
                   25436: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   25437: 
                   25438: # Commands used to build a shared archive.
                   25439: archive_cmds=$lt_archive_cmds_CXX
                   25440: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   25441: 
                   25442: # Commands used to build a loadable module if different from building
                   25443: # a shared archive.
                   25444: module_cmds=$lt_module_cmds_CXX
                   25445: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   25446: 
                   25447: # Whether we are building with GNU ld or not.
                   25448: with_gnu_ld=$lt_with_gnu_ld_CXX
                   25449: 
                   25450: # Flag that allows shared libraries with undefined symbols to be built.
                   25451: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   25452: 
                   25453: # Flag that enforces no undefined symbols.
                   25454: no_undefined_flag=$lt_no_undefined_flag_CXX
                   25455: 
                   25456: # Flag to hardcode \$libdir into a binary during linking.
                   25457: # This must work even if \$libdir does not exist
                   25458: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   25459: 
                   25460: # Whether we need a single "-rpath" flag with a separated argument.
                   25461: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   25462: 
1.237     moko     25463: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.128     moko     25464: # DIR into the resulting binary.
                   25465: hardcode_direct=$hardcode_direct_CXX
                   25466: 
1.237     moko     25467: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1.128     moko     25468: # DIR into the resulting binary and the resulting library dependency is
1.237     moko     25469: # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
1.128     moko     25470: # library is relocated.
                   25471: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   25472: 
                   25473: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   25474: # into the resulting binary.
                   25475: hardcode_minus_L=$hardcode_minus_L_CXX
                   25476: 
                   25477: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   25478: # into the resulting binary.
                   25479: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   25480: 
                   25481: # Set to "yes" if building a shared library automatically hardcodes DIR
                   25482: # into the library and all subsequent libraries and executables linked
                   25483: # against it.
                   25484: hardcode_automatic=$hardcode_automatic_CXX
                   25485: 
                   25486: # Set to yes if linker adds runtime paths of dependent libraries
                   25487: # to runtime path list.
                   25488: inherit_rpath=$inherit_rpath_CXX
                   25489: 
                   25490: # Whether libtool must link a program against all its dependency libraries.
                   25491: link_all_deplibs=$link_all_deplibs_CXX
                   25492: 
                   25493: # Set to "yes" if exported symbols are required.
                   25494: always_export_symbols=$always_export_symbols_CXX
                   25495: 
                   25496: # The commands to list exported symbols.
                   25497: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   25498: 
                   25499: # Symbols that should not be listed in the preloaded symbols.
                   25500: exclude_expsyms=$lt_exclude_expsyms_CXX
                   25501: 
                   25502: # Symbols that must always be exported.
                   25503: include_expsyms=$lt_include_expsyms_CXX
                   25504: 
                   25505: # Commands necessary for linking programs (against libraries) with templates.
                   25506: prelink_cmds=$lt_prelink_cmds_CXX
                   25507: 
                   25508: # Commands necessary for finishing linking programs.
                   25509: postlink_cmds=$lt_postlink_cmds_CXX
                   25510: 
                   25511: # Specify filename containing input files.
                   25512: file_list_spec=$lt_file_list_spec_CXX
                   25513: 
                   25514: # How to hardcode a shared library path into an executable.
                   25515: hardcode_action=$hardcode_action_CXX
                   25516: 
                   25517: # The directories searched by this compiler when creating a shared library.
                   25518: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   25519: 
                   25520: # Dependencies to place before and after the objects being linked to
                   25521: # create a shared library.
                   25522: predep_objects=$lt_predep_objects_CXX
                   25523: postdep_objects=$lt_postdep_objects_CXX
                   25524: predeps=$lt_predeps_CXX
                   25525: postdeps=$lt_postdeps_CXX
                   25526: 
                   25527: # The library search path used internally by the compiler when linking
                   25528: # a shared library.
                   25529: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   25530: 
                   25531: # ### END LIBTOOL TAG CONFIG: CXX
                   25532: _LT_EOF
                   25533: 
                   25534:  ;;
1.150     moko     25535: 
1.62      paf      25536:   esac
1.150     moko     25537: done # for ac_tag
1.62      paf      25538: 
                   25539: 
1.150     moko     25540: as_fn_exit 0
1.62      paf      25541: _ACEOF
                   25542: ac_clean_files=$ac_clean_files_save
                   25543: 
1.150     moko     25544: test $ac_write_fail = 0 ||
                   25545:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   25546: 
1.1       paf      25547: 
1.62      paf      25548: # configure is writing to config.log, and then calls config.status.
                   25549: # config.status does its own redirection, appending to config.log.
                   25550: # Unfortunately, on DOS this fails, as config.log is still kept open
                   25551: # by configure, so config.status won't be able to write to it; its
                   25552: # output is simply discarded.  So we exec the FD to /dev/null,
                   25553: # effectively closing config.log, so it can be properly (re)opened and
                   25554: # appended to by config.status.  When coming back to configure, we
                   25555: # need to make the FD available again.
                   25556: if test "$no_create" != yes; then
                   25557:   ac_cs_success=:
                   25558:   ac_config_status_args=
                   25559:   test "$silent" = yes &&
                   25560:     ac_config_status_args="$ac_config_status_args --quiet"
                   25561:   exec 5>/dev/null
                   25562:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   25563:   exec 5>>config.log
                   25564:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   25565:   # would make configure fail if this is the last instruction.
1.150     moko     25566:   $ac_cs_success || as_fn_exit 1
1.62      paf      25567: fi
                   25568: 
                   25569: #
                   25570: # CONFIG_SUBDIRS section.
                   25571: #
1.1       paf      25572: if test "$no_recursion" != yes; then
                   25573: 
1.150     moko     25574:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   25575:   # so they do not pile up.
1.1       paf      25576:   ac_sub_configure_args=
                   25577:   ac_prev=
1.150     moko     25578:   eval "set x $ac_configure_args"
                   25579:   shift
                   25580:   for ac_arg
                   25581:   do
1.1       paf      25582:     if test -n "$ac_prev"; then
                   25583:       ac_prev=
                   25584:       continue
                   25585:     fi
1.62      paf      25586:     case $ac_arg in
1.1       paf      25587:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   25588:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   25589:       ac_prev=cache_file ;;
                   25590:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      25591:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   25592:     | --c=*)
                   25593:       ;;
                   25594:     --config-cache | -C)
1.1       paf      25595:       ;;
                   25596:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   25597:       ac_prev=srcdir ;;
                   25598:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   25599:       ;;
1.62      paf      25600:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   25601:       ac_prev=prefix ;;
                   25602:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   25603:       ;;
1.150     moko     25604:     --disable-option-checking)
                   25605:       ;;
                   25606:     *)
                   25607:       case $ac_arg in
1.237     moko     25608:       *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.150     moko     25609:       esac
                   25610:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      25611:     esac
                   25612:   done
                   25613: 
1.62      paf      25614:   # Always prepend --prefix to ensure using the same prefix
                   25615:   # in subdir configurations.
1.150     moko     25616:   ac_arg="--prefix=$prefix"
                   25617:   case $ac_arg in
1.237     moko     25618:   *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.150     moko     25619:   esac
                   25620:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   25621: 
                   25622:   # Pass --silent
                   25623:   if test "$silent" = yes; then
                   25624:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   25625:   fi
                   25626: 
                   25627:   # Always prepend --disable-option-checking to silence warnings, since
                   25628:   # different subdirs can have different --enable and --with options.
                   25629:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      25630: 
                   25631:   ac_popdir=`pwd`
                   25632:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      25633: 
                   25634:     # Do not complain, so a configure script can configure whichever
                   25635:     # parts of a large source tree are present.
1.150     moko     25636:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      25637: 
1.150     moko     25638:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
1.237     moko     25639:     printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   25640:     printf "%s\n" "$ac_msg" >&6
1.150     moko     25641:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      25642:     ac_builddir=.
                   25643: 
1.150     moko     25644: case "$ac_dir" in
                   25645: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   25646: *)
1.237     moko     25647:   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1.150     moko     25648:   # A ".." for each directory in $ac_dir_suffix.
1.237     moko     25649:   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.150     moko     25650:   case $ac_top_builddir_sub in
                   25651:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   25652:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   25653:   esac ;;
                   25654: esac
                   25655: ac_abs_top_builddir=$ac_pwd
                   25656: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   25657: # for backward compatibility:
                   25658: ac_top_builddir=$ac_top_build_prefix
1.62      paf      25659: 
                   25660: case $srcdir in
1.150     moko     25661:   .)  # We are building in place.
1.62      paf      25662:     ac_srcdir=.
1.150     moko     25663:     ac_top_srcdir=$ac_top_builddir_sub
                   25664:     ac_abs_top_srcdir=$ac_pwd ;;
                   25665:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      25666:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     25667:     ac_top_srcdir=$srcdir
                   25668:     ac_abs_top_srcdir=$srcdir ;;
                   25669:   *) # Relative name.
                   25670:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   25671:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   25672:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      25673: esac
1.150     moko     25674: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      25675: 
                   25676: 
1.150     moko     25677:     cd "$ac_dir"
1.1       paf      25678: 
1.237     moko     25679:     # Check for configure.gnu first; this name is used for a wrapper for
                   25680:     # Metaconfig's "Configure" on case-insensitive file systems.
1.150     moko     25681:     if test -f "$ac_srcdir/configure.gnu"; then
                   25682:       ac_sub_configure=$ac_srcdir/configure.gnu
                   25683:     elif test -f "$ac_srcdir/configure"; then
                   25684:       ac_sub_configure=$ac_srcdir/configure
1.1       paf      25685:     else
1.237     moko     25686:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   25687: printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      25688:       ac_sub_configure=
                   25689:     fi
                   25690: 
                   25691:     # The recursion is here.
                   25692:     if test -n "$ac_sub_configure"; then
                   25693:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      25694:       case $cache_file in
                   25695:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150     moko     25696:       *) # Relative name.
                   25697:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      25698:       esac
                   25699: 
1.237     moko     25700:       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   25701: printf "%s\n" "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       paf      25702:       # The eval makes quoting arguments work.
1.150     moko     25703:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   25704:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   25705:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      25706:     fi
                   25707: 
1.150     moko     25708:     cd "$ac_popdir"
1.1       paf      25709:   done
                   25710: fi
1.150     moko     25711: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.237     moko     25712:   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   25713: printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.150     moko     25714: fi
1.1       paf      25715: 
1.237     moko     25716: 

E-mail: